:root{--ink:#12263a;--paper:#f7f9fb;--surface:#fff;--guilloche:#12707f;--stamp:#b3261e;--endorse:#1b7f4f;--caution:#8a5a00;--rule:#dbe3ea;--muted:#667382;--sans:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, "Roboto Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0}body{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-size:15px;line-height:1.4}button,input{font:inherit;color:inherit}button{cursor:pointer}.app{background:var(--paper);height:100dvh;display:flex}.sidebar{display:none}.main-col{flex-direction:column;flex:1;min-width:0;display:flex}.top-bar{height:64px;padding:env(safe-area-inset-top) 4px 0 20px;background:var(--paper);flex:none;align-items:center;display:flex}.top-title{letter-spacing:-.4px;flex:1;font-size:30px;font-weight:600;line-height:1.2}.icon-button{width:48px;height:48px;color:var(--guilloche);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;display:flex}.icon-button:hover{background:#12707f14}.icon-button svg{fill:currentColor;width:24px;height:24px}.content{scroll-behavior:smooth;flex:1;min-height:0;overflow-y:auto}.nav-bar{background:var(--surface);padding:12px 0 calc(16px + env(safe-area-inset-bottom));flex:none;display:flex;box-shadow:0 -1px #12263a0a}.nav-item{color:var(--muted);letter-spacing:.2px;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:4px;padding:0;font-size:12px;font-weight:500;display:flex}.nav-item .pill{border-radius:16px;justify-content:center;align-items:center;width:64px;height:32px;transition:background-color .2s;display:flex}.nav-item svg{fill:currentColor;width:24px;height:24px}.nav-item[aria-selected=true]{color:var(--guilloche)}.nav-item[aria-selected=true] .pill{background:#12707f1a}.page{flex-direction:column;gap:20px;padding:20px;display:flex}.page-head{flex-direction:column;gap:8px;display:flex}.page-title{letter-spacing:-.4px;margin:0;font-size:30px;font-weight:600;line-height:1.2;display:none}.purpose{color:var(--muted);margin:0;font-size:15px}.workspace{flex-direction:column;gap:20px;display:flex}.controls,.results{flex-direction:column;gap:20px;min-width:0;display:flex}.results>div:empty,.inline-settings{display:none}.settings-heading{color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin:8px 0 -6px;font-size:13px;font-weight:600}@media (width>=960px){.top-bar,.nav-bar{display:none}.sidebar{background:var(--surface);border-right:1px solid var(--rule);flex-direction:column;flex:none;width:256px;padding:20px 14px 16px;display:flex}.brand{align-items:center;gap:12px;padding:4px 8px 24px;display:flex}.brand-mark{background:var(--guilloche);color:#fff;border-radius:11px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.brand-mark svg{fill:currentColor;width:22px;height:22px}.brand-name{letter-spacing:-.2px;font-size:17px;font-weight:600}.brand-sub{color:var(--muted);font-size:12px}.side-nav{flex-direction:column;gap:4px;display:flex}.side-item{text-align:left;height:46px;color:var(--muted);background:0 0;border:0;border-radius:12px;align-items:center;gap:14px;padding:0 14px;font-size:15px;font-weight:500;transition:background-color .15s,color .15s;display:flex}.side-item svg{fill:currentColor;flex:none;width:22px;height:22px}.side-item:hover{color:var(--ink);background:#12263a0a}.side-item[aria-selected=true]{color:var(--guilloche);background:#12707f1a}.server-status{border:1px solid var(--rule);background:var(--paper);border-radius:12px;align-items:flex-start;gap:10px;margin-top:auto;padding:12px;display:flex}.status-dot{background:var(--muted);border-radius:50%;flex:none;width:8px;height:8px;margin-top:6px}.status-dot[data-state=ok]{background:var(--endorse);box-shadow:0 0 0 3px #1b7f4f26}.status-dot[data-state=warn]{background:var(--caution)}.status-dot[data-state=down]{background:var(--stamp);box-shadow:0 0 0 3px #b3261e1f}.status-lines{flex-direction:column;gap:2px;min-width:0;display:flex}.status-text{font-size:13px;font-weight:500}.status-address{font-family:var(--mono);color:var(--muted);overflow-wrap:anywhere;font-size:11px}.page{gap:28px;max-width:1280px;padding:36px 40px 48px}.page-title{display:block}.purpose{max-width:720px}.workspace{grid-template-columns:minmax(320px,380px) minmax(0,1fr);align-items:start;gap:28px;display:grid}.controls{scrollbar-width:thin;max-height:calc(100dvh - 48px);padding-bottom:4px;position:sticky;top:24px;overflow-y:auto}.inline-settings{flex-direction:column;gap:16px;display:flex}.empty-state{background:var(--surface);justify-content:center;align-items:center;min-height:320px;display:flex}.text-field label{background:var(--surface)}}@media (width>=1400px){.workspace{grid-template-columns:400px minmax(0,1fr)}}.primary-action{background:var(--guilloche);color:#fff;border:0;border-radius:12px;width:100%;margin:2px 0;padding:17px 24px;font-size:16px;font-weight:600;line-height:1.2}.primary-action:hover:not(:disabled){background:#0f6170}.primary-action:active:not(:disabled){transform:translateY(1px)}.primary-action:disabled{cursor:default;background:#12707f73}:focus-visible{outline:2px solid var(--guilloche);outline-offset:2px}.chip:hover:not([aria-pressed=true]){border-color:var(--muted);color:var(--ink)}.panel{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:16px}.panel-title{letter-spacing:-.2px;color:var(--ink);margin:0 0 6px;font-size:17px;font-weight:600}.panel-divider{background:var(--rule);height:1px}.data-row{justify-content:space-between;align-items:flex-start;gap:12px;padding:6px 0;display:flex}.data-row .label{color:var(--muted);padding-top:2px;font-size:13px}.data-row .value{text-align:right;color:var(--ink);overflow-wrap:anywhere}.data-row .value.machine{font-family:var(--mono);font-size:15px;font-weight:500}.data-row .value.prose{font-size:15px}.subheading{color:var(--ink);margin:14px 0 2px;font-size:15px;font-weight:600}.note{color:var(--muted);white-space:pre-line;margin-top:2px;font-size:13px}.verdict{gap:14px;display:flex}.verdict .rule{flex:none;width:4px}.verdict .body{flex-direction:column;gap:5px;display:flex}.verdict .title{letter-spacing:-.3px;font-size:20px;font-weight:600}.verdict .reason{color:#12263abf;white-space:pre-line;font-size:15px}.empty-state{border:1px solid var(--rule);text-align:center;color:var(--muted);border-radius:14px;padding:40px 20px;font-size:15px}.mono-block{font-family:var(--mono);color:#12263ad9;background:var(--paper);border:1px solid var(--rule);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;margin:0;padding:12px;font-size:12px}.thumb{flex-direction:column;flex:none;gap:5px;display:flex}.thumb img{border:1px solid var(--rule);border-radius:8px;display:block}.caption{color:var(--muted);font-size:13px}.capture-row{align-items:flex-start;gap:12px;padding-bottom:10px;display:flex}.capture-row .flat{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.capture-row .flat img{border:1px solid var(--rule);border-radius:10px;width:100%;display:block}.match-card{background:var(--surface);border:1px solid var(--rule);border-radius:14px;flex-direction:column;align-items:center;gap:14px;padding:20px;display:flex}.match-card .panel-title{align-self:stretch;margin:0}.faces{justify-content:center;align-self:stretch;gap:16px;display:flex}.face-tile{flex-direction:column;align-items:center;gap:6px;display:flex}.face-tile .frame{background:var(--paper);border:1px solid var(--rule);width:132px;height:176px;color:var(--rule);border-radius:10px;justify-content:center;align-items:center;font-size:13px;display:flex;overflow:hidden}.face-tile img{object-fit:cover;width:100%;height:100%;display:block}.score{font-family:var(--mono);font-size:52px;font-weight:300;line-height:1.1}.score-verdict{font-size:17px;font-weight:600}.score-bar{background:var(--paper);border:1px solid var(--rule);border-radius:5px;align-self:stretch;height:10px;position:relative;overflow:hidden}.score-bar .fill{position:absolute;top:0;bottom:0;left:0}.score-bar .tick{background:var(--ink);width:2px;position:absolute;top:0;bottom:0;transform:translate(-2px)}.threshold{font-family:var(--mono);color:var(--muted);font-size:12px}.match-card .nothing{color:var(--muted);text-align:center;font-size:13px}.progress-card{background:var(--surface);border:1px solid var(--rule);border-radius:18px;overflow:hidden;box-shadow:0 6px 14px #12263a14,0 2px 6px #12263a0f}.activity{background:#12707f1a;height:3px;position:relative;overflow:hidden}.activity:after{content:"";background:linear-gradient(90deg, #12707f00, var(--guilloche), #12707f00);width:40%;animation:1.4s cubic-bezier(.37,0,.63,1) infinite sweep;position:absolute;top:0;bottom:0}.activity.failed{background:var(--stamp)}.activity.failed:after{display:none}@keyframes sweep{0%{left:-40%}to{left:100%}}.progress-inner{flex-direction:column;gap:18px;padding:18px;display:flex}.progress-head{align-items:center;display:flex}.progress-head .title{letter-spacing:-.3px;flex:1;font-size:20px;font-weight:600}.progress-head .count{font-family:var(--mono);color:var(--muted);font-size:12px}.progress-error{color:var(--stamp);white-space:pre-line;overflow-wrap:anywhere;font-size:15px}.step{gap:14px;display:flex}.step .rail-col{flex-direction:column;flex:none;align-items:center;gap:4px;width:28px;display:flex}.step .rail{background:var(--rule);border-radius:1px;flex:1;width:2px;transition:background-color .3s}.step.done .rail{background:var(--guilloche)}.step .text{flex-direction:column;gap:3px;padding:3px 0 18px;display:flex}.step:last-child .text{padding-bottom:0}.step .step-title{color:var(--ink);font-size:16px;font-weight:500}.step.active .step-title{font-weight:600}.step.pending .step-title{color:var(--muted)}.step .step-detail{color:var(--muted);font-size:13px}.step.pending .step-detail{color:#667382b3}.marker{border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.marker.done{background:var(--guilloche)}.marker.done svg{fill:#fff;width:16px;height:16px}.marker.failed{background:var(--stamp);color:#fff;font-size:15px;font-weight:700}.marker.pending{border:2px solid var(--rule)}.marker.active{background:#12707f1a;position:relative}.marker.active:before{content:"";border:2.5px solid #12707f2e;border-radius:50%;position:absolute;inset:0}.marker.active:after{content:"";border:2.5px solid #0000;border-top-color:var(--guilloche);border-radius:50%;animation:.9s linear infinite turn;position:absolute;inset:0}.marker.active .dot{background:var(--guilloche);border-radius:50%;width:8px;height:8px}@keyframes turn{to{transform:rotate(360deg)}}.reveal{flex-direction:column;gap:20px;animation:.36s cubic-bezier(.2,.8,.2,1) rise;display:flex}.slot-in{animation:.32s cubic-bezier(.2,.8,.2,1) drop}@keyframes rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes drop{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}.scrim{z-index:50;background:#00000052;animation:.2s ease-out fade;position:fixed;inset:0}.sheet{z-index:51;background:var(--paper);border-radius:28px 28px 0 0;flex-direction:column;width:100%;max-width:640px;max-height:92dvh;animation:.3s cubic-bezier(.2,.8,.2,1) sheet-up;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.sheet .handle{background:#66738266;border-radius:2px;flex:none;width:32px;height:4px;margin:22px auto}.settings-body{padding:0 20px calc(32px + env(safe-area-inset-bottom));flex-direction:column;gap:20px;display:flex;overflow-y:auto}.settings-body .sheet-title{letter-spacing:-.2px;margin:0;font-size:17px;font-weight:600}@keyframes fade{0%{opacity:0}}@keyframes sheet-up{0%{transform:translate(-50%,100%)}}.chips{gap:8px;display:flex}.chip{border:1px solid var(--rule);background:var(--surface);height:32px;color:var(--muted);border-radius:8px;padding:0 16px;font-size:14px;font-weight:500}.chip[aria-pressed=true]{background:var(--guilloche);border-color:var(--guilloche);color:#fff}.toggle-row{justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.switch{flex:none;width:52px;height:32px;position:relative}.switch input{opacity:0;cursor:pointer;z-index:1;margin:0;position:absolute;inset:0}.switch .track{background:var(--paper);border:2px solid var(--rule);border-radius:16px;transition:background-color .15s,border-color .15s;position:absolute;inset:0}.switch .thumb{background:var(--muted);border-radius:50%;width:16px;height:16px;transition:all .15s;position:absolute;top:8px;left:8px}.switch input:checked~.track{background:var(--guilloche);border-color:var(--guilloche)}.switch input:checked~.thumb{background:#fff;width:24px;height:24px;top:4px;left:24px}.threshold-row{padding:4px 0}.threshold-row .top{justify-content:space-between;display:flex}.threshold-row .num{font-family:var(--mono);font-weight:500}.threshold-row.disabled{color:var(--muted)}input[type=range]{width:100%;height:4px;accent-color:var(--guilloche);appearance:none;background:linear-gradient(to right, var(--guilloche) var(--p,50%), var(--rule) var(--p,50%));border-radius:2px;margin:14px 0 10px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--guilloche);border:0;border-radius:50%;width:20px;height:20px}input[type=range]::-moz-range-thumb{background:var(--guilloche);border:0;border-radius:50%;width:20px;height:20px}input[type=range]:disabled{opacity:.38}.elsewhere{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.elsewhere .status{font-family:var(--mono);color:var(--muted);padding-top:2px;font-size:12px}.text-field{margin-top:14px;position:relative}.text-field input{border:1px solid var(--rule);width:100%;height:56px;font-family:var(--mono);color:var(--ink);background:0 0;border-radius:4px;outline:none;padding:16px;font-size:15px;font-weight:500}.text-field input:focus{border:2px solid var(--guilloche);padding:15px}.text-field label{background:var(--surface);color:var(--muted);padding:0 4px;font-size:12px;position:absolute;top:-8px;left:12px}.text-field input:focus+label{color:var(--guilloche)}
