:root{color-scheme:light;--ink:#1d1d1f;--muted:#6e6e73;--blue:#0071e3;--page:#f5f5f7;--line:#e8e8ed;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,pre:focus-visible{outline:3px solid #0071e3;outline-offset:5px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.header{height:72px;border-bottom:1px solid #e4e4e9;background:rgba(255,255,255,.72)}.nav{max-width:1120px;height:100%;margin:auto;display:flex;align-items:center;padding:0 24px;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-size:29px;line-height:1;font-weight:650;letter-spacing:-1.1px;border-left:1px solid #d5d5da;padding-left:28px}.brand svg{width:34px;height:34px;stroke-width:2}.brand-dot{color:var(--blue)}.nav-label{display:flex;align-items:center}.nav-logo{height:34px;width:auto;max-width:min(46vw,260px);object-fit:contain;display:block}.help-link{margin-left:auto;font-size:12px;color:#515158;display:flex;gap:8px;align-items:center}.help-link:hover{color:var(--blue)}main{max-width:1072px;margin:auto;padding:0 24px}.hero{text-align:center;padding:66px 0 43px;animation:arrive .6s ease both}.eyebrow{font-size:13px;font-weight:600;letter-spacing:1.4px;color:var(--muted);margin:0 0 18px}h1{font-size:clamp(40px,5.5vw,64px);line-height:1.2;letter-spacing:-2.8px;margin:0;font-weight:650}h1 span{color:#85858b}.mobile-break{display:none}.intro{font-size:16px;line-height:1.9;color:var(--muted);margin:22px 0 0;letter-spacing:.2px}.workspace{display:grid;grid-template-columns:1.38fr 1fr;gap:22px;animation:arrive .7s .1s ease both}.scanner-card,.result-card{background:white;border-radius:28px;padding:26px;box-shadow:0 5px 22px #00000003;border:1px solid #ffffff}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.card-heading h2{font-size:17px;letter-spacing:-.4px;margin:0;font-weight:600}.status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.status i{width:6px;height:6px;border-radius:50%;background:#aaaab0}.status.active i{background:#30a46c;box-shadow:0 0 0 3px #30a46c13}.status.active{color:#258452}.viewfinder{position:relative;height:306px;border-radius:19px;overflow:hidden;background:radial-gradient(ellipse at 50% 28%,#fff,#f0f1f4 75%);isolation:isolate}.viewfinder video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}.viewfinder.live{background:#161618}.viewfinder.live video{opacity:1}.idle-view{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;justify-content:center;padding-bottom:16px}.qr-object{height:102px;width:102px;background:linear-gradient(130deg,#fff,#f5f5f8);border:1px solid #fff;border-radius:23px;box-shadow:0 14px 24px #22223d12,0 2px 3px #00000005;transform:rotate(-9deg);padding:19px;margin-bottom:22px}.qr-object svg{width:100%;height:100%;color:#585860;stroke:none}.idle-view p{font-size:15px;font-weight:550;margin:0 0 8px;letter-spacing:-.2px}.idle-view>span{font-size:11px;color:#85858b}.scan-guide{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);width:225px;height:202px;pointer-events:none}.scan-guide>i{position:absolute;width:21px;height:21px;border:solid #b3b3bb;border-width:0}.scan-guide>i:nth-child(1){top:0;left:0;border-top-width:2px;border-left-width:2px;border-radius:9px 0 0}.scan-guide>i:nth-child(2){top:0;right:0;border-top-width:2px;border-right-width:2px;border-radius:0 9px 0 0}.scan-guide>i:nth-child(3){bottom:0;left:0;border-bottom-width:2px;border-left-width:2px;border-radius:0 0 0 9px}.scan-guide>i:nth-child(4){bottom:0;right:0;border-bottom-width:2px;border-right-width:2px;border-radius:0 0 9px}.viewfinder.live .scan-guide{top:47%;height:220px}.viewfinder.live .scan-guide>i{border-color:white}.scan-line{display:none;height:1px;position:absolute;left:10px;right:10px;background:#8ac8ff;box-shadow:0 0 10px #69afff;animation:sweep 2.6s ease-in-out infinite}.live .scan-line{display:block}.viewfinder-caption{position:absolute;bottom:19px;width:100%;text-align:center;font-size:10px;letter-spacing:.6px;color:#98989f}.live .viewfinder-caption{color:#fff;bottom:52px;text-shadow:0 1px 5px #000}.stop-button{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#1d1d1fbf;border:1px solid #ffffff45;border-radius:20px;color:white;font-size:11px;padding:7px 16px}.scan-controls{display:flex;gap:10px;margin-top:20px}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:30px;border:0;font-size:13px;font-weight:500;transition:background .2s,transform .2s}.primary{background:var(--blue);color:white;flex:1.2}.primary:hover{background:#0077ed}.primary:active,.secondary:active{transform:scale(.98)}.secondary{background:#f2f2f5;color:#333338;flex:1}.secondary:hover{background:#e9e9ee}.scan-controls svg{width:17px;height:17px}.feedback{margin:15px 0 0;font-size:11px;line-height:1.6;color:#86868b;text-align:center;min-height:18px}.feedback.error{color:#b64423}.result-card{display:flex;flex-direction:column}.result-tag{display:inline-flex;align-items:center;gap:4px;font-size:10px;background:#f5f5f7;color:#8a8a90;padding:5px 9px;border-radius:7px;white-space:nowrap}.result-tag.success{color:#258452;background:#edf8f1}.result-tag.success::before{content:"";width:11px;height:11px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 4 4L19 6'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 4 4L19 6'/></svg>") center/contain no-repeat}.result-empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:26px 0 36px}.empty-icon{width:55px;height:55px;border-radius:17px;background:#f5f5f7;display:grid;place-items:center;color:#a6a6ae;margin-bottom:23px}.empty-icon svg{width:25px;height:25px;stroke-width:1.3}.result-empty h3{margin:0;font-size:15px;line-height:1.4;font-weight:550;letter-spacing:-.3px;white-space:nowrap}.result-empty p{font-size:12px;color:#8b8b91;line-height:1.8;margin:13px 0 0}.result-note{display:flex;gap:9px;align-items:flex-start;border-top:1px solid #ededf1;padding-top:17px;margin-top:auto}.result-note p{margin:0;font-size:11px;line-height:1.7;color:#98989e;white-space:nowrap}.note-dot{width:5px;height:5px;border-radius:50%;background:#b8b8bf;margin-top:6px;flex-shrink:0}.result-content{padding:4px 0 0;min-width:0}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.result-actions{display:flex;align-items:center;gap:2px}.result-actions .text-button{display:inline-flex;align-items:center;gap:4px;margin:0;padding:3px 8px;font-size:11px;border-radius:8px}.result-actions .text-button svg{width:13px;height:13px}.result-actions .text-button:hover{color:var(--blue)}.result-label{font-size:10px;color:var(--muted);margin:0}pre{margin:0;background:#f5f5f7;border:1px solid #ededf1;border-radius:13px;padding:12px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:108px;overflow:auto;min-height:64px;user-select:text}.result-meta{display:flex;justify-content:space-between;gap:10px;color:#8b8b91;font-size:10px;margin:8px 0 0}.text-button{display:block;background:none;border:0;color:var(--muted);font-size:11px;margin:12px auto 0;padding:6px 14px}.privacy{display:flex;justify-content:center;align-items:center;gap:6px;font-size:10px;color:#909097;margin:23px 0 65px}.privacy svg{width:12px;height:12px}.how-it-works{border-top:1px solid #dedee4;padding:38px 0 56px;display:grid;grid-template-columns:1fr 2fr;gap:24px}.how-heading .eyebrow{font-size:11px;letter-spacing:.8px;margin-bottom:10px}.how-heading h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.7px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.steps article>span{color:#aaaab1;font-size:12px;letter-spacing:1px}.steps h3{font-size:13px;font-weight:600;margin:12px 0 7px}.steps p{font-size:11px;color:#86868b;line-height:1.8;margin:0}footer{border-top:1px solid #e1e1e7;max-width:1024px;margin:auto;padding:22px 0 25px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#96969d}footer a:hover{color:var(--ink)}.noscript{position:fixed;bottom:10px;left:10px;right:10px;background:white;padding:20px;box-shadow:0 0 20px #0002;text-align:center}
.process-card{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.process-card .card-heading{margin-bottom:6px}#process-message{font-size:13px;line-height:1.45;color:var(--muted);margin:0}.process-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin-top:8px}.process-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}.process-summary span{font-size:11px;color:var(--muted)}.process-summary strong{font-size:12px;font-weight:500;overflow-wrap:anywhere;line-height:1.4}.process-card details{border-top:1px solid var(--line);margin-top:8px;padding-top:6px}.result-card:has(#process-card:not([hidden])) .result-note{display:none}.process-card summary{font-size:12px;color:var(--blue);cursor:pointer;padding:5px 0}.process-card details pre{margin-top:12px;max-height:420px}.process-card .secondary{margin-top:20px;padding:0 24px;min-height:42px}.process-card[aria-busy=true] .result-tag{animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}
@media(max-width:760px){.process-card{margin-top:14px;padding-top:12px;max-width:none}.process-summary{grid-template-columns:1fr}}
@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes sweep{0%,100%{top:15%}50%{top:85%}}
@media(min-width:1500px){.hero{padding-top:82px;padding-bottom:54px}.viewfinder{height:330px}}
@media(max-width:760px){.header{height:60px}.nav{padding:0 20px;gap:18px}.nav-logo{height:28px}.brand{font-size:24px;line-height:1;padding-left:18px}.brand svg{width:28px;height:28px}main{padding:0 18px}.hero{padding:42px 0 30px}h1{font-size:45px;letter-spacing:-2px}.hero .eyebrow{font-size:11px;margin-bottom:14px}.intro{font-size:13px;line-height:1.8;margin-top:18px}.workspace{grid-template-columns:1fr;gap:16px;max-width:520px;margin:auto}.scanner-card,.result-card{padding:21px;border-radius:24px}.card-heading{margin-bottom:18px}.card-heading h2{font-size:16px}.viewfinder{height:292px}.scan-controls{gap:8px;margin-top:17px}.primary,.secondary{font-size:12px;min-height:47px}.result-empty{padding:22px 0 32px}.result-empty h3{font-size:14px}.empty-icon{width:42px;height:42px;border-radius:13px;margin-bottom:16px}.empty-icon svg{width:22px;height:22px}.result-note p br{display:none}.result-content{padding-top:4px}.privacy{margin:20px 0 40px;font-size:9px}.how-it-works{display:block;padding:30px 4px 35px;max-width:520px;margin:auto}.how-heading{margin-bottom:28px}.how-heading h2{font-size:23px}.steps{gap:12px}.steps p{font-size:10px}.steps p br{display:none}.steps h3{font-size:12px}footer{margin:0 22px;font-size:9px;padding:20px 0;flex-wrap:wrap;gap:10px}}
@media(max-width:760px){.mobile-break{display:block}h1 span{white-space:nowrap}}
@media(max-width:360px){h1{font-size:39px}.scan-controls{flex-direction:column}.brand{padding-left:14px}.privacy{align-items:flex-start}.steps{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.settings-card{background:#fff;border-radius:26px;padding:28px;margin:0 0 22px}.settings-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-top:4px}.settings-form label{display:flex;flex-direction:column;gap:7px;flex:1 1 280px;max-width:460px;min-width:0;font-size:11px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}.settings-form input{width:100%;min-width:0;font:16px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);background:#f5f5f7;border:1px solid #ededf1;border-radius:12px;padding:12px 14px}.settings-form input:focus{outline:3px solid #0071e333;border-color:#0071e3}.settings-actions{display:flex;align-items:center}.settings-actions .secondary{padding:0 22px;min-height:46px}.settings-note{margin:14px 0 0;font-size:11px;line-height:1.7;color:#98989e}
@media(max-width:760px){.settings-card{padding:21px;max-width:520px;margin:0 auto 16px}.settings-form label{max-width:none}.settings-actions,.settings-actions .secondary{width:100%}}

/* Keep both result sections readable, including long native response fields. */
.scanner-card{align-self:start}.result-card{min-width:0}.result-label{font-size:13px;color:var(--ink);font-weight:600}.result-note p{white-space:normal}.result-content>pre{max-height:220px}.raw-qr{margin-top:10px}.raw-qr summary{font-size:11px;color:var(--muted);cursor:pointer;padding:4px 0}.raw-qr pre{margin-top:6px;max-height:180px}.process-card{margin-top:20px;padding-top:18px}.process-card .card-heading h2{font-size:13px;letter-spacing:0}.process-card details pre{margin-top:8px;max-height:360px}.http-status{font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);margin:8px 0 0}.result-tag.warning{color:#9d4e17;background:#fff3e9}

/* The workspace starts directly below the navigation. */
main{padding-top:24px}@media(max-width:760px){main{padding-top:16px}}
