/* The sign-in pages: the night outside the observatory, the form where a page's words usually
   stand. Loaded after site.css. */
/* ---- sign-in pages: the plate, with the form where the words usually stand ---------------------- */
.bar--auth { grid-template-columns: auto 1fr auto; }
.bar--auth .bar__help { justify-self: end; color: var(--glass-2); text-decoration: none; font-size: .95rem; }
.bar--auth .bar__help:hover { color: var(--glass); text-decoration: underline; text-underline-offset: 4px; }
.plate--auth { min-height: 100vh; padding-top: calc(var(--bar) + 5vh); padding-bottom: 8vh; align-items: flex-start; }
.plate--auth .plate__copy { width: min(27rem, 100%); }
.auth-card { padding: 26px 26px 24px; border: 1px solid rgba(232, 238, 242, .22); border-radius: 14px; background: rgba(6, 10, 18, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.auth-card h1 { margin: 0 0 .35em; font-weight: 360; font-stretch: 112%; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -.02em; }
.auth-card > p { margin: 0 0 1.2em; color: var(--glass-2); font-size: .98rem; }
.auth-card .when { margin-bottom: .9em; }
.oauth { display: grid; gap: 8px; }
.oauth .btn { justify-content: center; gap: 10px; width: 100%; }
.oauth svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font: 500 .72rem Azeret, monospace; color: rgba(232, 238, 242, .55); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 14px; }
.form .btn { justify-content: center; width: 100%; }
.form__row { display: grid; gap: 6px; }
.form__row label { font-size: .9rem; font-weight: 500; color: var(--glass); }
.form__row .hint { font-size: .82rem; color: rgba(232, 238, 242, .62); }
.form__msg { margin: 0; padding: 10px 12px; border-left: 2px solid var(--added); background: rgba(92, 225, 230, .07); font-size: .9rem; color: var(--glass); }
.form__msg--error { border-left-color: var(--removed); background: rgba(255, 107, 87, .08); }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 18px; font-size: .92rem; }
.auth-links a { color: var(--glass-2); }
.auth-links a:hover { color: var(--glass); }
.auth-fine { margin: 16px 0 0 !important; font-size: .82rem !important; color: rgba(232, 238, 242, .6) !important; }
.code-pill { display: inline-block; padding: 6px 12px; border: 1px solid rgba(232, 238, 242, .32); border-radius: 8px; font: 600 1.3rem Azeret, monospace; letter-spacing: .14em; color: var(--glass); }

.auth-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 18px var(--gut) 24px; border-top: 1px solid var(--line); font-size: .86rem; color: rgba(232, 238, 242, .6); }
.auth-foot a { color: var(--glass-2); }
.auth-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; counter-reset: st; }
.auth-steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border: 1px solid var(--line); border-radius: 999px; font: 500 .74rem Azeret, monospace; color: var(--glass-2); }
.auth-steps li::before { content: counter(st); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(232, 238, 242, .35); font-size: .64rem; }
.auth-steps li[aria-current] { color: var(--glass); border-color: rgba(92, 225, 230, .5); }
.auth-steps li[aria-current]::before { background: var(--added); border-color: var(--added); color: var(--bg); }
.auth-cli { margin-top: 18px; }
.auth-cli .code { margin: 0; }
.auth-card .text { font-family: Archivo, system-ui, sans-serif; font-size: .98rem; }
.auth-card .or { margin: 18px 0 16px; }
.auth-sub { margin: 20px 0 6px; font: 500 1rem/1.3 Archivo, sans-serif; color: var(--glass); }
.auth-card .form__msg { margin: 0 0 4px; }
.auth-more { margin-top: 18px; font-size: .9rem; color: var(--glass-2); }
.auth-more summary { cursor: pointer; color: var(--glass); }
.auth-more p { margin: 8px 0 0; }
/* approvals: notes, the decision, the access choice, prototype case switches */
.note { margin: 14px 0 0 !important; padding: 12px 14px; border-left: 2px solid rgba(232, 238, 242, .4); background: rgba(232, 238, 242, .04); font-size: .9rem; color: var(--glass-2) !important; }
.note b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--glass); }
.note--warn { border-left-color: var(--removed); background: rgba(255, 107, 87, .08); }
.note--warn b { color: #ffc7bd; }
.note--calm { border-left-color: var(--added); background: rgba(92, 225, 230, .05); }
.decide { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.decide .btn { flex: 1 1 auto; justify-content: center; }
.access { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.access legend { margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--glass); }
.access__opt { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.access__opt:has(input:checked) { border-color: rgba(92, 225, 230, .55); background: rgba(92, 225, 230, .05); }
.access__opt input { margin: 3px 0 0; accent-color: #5ce1e6; }
.access__opt b { display: block; font-weight: 500; color: var(--glass); }
.access__opt small { display: block; margin-top: 2px; font-size: .84rem; color: var(--glass-2); }
.access__tools { padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; }
.access__tools p { margin: 0 0 6px; font: 500 .7rem Azeret, monospace; color: rgba(232, 238, 242, .6); }
.access__tools ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .88rem; color: var(--glass); }
.access__tools[data-mode="read"] { border-color: var(--line); }
.form__account { margin: 0; font-size: .9rem; color: var(--glass-2); }
.form__account b { color: var(--glass); font-weight: 500; }
.text--code { font-family: Azeret, monospace !important; letter-spacing: .1em; text-transform: uppercase; }
.code-line { margin: 12px 0 0 !important; }
.cases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(233, 180, 95, .45); }
.cases::before { content: 'Prototype: preview'; margin-right: 4px; font: 500 .68rem Azeret, monospace; color: var(--changed); }
.cases button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--glass-2); font: 500 .78rem Archivo, sans-serif; cursor: pointer; }
.cases button[aria-pressed="true"] { border-color: rgba(233, 180, 95, .6); color: var(--glass); }
/* the sign-in sky stays put while the form scrolls */
.plate--auth > .plate__sky, .plate--auth > .plate__meteors, .plate--auth > .plate__ground, .plate--auth > .plate__slit, .plate--auth > .plate__beam { position: fixed; inset: 0; }
.plate--auth > .plate__slit { inset: auto; }
.plate--auth > .plate__mark { position: fixed; }
.plate--auth::after { position: fixed; }

/* the app's own sign-in screens: the consent line above the sign-in buttons, room between a
   note or a decision and what follows it, and a result that replaces a decision */
.auth-fine--lead { margin: 0 0 16px !important; }
.auth-card .note + .form, .auth-card .note + .form__msg, .auth-card .decide + .form__msg { margin-top: 14px; }
.auth-card .auth-status > p { margin: 0 0 1.2em; color: var(--glass-2); font-size: .98rem; }
