:root{color-scheme:dark;--paper:#f6f3ed;--muted:#c3c9c9;--copper:#e2b58f;--line:#60747e;--surface:#182024}*{box-sizing:border-box}body{margin:0;min-height:100svh;padding:36px 24px 24px;display:grid;grid-template-rows:1fr auto;place-items:center;gap:32px;background:radial-gradient(ellipse at 48% 10%,#38403955,transparent 65%),var(--surface);color:var(--paper);font-family:Arial,Helvetica,sans-serif}.handoff{position:relative;width:min(530px,100%)}.handoff-brand{display:flex;align-items:center;gap:17px;color:var(--paper);text-decoration:none;font-size:25px;letter-spacing:-1px;font-weight:700;margin-bottom:36px}.handoff-brand img{display:block;object-fit:contain;width:110px;height:45px;background:transparent}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--copper);font-weight:700}h1#connection-title{font-size:clamp(44px,8vw,68px);font-weight:850;line-height:1.04;letter-spacing:-2.5px;margin:16px 0}.intro{color:var(--muted);font-size:14px;line-height:1.8;margin:0 0 26px}.checks{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}.checks li{display:flex;align-items:center;gap:17px;padding:18px 0;border-bottom:1px solid var(--line)}.check-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #8b9ea6;border-radius:50%;font-size:11px;color:var(--paper);flex-shrink:0}.checks strong{display:block;font-size:14px;font-weight:600}.checks small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:6px;max-width:430px}.checks [data-state=passed] .check-mark{border-color:#a4d8b7;color:#c4f0d3}.checks [data-state=notice] .check-mark{border-color:var(--copper);color:var(--copper)}.checks [data-state=failed] .check-mark{border-color:#ffc7b8;color:#ffc7b8}.connection-status{min-height:38px;font-size:13px;line-height:1.8;color:#e6d2be;margin:21px 0 14px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}button{font:inherit;border:1px solid var(--copper);background:var(--copper);color:#182024;padding:14px 19px;border-radius:5px;font-size:13px;font-weight:700;cursor:pointer;min-height:44px}button:hover{background:#f0cba8}button:disabled{opacity:1;background:#2b353c;color:#aab9c0;border-color:#60747e;cursor:wait}button.secondary{background:#253139;border-color:#8b9ea6;color:var(--paper)}button.secondary:hover{background:#35454e}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f0cba8;outline-offset:4px}.actions a{color:#efc9a7;font-size:13px;padding:12px 0;text-decoration:underline;text-underline-offset:4px}.connection-note{font-size:12px;line-height:1.8;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:24px}footer{position:static;width:100%;display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:1px;color:var(--muted)}.handoff-progress{margin-top:24px}.handoff-progress progress{appearance:none;display:block;width:100%;height:10px;border:1px solid #8b9ea6;border-radius:999px;overflow:hidden;background:#0e161b;accent-color:var(--copper)}.handoff-progress progress::-webkit-progress-bar{background:#0e161b;border-radius:999px}.handoff-progress progress::-webkit-progress-value{background:var(--copper);border-radius:999px}.handoff-progress progress::-moz-progress-bar{background:var(--copper);border-radius:999px}.handoff-progress p{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#e6d2be;margin:12px 0 0}.operator-login{margin-top:16px;padding:24px;border:1px solid #8b9ea6;background:#202b31;border-radius:8px}.operator-login[hidden]{display:none}.operator-login h2{font-size:23px;margin:0 0 22px}.operator-login label{display:block;margin:18px 0 8px;font-size:14px;color:#ebefef}.operator-login input{min-width:0;width:100%;background:#0e161b;border:1px solid #899ea8;border-radius:5px;color:#f8fafc;padding:13px;font:inherit;font-size:16px;min-height:46px}.operator-login input::placeholder{color:#b6c5cc}.password-row{display:flex;gap:8px}.password-row input{flex:1}.operator-login #login-submit{width:100%}#login-error{color:#ffd2c7;font-size:13px;line-height:1.7;min-height:0}.disconnect-actions{margin-top:18px}.disconnect-actions button{width:100%}[hidden]{display:none!important}.handoff[data-phase=credentials] .checks,.handoff[data-phase=credentials] .handoff-progress{display:none}.handoff[data-phase=credentials] .handoff-brand{margin-bottom:24px}.handoff[data-phase=credentials] h1#connection-title{font-size:clamp(42px,7vw,58px)}.handoff[data-phase=credentials] .intro{margin-bottom:12px}.handoff[data-phase=credentials] .connection-status{min-height:0;margin:12px 0}.handoff[data-phase=disconnecting] .checks,.handoff[data-phase=disconnect_failed] .checks{display:none}.handoff[data-phase=disconnecting] .handoff-progress,.handoff[data-phase=disconnect_failed] .handoff-progress{display:block}.handoff[data-phase=disconnecting] #connection-title,.handoff[data-phase=disconnect_failed] #connection-title{font-size:clamp(40px,7vw,58px)}@media(max-width:550px){body{padding:26px 20px 24px}.handoff-brand{margin-bottom:28px;font-size:23px;gap:12px}.handoff-brand img{width:100px;height:42px}.checks li{padding:16px 0}.operator-login{padding:20px}footer{font-size:9px;flex-wrap:wrap}.actions{gap:9px}.handoff-progress{margin-top:21px}.password-row{gap:6px}.password-row button{padding:12px}.connection-note{font-size:11px}}@media(prefers-reduced-motion:no-preference){[data-state=pending] .check-mark{animation:checking 1.5s ease-in-out infinite}@keyframes checking{50%{border-color:#f0cba8;color:#f0cba8}}}
.operator-login input:-webkit-autofill{-webkit-text-fill-color:#f8fafc;caret-color:#f8fafc;-webkit-box-shadow:0 0 0 1000px #0e161b inset}.operator-login input::selection{background:#e2b58f;color:#182024}

.login-recovery{font-size:12px;margin:16px 0;color:#d7dadd}.login-recovery summary{cursor:pointer;color:#e2b58f;padding:5px 0}.login-recovery p{font-size:12px;line-height:1.8;margin:8px 0 14px;color:#c3c9c9}

.handoff[data-phase=disconnecting] .disconnect-actions,.handoff[data-phase=disconnecting] .connection-note{display:none}

/* The existing emblem anchors the access sequence without obscuring the form. */
body{background:radial-gradient(ellipse at 75% 20%,#1b4755 0,transparent 45%),linear-gradient(135deg,#0b1922,#18252b)}
.handoff::before{content:"";position:absolute;z-index:-1;right:-170px;top:-35px;width:300px;height:300px;border:1px solid #7fbac126;border-radius:50%;box-shadow:0 0 0 45px #7fbac10a,0 0 0 90px #7fbac107;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.handoff-brand img{animation:access-emblem 4s ease-in-out infinite}@keyframes access-emblem{50%{transform:translateY(-5px)}}}
