/* The door: the sign-in and pairing page, given to anybody who opens the address. The Instrument look: the
   plum-black ground, IBM Plex, hairlines, one large figure. 1rem = 1% of a 16:9 stage, as on the wall; a phone
   is set in pixels. No letter-spacing anywhere. The product's own stylesheet is loaded only with a session. */
:root{--bg:#150e19;--ink:#e9e3f0;--ink2:#b7adc6;--ink3:#857b93;--hair:rgba(183,173,198,.30);--hair2:rgba(183,173,198,.14)}
*{box-sizing:border-box}
html{font-size:min(1vw,1.7778vh);background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font-weight:500;font-family:'IBM Plex Sans','IBM Plex Sans Arabic',sans-serif;-webkit-font-smoothing:antialiased}
html.door body{overflow:hidden}
html.door #stage{position:fixed;left:50%;top:50%;width:100rem;height:56.25rem;transform:translate(-50%,-50%)}
html.door #nav{display:none}

.d{position:absolute;inset:1.9rem 3rem 1.5rem 3rem;display:flex;flex-direction:column}
.d-top{display:flex;align-items:baseline;justify-content:space-between;height:4.4rem;border-bottom:.06rem solid var(--hair)}
.d-cap{font-size:1.67rem;line-height:4.4rem;color:var(--ink2);white-space:nowrap}
.d-lsw{display:inline-flex;gap:.1rem}
.d button{all:unset;cursor:pointer;box-sizing:border-box}
.d-lsw button{font:500 1.25rem/2.8rem 'IBM Plex Mono',monospace;color:var(--ink3);padding:0 .8rem}
.d-lsw button[aria-current="true"]{color:var(--ink);box-shadow:inset 0 -.14rem 0 var(--ink)}
.d button:focus-visible,.d input:focus-visible{outline:.14rem solid var(--ink);outline-offset:.2rem}
.d-how{margin:0;font-size:2.71rem;line-height:4.2rem;color:var(--ink)}
.d-note{margin:0;min-height:2.6rem;font-size:1.67rem;line-height:2.6rem;color:var(--ink2)}
.d-note.d-err{color:var(--ink)}
.d-note.d-err:not(:empty)::before{content:"";display:inline-block;width:0;height:0;margin-inline-end:.8rem;border:.62rem solid transparent;border-bottom:1.08rem solid var(--ink2);border-top:0;vertical-align:-.1rem}
.d-foot{margin-top:auto;height:3rem;display:flex;align-items:flex-end}
.d button.d-link{font-size:1.25rem;line-height:2rem;color:var(--ink3);box-shadow:inset 0 -.06rem 0 var(--ink3)}
.d button.d-link:hover{color:var(--ink2)}

/* before the hub has answered at all: the word and the mark of "cannot see", where and as the product draws them */
.d-blind{display:flex;align-items:center;gap:1.6rem;height:8rem;min-width:0}
.d-vg{width:5.2rem;height:5.2rem;flex:none}
.d-vg svg{display:block;width:100%;height:100%;overflow:visible}
.d-vg circle{fill:none;stroke:#8e8794;stroke-width:2.2;stroke-dasharray:3.4 2.6}
.d-vg path{fill:none;stroke:#8e8794;stroke-width:1.3}
.d-vw{font-size:6.25rem;font-weight:600;line-height:8rem;white-space:nowrap;color:#aaa3b3}

/* the pairing code: the one thing on the page, read from the doorway */
.d-pair .d-code{flex:1;display:flex;align-items:center;justify-content:center;direction:ltr;font-family:'IBM Plex Sans',sans-serif;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-weight:500;font-size:17rem;line-height:1;color:var(--ink);white-space:nowrap}
.d-pair .d-code i{display:inline-block;width:5rem}
.d-pair .d-code b{display:inline-block;width:8.4rem;height:.5rem;margin:0 .9rem;background:var(--hair);align-self:center}
.d-rule{height:.06rem;background:var(--hair);margin-bottom:1.2rem}

/* the sign-in: the platform's own two fields */
.d-signin .d-form{display:flex;flex-direction:column;gap:1.6rem;width:38rem;max-width:100%;margin:5rem 0 2.4rem}
.d-form label{display:flex;flex-direction:column;gap:.3rem}
.d-form label span{font-size:1.25rem;line-height:1.8rem;color:var(--ink3)}
.d-form input{all:unset;box-sizing:border-box;width:100%;height:4rem;font:500 2.1rem/4rem 'IBM Plex Mono',monospace;color:var(--ink);border-bottom:.09rem solid var(--ink2);direction:ltr;text-align:left;caret-color:var(--ink)}
.d-form input:disabled{border-bottom-color:var(--hair);color:var(--ink3)}
.d-form input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 100rem var(--bg) inset;caret-color:var(--ink)}
.d button.d-go{align-self:flex-start;min-width:14rem;height:4rem;padding:0 2rem;font-size:1.67rem;line-height:4rem;text-align:center;color:var(--bg);background:var(--ink)}
.d button.d-go:disabled{background:var(--ink3);cursor:default}
.d button.d-alt{align-self:flex-start;font-size:1.25rem;line-height:2.4rem;color:var(--ink2);box-shadow:inset 0 -.06rem 0 var(--ink2)}
.d button.d-alt:disabled{color:var(--ink3);cursor:default}
.d-signin .d-how{font-size:1.67rem;line-height:2.6rem;color:var(--ink2)}

/* ---------- a phone ---------- */
html.door.phone{font-size:16px}
html.door.phone body{overflow:auto}
html.door.phone #stage{position:static;width:auto;height:auto;transform:none}
html.phone .d{position:static;min-height:100vh;min-height:100dvh;padding:14px 18px 20px}
html.phone .d-top{height:44px;border-bottom:1px solid var(--hair)}
html.phone .d-cap{font-size:15px;line-height:44px}
html.phone .d-lsw button{font-size:12px;line-height:24px;padding:0 8px}
html.phone .d-lsw button[aria-current="true"]{box-shadow:inset 0 -1px 0 var(--ink)}
html.phone .d button:focus-visible,html.phone .d input:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
html.phone .d-how{font-size:18px;line-height:28px}
html.phone .d-note{min-height:22px;font-size:14px;line-height:22px;margin-top:6px}
html.phone .d-note.d-err:not(:empty)::before{margin-inline-end:8px;border-width:6px;border-bottom-width:11px;vertical-align:-1px}
html.phone .d-foot{height:auto;padding-top:28px}
html.phone .d button.d-link{font-size:14px;line-height:28px;box-shadow:inset 0 -1px 0 var(--ink3)}
html.phone .d-blind{height:auto;gap:12px} html.phone .d-vg{width:40px;height:40px} html.phone .d-vw{font-size:44px;line-height:64px}
html.phone .d-pair .d-code{flex:none;padding:56px 0 40px;font-size:68px}
html.phone .d-pair .d-code i{width:18px}
html.phone .d-pair .d-code b{width:30px;height:3px;margin:0 4px}
html.phone .d-rule{height:1px;margin-bottom:14px}
html.phone .d-signin .d-form{gap:18px;width:auto;margin:28px 0 20px}
html.phone .d-form label{gap:2px}
html.phone .d-form label span{font-size:13px;line-height:20px}
html.phone .d-form input{height:44px;font-size:17px;line-height:44px;border-bottom-width:1px}
html.phone .d button.d-go{align-self:stretch;height:48px;padding:0 16px;font-size:16px;line-height:48px}
html.phone .d button.d-alt{font-size:14px;line-height:28px;box-shadow:inset 0 -1px 0 var(--ink2)}
html.phone .d-signin .d-how{font-size:14px;line-height:22px}
html[lang="en"] .d-lsw button,html[lang="en"] .d{font-family:'IBM Plex Sans',sans-serif}
html[lang="en"] .d-lsw button{font-family:'IBM Plex Mono',monospace}
