*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(ellipse at 75% -20%,#3a6eca31,transparent 40%),linear-gradient(135deg,#edf4ff,#f8faff);color:#102543;min-height:100vh}header{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:17px clamp(18px,4vw,70px);border-bottom:1px solid #d9e5f3;font-size:14px;font-weight:750}header a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#09254c;font-weight:900;font-size:18px}header .mark{background:linear-gradient(145deg,#28d0cc,#2463e5);color:white;width:33px;height:33px;display:grid;place-items:center;border-radius:10px}main{max-width:1130px;margin:auto;padding:clamp(30px,5vw,75px) 20px}.card{border:1px solid #d9e4f2;border-radius:28px;background:#fff;box-shadow:0 22px 65px #18396611;padding:clamp(22px,4vw,52px)}.pair{max-width:620px;margin:0 auto}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.13em;color:#2168b6}h1{font-size:clamp(30px,4vw,50px);letter-spacing:-.06em;margin:10px 0 17px}h2{font-size:25px;letter-spacing:-.04em}.card p{line-height:1.7;color:#55708d}.ready-title{display:flex;justify-content:space-between;align-items:center;gap:25px}.ready-title #health{background:#e3fbf4;color:#067864;border-radius:12px;padding:10px 15px;font-weight:800}form{display:grid;gap:17px;margin:28px 0}label{display:grid;gap:8px;font-size:14px;font-weight:800;color:#29476a}input,select{width:100%;min-height:50px;border:1px solid #bcccdf;background:#f9fbff;border-radius:12px;padding:13px;font:inherit;font-size:18px}input:focus,select:focus{outline:3px solid #add8ff}button{cursor:pointer;border:0;border-radius:12px;padding:14px 23px;font:inherit;font-weight:850;background:#2162d5;color:white}button:hover{filter:brightness(1.07)}button:focus-visible,a:focus-visible{outline:3px solid #5bb8ef}.grid{grid-template-columns:1fr 1fr}.grid button,.grid .agree{grid-column:1/-1}.agree{display:flex;align-items:center;font-weight:550}.agree input{width:20px;height:20px;min-height:auto}.tabs{display:flex;gap:12px;margin:27px 0}.tabs button{background:#e4effc;color:#2859a2}.tabs button.active{background:#2266df;color:white}.success{background:#defaf0;color:#086d54;border:1px solid #8be4bd;padding:24px;border-radius:16px;font-weight:850;font-size:23px;margin:20px 0}.footer-bar{border-top:1px solid #e1e8f1;display:flex;align-items:center;justify-content:space-between;margin-top:30px;padding-top:20px;gap:12px;color:#47627e}.footer-bar button{background:#eef3fa;color:#36609a}.error{color:#c4343b}.board-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.queue-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:18px 0 30px}.number{background:linear-gradient(135deg,#14377b,#2566cf);border-radius:20px;padding:28px;color:white;display:grid;gap:8px;text-align:center}.number strong{font-size:clamp(35px,5vw,70px)}.number small{font-size:17px;color:#e3f0ff}.waiting-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px}.waiting-board .number{background:#ebf2ff;border:1px solid #d4e4fd;color:#2050a3}.waiting-board .number small{color:#5f7fa6}.waiting-board .number strong{font-size:32px}.empty{color:#5e7394;padding:25px}footer{text-align:center;padding:25px;color:#7085a1;font-size:12px}[hidden]{display:none!important}@media(max-width:680px){header{gap:10px}header>span{font-size:11px}.grid{grid-template-columns:1fr}.ready-title{align-items:start;flex-direction:column}.card{border-radius:18px}}
/* V25.38 premium device-first activation, no screenshot/text rasterization */
body:has(.pair:not([hidden])){background:radial-gradient(circle at 88% 8%,#135e7177,transparent 43%),linear-gradient(135deg,#081b31,#0a2b44 55%,#0c3550);color:#f0f9ff}body:has(.pair:not([hidden])) header{background:#08223b;color:#e6fbff;border-color:#164969}body:has(.pair:not([hidden])) header a{color:#fff}body:has(.pair:not([hidden])) footer{color:#a5c6d8}.pair{background:linear-gradient(145deg,#092238,#0d2c44);color:#f2faff;border:1px solid #315a71;box-shadow:0 30px 80px #0007;padding:clamp(32px,5vw,56px);margin-top:25px}.pair h1{color:#f7fcff}.pair p{color:#d4e7f1}.pair .eyebrow{color:#7ceadd}.pair-brand{display:flex;gap:12px;align-items:center;margin-bottom:26px;font-weight:850;letter-spacing:.03em}.pair-brand small{display:block;font-size:11px;color:#7ceadd}.pair-symbol{display:grid;place-items:center;background:linear-gradient(135deg,#14cabb,#2077dc);border-radius:12px;width:43px;height:43px;color:white}.pair-code{font-size:clamp(35px,7vw,67px);letter-spacing:.105em;font-weight:900;text-align:center;padding:16px 8px;background:#17455f;border:1px solid #34738a;border-radius:15px;color:#8affde;font-variant-numeric:tabular-nums;margin:27px 0 12px;user-select:text}.pair-timer{text-align:center;color:#b9e9e2;font-size:13px}.pair-steps{display:grid;gap:9px;color:#d0e4f2;font-size:14px;line-height:1.6;padding:18px 28px}.pair-retry{background:#205d82;border:1px solid #4489a2}.pair #pairError{color:#ffd3d8;font-size:13px}
.pair-retry:disabled{opacity:.5;cursor:wait}

/* V25.41: explicit pairing diagnostics and accessible controls */
.pair-help a{color:#90e8e3;font-weight:850;text-decoration:underline}.pair-help{color:#b9d9e5;font-size:13px;line-height:1.6;margin:16px 0}.pair-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.pair-actions button{flex:1;min-width:140px;padding:12px;font-size:12px}.pair #pairError{white-space:pre-line;overflow-wrap:anywhere;min-height:19px}.pair-timer{min-height:22px}#deviceIdentity{color:#507da1;font-size:11px}