/* The login form and the first-registration dialog share the sail emblem and field sizing. */
#page-scroll.login-scroll{background:linear-gradient(156deg,#e3f0e6 0%,#f3f7f3 73%)}
.login{width:100%;max-width:430px;margin:auto;padding:max(24px,var(--safe-top)) max(18px,var(--safe-right)) calc(14px + var(--safe-bottom)) max(18px,var(--safe-left))}
.login-brand{display:flex;align-items:center;gap:11px}
.login-brand .brand-icon{display:block;flex:none;width:46px;height:46px;margin:0;border-radius:10px}
.login-brand-name{min-width:0;flex:1}
.login-brand h1{margin:0;font-size:25px;line-height:1.22;letter-spacing:.02em}
.login-brand .eyebrow{margin:1px 0 0;font-size:9px;line-height:1.3;letter-spacing:.19em;white-space:nowrap}
.login .login-install{flex:none;min-height:44px;padding:8px 12px;color:var(--accent);border:1px solid var(--border);border-radius:999px;background:#ffffffb8;font-size:12px;font-weight:600}
.login>p{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.5}
.login .card{margin:16px 0 0;padding:20px;border:1px solid var(--border);border-radius:17px;background:#fff}
.login .card h2{font-size:20px;margin:0 0 15px}
.login .field{margin:0 0 12px}
.login .field>span,.login-password>label{display:block;margin:0 0 6px;color:var(--deep);font-size:13px;font-weight:600}
.login .field input,.registration-fields :is(input,select){min-height:44px;width:100%;min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:16px}
.login .remember-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0}
.login .remember-row .text-button{min-height:44px}
.login .primary,.registration-sheet .primary{min-height:44px;border-radius:8px}
.login .primary{margin:0}
.login .login-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 0}
.login-footer .text-button{min-height:44px;padding:0 2px;font-size:13px;font-weight:600}
.login-help{color:var(--muted);font-size:12px;line-height:1.55}
.login .filing-footer{margin-top:8px}
dialog.registration-sheet{bottom:calc(var(--safe-bottom) + var(--keyboard-inset,0px) + 16px);width:min(460px,calc(100% - max(16px,var(--safe-left)) - max(16px,var(--safe-right))));max-height:calc(var(--viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 32px);border-radius:18px}
.registration-sheet .sheet-heading{display:grid;grid-template-columns:38px minmax(0,1fr) 44px;grid-template-rows:auto auto;align-content:center;gap:2px 11px;padding:15px 17px;background:var(--tint)}
.registration-sheet .registration-logo{grid-area:1/1/3/2;width:38px;height:38px;border-radius:8px}
.registration-sheet .sheet-heading h2{grid-area:1/2;font-size:19px;line-height:1.25}
.registration-sheet .sheet-heading p{grid-area:2/2;color:var(--muted);font-size:12px;line-height:1.5}
.registration-sheet .close-sheet{grid-area:1/3/3/4;width:44px;height:44px;color:var(--accent)}
.registration-sheet .sheet-body{padding:16px 18px}
.registration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.registration-fields .field{margin:0;min-width:0}
.registration-fields .field>span{display:block;margin:0 0 6px;color:var(--deep);font-size:13px;font-weight:600}
.registration-fields .registration-wide{grid-column:1/-1}
.registration-sheet .form-error:empty{display:none}
.registration-sheet .form-error:not(:empty){margin:8px 0}
.registration-sheet [type=submit]{margin:12px 0 0}
.registration-account-note{margin:10px 0 0;padding:10px 12px;border-left:3px solid var(--border);border-radius:7px;background:var(--tint);color:var(--muted);font-size:12px;line-height:1.5}
.profile-account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.profile-account-actions .text-button{min-height:44px}
@media(min-width:720px){dialog.registration-sheet{inset:var(--viewport-top,0px) 0 var(--keyboard-inset,0px);height:fit-content;margin:auto}}
@media(max-width:350px){.login .card{padding:16px}.registration-sheet .sheet-body{padding:14px}.registration-fields{grid-template-columns:minmax(0,1fr);gap:10px}.registration-fields :is(input,select){padding-inline:8px}}
.install-guide-sheet { bottom:var(--safe-bottom); max-height:calc(var(--viewport-height) - var(--safe-bottom) - 12px); }
.install-guide-sheet .sheet-body { padding-top:8px; }
.guide-intro,.guide-note { font-size:12px; line-height:1.5; color:var(--muted); }
.guide-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:10px 0; }
.guide-tabs button { min-height:44px; border:1px solid var(--border); border-radius:10px; color:var(--deep); }
.guide-tabs button[aria-pressed=true] { background:var(--accent); border-color:var(--accent); color:white; }
.guide-content { display:grid; grid-template-columns:minmax(100px,38%) minmax(0,1fr); gap:12px; align-items:center; }
.guide-art { aspect-ratio:1/1.6; max-height:210px; border-radius:14px; background-image:url('/install-guide-illustration.png'); background-size:300% 100%; background-repeat:no-repeat; background-color:var(--tint); }
.guide-art-ios { background-position:left center; }.guide-art-android { background-position:center center; }.guide-art-harmony { background-position:right center; }
.guide-copy strong { color:var(--deep); font-size:14px; }.guide-copy ol { margin:8px 0; padding-left:19px; color:var(--main); font-size:13px; line-height:1.55; }.guide-copy li+li { margin-top:6px; }
.guide-note { margin-top:8px; }.guide-native { margin-top:10px; }
.guide-install-feedback { margin-top:10px; font-size:13px; line-height:1.6; color:var(--main); }
.channel-detail { font-size:12px; line-height:1.5; color:var(--accent); margin-top:6px; }
@media (max-width:340px) { .guide-content { grid-template-columns:100px minmax(0,1fr); gap:8px; }.guide-art { max-height:165px; } }

.channel-contact { color:var(--accent); font-weight:650; padding:8px 2px; text-decoration:underline; text-underline-offset:3px; }

.login-password-eye { display:grid; place-items:center; width:48px; min-height:40px; }
.login-password-eye svg { width:21px; height:21px; }
.login-password-eye[aria-pressed=true] .eye-slash { display:none; }
