:root{--ink:#153c32;--muted:#6b7970;--paper:#f6f7f2;--line:#e2e7df;--lime:#dbedb9;--red:#a54132;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#e9eee7;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9dbd70;outline-offset:3px}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{touch-action:manipulation}.app-shell{max-width:500px;min-height:100dvh;margin:auto;background:var(--paper);position:relative;padding-bottom:92px;box-shadow:0 0 80px #153c3209}.topbar{height:88px;padding:28px 26px 22px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;font-size:25px;letter-spacing:-1.2px;font-weight:750;color:var(--ink);text-decoration:none}.brand img{margin-right:9px}.brand span{font-weight:400}.demo-tag{font-size:10px;letter-spacing:1.4px;font-weight:650;border:1px solid #d8e0d4;border-radius:7px;padding:7px 9px;color:#63725f}main{padding:22px 26px 0}.section-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.9px;line-height:1.6;color:#738467}.status-pill,.quiet-badge{display:flex;align-items:center;gap:6px;font-size:11px;padding:6px 9px;border-radius:30px;background:#e8efe2;color:#526549;white-space:nowrap}.status-pill i,.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6e9760}.status-pill.offline{background:#fae9e2;color:var(--red)}h1{font-size:40px;letter-spacing:-1.8px;line-height:1.12;font-weight:650;margin:0 0 17px}h2{font-size:25px;letter-spacing:-.8px;font-weight:650;margin:8px 0 16px}.intro{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 27px}.scan-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:5px 22px 15px;box-shadow:0 4px 20px #1c3c2903}.scan-visual{height:180px;display:flex;justify-content:center}.scan-visual svg{width:190px;height:190px;stroke:none}.scan-caption{text-align:center;font-size:13px;font-weight:500;margin:3px 0 21px;color:#62715e}.button{width:100%;min-height:53px;border-radius:12px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:600;padding:13px 16px}.button.primary{background:var(--ink);color:#fff}.button.primary:hover{background:#245440}.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:#f4f7ef}.scan-card .secondary{margin-top:10px}.small-note{font-size:11px;text-align:center;color:#8a9484;margin:16px 0 2px}.roster-summary{display:flex;align-items:center;gap:12px;margin-top:23px;padding:0 1px}.people-symbol{background:#e8eddc;border-radius:13px;padding:11px;display:flex;color:#698052}.roster-summary strong{font-size:14px;font-weight:600}.roster-summary p{font-size:11px;color:var(--muted);margin:5px 0 0}.roster-summary .icon-button{margin-left:auto}.icon-button{border:0;background:transparent;color:var(--ink);width:44px;height:44px;flex-shrink:0;font-size:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.privacy-note{display:flex;gap:6px;justify-content:center;align-items:center;margin:25px 0 0;font-size:11px;color:#7b8676}.privacy-note svg{width:14px;height:14px}.footnote{text-align:center;color:#99a290;font-size:9px;letter-spacing:1.8px;margin:28px 0 6px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:500px;display:flex;justify-content:space-around;background:#fffffff2;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:9px 30px max(11px,env(safe-area-inset-bottom));z-index:5}.nav-item{min-width:120px;min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:#8c9785;font-size:11px;font-weight:550}.nav-item svg{width:22px;height:22px}.nav-item.active{color:var(--ink)}.nav-item.active svg{background:#eaf0df;box-shadow:0 0 0 7px #eaf0df;border-radius:5px;margin-bottom:3px}.login-view{padding-top:35px}.login-view h1{margin-top:22px}.login-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:20px;margin-top:35px}label{display:block;font-size:13px;font-weight:600;margin:20px 0 9px}label:first-child{margin-top:0}input{width:100%;min-height:52px;border:1px solid #dce2d7;background:white;border-radius:11px;padding:13px 14px;font-size:16px;color:var(--ink)}input::placeholder{color:#9aa391}.login-card .button{margin-top:17px}.error-text{font-size:13px;color:var(--red);line-height:1.5}.error-text:empty{margin:0}.login-note{text-align:center;margin:23px 0 80px;font-size:12px;color:var(--muted)}.login-note .small-dot{margin-right:6px}.plus{font-size:24px;line-height:20px;font-weight:400}.search-wrap{display:flex;align-items:center;position:relative;margin:23px 0 16px}.search-wrap svg{position:absolute;left:15px;width:18px;color:#819174}.search-wrap input{padding-left:43px;background:transparent;font-size:14px;min-height:47px}.person-row{width:100%;text-align:left;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:15px;background:#fff;padding:13px;margin-bottom:10px;color:var(--ink)}.person-row img{width:52px;height:57px;object-fit:cover;border-radius:10px}.person-row strong{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}.person-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.person-row .chevron{margin-left:auto;color:#87947e;font-size:22px}.empty-card{padding:36px 20px;text-align:center;border:1px dashed #cfdac4;border-radius:18px;color:var(--muted);line-height:1.6;font-size:14px}.empty-card strong{display:block;margin-bottom:5px;color:var(--ink);font-size:17px}.text-button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:44px;color:var(--muted);font-size:13px}.signout{display:block;margin:25px auto}.danger{color:var(--red)}.back-button{padding:8px 0 20px;background:none;border:0;color:var(--muted);min-height:44px;font-size:13px}#result-view h1{font-size:35px;margin-top:16px}.match-card{background:#fff;border:1px solid var(--line);border-radius:23px;overflow:hidden;margin:23px 0}.match-banner{padding:12px 18px;background:#e5efd8;color:#46633b;font-size:12px;font-weight:600;display:flex;gap:7px;align-items:center}.match-banner.uncertain{background:#f6edd8;color:#8a6823}.match-person{text-align:center;padding:25px 18px}.match-person img{width:128px;height:146px;object-fit:cover;border-radius:18px;margin-bottom:13px}.match-person h2{margin:5px 0 6px;font-size:26px;overflow-wrap:anywhere}.match-person p{margin:0;color:var(--muted);font-size:13px}.metrics{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding:17px 0}.metric{text-align:center}.metric+ .metric{border-left:1px solid var(--line)}.metric strong{display:block;font-size:21px;font-weight:650;letter-spacing:-.5px}.metric span{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.result-description{font-size:14px;line-height:1.6;color:var(--muted);margin:20px 0}.result-technical{border-top:1px solid var(--line);padding:14px 0 22px;font-size:11px;line-height:1.8;color:#7c8875}.result-technical summary{cursor:pointer;color:#566c49}.result-technical p{margin-bottom:0}.query-preview{width:66px;height:76px;object-fit:cover;border-radius:10px;float:right;margin:0 0 10px 10px}.candidate-list{margin:18px 0}.candidate-line{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}dialog{border:0;border-radius:23px;padding:24px;width:calc(100% - 28px);max-width:440px;max-height:calc(100dvh - 40px);overflow:auto;background:var(--paper);color:var(--ink);box-shadow:0 24px 80px #122d3540}dialog::backdrop{background:#0c241cad;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.dialog-header h2{margin-bottom:10px}.dialog-header .icon-button{margin-top:-5px;margin-right:-10px}.field-note{font-size:11px;color:var(--muted);line-height:1.5;margin:7px 0 0}.photo-placeholder{min-height:105px;background:#eaf0e3;border:1px dashed #c4d2b9;border-radius:14px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;color:#7a8b6c;font-size:12px}.photo-placeholder img{width:100%;max-height:220px;object-fit:contain;border-radius:10px}.button-row{display:flex;gap:10px;margin-top:13px}.button-row .button{min-width:0;padding:11px;font-size:13px}#save-person{margin-top:22px}.detail-photo{width:110px;height:130px;object-fit:cover;border-radius:15px}.detail-head{display:flex;gap:16px;align-items:center;margin:16px 0 22px}.detail-head h2{font-size:22px;overflow-wrap:anywhere}.detail-head p{color:var(--muted);font-size:13px}.camera-dialog{background:#153c32;color:#fff;padding:20px}.camera-dialog .icon-button{color:#fff}.camera-frame{position:relative;aspect-ratio:3/4;background:#0b251e;border-radius:17px;overflow:hidden}.camera-frame video{width:100%;height:100%;object-fit:cover}.camera-frame video.selfie{transform:scaleX(-1)}.face-guide{position:absolute;inset:17% 17%;border:2px dashed #ffffff75;border-radius:48%}.camera-dialog p{text-align:center;font-size:12px;color:#d3dfce}.camera-controls{display:flex;align-items:center;justify-content:space-around;margin:20px 0}.shutter{border:5px solid #153c32;outline:3px solid #e3efdd;background:#fff;border-radius:50%;width:65px;height:65px}.camera-spacer{width:44px}.busy-overlay{position:fixed;inset:0;background:#102a22d9;backdrop-filter:blur(8px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:25px}.busy-card{background:var(--paper);border-radius:24px;text-align:center;width:100%;max-width:340px;padding:35px 22px}.busy-card h2{font-size:23px;margin:22px 0 8px}.busy-card p{color:var(--muted);font-size:13px;line-height:1.5}.busy-card span{display:inline-block;background:#e4ecd9;padding:7px 14px;border-radius:20px;font-variant-numeric:tabular-nums;font-size:12px;margin-top:10px}.spinner{width:42px;height:42px;border:3px solid #dce4d2;border-top-color:var(--ink);border-radius:50%;margin:auto;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;background:var(--ink);color:white;padding:14px 22px;border-radius:13px;font-size:13px;box-shadow:0 5px 25px #153c3233;z-index:2000}.notice{padding:15px;border-radius:12px;font-size:13px;line-height:1.5;margin-top:18px}.error-notice{background:#f8e8df;color:var(--red)}
@media(min-width:650px){body{padding:28px 0}.app-shell{border-radius:28px;border:1px solid #dce3d7;min-height:calc(100dvh - 56px)}.bottom-nav{bottom:28px;max-width:498px;border-radius:0 0 28px 28px}.topbar{padding-top:28px}main{padding-top:25px}.login-view{padding-top:40px}}
@media(max-width:370px){.topbar{padding-left:20px;padding-right:20px}main{padding-left:20px;padding-right:20px}h1{font-size:35px}.eyebrow{font-size:9px}.scan-card{padding-left:17px;padding-right:17px}.intro{font-size:14px}.wide-only{display:none}}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}
