/* Shared, scoped interactive service gallery. */
.captcha-lab{--bg:#121516;--panel:#1a1e20;--raised:#222729;--field:#15191b;--ink:#f3f2ec;--muted:#a0a8a7;--line:#343b3d;--accent:#ff885f;--accent-soft:#30251f;--green:#a9ce9b;--green-bg:#233127;--red:#ff9d96;--shadow:0 20px 70px #0002;--paper:#191d1f;--subtle:#171b1d}
[data-theme=light] .captcha-lab{--bg:#f3f2ed;--panel:#fffef9;--raised:#ebece6;--field:#f7f7f1;--ink:#232b2d;--muted:#626d6b;--line:#d9ded5;--accent:#ad421c;--accent-soft:#f7e8db;--green:#386138;--green-bg:#e6efdf;--red:#aa3227;--shadow:0 20px 70px #293b2510;--paper:#fffef9;--subtle:#f8f7f1}
.captcha-lab *{box-sizing:border-box}
.captcha-lab{scroll-behavior:smooth}
.captcha-lab{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}
.captcha-lab button,.captcha-lab input,.captcha-lab textarea{font:inherit}
.captcha-lab button,.captcha-lab a,.captcha-lab input,.captcha-lab textarea{-webkit-tap-highlight-color:transparent}
.captcha-lab button{cursor:pointer}
.captcha-lab button:disabled{cursor:default}
.captcha-lab a{color:inherit}
.captcha-lab button{color:inherit}
.captcha-lab button:focus-visible,.captcha-lab a:focus-visible,.captcha-lab input:focus-visible,.captcha-lab textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.captcha-lab button{touch-action:manipulation}
.captcha-lab svg{display:block;flex:none}
.captcha-lab button svg{pointer-events:none}
.captcha-lab button img{pointer-events:none;user-select:none;-webkit-user-drag:none}
.captcha-lab img{max-width:100%}
.captcha-lab h1,.captcha-lab h2,.captcha-lab h3,.captcha-lab p{margin:0}
.captcha-lab button{border:0;background:none}
.captcha-lab,.captcha-lab button,.captcha-lab input,.captcha-lab textarea{transition:background-color .18s,color .18s,border-color .18s}
.captcha-lab ::selection{background:var(--accent);color:var(--bg)}
.captcha-lab [hidden]{display:none!important}
.captcha-lab .wrap{width:min(1440px,calc(100% - 96px));margin:auto}
.captcha-lab .topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}
.captcha-lab .brand{display:flex;align-items:center;gap:13px;white-space:nowrap;text-decoration:none}
.captcha-lab .brand img{width:44px;height:44px;object-fit:contain}
.captcha-lab .brand strong{font-size:18px;letter-spacing:.015em}
.captcha-lab .brand span{padding-left:20px;margin-left:9px;border-left:1px solid var(--line);font-size:12px;color:var(--muted)}
.captcha-lab .top-actions{display:flex;align-items:center;gap:22px}
.captcha-lab .prototype{font-size:11px;letter-spacing:.07em;text-transform:uppercase;display:flex;align-items:center;gap:9px;color:var(--muted)}
.captcha-lab .prototype i{width:6px;height:6px;border-radius:50%;background:var(--accent)}
.captcha-lab .round{width:42px;height:42px;aspect-ratio:1;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;flex:0 0 42px;padding:0}
.captcha-lab .round:hover{background:var(--raised)}
.captcha-lab .round svg{width:18px;height:18px}
.captcha-lab .intro{display:flex;align-items:end;justify-content:space-between;gap:40px;padding:52px 0 42px}
.captcha-lab .eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:650}
.captcha-lab .intro h1{font-size:clamp(32px,3.8vw,54px);font-weight:500;line-height:1.13;letter-spacing:-.042em;margin-top:15px}
.captcha-lab .intro h1 span{color:var(--accent)}
.captcha-lab .intro h1,.captcha-lab .form-heading h2,.captcha-lab .notes h2,.captcha-lab .recommendation h2{word-spacing:.035em}
.captcha-lab .intro-copy{max-width:360px;padding-bottom:4px;color:var(--muted);font-size:13px;line-height:1.85}
.captcha-lab .intro-copy p+p{font-size:11px;margin-top:13px}
.captcha-lab .workspace{display:grid;grid-template-columns:228px minmax(0,1fr) 256px;gap:26px;align-items:start}
.captcha-lab .sidebar-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding:0 4px}
.captcha-lab .sidebar-title span{font-size:11px;color:var(--muted)}
.captcha-lab .variants{display:flex;flex-direction:column;gap:7px}
.captcha-lab .variant{width:100%;display:grid;grid-template-columns:27px 1fr 12px;gap:9px;text-align:left;border:1px solid transparent;border-radius:12px;padding:15px 13px;align-items:start;position:relative}
.captcha-lab .variant:hover{background:var(--panel)}
.captcha-lab .variant[aria-selected=true]{border-color:var(--line);background:var(--panel)}
.captcha-lab .variant[aria-selected=true]:before{content:"";position:absolute;width:3px;height:27px;left:-1px;top:17px;border-radius:3px;background:var(--accent)}
.captcha-lab .variant .num{font-size:10px;padding-top:3px;color:var(--muted);font-variant-numeric:tabular-nums}
.captcha-lab .variant[aria-selected=true] .num{color:var(--accent)}
.captcha-lab .variant strong{display:block;font-size:12px;font-weight:650}
.captcha-lab .variant small{font-size:10px;display:block;color:var(--muted);margin-top:3px}
.captcha-lab .variant .tried{margin-top:5px;color:var(--green);width:12px;height:12px}
.captcha-lab .variant .tried:empty{border:1px solid var(--line);border-radius:50%;width:6px;height:6px;margin-top:9px;margin-left:3px}
.captcha-lab .sidebar-note{font-size:11px;line-height:1.8;color:var(--muted);margin:23px 13px 0}
.captcha-lab .sidebar-note b{font-weight:500;color:var(--ink)}
.captcha-lab .preview{border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden;min-width:0}
.captcha-lab .preview-bar{padding:16px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--subtle);font-size:10px;color:var(--muted)}
.captcha-lab .preview-bar .window-name{display:flex;align-items:center;gap:8px}
.captcha-lab .preview-bar svg{width:12px;height:12px}
.captcha-lab .preview-state{display:flex;align-items:center;gap:7px;font-size:10px}
.captcha-lab .preview-state:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--muted)}
.captcha-lab .preview-state.ready{color:var(--green)}
.captcha-lab .preview-state.ready:before{background:var(--green)}
.captcha-lab .form-inner{padding:28px 30px 26px}
.captcha-lab .form-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}
.captcha-lab .form-heading h2{font-size:25px;line-height:1.35;letter-spacing:-.025em;font-weight:550}
.captcha-lab .form-heading p{color:var(--muted);font-size:11px;margin-top:6px}
.captcha-lab .form-heading .tiny-mark{width:37px;height:32px;object-fit:contain;margin-top:2px}
.captcha-lab .fields{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.captcha-lab .field{display:flex;flex-direction:column;gap:7px;min-width:0}
.captcha-lab .field.full{grid-column:1/-1}
.captcha-lab .field label{font-size:10px;color:var(--muted)}
.captcha-lab .field input,.captcha-lab .field textarea{background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:11px 12px;width:100%;min-width:0;font-size:12px;line-height:1.5}
.captcha-lab .field textarea{height:67px;resize:vertical;min-height:67px;max-height:180px}
.captcha-lab .field input:focus,.captcha-lab .field textarea:focus{border-color:var(--accent)}
.captcha-lab .verification-divider{display:flex;align-items:center;gap:12px;margin:25px 0 16px;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.captcha-lab .verification-divider:after{content:"";flex:1;height:1px;background:var(--line)}
.captcha-lab .challenge{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--field);position:relative;min-width:0}
.captcha-lab .challenge-head{padding:15px 17px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.captcha-lab .challenge-head strong{font-size:12px;font-weight:600;display:block}
.captcha-lab .challenge-head p{font-size:10px;color:var(--muted);margin-top:3px}
.captcha-lab .reload{width:28px;height:28px;display:grid;place-items:center;padding:0;flex:none;border-radius:50%;color:var(--muted)}
.captcha-lab .reload svg{width:15px;height:15px}
.captcha-lab .reload:hover{color:var(--ink);background:var(--raised)}
.captcha-lab .challenge-body{padding:0 17px 17px}
.captcha-lab .challenge-bottom{padding:9px 15px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;line-height:1.6;color:var(--muted)}
.captcha-lab .challenge-bottom button{padding:2px 0;color:var(--muted);font-size:9px;text-decoration:underline;text-underline-offset:3px}
.captcha-lab .challenge-bottom button:hover{color:var(--accent)}
.captcha-lab .challenge-message{font-size:11px;line-height:1.65;min-height:0;color:var(--red);margin-top:0}
.captcha-lab .challenge-message:not(:empty){margin-top:12px}
.captcha-lab .challenge[data-verified=true]{border-color:var(--green)}
.captcha-lab .challenge[data-verified=true] .challenge-bottom{color:var(--green);background:var(--green-bg)}
.captcha-lab .passed-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:8px;padding:12px 13px;color:var(--green);background:var(--green-bg);margin-top:13px;font-size:11px}
.captcha-lab .passed-banner>span{display:flex;align-items:center;gap:8px}
.captcha-lab .passed-banner svg{width:16px;height:16px}
.captcha-lab .passed-banner small{font-size:9px;white-space:nowrap}
.captcha-lab .submit-row{display:flex;gap:17px;align-items:center;margin-top:20px}
.captcha-lab .send{display:flex;justify-content:center;align-items:center;gap:17px;background:var(--accent);color:#151718;border-radius:8px;font-size:12px;font-weight:750;min-height:43px;padding:10px 17px;white-space:nowrap}
.captcha-lab .send svg{width:16px;height:16px}
.captcha-lab .send:disabled{background:var(--raised);color:var(--muted);opacity:.65}
.captcha-lab .send:not(:disabled):hover{filter:brightness(1.1)}
[data-theme=light] .captcha-lab .send:not(:disabled){color:white}
.captcha-lab .submit-note{color:var(--muted);font-size:9px;line-height:1.7;max-width:180px}
.captcha-lab .sent-message{color:var(--green);font-size:11px;margin-top:15px;padding:12px;background:var(--green-bg);border-radius:8px}
.captcha-lab .form-footer{border-top:1px solid var(--line);padding:12px 30px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);gap:16px}
.captcha-lab .demo-badge{font-size:8px;letter-spacing:.09em;padding:3px 6px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}
.captcha-lab .notes{padding:17px 0 0 2px;min-width:0}
.captcha-lab .variant-type{color:var(--accent);font-size:9px;letter-spacing:.11em;text-transform:uppercase;display:inline-block;margin-bottom:12px}
.captcha-lab .notes h2{font-weight:500;font-size:24px;line-height:1.3;letter-spacing:-.03em}
.captcha-lab .notes>p{font-size:12px;line-height:1.85;color:var(--muted);margin-top:14px}
.captcha-lab .specs{margin-top:24px;display:flex;flex-direction:column}
.captcha-lab .spec{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);font-size:10px}
.captcha-lab .spec span{color:var(--muted)}
.captcha-lab .spec b{font-weight:550;text-align:right}
.captcha-lab .thought{padding-top:22px}
.captcha-lab .thought h3{font-size:10px;display:flex;align-items:center;gap:8px}
.captcha-lab .thought h3 svg{width:14px;height:14px;color:var(--accent)}
.captcha-lab .thought p{color:var(--muted);font-size:11px;margin-top:9px;line-height:1.85}
.captcha-lab .pick{border:1px solid var(--line);padding:11px 14px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:23px;font-size:11px}
.captcha-lab .pick svg{width:14px;height:14px}
.captcha-lab .pick:hover{background:var(--raised)}
.captcha-lab .pick[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
.captcha-lab .choice-note{color:var(--muted);font-size:9px;margin-top:9px;line-height:1.7}
.captcha-lab .selection{margin-top:17px;padding:10px 12px;border-left:2px solid var(--accent);font-size:10px;background:var(--accent-soft);line-height:1.7}
.captcha-lab .selection b{display:block;font-weight:650}
.captcha-lab .one-click{width:100%;padding:18px 16px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:13px;text-align:left;background:var(--panel);min-height:75px}
.captcha-lab .one-click .check-square{height:25px;width:25px;border:1px solid var(--muted);border-radius:6px;display:grid;place-items:center;flex:none}
.captcha-lab .one-click .check-square svg{width:17px;height:17px}
.captcha-lab .one-click strong{font-size:12px;font-weight:550}
.captcha-lab .one-click small{font-size:9px;color:var(--muted);display:block;margin-top:2px}
.captcha-lab .one-click img{width:35px;height:35px;object-fit:contain;margin-left:auto}
.captcha-lab .one-click.working .check-square{border-color:var(--accent);border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}
.captcha-lab .one-click.working .check-square svg{opacity:0}
.captcha-lab .one-click.done .check-square{background:var(--green-bg);border-color:var(--green);color:var(--green)}
.captcha-lab .hold-stage{display:flex;align-items:center;gap:23px;min-height:131px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px 20px}
.captcha-lab .hold-button{width:102px;height:102px;flex:0 0 102px;border-radius:50%;position:relative;display:grid;place-items:center;padding:0;user-select:none;touch-action:none;background:var(--field);outline-offset:7px}
.captcha-lab .hold-button .progress-ring{position:absolute;inset:-1px;width:104px;height:104px;transform:rotate(-90deg);pointer-events:none}
.captcha-lab .progress-ring circle{fill:none;stroke-width:1.5}
.captcha-lab .progress-ring .ring-base{stroke:var(--line)}
.captcha-lab .progress-ring .ring-progress{stroke:var(--accent);stroke-width:2.5;stroke-dasharray:301.593;stroke-dashoffset:301.593;stroke-linecap:round}
.captcha-lab .hold-button img{width:69px;height:69px;object-fit:contain;transition:transform .3s}
.captcha-lab .hold-button.holding img{transform:scale(.89)}
.captcha-lab .hold-button.done img{transform:scale(1.06)}
.captcha-lab .hold-copy strong{display:block;font-size:13px;font-weight:550;line-height:1.6}
.captcha-lab .hold-copy p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:5px}
.captcha-lab .hold-copy .mini-label{margin-top:10px;font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.captcha-lab .rotate-stage{position:relative;border:1px solid var(--line);border-radius:9px;background:var(--panel);height:148px;display:grid;place-items:center;overflow:hidden}
.captcha-lab .rotate-stage:before{content:"";position:absolute;border:1px dashed var(--line);width:123px;height:123px;border-radius:50%}
.captcha-lab .rotate-stage:after{content:"";position:absolute;border-top:1px dashed var(--line);width:88%;left:6%;top:50%;pointer-events:none}
.captcha-lab .rotate-stage img{width:132px;height:117px;object-fit:contain;z-index:1;filter:drop-shadow(0 8px 12px #0002)}
.captcha-lab .rotate-stage .level-mark{position:absolute;top:11px;right:12px;font-size:8px;letter-spacing:.07em;color:var(--muted)}
.captcha-lab .slider-row{display:flex;align-items:center;gap:17px;margin-top:14px}
.captcha-lab .angle-slider{width:100%;min-width:0;accent-color:var(--accent);height:24px;margin:0;cursor:ew-resize}
.captcha-lab .small-button{border:1px solid var(--line);border-radius:6px;padding:8px 12px;font-size:10px;background:var(--panel);white-space:nowrap}
.captcha-lab .small-button:hover{border-color:var(--accent)}
.captcha-lab .range-labels{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-top:3px;padding-right:100px}
.captcha-lab .target-row{display:flex;align-items:center;justify-content:space-between;padding:11px 15px;border:1px solid var(--line);background:var(--panel);border-radius:8px;gap:14px;margin-bottom:12px}
.captcha-lab .target-row>span{font-size:10px;color:var(--muted)}
.captcha-lab .target-row .symbol{color:var(--accent)}
.captcha-lab .symbol{width:31px;height:31px}
.captcha-lab .shape-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.captcha-lab .shape-button{border:1px solid var(--line);border-radius:8px;background:var(--panel);height:65px;display:grid;place-items:center;color:var(--muted)}
.captcha-lab .shape-button:hover{border-color:var(--accent);color:var(--accent)}
.captcha-lab .shape-button.miss{border-color:var(--red);color:var(--red)}
.captcha-lab .shape-button.hit{border-color:var(--green);color:var(--green);background:var(--green-bg)}
.captcha-lab .shape-button:disabled{opacity:.5}
.captcha-lab .shape-button.hit:disabled{opacity:1}
.captcha-lab .sequence-target{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:13px;margin-bottom:12px}
.captcha-lab .sequence-item{color:var(--muted);position:relative}
.captcha-lab .sequence-item .symbol{width:27px;height:27px}
.captcha-lab .sequence-item.active{color:var(--accent)}
.captcha-lab .sequence-item.solved{color:var(--green)}
.captcha-lab .sequence-arrow{color:var(--line);font-size:13px}
.captcha-lab .sequence-caption{font-size:9px;color:var(--muted);text-align:center;margin-top:11px}
.captcha-lab .code-explainer{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);background:var(--panel);border-radius:9px}
.captcha-lab .code-explainer svg{width:25px;height:25px;color:var(--accent)}
.captcha-lab .code-explainer strong{font-size:11px;display:block}
.captcha-lab .code-explainer span{font-size:10px;color:var(--muted);display:block;overflow-wrap:anywhere}
.captcha-lab .code-request{width:100%;border:1px solid var(--line);border-radius:7px;font-size:11px;padding:10px;margin-top:12px;background:var(--panel)}
.captcha-lab .code-request:hover{border-color:var(--accent)}
.captcha-lab .code-entry{margin-top:12px}
.captcha-lab .code-entry label{display:block;font-size:10px;margin-bottom:6px;color:var(--muted)}
.captcha-lab .code-controls{display:flex;gap:9px}
.captcha-lab .code-input{min-width:0;width:100%;background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 12px;letter-spacing:.3em;color:var(--ink);font-size:18px}
.captcha-lab .demo-code-box{font-size:10px;line-height:1.8;margin-top:11px;padding:10px 12px;border-radius:7px;background:var(--accent-soft);color:var(--accent)}
.captcha-lab .demo-code-box strong{font-variant-numeric:tabular-nums;letter-spacing:.12em;white-space:nowrap}
.captcha-lab .resend-code{font-size:9px;color:var(--muted);margin-top:9px;padding:3px 0;text-decoration:underline;text-underline-offset:3px}
.captcha-lab .recommendation{margin:44px 0 0;padding:28px 30px;border:1px solid var(--line);border-radius:13px;display:grid;grid-template-columns:1.15fr 2fr;gap:42px;background:var(--panel)}
.captcha-lab .recommendation h2{font-size:21px;font-weight:500;letter-spacing:-.025em;margin:8px 0 9px;line-height:1.4}
.captcha-lab .recommendation p{color:var(--muted);font-size:11px;line-height:1.9;max-width:400px}
.captcha-lab .architecture{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.captcha-lab .architecture article{border-left:1px solid var(--line);padding-left:21px}
.captcha-lab .architecture .step-number{font-size:10px;color:var(--accent);display:block;margin-bottom:13px}
.captcha-lab .architecture h3{font-size:12px;font-weight:650;margin-bottom:7px}
.captcha-lab .architecture p{font-size:10px;line-height:1.9}
.captcha-lab .foot{display:flex;justify-content:space-between;gap:25px;font-size:9px;line-height:1.8;color:var(--muted);padding:25px 0 30px}
.captcha-lab .foot p{max-width:740px}
.captcha-lab .foot a{text-underline-offset:3px}
.captcha-lab .skip-link{position:absolute;top:-90px;left:20px;padding:10px 15px;background:var(--accent);color:#151515;z-index:4;border-radius:6px}
.captcha-lab .skip-link:focus{top:12px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.captcha-lab .wrap{width:min(1440px,calc(100% - 120px))}
.captcha-lab .workspace{grid-template-columns:250px minmax(0,1fr) 280px;gap:40px}
.captcha-lab .form-inner{padding:30px 38px}
.captcha-lab .form-heading h2{font-size:28px}
.captcha-lab .notes{padding-top:21px}
.captcha-lab .hold-stage{min-height:151px}
.captcha-lab .topbar{height:108px}
.captcha-lab .intro{padding:58px 0 46px}}
@media(max-width:1190px){.captcha-lab .wrap{width:calc(100% - 56px)}
.captcha-lab .workspace{grid-template-columns:206px minmax(0,1fr);gap:24px}
.captcha-lab .notes{grid-column:2;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.captcha-lab .notes .variant-type,.captcha-lab .notes h2,.captcha-lab .notes>p{grid-column:1}
.captcha-lab .notes .specs{grid-column:2;grid-row:1/4;margin-top:0}
.captcha-lab .notes .thought{grid-column:1;padding-top:20px}
.captcha-lab .notes .pick{grid-column:2;grid-row:4;align-self:start}
.captcha-lab .notes .choice-note{grid-column:2;margin-top:0}
.captcha-lab .notes .selection{grid-column:1/-1;margin-top:8px}
.captcha-lab .intro-copy{max-width:300px;font-size:12px}
.captcha-lab .recommendation{grid-template-columns:1fr;gap:25px}
.captcha-lab .recommendation>div>p{max-width:640px}
.captcha-lab .architecture{gap:20px}
.captcha-lab .architecture article:first-child{border-left:0;padding-left:0}
.captcha-lab .recommendation{margin-top:32px}
.captcha-lab .intro h1{font-size:42px}}
@media(max-width:760px){.captcha-lab .wrap{width:calc(100% - 36px)}
.captcha-lab .topbar{height:76px}
.captcha-lab .brand{gap:9px}
.captcha-lab .brand strong{font-size:14px}
.captcha-lab .brand img{width:34px;height:34px}
.captcha-lab .brand span{display:none}
.captcha-lab .top-actions{gap:12px}
.captcha-lab .prototype{font-size:8px;letter-spacing:.04em}
.captcha-lab .round{width:36px;height:36px;flex-basis:36px}
.captcha-lab .round svg{width:16px;height:16px}
.captcha-lab .intro{display:block;padding:32px 0 25px}
.captcha-lab .intro h1{font-size:clamp(29px,7.8vw,43px);margin-top:12px}
.captcha-lab .intro-copy{max-width:500px;margin-top:18px;font-size:12px}
.captcha-lab .intro-copy p+p{margin-top:8px;font-size:10px}
.captcha-lab .workspace{display:block}
.captcha-lab .sidebar-title{padding:0;margin-bottom:12px}
.captcha-lab .variants{display:grid;grid-template-columns:repeat(6,minmax(172px,1fr));overflow-x:auto;padding:1px 1px 9px;gap:8px;scroll-snap-type:x mandatory;margin-bottom:17px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.captcha-lab .variant{padding:12px 11px;border-color:var(--line);scroll-snap-align:start;grid-template-columns:21px 1fr 9px;gap:6px}
.captcha-lab .variant[aria-selected=true]{border-color:var(--accent)}
.captcha-lab .variant[aria-selected=true]:before{display:none}
.captcha-lab .variant strong{font-size:11px}
.captcha-lab .variant small{font-size:9px}
.captcha-lab .variant .num{font-size:9px}
.captcha-lab .sidebar-note{display:none}
.captcha-lab .preview-bar{padding:13px 18px}
.captcha-lab .form-inner{padding:23px 20px 21px}
.captcha-lab .form-heading h2{font-size:23px}
.captcha-lab .fields{gap:12px;margin-top:21px}
.captcha-lab .field input,.captcha-lab .field textarea{font-size:12px}
.captcha-lab .challenge-head{padding:14px 13px 10px}
.captcha-lab .challenge-body{padding:0 13px 13px}
.captcha-lab .challenge-bottom{padding:9px 12px}
.captcha-lab .form-footer{padding:12px 20px;font-size:8px}
.captcha-lab .submit-note{font-size:8px}
.captcha-lab .submit-row{gap:12px}
.captcha-lab .send{font-size:11px;gap:12px;padding:10px 13px}
.captcha-lab .notes{display:block;margin-top:28px;padding:0 5px}
.captcha-lab .notes h2{font-size:24px}
.captcha-lab .notes>p{max-width:550px}
.captcha-lab .notes .specs{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;margin-top:17px}
.captcha-lab .notes .spec:last-child{grid-column:1/-1}
.captcha-lab .notes .pick{margin-top:18px;max-width:360px}
.captcha-lab .notes .choice-note{margin-top:9px}
.captcha-lab .notes .thought{padding-top:20px}
.captcha-lab .recommendation{padding:23px 21px;gap:25px;margin-top:32px}
.captcha-lab .architecture{display:block}
.captcha-lab .architecture article{border-left:0;border-top:1px solid var(--line);padding:16px 0 0;margin-top:16px;display:grid;grid-template-columns:25px 1fr;column-gap:9px}
.captcha-lab .architecture article:first-child{margin-top:0}
.captcha-lab .architecture .step-number{grid-row:1/3;margin:0}
.captcha-lab .architecture h3{font-size:11px}
.captcha-lab .architecture p{max-width:none}
.captcha-lab .foot{display:block;padding:20px 0 24px}
.captcha-lab .foot>span{display:block;margin-top:12px}
.captcha-lab .hold-stage{padding:15px;gap:18px}
.captcha-lab .hold-copy strong{font-size:12px}
.captcha-lab .hold-copy p{font-size:10px}
.captcha-lab .hold-button{width:92px;height:92px;flex-basis:92px}
.captcha-lab .hold-button .progress-ring{width:94px;height:94px}
.captcha-lab .hold-button img{width:63px;height:63px}
.captcha-lab .hold-stage{min-height:125px}}
@media(max-width:370px){.captcha-lab .wrap{width:calc(100% - 26px)}
.captcha-lab .prototype{display:none}
.captcha-lab .form-inner{padding:20px 14px}
.captcha-lab .preview-bar{padding:12px 14px}
.captcha-lab .form-heading h2{font-size:21px}
.captcha-lab .form-heading .tiny-mark{width:29px}
.captcha-lab .fields{grid-template-columns:1fr}
.captcha-lab .field.full{grid-column:auto}
.captcha-lab .hold-stage{padding:12px;gap:13px}
.captcha-lab .hold-copy strong{font-size:11px}
.captcha-lab .hold-copy p{font-size:9px}
.captcha-lab .hold-copy .mini-label{font-size:7px}
.captcha-lab .hold-button{width:82px;height:82px;flex-basis:82px}
.captcha-lab .hold-button .progress-ring{width:84px;height:84px}
.captcha-lab .hold-button img{width:55px;height:55px}
.captcha-lab .submit-row{align-items:stretch;flex-direction:column;gap:8px}
.captcha-lab .submit-note{max-width:none}
.captcha-lab .form-footer{padding:11px 14px}
.captcha-lab .challenge-bottom{font-size:8px;gap:6px}
.captcha-lab .challenge-bottom button{font-size:8px}
.captcha-lab .passed-banner{font-size:10px}
.captcha-lab .notes .specs{display:block}}
.captcha-lab .sequence-stages{display:flex;align-items:center;gap:9px;margin-bottom:15px;font-size:9px;line-height:1.5;color:var(--muted)}
.captcha-lab .sequence-stages>span{display:flex;align-items:center;gap:6px}
.captcha-lab .sequence-stages b{font-size:8px;font-weight:600;display:grid;place-items:center;width:19px;height:19px;flex:none;border:1px solid var(--line);border-radius:50%}
.captcha-lab .sequence-stages .active{color:var(--accent)}
.captcha-lab .sequence-stages .active b{border-color:var(--accent)}
.captcha-lab .sequence-stages .complete{color:var(--green)}
.captcha-lab .sequence-stages .complete b{border-color:var(--green);background:var(--green-bg)}
.captcha-lab .sequence-stage-line{height:1px;flex:1;background:var(--line)}
.captcha-lab .sequence-round-label{font-size:9px;display:flex;justify-content:space-between;color:var(--muted);margin-bottom:10px;gap:12px}
.captcha-lab .sequence-round-label b{font-weight:550;color:var(--accent)}
.captcha-lab .sequence-target{min-height:57px}
.captcha-lab .sequence-renewed{animation:new-sequence .28s ease-out}
@keyframes new-sequence{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:370px){.captcha-lab .sequence-stages{font-size:8px;gap:7px}
.captcha-lab .sequence-stages b{width:17px;height:17px}
.captcha-lab .sequence-stages>span{gap:5px}}
@media(prefers-reduced-motion:reduce){.captcha-lab{scroll-behavior:auto}
.captcha-lab *,.captcha-lab *:before,.captcha-lab *:after{animation:none!important;transition:none!important}}

/* Sixteen examples share one engine in the standalone preview and service page. */
.captcha-lab{font-size:14px;line-height:1.6;border-radius:14px;background:transparent;min-width:0;color:var(--ink)}
.captcha-lab h2,.captcha-lab h3{font-style:normal;text-transform:none;letter-spacing:-.025em}
.captcha-lab button{font-family:inherit;line-height:1.5;box-shadow:none}
.captcha-lab .variants{max-height:735px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding-right:6px}
.captcha-lab .sidebar-title span{white-space:nowrap;font-size:10px}
.captcha-lab .variant{min-height:65px}
.captcha-lab .variant strong{overflow-wrap:normal}
.captcha-lab .gallery-disclaimer{font-size:11px;color:var(--muted);line-height:1.8;margin-top:20px;max-width:1020px}
.captcha-lab .mechanic-hint{font-size:10px;line-height:1.7;color:var(--muted);margin-top:11px}
.captcha-lab .mechanic-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px}
.captcha-lab .mechanic-actions .mechanic-hint{margin-top:0}
.captcha-lab .slide-track{height:105px;margin:5px 25px;position:relative;display:flex;align-items:center}
.captcha-lab .slide-track:before{content:"";position:absolute;width:100%;height:2px;background:var(--line)}
.captcha-lab .slide-zone{position:absolute;width:56px;height:66px;border:1px dashed var(--accent);background:var(--accent-soft);border-radius:9px;transform:translateX(-50%)}
.captcha-lab .slide-track img{position:absolute;left:10%;width:48px;height:48px;object-fit:contain;transform:translateX(-50%)}
.captcha-lab .pair-board{display:grid;grid-template-columns:1fr 30px 1fr;gap:10px;align-items:center}
.captcha-lab .pair-column{display:grid;gap:9px}
.captcha-lab .pair-link{text-align:center;color:var(--muted)}
.captcha-lab .shape-button.selected{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.captcha-lab .mosaic-board{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:min(210px,100%);margin:8px auto}
.captcha-lab .mosaic-tile{aspect-ratio:1;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel);padding:0}
.captcha-lab .mosaic-tile:hover{border-color:var(--accent)}
.captcha-lab .mosaic-tile span{display:block;width:100%;height:100%;background-image:url("assets/brand/mark-3d.ec03ddef6919.webp");background-size:200% 200%;background-repeat:no-repeat;transition:transform .18s ease}
.captcha-lab .route-board{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.captcha-lab .route-point{height:50px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--panel);font-size:18px}
.captcha-lab .route-point.numbered{color:var(--accent);background:var(--accent-soft)}
.captcha-lab .route-point.hit{color:var(--green);background:var(--green-bg);border-color:var(--green)}
.captcha-lab .count-board{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border:1px solid var(--line);padding:17px;border-radius:8px}
.captcha-lab .count-board>span{display:grid;place-items:center;height:37px;color:var(--accent)}
.captcha-lab .number-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}
.captcha-lab .number-choices .small-button{font-size:16px;min-height:44px;padding:7px}
.captcha-lab .pattern-row{display:flex;align-items:center;justify-content:space-around;gap:4px;padding:16px 8px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;color:var(--accent)}
.captcha-lab .pattern-row svg{width:27px;height:27px}
.captcha-lab .pattern-row>span{font-size:25px;line-height:1}
.captcha-lab .size-stage{height:143px;display:grid;place-items:center;position:relative;border:1px solid var(--line);border-radius:9px}
.captcha-lab .size-stage>span{position:absolute;border-radius:50%}
.captcha-lab .size-target{border:2px dashed var(--muted)}
.captcha-lab .size-current{width:35px;height:35px;border:2px solid var(--accent);background:var(--accent-soft);opacity:.75}
.captcha-lab .sorting-board .shape-button{height:85px}
.captcha-lab .sorting-board .shape-button span{border:2px solid currentColor;border-radius:50%}
.captcha-lab .word-choices{display:grid;gap:9px}
.captcha-lab .word-choice{font-size:12px;text-align:left;min-height:47px;border:1px solid var(--line);border-radius:8px;padding:12px 15px;background:var(--panel)}
.captcha-lab .word-choice:hover{border-color:var(--accent)}
@media(max-width:760px){.captcha-lab .variants{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:190px;max-height:none;overflow-x:auto;overflow-y:hidden;padding-right:1px}.captcha-lab .recommendation{margin-top:28px}.captcha-lab .gallery-disclaimer{font-size:10px}.captcha-lab .shape-button{min-height:56px}.captcha-lab .field input,.captcha-lab .field textarea{font-size:16px}.captcha-lab .form-heading h2{letter-spacing:-.025em}}
@media(prefers-reduced-motion:reduce){.captcha-lab *{animation:none!important;transition:none!important}}
