/* Sign-in, setup, the session switch and the refusal page (page.html): an
   Apple sheet on the desk (FW-UI-192, M15; the design system's Sheet - its
   18px corners, the sheet ground and shadow, the head, the body and the
   foot with the default button at the right). Controls, messages and fields
   are the shell's; this file places them. The desk, its image and the
   sign-in button are the theme's Sign-in page zone (FW-UI-104). */
body.auth-desk{min-height:100vh;display:flex;flex-direction:column;margin:0;background:linear-gradient(var(--login-scrim),var(--login-scrim)),var(--login-image) center/cover no-repeat,var(--login-desk);background-attachment:fixed;color:var(--label);font:var(--type-mac-body)}
.auth-desk a{color:var(--link)}
/* The sign-in button takes the theme's (FW-UI-104 round 2). */
.auth-foot .primary{background:var(--login-button);color:var(--on-login-button)}
.auth-foot .primary:hover{background:var(--login-button-hover)}
.auth-foot .primary:active{background:var(--login-button-pressed)}
.topbar{height:var(--toolbar-h);display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:var(--topbar)}
.topbar .brand,.auth-desk .topbar .brand{color:var(--on-topbar)}.topbar .brand>.brand-name{color:var(--on-topbar)}.topbar .brand span{color:var(--topbar-muted)}.topbar .language a:not([aria-current]){color:var(--on-topbar)}.topbar .language a[aria-current]{color:var(--label)}
.brand{display:flex;align-items:center;gap:.28em;color:var(--label);font:var(--type-mac-title);letter-spacing:-.01em}.auth-desk .brand{color:var(--label)}.brand:hover{text-decoration:none}.brand span{font-weight:400;color:var(--label-2)}
.auth{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px}
/* The sheet. */
.auth-window{width:min(400px,100%);background:var(--sheet);border-radius:18px;box-shadow:var(--sheet-shadow);overflow:hidden}
.auth-title{padding:18px 20px 6px}
.auth-title h1{margin:0;font:var(--type-mac-title);overflow-wrap:anywhere}
.auth-body{padding:6px 20px 8px}
.who{display:flex;align-items:center;gap:12px;margin-bottom:10px}.who-mark{width:var(--avatar);height:var(--avatar);flex:none}
.who strong{display:block;font:var(--type-mac-emphasis)}.who small{display:block;color:var(--label-2);font:var(--type-mac-callout)}
/* The password's Show is the field's own tool: a 20px slot 2px from its end. */
.password-wrap{position:relative}.password-wrap input{padding-right:28px}
.password-wrap .password-toggle{position:absolute;right:2px;top:0;bottom:0;width:20px;height:20px;margin:auto 0;border-radius:4px}.password-toggle svg{width:14px;height:14px}
.message strong,.message span{display:block}.message strong{margin-bottom:2px}
/* The signed-in account: one row of a grouped box. */
.account{padding:8px 12px;background:var(--group);border-radius:var(--r-group);box-shadow:0 0 0 var(--hairline-w) var(--group-line);margin:4px 0 12px}.account span{display:block;font:var(--type-mac-caption);color:var(--label-2)}.account strong{font:var(--type-mac-emphasis);overflow-wrap:anywhere}
.home-note{color:var(--label-2);font:var(--type-mac-callout);margin:0 0 12px}
/* The sheet's foot: a link at the left, the default button at the right. */
.auth-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 20px 18px;margin:0;background:none;border:0}
.auth-foot>*{margin:0}
.privacy{display:flex;align-items:center;gap:6px;color:var(--label-2);font:var(--type-mac-callout);margin:14px 0 0}
.auth-desk>footer{text-align:center;color:var(--label-2);font:var(--type-mac-caption);padding:0 16px 18px}
/* iPhone (700 px and less): the sheet takes the width, its head centred, the
   default button the foot's width at iOS's size. */
@media(max-width:700px){
 .auth{justify-content:flex-start;padding:12px 12px 24px}
 .auth-title{text-align:center;padding:16px 16px 6px}
 .auth-title h1{font:var(--type-ios-headline)}
 .auth-body{padding:6px 16px 8px}
 .auth-foot{flex-wrap:wrap;padding:10px 16px calc(16px + env(safe-area-inset-bottom))}
 .auth-foot .primary{flex:1 1 100%;order:-1;min-height:50px;border-radius:25px;font-size:17px}
 .auth-foot>span:empty{display:none}
}
