:root{--bg-primary:#050505;--bg-secondary:#0c0c0c;--bg-surface:#121212;--bg-surface-elevated:#1a1a1a;--border-subtle:#ffffff14;--border-hover:#ffffff2e;--border-active:#ffffff73;--accent-white:#fff;--accent-grey-light:#d1d5db;--accent-grey-mid:#9ca3af;--accent-grey-dark:#374151;--text-main:#fff;--text-muted:#999;--text-dim:#555;--font-display:"Syne", -apple-system, BlinkMacSystemFont, sans-serif;--font-sans:"Inter", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono:"JetBrains Mono", monospace;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--transition-smooth:.22s cubic-bezier(.16, 1, .3, 1)}*,:before,:after{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent!important}button,a,input,select{-webkit-tap-highlight-color:transparent!important;outline:none!important}button:focus-visible,a:focus-visible{outline:none!important;box-shadow:0 0 0 2px #fff6!important}body{background-color:var(--bg-primary);color:var(--text-main);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;min-height:100vh;line-height:1.5;overflow-x:hidden}body:before{content:"";pointer-events:none;z-index:-1;background-color:#0000;background-image:linear-gradient(90deg,#ffffff04 1px,#0000 1px),linear-gradient(#ffffff04 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:40px 40px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;position:fixed;top:0;left:0}.app-header{-webkit-backdrop-filter:blur(20px);z-index:100;background:#0f1117f0;border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;padding:12px 24px;display:flex;position:sticky;top:0}.header-auth{z-index:105;align-items:center;gap:10px;display:flex;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.btn-header-auth{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-family:inherit;font-size:.78rem;font-weight:600;transition:all .2s;display:flex}.btn-header-auth:hover{color:#000;background:#fff;border-color:#fff}.brand-section{justify-content:center;align-items:center;display:flex}.brand-banner{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.brand-title{font-family:var(--font-display);letter-spacing:-.01em;color:#fff;text-shadow:0 0 24px #ffffff4d;font-size:1.42rem;font-weight:800;line-height:1.1}.brand-motto{font-family:var(--font-sans);color:#8b909a;text-transform:uppercase;letter-spacing:.2em;margin-top:3px;font-size:.68rem;font-weight:600}.header-center{pointer-events:auto;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.header-meta{align-items:center;gap:10px;display:flex}.bridge-status-pill{font-family:var(--font-mono);border-radius:var(--radius-sm);border:1px solid var(--border-subtle);color:var(--text-muted);background:#141414;align-items:center;gap:6px;padding:4px 10px;font-size:.72rem;display:flex}.status-dot{background:#fff;border-radius:50%;width:6px;height:6px;box-shadow:0 0 6px #fff6}.main-grid{grid-template-columns:330px 1fr 340px;height:calc(100vh - 58px);display:grid;overflow:hidden}@media (width<=1200px){.main-grid{grid-template-columns:320px 1fr 300px}}.hideable-setting{display:none!important}.mobile-hero-section{text-align:center;border-bottom:1px solid #ffffff14;flex-direction:column;align-items:center;margin-bottom:12px;padding:18px 12px 14px;display:flex}.brand-signature-script{color:#fff;text-align:center;letter-spacing:.02em;text-shadow:0 0 18px #ffffff73;margin:2px 0 16px;font-family:Alex Brush,cursive;font-size:2.35rem;font-weight:400;line-height:1.25}.scan-arrow-indicator{pointer-events:none;color:#fff;justify-content:center;align-items:center;width:52px;height:56px;margin:-6px 0 12px;display:flex}.chalk-arrow-svg{filter:drop-shadow(0 0 6px #ffffff8c)drop-shadow(0 0 14px #eef6af66);width:100%;height:100%;overflow:visible}.chalk-arrow-stem{stroke:#fffffff2;stroke-dasharray:100;stroke-dashoffset:100px;animation:3.6s cubic-bezier(.4,0,.2,1) infinite drawChalkStem}.chalk-arrow-head{stroke:#fffffff2;stroke-dasharray:100;stroke-dashoffset:100px;animation:3.6s cubic-bezier(.4,0,.2,1) infinite drawChalkHead}@keyframes drawChalkStem{0%{stroke-dashoffset:100px;opacity:0}5%{opacity:1}32%{stroke-dashoffset:0;opacity:1}78%{stroke-dashoffset:0;opacity:1}90%,to{stroke-dashoffset:0;opacity:0}}@keyframes drawChalkHead{0%,25%{stroke-dashoffset:100px;opacity:0}29%{opacity:1}42%{stroke-dashoffset:0;opacity:1}78%{stroke-dashoffset:0;opacity:1}90%,to{stroke-dashoffset:0;opacity:0}}.btn-hero-scan{color:#fff;width:100%;min-height:58px;font-family:var(--font-sans);letter-spacing:-.01em;cursor:pointer;-webkit-backdrop-filter:blur(24px)saturate(180%);background:linear-gradient(#eef6af29 0%,#ffffff0d 50%,#ffffff14 100%);border:1px solid #eef6af59;border-top-color:#eef6afb3;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:1.05rem;font-weight:700;transition:all .22s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 12px 32px #0000008c,0 0 24px #eef6af1f,inset 0 1px 1px #ffffff73}.btn-hero-scan .scan-btn-icon{stroke:#eef6af;filter:drop-shadow(0 0 8px #eef6af80)}.btn-hero-scan:hover,.btn-hero-scan:focus-visible{background:linear-gradient(#eef6af3d 0%,#ffffff14 50%,#ffffff24 100%);border-color:#eef6af99;transform:translateY(-2px);box-shadow:0 16px 42px #000000a6,0 0 32px #eef6af47,inset 0 1px 2px #fff9}.btn-hero-scan:active{transform:scale(.97);box-shadow:0 6px 18px #0000008c,inset 0 1px 1px #ffffff4d}.mobile-biometrics-center-group{flex-direction:column;display:flex}.mobile-actions-bottom-group{flex-direction:column;gap:12px;display:flex}.panel-section-header{text-align:center;justify-content:center;align-items:center;width:100%;padding:0 4px 6px;display:flex}.panel-section-header h2{font-family:var(--font-sans);letter-spacing:-.01em;color:#fff;text-align:center;width:100%;margin:0;font-size:1.08rem;font-weight:700}.biometrics-scanned-card{-webkit-backdrop-filter:blur(24px)saturate(180%);background:linear-gradient(#1a1d26e0 0%,#12141ae0 100%);border:1px solid #ffffff17;border-top-color:#ffffff2e;border-radius:18px;margin-bottom:0;padding:18px;transition:all .25s;box-shadow:0 14px 40px #0009,inset 0 1px #ffffff1f}.biometrics-status-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;display:flex}#biometrics-status-badge{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#eef6af;font-size:.72rem;font-weight:700}.status-dot{background:#eef6af;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 10px #eef6afb3}.biometrics-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.biometric-item{background:#ffffff09;border:1px solid #fff1;border-radius:12px;flex-direction:column;padding:8px 6px;transition:background .15s,border-color .15s;display:flex}.biometric-label{color:#8b909a;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;font-size:.64rem;font-weight:500}.biometric-val{font-family:var(--font-mono);color:#fff;font-size:1.02rem;font-weight:700}.btn-liquid-secondary{color:#e2e8f0;width:100%;min-height:48px;font-family:var(--font-sans);cursor:pointer;-webkit-backdrop-filter:blur(16px);background:#ffffff0d;border:1px solid #ffffff1a;border-top-color:#fff3;border-radius:14px;justify-content:center;align-items:center;gap:8px;margin-bottom:0;font-size:.9rem;font-weight:600;transition:all .2s;display:flex;box-shadow:0 4px 18px #00000059,inset 0 1px #ffffff1a}.btn-liquid-secondary:hover{color:#fff;background:#ffffff17;border-color:#ffffff38;transform:translateY(-1px)}.btn-liquid-secondary:active{transform:scale(.98)}.btn-liquid-setup{width:100%;min-height:52px;font-family:-apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-sans);letter-spacing:-.01em;cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:10px;margin-top:2px;font-size:.96rem;font-weight:700;transition:all .22s cubic-bezier(.16,1,.3,1);display:flex}.btn-liquid-setup.is-locked{color:#ffffff73!important;box-shadow:none!important;background:#ffffff0f!important;border:1.5px solid #ffffff47!important}.btn-liquid-setup.is-locked svg{stroke:#ffffff73}.btn-liquid-setup.is-locked:hover{background:#ffffff1a!important;border-color:#fff6!important}.btn-liquid-setup.is-ready{color:#000!important;background:#fff!important;border:2px solid #fff!important;box-shadow:0 8px 24px #ffffff59,0 4px 14px #0009!important}.btn-liquid-setup.is-ready svg{stroke:#000}.btn-liquid-setup.is-ready:hover{transform:translateY(-1px);background:#f4f4f4!important;box-shadow:0 10px 30px #ffffff73,0 6px 18px #000000b3!important}.btn-liquid-setup:active{transform:scale(.98)}.apex-toast{top:max(20px, calc(env(safe-area-inset-top,0px) + 16px));color:#fff;width:auto;min-width:290px;max-width:90vw;font-family:-apple-system, BlinkMacSystemFont, var(--font-sans);text-align:center;-webkit-backdrop-filter:blur(20px);z-index:10000;opacity:0;pointer-events:none;background:#121212f5;border:1.5px solid #fff;border-radius:14px;padding:12px 18px;font-size:.84rem;font-weight:600;line-height:1.4;transition:opacity .25s cubic-bezier(.16,1,.3,1),transform .25s cubic-bezier(.16,1,.3,1);position:fixed;left:50%;transform:translate(-50%)translateY(-30px);box-shadow:0 10px 30px #000c,0 0 24px #ffffff40}.apex-toast.show{opacity:1;pointer-events:auto;transform:translate(-50%)translateY(0)}.viewport-panel{background:#000;flex-direction:column;display:flex;position:relative}.viewport-mobile-nav{z-index:15;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;top:14px;left:0;right:0}.viewport-signature{color:#fff;text-shadow:0 0 16px #ffffff73;pointer-events:auto;margin:0!important;font-size:2.15rem!important;line-height:1!important}.btn-back-to-biometrics{pointer-events:auto;color:#fff;-webkit-backdrop-filter:blur(20px);cursor:pointer;background:#121216e6;border:1.5px solid #ffffff59;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:.82rem;font-weight:700;display:inline-flex;box-shadow:0 4px 16px #0009;-webkit-tap-highlight-color:transparent!important;outline:none!important}.btn-back-to-biometrics:hover{background:#202028f2;border-color:#fff}.btn-back-to-biometrics:active{transform:scale(.96)}.viewport-setup-title{font-family:-apple-system, BlinkMacSystemFont, var(--font-sans);letter-spacing:.05em;text-transform:uppercase;color:#fff9;-webkit-backdrop-filter:blur(16px);background:#121216a6;border:1px solid #ffffff1a;border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:700}.aerobar-tilt-control-bar{-webkit-backdrop-filter:blur(28px)saturate(190%);z-index:20;background:#101014c7;border:1px solid #ffffff29;border-radius:18px;width:calc(100% - 36px);max-width:420px;padding:14px 18px;position:absolute;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 12px 36px #000000a6,inset 0 1px #ffffff26}.tilt-control-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.tilt-control-title{font-family:-apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-sans);color:#fff;letter-spacing:-.01em;font-size:.84rem;font-weight:600}.tilt-control-header .control-val{font-family:var(--font-mono);color:#fff;background:#ffffff1a;border:1px solid #ffffff2e;border-radius:6px;padding:3px 8px;font-size:.95rem;font-weight:700}.tilt-slider-container{align-items:center;width:100%;display:flex}.tilt-slider-container input[type=range]{appearance:none;cursor:pointer;background:#ffffff2e;border-radius:999px;outline:none;width:100%;height:6px}.tilt-slider-container input[type=range]::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#fff;border:1px solid #0000001a;border-radius:50%;width:24px;height:24px;transition:transform .1s;box-shadow:0 3px 10px #00000080,0 0 2px #fffc}.tilt-slider-container input[type=range]::-webkit-slider-thumb:active{transform:scale(1.15)}.tilt-slider-container input[type=range]::-moz-range-thumb{cursor:pointer;background:#fff;border:1px solid #0000001a;border-radius:50%;width:24px;height:24px;box-shadow:0 3px 10px #00000080}@media (width<=920px),(height<=520px) and (orientation:landscape){html,body{background-color:#0c0e14;background-image:radial-gradient(circle at 50% 10%,#eef6af0d 0%,#0000 65%),radial-gradient(circle at 50% 90%,#38bdf80a 0%,#0000 60%);min-height:100dvh}.app-header{padding-top:max(14px, env(safe-area-inset-top,0px));padding-bottom:12px;padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));height:auto;min-height:calc(56px + env(safe-area-inset-top,0px));-webkit-backdrop-filter:blur(20px);background:#0f1117f2;border-bottom:1px solid #ffffff14;justify-content:center;align-items:center;display:flex}.brand-section{text-align:center;justify-content:center;width:100%}.header-meta{display:none}.main-grid{min-height:calc(100vh - 56px - env(safe-area-inset-top,0px));min-height:calc(100dvh - 56px - env(safe-area-inset-top,0px));background:0 0;flex-direction:column;flex:1;display:flex;overflow-y:auto}.biometrics-panel{width:100%;min-height:calc(100vh - 56px - env(safe-area-inset-top,0px));min-height:calc(100dvh - 56px - env(safe-area-inset-top,0px));padding:0 0 calc(64px + env(safe-area-inset-bottom,0px)) 0;box-sizing:border-box;border-bottom:none;border-right:none;flex-direction:column;flex:1;display:flex;background:0 0!important}.mobile-tab-content{width:100%;display:none}#view-tab-scan.active{width:100%;min-height:calc(100vh - 120px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:calc(100dvh - 120px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-sizing:border-box;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px 20px;display:flex!important}.mobile-scan-center-container{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:320px;display:flex}#view-tab-biometrics.active{width:100%;min-height:calc(100vh - 120px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:calc(100dvh - 120px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-sizing:border-box;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:16px 18px;display:flex!important}.biometrics-page-content{flex-direction:column;align-items:center;gap:14px;width:100%;max-width:390px;margin-top:-30px;display:flex}.biometrics-actions-wrap{width:100%}.viewport-panel{display:none!important}html.view-setup-active,body.view-setup-active{overscroll-behavior:none!important;width:100%!important;height:100%!important;max-height:100dvh!important;position:fixed!important;overflow:hidden!important}body.view-setup-active .biometrics-panel{display:none!important}body.view-setup-active .main-grid{height:calc(100dvh - 56px - env(safe-area-inset-top,0px))!important;max-height:calc(100dvh - 56px - env(safe-area-inset-top,0px))!important;flex-direction:column!important;min-height:0!important;margin:0!important;padding:0!important;display:flex!important;position:relative!important;overflow:hidden!important}body.view-setup-active .viewport-panel{box-sizing:border-box!important;border:none!important;flex-direction:column!important;width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;display:flex!important;position:absolute!important;inset:0!important;overflow:hidden!important}body.view-setup-active .viewport-mobile-nav{-webkit-backdrop-filter:blur(16px)!important;z-index:50!important;background:#0e1016f0!important;border-bottom:1px solid #ffffff14!important;flex-shrink:0!important;justify-content:center!important;align-items:center!important;height:50px!important;min-height:50px!important;padding:0 16px!important;display:flex!important;position:relative!important;top:0!important;left:0!important;right:0!important}body.view-setup-active #three-canvas{flex:auto!important;width:100%!important;height:100%!important;position:relative!important;overflow:hidden!important}body.view-setup-active #three-canvas canvas{width:100%!important;height:100%!important;display:block!important}body.view-setup-active #aerobar-tilt-control-bar{bottom:calc(66px + env(safe-area-inset-bottom,0px))!important;z-index:100!important;width:calc(100% - 32px)!important;max-width:400px!important;margin:0!important;position:fixed!important;left:50%!important;transform:translate(-50%)!important}.mobile-bottom-nav{height:calc(58px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);-webkit-backdrop-filter:blur(24px)saturate(180%);z-index:999;background:#0f1117f0;border-top:1px solid #ffffff17;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 24px #0009}.mobile-nav-item{color:#717682;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;outline:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;height:100%;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;position:relative}.mobile-nav-item .mobile-nav-icon{transition:stroke .2s,transform .2s}.mobile-nav-item .mobile-nav-label{letter-spacing:-.01em;font-size:.7rem;font-weight:600;transition:color .2s}.mobile-nav-item.active{color:#eef6af}.mobile-nav-item.active .mobile-nav-icon{stroke:#eef6af;filter:drop-shadow(0 0 10px #eef6af99);transform:translateY(-1px)}.mobile-nav-item.active .mobile-nav-label{color:#eef6af;text-shadow:0 0 10px #eef6af59;font-weight:700}.nav-setup-lock{opacity:.85;font-size:.62rem;line-height:1;position:absolute;top:6px;right:calc(50% - 18px)}.cad-bridge-panel{order:3;display:none!important}.metrics-card{display:none!important}}#modal-setup-locked-warning{z-index:2200!important}.setup-locked-modal-card{text-align:center;box-sizing:border-box;background:linear-gradient(#181b22 0%,#101217 100%);border:1px solid #ffffff24;border-top-color:#ffffff47;border-radius:20px;flex-direction:column;align-items:center;width:88%;max-width:330px;padding:24px 20px 18px;animation:.22s cubic-bezier(.16,1,.3,1) forwards modalPopIn;display:flex;box-shadow:0 24px 64px #000c,0 0 32px #eef6af1a}@keyframes modalPopIn{0%{opacity:0;transform:scale(.92)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.setup-locked-icon-badge{color:#eef6af;background:#eef6af1f;border:1.5px solid #eef6af61;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:14px;display:flex;box-shadow:0 0 20px #eef6af40}.setup-locked-title{font-family:var(--font-sans);color:#fff;letter-spacing:-.01em;margin:0 0 8px;font-size:1.25rem;font-weight:700}.setup-locked-desc{color:#94a3b8;margin:0 0 18px;font-size:.85rem;line-height:1.45}.setup-locked-actions{flex-direction:column;gap:10px;width:100%;display:flex}.btn-modal-primary{color:#0b0d12;cursor:pointer;background:#fff;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;font-size:.92rem;font-weight:700;transition:all .15s;display:flex;box-shadow:0 4px 16px #ffffff40}.btn-modal-primary:hover{background:#eef6af;transform:translateY(-1px)}.btn-modal-secondary{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff29;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;font-size:.88rem;font-weight:600;transition:all .15s;display:flex}.btn-modal-secondary:hover{background:#ffffff1f}.btn-close-locked-text{color:#717682;cursor:pointer;background:0 0;border:none;margin-top:4px;padding:8px;font-size:.84rem;font-weight:600;transition:color .15s}.btn-close-locked-text:hover{color:#cbd5e1}.cad-hero-container{flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.cad-export-buttons-grid{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}#cad-status-badge{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#eef6af;font-size:.72rem;font-weight:700}#cad-status-dot{background:#eef6af;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 10px #eef6afb3}.biometrics-card-group,.cad-card-group{flex-direction:column;align-items:center;gap:6px;width:100%;margin:0 auto;display:flex}@media (width>=921px){.mobile-bottom-nav,.viewport-mobile-nav{display:none!important}.biometrics-panel,.cad-bridge-panel{box-sizing:border-box!important;background:var(--bg-secondary)!important;flex-direction:column!important;justify-content:space-between!important;align-items:stretch!important;gap:clamp(24px,3.8vh,46px)!important;width:100%!important;height:100%!important;padding:clamp(28px,4vh,48px) clamp(20px,1.8vw,26px)!important;display:flex!important;overflow-y:auto!important}.biometrics-panel{border-right:1px solid var(--border-subtle)!important;border-left:none!important}.cad-bridge-panel{border-left:1px solid var(--border-subtle)!important;border-right:none!important;order:3!important}.mobile-tab-content{box-sizing:border-box!important;flex-direction:column!important;align-items:center!important;width:100%!important;max-width:100%!important;min-height:auto!important;margin:0!important;padding:0!important;display:flex!important}#view-tab-scan,.cad-hero-container{flex-direction:column!important;flex:none!important;justify-content:center!important;align-items:center!important;width:100%!important;display:flex!important}.mobile-scan-center-container,.cad-hero-container{box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:clamp(4px,1.2vh,16px) 0!important;display:flex!important}.brand-signature-script{text-align:center!important;margin:0 0 clamp(6px,1.2vh,14px)!important;font-size:clamp(2.1rem,2.3vw,2.5rem)!important;line-height:1.15!important}.scan-arrow-indicator{justify-content:center!important;align-items:center!important;width:48px!important;height:clamp(52px,5.8vh,74px)!important;margin:0 0 clamp(10px,1.8vh,22px)!important;display:flex!important}.btn-hero-scan{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:clamp(58px,6.8vh,68px)!important;font-size:clamp(1.02rem,1.1vw,1.12rem)!important}#view-tab-biometrics,.cad-page-content{box-sizing:border-box!important;flex-direction:column!important;flex:auto!important;justify-content:center!important;gap:clamp(14px,2.2vh,24px)!important;width:100%!important;display:flex!important}.biometrics-page-content{box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:clamp(14px,2.2vh,24px)!important;width:100%!important;height:100%!important;margin:0 auto!important;padding:0!important;display:flex!important}.biometrics-card-group,.cad-card-group{flex-direction:column!important;align-items:center!important;gap:6px!important;width:100%!important;margin:0 auto!important;display:flex!important}.panel-section-header{text-align:center!important;justify-content:center!important;align-items:center!important;width:100%!important;margin:0 0 2px!important;padding:0!important;display:flex!important}.panel-section-header h2{font-family:var(--font-sans)!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#94a3b8!important;text-align:center!important;width:100%!important;margin:0!important;padding:0!important;font-size:.85rem!important;font-weight:600!important}.biometrics-scanned-card{box-sizing:border-box!important;border-radius:18px!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:clamp(16px,2.2vh,24px) clamp(14px,1.4vw,20px)!important}.biometrics-status-header{margin-bottom:clamp(10px,1.4vh,16px)!important;padding-bottom:clamp(6px,1vh,10px)!important}.biometrics-grid{grid-template-columns:1fr 1fr!important;gap:clamp(10px,1.4vh,16px)!important;width:100%!important;display:grid!important}.biometric-item{text-align:center!important;box-sizing:border-box!important;background:#ffffff09!important;border:1px solid #fff1!important;border-radius:13px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:clamp(60px,7vh,76px)!important;padding:clamp(8px,1.2vh,14px) clamp(4px,.6vw,10px)!important;display:flex!important;overflow:hidden!important}.biometric-label{color:#8b909a!important;text-transform:uppercase!important;letter-spacing:.04em!important;text-align:center!important;white-space:nowrap!important;text-overflow:ellipsis!important;max-width:100%!important;margin-bottom:4px!important;font-size:clamp(.6rem,.65vw,.68rem)!important;font-weight:500!important;overflow:hidden!important}.biometric-val{font-family:var(--font-mono)!important;color:#fff!important;text-align:center!important;white-space:nowrap!important;max-width:100%!important;font-size:clamp(.85rem,.94vw,1.06rem)!important;font-weight:700!important;line-height:1.2!important}.biometrics-actions-wrap,.cad-export-actions-wrap{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 auto!important}.btn-liquid-secondary{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:clamp(48px,5.8vh,58px)!important;font-size:clamp(.9rem,.95vw,1rem)!important}.cad-export-buttons-grid .btn-liquid-secondary{white-space:nowrap!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;gap:7px!important;padding:0 clamp(6px,.8vw,12px)!important;font-size:clamp(.78rem,.83vw,.86rem)!important;display:flex!important}.cad-export-buttons-grid .btn-liquid-secondary svg{flex-shrink:0!important;width:14px!important;height:14px!important}}@media (width>=861px){.mobile-only-btn{display:none!important}}.panel{background:var(--bg-secondary);border-right:1px solid var(--border-subtle);flex-direction:column;display:flex;overflow-y:auto}.panel:last-child{border-right:none;border-left:1px solid var(--border-subtle)}.panel-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.panel-header h2{font-family:var(--font-sans);letter-spacing:.02em;color:#fff;text-transform:uppercase;font-size:.85rem;font-weight:600}.badge{font-family:var(--font-mono);color:var(--text-muted);border-radius:var(--radius-sm);border:1px solid var(--border-subtle);background:#181818;padding:2px 6px;font-size:.65rem}.panel-body{flex-direction:column;gap:16px;padding:16px 18px;display:flex}.control-group{flex-direction:column;gap:6px;display:flex}.control-label{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:.76rem;font-weight:500;display:flex}.control-val{font-family:var(--font-mono);color:#fff;font-size:.76rem;font-weight:600}.preset-selector{grid-template-columns:1fr 1fr;gap:6px;display:grid}.preset-btn{background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-muted);font-family:var(--font-sans);border-radius:var(--radius-sm);cursor:pointer;text-align:center;transition:all var(--transition-smooth);padding:8px 10px;font-size:.72rem;font-weight:500}.preset-btn:hover{background:var(--bg-surface-elevated);color:#fff;border-color:var(--border-hover)}.preset-btn.active{color:#000;background:#fff;border-color:#fff;font-weight:600}input[type=range]{-webkit-appearance:none;background:#222;border-radius:2px;outline:none;width:100%;height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .1s;box-shadow:0 0 6px #ffffff4d}input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2)}select{background:var(--bg-surface);border:1px solid var(--border-subtle);color:#fff;width:100%;font-size:.74rem;font-family:var(--font-sans);border-radius:var(--radius-sm);outline:none;padding:8px 10px}select:focus{border-color:var(--border-active)}.btn-primary{color:#000;font-family:var(--font-sans);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-smooth);background:#fff;border:1px solid #fff;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-size:.78rem;font-weight:600;display:inline-flex}.btn-primary:hover{background:#e5e5e5;border-color:#e5e5e5}.btn-secondary{background:var(--bg-surface);color:var(--text-main);border:1px solid var(--border-subtle);font-family:var(--font-sans);border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-smooth);justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:.76rem;font-weight:500;display:inline-flex}.btn-secondary:hover{background:var(--bg-surface-elevated);border-color:var(--border-hover);color:#fff}.viewport-panel{background:#000;border-right:none;position:relative;overflow:hidden}#three-canvas{width:100%;height:100%}.viewport-overlay{z-index:10;gap:6px;display:flex;position:absolute;top:14px;left:18px}.viewport-btn{border:1px solid var(--border-subtle);color:var(--text-muted);font-family:var(--font-mono);border-radius:var(--radius-sm);cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:all var(--transition-smooth);background:#121212d9;padding:5px 10px;font-size:.68rem}.viewport-btn:hover{color:#fff;border-color:var(--border-active);background:#252525}.viewport-hud{font-family:var(--font-mono);color:var(--text-dim);z-index:10;border-radius:var(--radius-sm);border:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a0a0abf;gap:16px;padding:6px 12px;font-size:.68rem;display:flex;position:absolute;bottom:14px;left:18px}.viewport-hud span{color:#fff;font-weight:600}.metrics-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:12px;display:flex}.metric-row{justify-content:space-between;align-items:center;font-size:.74rem;display:flex}.metric-label{color:var(--text-muted)}.metric-value{font-family:var(--font-mono);color:#fff;font-weight:600}.scan-dropzone{border:1px dashed var(--border-hover);border-radius:var(--radius-sm);text-align:center;cursor:pointer;transition:all var(--transition-smooth);background:#14141499;padding:18px 14px}.scan-dropzone:hover,.scan-dropzone.dragover{background:#1e1e1ecc;border-color:#fff}.scan-dropzone p{color:#fff;margin-bottom:2px;font-size:.78rem;font-weight:500}.scan-dropzone small{color:var(--text-dim);font-size:.68rem}.console-box{border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-family:var(--font-mono);color:var(--text-muted);background:#080808;flex-direction:column;gap:4px;max-height:120px;padding:8px 10px;font-size:.68rem;display:flex;overflow-y:auto}.console-entry.success{color:#fff}.console-entry.warn{color:#999}.console-entry.info{color:#666}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background:#000000d9;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.modal-content{border:1px solid var(--border-active);border-radius:var(--radius-md);background:#111;width:90%;max-width:480px;overflow:hidden;box-shadow:0 20px 50px #000000e6}.modal-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.modal-header h3{color:#fff;font-size:.9rem;font-weight:600}.btn-close-modal{cursor:pointer;appearance:none;justify-content:center;align-items:center;transition:opacity .2s,transform .2s;display:inline-flex;color:#fff!important;box-shadow:none!important;background:0 0!important;border:none!important;outline:none!important;padding:0 4px!important;font-size:1.85rem!important;font-weight:300!important;line-height:1!important}.btn-close-modal:hover{opacity:.8;transform:scale(1.15)}.scanner-exit-confirm-overlay{-webkit-backdrop-filter:blur(8px);z-index:120;background:#000000e0;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.scanner-exit-confirm-box{background:#141923;border:1px solid #ffffff2e;border-radius:12px;width:100%;max-width:360px;padding:22px 20px;animation:.18s ease-out fadeIn;box-shadow:0 16px 40px #000000e6}.modal-body{flex-direction:column;gap:14px;padding:18px;display:flex}.scanner-modal-card{background:#090c12;flex-direction:column;display:flex;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;box-shadow:none!important;scrollbar-width:none!important;-ms-overflow-style:none!important;border:none!important;border-radius:0!important;margin:0!important;overflow:hidden!important}.scanner-modal-card::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.scanner-sheet-view::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}#mobile-scan-modal::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}.scanner-sheet-view{box-sizing:border-box;background:#07090e;flex-direction:column;flex:1;justify-content:space-between;align-items:center;padding:12px 14px 18px;display:flex;scrollbar-width:none!important;-ms-overflow-style:none!important;overflow:hidden!important}.sheet-preview-img{object-fit:contain;background:#fff;border:1px solid #ffffff40;border-radius:8px;width:auto;max-height:min(220px,26vh);margin:6px 0;box-shadow:0 10px 30px #000000b3}.print-scale-bar{flex-flow:row;justify-content:center;align-items:center;gap:12px;width:100%;margin:4px 0;display:flex}.print-scale-label{color:#fff;letter-spacing:.02em;white-space:nowrap;text-shadow:0 0 10px #ffffff59;font-size:.8rem;font-weight:700}.print-scale-buttons{flex-flow:row;align-items:center;gap:8px;display:flex}.btn-scale-opt{color:#e2e8f0;box-shadow:none;cursor:pointer;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff40;border-radius:999px;padding:6px 14px;font-size:.76rem;font-weight:600;transition:all .2s}.btn-scale-opt.active{color:#000!important;background:#fff!important;border:2px solid #fff!important;box-shadow:0 0 16px #ffffffb3!important}.btn-scale-opt.inactive{color:#64748b!important;box-shadow:none!important;background:#ffffff08!important;border:1px solid #ffffff1a!important}.btn-download-pdf-sheet{color:#94a3b8;opacity:.45;pointer-events:none;background:#ffffff0d;border:1.5px dashed #ffffff40;border-radius:999px;align-items:center;gap:8px;padding:10px 24px;font-size:.85rem;font-weight:700;text-decoration:none;transition:all .25s;display:inline-flex}.btn-download-pdf-sheet.active{opacity:1!important;pointer-events:auto!important;color:#fff!important;background:#fff3!important;border:2px solid #fff!important;box-shadow:0 0 16px #ffffff73!important}.btn-download-pdf-sheet.active:hover{background:#ffffff4d!important;box-shadow:0 0 22px #ffffffb3!important}.scanner-step-tabs{background:#0b0f17;border-bottom:1px solid #1e293b;grid-template-columns:repeat(4,1fr);gap:2px;padding:6px 12px;display:grid;pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important}.scanner-viewport-container.capture-blur{animation:.85s cubic-bezier(.16,1,.3,1) forwards capture-blur-sync!important}@keyframes capture-blur-sync{0%{filter:blur()brightness()}25%{filter:blur(14px)brightness(.92)}65%{filter:blur(8px)brightness(.96)}to{filter:blur()brightness()}}.btn-pulse-glow{animation:1.4s infinite pulse-glow-btn!important}@keyframes pulse-glow-btn{0%{transform:scale(1);box-shadow:0 0 14px #10b981b3}50%{transform:scale(1.02);box-shadow:0 0 26px #10b981}to{transform:scale(1);box-shadow:0 0 14px #10b981b3}}.scanner-tab{text-align:center;color:#64748b;white-space:nowrap;border-bottom:2px solid #0000;padding:6px 2px;font-size:.65rem;font-weight:600;transition:all .2s;pointer-events:none!important;cursor:default!important;-webkit-user-select:none!important;user-select:none!important}.scanner-tab.active{color:#fff;border-color:#fff;font-weight:700}.scanner-viewport-container{background:#000;border:2px solid #262d3d;border-bottom:none;flex:auto;height:auto;min-height:0;max-height:none;transition:border-color .25s,box-shadow .25s;position:relative;overflow:hidden}.scanner-viewport-container.is-aligned{border:3.5px solid #fff!important;box-shadow:0 0 25px #ffffffb3,inset 0 0 20px #fff3!important}.scanner-viewport-container video{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.scanner-tracking-canvas{object-fit:cover;pointer-events:none;z-index:4;width:100%;height:100%;transition:transform .2s;position:absolute;top:0;left:0}.scanner-viewport-container.is-mirrored video,.scanner-viewport-container.is-mirrored .scanner-tracking-canvas{transform:scaleX(-1)}.scanner-flash{pointer-events:none;z-index:30;opacity:0;background:#ffffffbf;width:100%;height:100%;transition:opacity 80ms ease-out;position:absolute;top:0;left:0}.scanner-flash.flash-active{opacity:1}.scanner-aura-container{pointer-events:none;z-index:25;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}.hand-capture-aura{pointer-events:none;width:160px;height:160px;position:absolute;transform:translate(-50%,-50%)}.aura-wave{border:2.5px solid #fff;border-radius:50%;width:100%;height:100%;animation:.85s cubic-bezier(.16,1,.3,1) forwards aura-expand;position:absolute;top:0;left:0;box-shadow:0 0 28px #fffffff2,inset 0 0 18px #ffffffb3}.aura-wave.wave-2{border-color:#ffffffe6;animation-delay:80ms;box-shadow:0 0 32px #ffffffe6,inset 0 0 16px #fffc}.aura-wave.wave-3{border-color:#ffffffbf;animation-delay:.16s;box-shadow:0 0 36px #fffc}.aura-center-glow{background:radial-gradient(circle,#fffffff2 0%,#fff6 60%,#0000 100%);border-radius:50%;width:50%;height:50%;animation:.85s cubic-bezier(.16,1,.3,1) forwards aura-center-pulse;position:absolute;top:25%;left:25%}@keyframes aura-expand{0%{opacity:0;transform:scale(.2)}20%{opacity:1}65%{opacity:.75}to{opacity:0;transform:scale(2.8)}}@keyframes aura-center-pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.9;transform:scale(1.1)}70%{opacity:.6;transform:scale(1.4)}to{opacity:0;transform:scale(1.8)}}.scanner-overlay{pointer-events:none;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .25s cubic-bezier(.16,1,.3,1),visibility .25s;display:flex;position:absolute;top:0;left:0}.scanner-overlay.hand-detected{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.hand-silhouette-svg{filter:drop-shadow(0 0 10px #ffffff80);width:72%;height:78%}.arm-length-guides{pointer-events:none;flex-direction:column;justify-content:space-between;align-items:center;width:82%;max-width:320px;height:72%;display:flex;position:relative}.arm-guide-line{flex-direction:column;align-items:center;gap:5px;width:100%;display:flex}.arm-guide-bar{filter:drop-shadow(0 0 10px #ffffffd9);background:repeating-linear-gradient(90deg,#fff 0 8px,#0000 8px 13px);width:100%;height:2.5px;margin:6px 0;position:relative}.arm-guide-bar:before,.arm-guide-bar:after{content:"";filter:drop-shadow(0 0 8px #ffffffd9);background:repeating-linear-gradient(#fff 0 6px,#0000 6px 10px);width:2.5px;height:21px;position:absolute;top:-9px}.arm-guide-bar:before{left:0}.arm-guide-bar:after{right:0}.arm-guide-label{font-family:var(--font-mono);letter-spacing:.08em;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0c10e6;border:1px solid #ffffff80;border-radius:6px;padding:4px 12px;font-size:.72rem;font-weight:700;box-shadow:0 2px 10px #0009}.arm-guide-span{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.arm-guide-dashed-v{filter:drop-shadow(0 0 8px #ffffffb3);background:repeating-linear-gradient(#fffc 0 8px,#0000 8px 13px);width:2.5px;animation:2s ease-in-out infinite pulse-span;position:absolute;top:10px;bottom:10px}@keyframes pulse-span{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.arm-guide-distance-badge{z-index:2;font-size:.72rem;font-family:var(--font-mono);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172aeb;border:1px solid #ffffff80;border-radius:999px;padding:4px 12px;position:relative;box-shadow:0 4px 12px #0009}.scanner-top-bar{z-index:10;pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;top:10px;left:10px;right:10px}.scanner-hud-badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-family:var(--font-mono);color:#fff;background:#0a0d12d9;border:1px solid #ffffff26;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.7rem;display:inline-flex}.scanner-controls-container{padding:14px 20px max(24px, env(safe-area-inset-bottom,20px)) 20px;-webkit-backdrop-filter:blur(20px);background:#0e1219fa;border-top:2px solid #ffffff40;flex-direction:column;flex-shrink:0;gap:10px;margin-top:0;display:flex;box-shadow:0 -4px 20px #000000b3;border-radius:0!important}.scanner-instruction-box{color:var(--text-main);text-align:center;background:#ffffff14;border:1px solid #ffffff40;border-radius:14px;justify-content:center;align-items:center;min-height:48px;margin-bottom:2px;padding:12px 16px;font-size:.84rem;line-height:1.45;display:flex;box-shadow:0 4px 16px #00000059}.round-shutter-btn{cursor:pointer;background:0 0;border:4px solid #fff;justify-content:center;align-items:center;width:68px;height:68px;transition:transform .15s,border-color .2s;display:flex;box-shadow:0 4px 16px #0009;-webkit-tap-highlight-color:transparent!important;border-radius:50%!important;outline:none!important;overflow:hidden!important}.round-shutter-btn:active{transform:scale(.92)}.round-shutter-btn .shutter-inner{background:#fff;width:52px;height:52px;transition:background-color .2s,transform .15s;border-radius:50%!important}.round-shutter-btn.ready{border-color:#fff}.round-shutter-btn.ready .shutter-inner{background:#fff;box-shadow:0 0 16px #ffffffe6}.gyro-level-indicator{border-radius:var(--radius-sm);border:1px solid var(--border-subtle);background:#141923;align-items:center;gap:8px;padding:8px 12px;display:flex}.gyro-bubble{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .1s;box-shadow:0 0 8px #fff}.rotation-progress-bar{background:#1a202c;border-radius:999px;width:100%;height:8px;margin-top:4px;overflow:hidden}.rotation-fill{background:linear-gradient(90deg,#10b981 0%,#38bdf8 100%);height:100%;transition:width .1s linear}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin-icon{animation:.85s linear infinite spin;display:inline-block}
