.auth-submitted.auth-page{width:100%;max-width:590px;min-height:100dvh;margin:auto;padding:40px 0 0;display:flex;flex-direction:column;gap:16px;background:var(--bg);color:var(--text);box-sizing:border-box;overflow-y:auto}
.auth-design-brand{position:relative;min-height:48px;width:100%;display:flex;justify-content:center;align-items:center;padding:0 16px;flex:none}
.auth-design-brand .morrown-auth-brand{height:48px;width:180px;margin:0}
.auth-design-brand .auth-entry-back{position:absolute;left:16px;top:4px;width:44px;height:44px;min-height:44px;border-radius:14px;background:var(--surface-2);padding:0;color:var(--text)}
.auth-design-art{width:min(320px,calc(100% - 64px));height:180px;flex:none;margin:0 auto;display:grid;place-items:center;overflow:hidden}
.auth-design-art .morrown-auth-scene{width:100%;height:100%;max-width:none;max-height:none;margin:0}
.auth-square-art .auth-design-art{height:320px}
.auth-design-panel{display:flex;flex-direction:column;gap:14px;min-height:540px;flex:1;padding:24px 16px max(12px,env(safe-area-inset-bottom));background:var(--surface);border-radius:29px 29px 0 0;box-sizing:border-box;width:100%}
.auth-square-art .auth-design-panel{min-height:400px}
.auth-design-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px 12px;flex-wrap:wrap}
.auth-design-heading h1{margin:0;font:800 28px/1.14 Manrope,sans-serif;letter-spacing:-1px;text-align:left}
.auth-design-heading p{flex:0 0 100%;margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.auth-step-caption{font-size:12px;color:var(--muted);white-space:nowrap}
.auth-submitted form{margin:0;flex:1;min-height:0;display:flex;flex-direction:column;gap:14px}
.auth-submitted [data-auth-phase]{display:flex;flex-direction:column;gap:14px}
.auth-submitted [hidden]{display:none!important}
.auth-submitted .auth-field{display:flex;flex-direction:column;gap:6px;margin:0}
.auth-submitted .auth-field label{font-size:14px;font-weight:600;line-height:21px;margin:0}
.auth-submitted .auth-field input{width:100%;height:52px;min-height:52px;padding:0 16px;border:1px solid var(--line-strong,#65656c);border-radius:12px;background:var(--control,#19191f);color:var(--text);font:400 16px/1.5 'DM Sans',sans-serif;box-shadow:none}
.auth-submitted .auth-field input[type=password],.auth-submitted .auth-field input[autocomplete=new-password]{padding-right:52px}
.auth-submitted .auth-field input[aria-invalid=true]{border-color:var(--danger)}
.auth-submitted .auth-input-wrap{position:relative;width:100%}
.auth-submitted .password-toggle{width:44px;height:44px;min-height:44px;right:4px;top:4px;padding:0;background:transparent;border:0;border-radius:12px;color:var(--muted)}
.auth-submitted .field-error:empty,.auth-submitted .auth-error:empty{display:none}
.auth-submitted .field-error{font-size:13px;color:var(--danger);margin:0;line-height:1.4}
.auth-submitted .auth-next,.auth-submitted .auth-final-submit{margin-top:auto;width:100%}
.auth-submitted .auth-submit,.auth-submitted .auth-next{width:100%;min-height:52px;border-radius:16px;font-size:15px;font-weight:600;padding:12px 16px;margin-bottom:0}
.auth-submitted .auth-inline-link{background:none;border:0;padding:0;min-height:44px;color:var(--accent-ink);font-size:13px;font-weight:600;cursor:pointer;text-decoration:none}
.auth-submitted .auth-switch{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;min-height:44px;font-size:12px;color:var(--muted);margin:0}
.auth-submitted .auth-switch .auth-inline-link{font-size:12px}
.auth-submitted .auth-password-row{height:0;position:relative;z-index:1;margin:0}
.auth-submitted .auth-password-row .auth-inline-link{position:absolute;right:0;top:-11px}
.auth-submitted .auth-google-slot{display:flex;flex-direction:column-reverse;gap:14px;margin:0}
.auth-submitted .auth-divider{margin:0;min-height:18px;font-size:11px;color:var(--muted);gap:10px}
.auth-submitted .google-button{min-height:52px;border-radius:16px;border:1px solid var(--line);background:var(--surface-3);font-size:15px;color:var(--text)}
.auth-submitted .auth-entry-actions,.auth-submitted .auth-sent-actions{display:flex;flex-direction:column;gap:14px;margin-top:auto}
.auth-submitted .auth-hint{margin:-8px 0 0;font-size:12px;color:var(--muted)}
.auth-submitted .auth-draft-consent{margin:0;display:block;font-size:13px}
.auth-submitted .auth-draft-consent>label{display:flex;align-items:flex-start;gap:10px}
.auth-submitted .auth-draft-consent input{width:24px;height:24px;min-width:24px;accent-color:var(--accent)}
.auth-submitted .auth-draft-consent>div{display:flex;flex-wrap:wrap;gap:0 8px;padding-left:34px}
.auth-submitted .auth-draft-consent .btn{font-size:12px;min-height:32px;padding:0;background:transparent;color:var(--accent-ink);text-decoration:underline}
.auth-submitted .auth-notice{margin:0;padding:12px;border-radius:12px;font-size:13px;background:var(--accent-soft);color:var(--text)}
.account-server-card{max-width:590px}
.account-server-card>.account-server-content{padding:20px}
.account-profile-hero{border-radius:17px;background:var(--surface);padding:16px;margin-bottom:24px}
.account-server-identity{display:flex;gap:12px;align-items:center}
.account-profile-photo .account-avatar{width:56px;height:56px;border-radius:17px;background:var(--accent-soft);color:var(--accent-ink)}
.account-identity-name h3{font-size:18px;line-height:1.3;margin:0}
.account-server-status{padding-top:14px;margin-top:14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.account-server-group>h3{font-size:12px;color:var(--muted);font-weight:500;margin:0 0 10px}
.account-server-rows{border-radius:17px;background:var(--surface);overflow:hidden}
.account-server-row{min-height:72px;padding:14px 16px;gap:12px;background:transparent;border-bottom:1px solid var(--line)}
.account-server-row:last-child{border-bottom:0}
.account-server-row strong{font-size:15px;font-weight:500}
.account-server-row small{font-size:12px;margin-top:2px;color:var(--muted)}
.account-subscription-row .rytm-mark{width:20px;height:20px}
.account-server-group{margin-bottom:24px}
.account-login-method{font-size:12px;color:var(--muted)}
.account-server-card .auth-field{gap:8px}
.account-server-card .auth-field input{min-height:56px;border-radius:16px;border:1px solid var(--submitted-field-line);font-size:16px;padding:12px 16px;background:var(--control)}
.account-server-card .auth-field input[type=password]{padding-right:52px}
.account-server-card .auth-submit{min-height:52px;border-radius:16px;font-size:15px}
.account-server-card[data-account-screen=delete] .auth-submit{background:var(--submitted-delete);color:var(--danger)}
.account-newsletter-card,.account-email-summary{border-radius:24px;background:var(--surface)}
.account-server-card[data-account-screen=legal-draft] .account-server-content{text-align:left}
.account-server-card[data-account-screen=recovery-code] .account-server-content{display:flex;flex-direction:column;gap:16px}
.account-recovery-field{border-radius:17px;padding:16px;background:var(--surface)}
.account-recovery-field textarea{font-size:20px;line-height:1.5;text-align:center;resize:none;min-height:72px;height:auto;border:0;background:transparent}
.account-actions{display:flex;gap:10px}.account-actions>.btn{flex:1;min-height:48px;background:var(--surface-3);border-radius:14px}
.account-server-card[data-account-screen=account] .account-server-content{gap:0}
.account-profile-hero{border:0;margin:0 0 24px}
.account-profile-hero:before{display:none}
.account-profile-hero .account-server-identity{flex-wrap:nowrap;padding:0;gap:12px}
.account-profile-hero .account-server-identity>div{flex:1;min-width:0;max-width:none}
.account-profile-hero .account-avatar{width:56px;height:56px;min-width:56px;border-radius:17px;font-size:22px}
.account-profile-hero .account-profile-photo{flex:none}
.account-profile-hero .account-identity-name{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.account-profile-hero h3{font-size:16px;line-height:1.4;letter-spacing:-.2px;margin:0}
.account-profile-hero .account-email{font-size:11px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}
.account-profile-hero [data-profile-plan]{margin:0}
.account-profile-hero .profile-plan-badge{padding:2px 5px;border:0;border-radius:5px;font-size:10px}
.account-profile-hero .profile-plan-badge .rytm-mark{display:none}
.account-profile-hero .account-server-status{margin-top:14px;padding-top:12px}
.account-server-card[data-account-screen=account] .account-server-group{gap:10px;margin:0 0 24px}
.account-server-card[data-account-screen=account] .account-server-group>h3{font-size:12px;font-weight:400;letter-spacing:0;padding:0;margin:0}
.account-server-card[data-account-screen=account] .account-server-rows{border:0;border-radius:17px}
.account-server-card[data-account-screen=account] .account-server-row{min-height:72px;padding:14px 16px;border-color:var(--line)}
.account-server-card[data-account-screen=account] .account-server-row>svg,.account-server-card[data-account-screen=account] .account-subscription-row>.rytm-mark{width:20px;height:20px;color:var(--muted)}
.account-server-card[data-account-screen=account] .account-login-method{margin:-10px 0 24px}
#app .auth-submitted.auth-page{padding:40px 0 0!important}
#app .auth-submitted .auth-field input,.account-server-card .auth-field input{border:1px solid var(--submitted-field-line,#65656c)!important;border-radius:12px!important;background:var(--control,#19191f)!important;box-shadow:none!important;font-size:16px!important;min-height:52px!important;padding:12px 16px!important}
#app .auth-submitted .auth-field input[aria-invalid=true],.account-server-card .auth-field input[aria-invalid=true]{border-color:var(--danger)!important}
#app .auth-submitted .auth-field input[type=password],.account-server-card .auth-field input[type=password]{padding-right:52px!important}
#app .auth-submitted .auth-submit,#app .auth-submitted .auth-next{border-radius:16px!important;font-size:15px!important;min-height:52px!important}
.auth-design-brand .morrown-auth-brand{display:grid!important;place-items:center;overflow:hidden}
.account-server-card[data-account-screen=recovery-code]>header{display:none}
.account-server-card[data-account-screen=recovery-code]>.account-server-content{padding:0;display:block;overflow-y:auto}
.account-server-card[data-account-screen=recovery-code] .auth-submitted{min-height:100%;padding-top:40px}
.account-server-card[data-account-screen=recovery-code] .auth-design-panel{min-height:540px}
.auth-code-box{border:1px solid var(--submitted-field-line);border-radius:17px;padding:16px;margin:0;background:var(--control)}
.auth-code-box textarea.recovery-code{background:transparent;border:0!important;box-shadow:none!important;border-radius:0;font:600 17px/1.5 'DM Sans',sans-serif;letter-spacing:.4px;resize:none;padding:0;min-height:90px;width:100%;color:var(--text);text-align:center;overflow-wrap:anywhere;word-break:break-all}
.auth-code-box .account-actions{margin-top:12px}
.account-server-card[data-account-screen=recovery-code] .auth-design-panel>.auth-submit{margin-top:auto}
.account-server-card[data-account-screen=recovery-code] .account-check{font-size:13px;gap:10px;align-items:flex-start}
.account-server-card[data-account-screen=recovery-code] .account-check input{width:24px;height:24px;min-width:24px}
@media(max-height:650px){.auth-submitted.auth-page{padding-top:16px}.auth-design-art,.auth-square-art .auth-design-art{height:120px}.auth-design-panel,.auth-square-art .auth-design-panel{min-height:420px}}
/* 5.0.83 · sign-in fits one screen: art shrinks first, panel fills the rest, then the page scrolls */
#app .auth-submitted.auth-page{height:100dvh;min-height:0;overflow-y:auto;padding:max(16px,env(safe-area-inset-top)) 0 0!important;gap:12px}
#app .auth-submitted .auth-design-art{flex:0 1 auto;min-height:64px}
#app .auth-submitted .auth-design-panel{flex:1 0 auto;min-height:0!important;padding-bottom:max(16px,env(safe-area-inset-bottom))}
#app .auth-submitted .password-toggle{top:4px;transform:none}
/* 5.0.84 · the recovery-code screen (after registration) fits one screen too: 56px header + 840px page pushed its only button under the navigation bar */
.account-server-card[data-account-screen=recovery-code]{display:flex;flex-direction:column}
.account-server-card[data-account-screen=recovery-code]>.account-server-content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.account-server-card[data-account-screen=recovery-code] .auth-submitted.auth-page{flex:1 1 auto;height:auto;min-height:0;padding-top:16px;gap:12px;overflow-y:auto}
.account-server-card[data-account-screen=recovery-code] .auth-design-art{flex:0 1 auto;min-height:64px}
.account-server-card[data-account-screen=recovery-code] .auth-design-panel{flex:1 0 auto;min-height:0;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.account-server-card .auth-submitted .password-toggle{top:4px;transform:none}
