:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#172d2b;background:#f0f5f3;--green:#115d51;--border:#d6e4df}
*{box-sizing:border-box} [hidden]{display:none!important} body{margin:0}
.wrap{width:min(1050px,100% - 2rem);margin:auto}
.bar{background:#103d3b;color:#fff}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;min-height:63px}
.bar strong{letter-spacing:.025em}.bar span{font-weight:500;color:#b4d8cf}
.bar .secondary{color:#103d3b}
.intro{padding:2.2rem 0 1.35rem}
.intro h1{font-size:clamp(1.9rem,4.6vw,3.25rem);letter-spacing:-.044em;margin:.3rem 0 .45rem;line-height:1.1}
h2,h3,p{margin:0}
p{line-height:1.55}
.intro>p:last-child,.muted{color:#536763}
.section-label{color:#237367;text-transform:uppercase;font-size:.72rem;letter-spacing:.085em;font-weight:750}
.card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:1rem 1.15rem;margin-bottom:1rem}
.card h2{font-size:1.23rem;line-height:1.3}
#login{max-width:410px}
label{display:grid;gap:.42rem;font-size:.88rem;font-weight:600;margin:.9rem 0}
input{font:inherit;width:100%;padding:.6rem;border:1px solid #a8c1ba;border-radius:7px}
button{border:1px solid transparent;border-radius:7px;background:var(--green);color:#fff;padding:.56rem .82rem;font:inherit;font-size:.86rem;font-weight:670;cursor:pointer}
button.secondary{background:#f3f8f6;border:1px solid var(--border);color:#20594f}
button:hover{filter:brightness(.92)}button:disabled{opacity:.6;cursor:default}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #337c83;outline-offset:3px}
.connection,.section-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}
#connection{margin-top:.28rem}
#pairing{width:100%;padding-top:1rem;text-align:center;border-top:1px solid var(--border)}
#pairing img{display:block;margin:0 auto .55rem;max-width:100%;height:auto}
#position{font-size:.88rem;margin-top:.32rem}
.item{padding:.9rem 0;border-top:1px solid var(--border);margin-top:.8rem}
.item li{margin-bottom:.35rem;line-height:1.4;overflow-wrap:anywhere}
.item h3{font-size:1rem}.item p{color:#536763;font-size:.84rem}
.item .buttons{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.55rem}
pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9rem;line-height:1.5;background:#eef5f2;padding:.8rem;border-radius:8px}
#notice{border:1px solid #ccded8;background:#e1f0ea;color:#114e44;border-radius:8px;margin:0 0 .8rem;padding:.65rem .8rem}
#notice[data-error=true]{border-color:#e7c5bd;background:#fff1ed;color:#86342a}
dialog{width:min(575px,calc(100% - 2rem));border:1px solid var(--border);border-radius:12px;padding:1rem 1.2rem}
dialog::backdrop{background:#0825219c}.dismiss{float:right}
@media(max-width:550px){.intro{padding-top:1.55rem}.card{padding:.85rem}}
