/* Account tasks use the shared dark theme and one surface per saved target. */
/* Flatten legacy compatibility surfaces only for these task groups. */
body main#main :is(.account-journey,.account-command,.account-journey .journey-card,.journey-status,.favorite-group,.favorite-empty,.favorite-updates,.notification-guide,.notification-settings form,.login-entry,.login-return,.login-entry .social-login,.login-entry>ul,.login-public-note){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none;padding:0}
body main#main .account-command,body main#main .account-journey .journey-card{padding:0}
body main#main .account-journey .journey-card small{font-size:14px;font-weight:500}
body .journey-general>div>p{display:none}
body .journey-status[hidden]{display:none!important}
body .favorites-intro,body .notification-intro,body .account-journey{margin:18px 0 28px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body .favorites-intro h1,body .notification-intro h1,body .account-journey-heading h1,body .login-entry h1{margin:0 0 12px;font-size:clamp(28px,4vw,36px);font-weight:700;line-height:1.3;letter-spacing:-.035em}
body .favorites-intro p,body .notification-intro p,body .account-journey-heading p{font-size:15px;line-height:1.7;color:var(--muted)}
body .account-journey-heading{display:block}
body .account-journey-tools{justify-content:flex-start;margin-top:16px;gap:12px}
body .account-journey-tools a,body .account-journey-tools button{min-height:44px;font-size:14px;font-weight:600;background:transparent;color:var(--ink);border:1px solid var(--line)}
body .account-journey-tools [data-account-state]{padding:0;background:transparent;color:var(--muted);font-size:13px;font-weight:500}
body main#main .account-journey-tools [data-account-state]{background:transparent!important;color:var(--muted)!important}
body .account-role-switch{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;padding:0;gap:6px;background:transparent}
body .account-role-switch button{min-width:0;min-height:44px;padding:8px;font-size:15px;font-weight:600;border:1px solid var(--line);background:transparent;color:var(--muted)}
body .account-role-switch button.is-active{background:var(--surface-raised);color:var(--gold);border-color:var(--gold)}
body .account-command{margin-top:24px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:18px}
body .account-command small{display:none}
body .account-command strong{font-size:20px;font-weight:650;line-height:1.5}
body .account-command span{font-size:14px;line-height:1.7;color:var(--muted)}
body .account-command a{min-height:44px;font-size:15px;font-weight:650}
body .account-journey-grid{display:block;margin-top:28px}
body .account-journey .journey-card{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body .account-journey .journey-number,body .account-journey .journey-card>div>small{display:none}
body .account-journey .journey-card h3{margin:0 0 10px;font-size:21px;font-weight:650;line-height:1.4}
body .account-journey .journey-card p,body .account-journey-note{font-size:14px;line-height:1.75;color:var(--muted)}
body .account-journey .journey-status{margin:20px 0;padding:0;border:0;background:transparent;line-height:1.75}
body .account-journey .journey-status strong{font-size:17px;font-weight:650}
body .account-journey .journey-status span,body .account-journey .journey-status a{font-size:14px}
body .account-journey .journey-card nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
body .account-journey .journey-card nav a,body .journey-primary,body .journey-managed-item a{display:flex;align-items:center;min-height:48px;padding:12px 14px;box-sizing:border-box;font-size:14px;font-weight:600;line-height:1.6;border:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:10px;text-decoration:none}
body .journey-managed-item{margin:12px 0;padding:20px;background:var(--surface);border:0;border-radius:14px}
body .journey-managed-item strong{font-size:18px;font-weight:650}
body .journey-managed-item em,body .journey-managed-item small,body .journey-branches b{font-size:13px;line-height:1.7;font-weight:500}
body .journey-managed-item a{padding:0;border:0;background:transparent;color:var(--gold)}
body .account-journey-note{margin-top:30px}
body .favorite-list-status{margin:12px 0;font-size:14px;line-height:1.8;color:var(--muted)}
body .favorite-list-status:empty{display:none}
body .favorite-list-status button,body .notification-settings [role=status] button{margin:8px 10px 0 0;min-height:44px;padding:8px 14px;font:inherit;background:transparent;border:1px solid var(--control-line);color:var(--ink);border-radius:9px}
body .favorites-page{margin:20px 0;gap:28px}
body .favorite-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body .favorite-overview strong{font-size:17px;font-weight:650}
body .favorite-overview span{font-size:13px;color:var(--muted)}
body .favorite-group{border:0;border-radius:0;background:transparent;overflow:visible}
body .favorite-group>header{position:static;display:flex;padding:0;margin:0 0 14px;min-height:0;gap:12px;border:0;background:transparent;box-shadow:none}
body main#main .favorite-group>header{background:transparent!important;border:0!important;padding:0!important}
body .favorite-group h2{font-size:20px;font-weight:650}
body .favorite-group header span{padding:0;background:transparent;color:var(--muted);font-size:14px;font-weight:500}
body .favorite-group li{padding:20px;margin:10px 0;gap:14px;border:0;border-radius:14px;background:var(--surface);align-items:start}
body .favorite-group li>a{min-height:64px;gap:7px}
body .favorite-group li strong{font-size:18px;font-weight:650;line-height:1.45;white-space:normal;overflow:visible;overflow-wrap:anywhere}
body .favorite-group li small,body .favorite-group li span{font-size:13px;line-height:1.75;color:var(--muted);font-weight:500}
body .favorite-group li span{word-break:keep-all;overflow-wrap:anywhere}
body .favorite-group li.has-change small{color:var(--gold)}
body .favorite-item-actions{display:flex;flex-direction:column;gap:8px}
body .favorite-item-actions button{min-width:48px;min-height:44px;font:inherit;font-size:13px;font-weight:500;background:transparent;color:var(--ink);border-color:var(--control-line)}
body .favorite-updates{padding:0;margin:0;gap:16px;background:transparent;border:0;border-radius:0}
body .favorite-updates h2{font-size:18px;font-weight:650;margin:0 0 7px}
body .favorite-updates p{font-size:14px;color:var(--muted);line-height:1.7}
body .favorite-updates>button{font-size:14px;min-height:44px;background:transparent;color:var(--gold);border-color:var(--control-line)}
body .favorite-empty{padding:0;text-align:left;background:transparent;border:0;border-radius:0}
body .favorite-empty strong{display:block;margin-bottom:14px;font-size:20px;font-weight:650;line-height:1.5}
body .favorite-empty p,body .favorite-empty>span{display:block;font-size:15px;color:var(--muted);line-height:1.75}
body .favorite-empty a{display:inline-flex;align-items:center;min-height:44px;margin:12px 14px 0 0;font-size:15px;font-weight:600;color:var(--gold)}
body .favorite-button,body .favorite-status button{min-height:44px;font-size:14px;font-weight:600}
body .favorite-status{font-size:13px;line-height:1.8}
body .notification-settings{display:flex;flex-direction:column;max-width:760px;margin:24px 0;gap:24px}
body .notification-settings form,body .notification-guide{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body .notification-settings form[hidden]{display:none!important}
body .notification-settings h2{font-size:21px;font-weight:650}
body .notification-settings .channel-option,body .notification-settings .category-option{padding:16px 0;gap:14px;background:transparent;border-color:var(--line)}
body .notification-settings label{cursor:pointer;min-height:44px;box-sizing:border-box}
body .notification-settings input{flex:none;width:20px;height:20px;accent-color:var(--gold);margin-top:2px}
body .notification-settings strong{font-size:16px;font-weight:600}
body .notification-settings small{display:block;font-size:14px;line-height:1.75;color:var(--muted)}
body .notification-settings input:disabled+span{opacity:.7}
body .notification-categories legend{font-size:17px;font-weight:650}
body .notification-settings button[type=submit]{min-height:48px;background:var(--gold);color:var(--bg);font-size:15px;font-weight:650}
body main#main .notification-settings button[type=submit]{color:var(--bg)!important}
body .notification-settings [role=status]{order:-1;margin:0;font-size:15px;line-height:1.8;color:var(--muted)}
body .notification-settings [role=status] a,body .account-context-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--gold)}
body .account-context-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0}
body .notification-guide summary{min-height:44px;display:flex;align-items:center;color:var(--muted);font-size:14px;cursor:pointer}
body .notification-guide ul{padding-left:20px;margin:12px 0;font-size:14px;line-height:1.8;color:var(--muted)}
body .push-unavailable{padding:20px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;font-size:14px}
body main#main .push-unavailable{background:transparent!important}
body .push-unavailable strong{font-size:15px}
body .login-entry{padding:0;margin:18px 0;background:transparent;border:0;border-radius:0;box-shadow:none;gap:24px}
body .login-entry .eyebrow{display:none}
body .login-entry>div>p{font-size:15px;line-height:1.8;color:var(--muted)}
body .login-return{margin:18px 0;padding:0;border:0;background:transparent}
body .login-return strong{font-size:15px;font-weight:600}
body .login-return small{font-size:14px;line-height:1.8}
body .login-entry .social-login{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body main#main .login-entry #account-state{padding:0;border:0;background:transparent!important}
body .login-entry .social-login>h2{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
body .login-entry .social-login p{font-size:14px;line-height:1.8}
body .login-entry>ul{padding-left:20px!important;font-size:14px;line-height:1.9}
body .login-public-note{font-size:14px;line-height:1.8;color:var(--muted)}
body .login-entry .social-auth-button{min-height:48px;font-size:15px;font-weight:600}
body .account-data-tools{margin:30px 0;padding:0;border:0;background:transparent}
body .account-data-tools summary{min-height:44px;font-size:14px;color:var(--muted)}
body .account-data-page{margin-top:18px}
body .account-data-page>[hidden]{display:none!important}
body .account-data-page>[role=status]{font-size:14px;line-height:1.8;color:var(--muted)}
body .account-data-page>[role=status]:empty{display:none}
body .account-data-page>[role=status] :is(a,button){display:inline-flex;align-items:center;min-height:44px;font:inherit;color:var(--gold)}
body .account-data-page h2{font-size:20px;font-weight:650}
body .account-data-page p,body .account-data-page li{font-size:14px;line-height:1.8}
@media(max-width:520px){body .account-command{display:block}body .account-command a{margin-top:16px}body .account-journey .journey-card nav{grid-template-columns:1fr}body .favorite-updates{display:block}body .favorite-updates>button{width:auto;margin-top:12px}body .favorite-empty .favorite-login{width:auto}body .notification-intro{margin-bottom:22px}}
@media(min-width:380px) and (max-width:520px){body .account-journey .journey-card nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
