.account-page,.preferences-page{width:100%;max-width:760px;min-width:0}.programs-page{width:100%;max-width:920px;min-width:0}.settings-sections{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;border-bottom:1px solid var(--border);padding-bottom:8px}.settings-sections a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:8px;font-size:14px;font-weight:550;color:var(--muted)}.settings-sections a:hover{background:#edf2ee}.settings-sections a[aria-current]{color:var(--green);background:#e7f0e8}.preferences-surface{padding:0 24px}.preference-section{padding:24px 0}.preference-section+.preference-section{border-top:1px solid var(--border)}.preference-section h2{font-size:18px;margin-bottom:8px}.preference-section p{font-size:14px;max-width:62ch}.preference-section .weekday-select{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:20px}.preference-section .weekday-select button{border:0;box-shadow:none;border-radius:9px;min-height:56px;background:var(--canvas);color:var(--muted);font-size:14px;padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:2px}.preference-section .weekday-select button:hover{background:#e9ede8}.preference-section .weekday-select button.selected{background:#e3eee4;color:#245e4c;box-shadow:inset 0 0 0 1px #abc8ad}.weekday-state-icon{height:16px;display:flex;align-items:center;justify-content:center}.preference-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,300px);align-items:center;gap:16px}.preference-row>label{font-size:15px;font-weight:550}.preference-row select{width:100%;min-width:0;max-width:100%;min-height:44px;padding:9px 32px 9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:15px}.preference-section #timezone-help{margin-top:12px}.profile-menu{position:relative;min-width:0}.profile-menu summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;border-radius:9px}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;min-width:0;flex:1}.profile-menu summary.active,.profile-menu summary:hover{background:#ffffff0c}.profile-desktop{margin-top:12px;padding-top:12px;border-top:1px solid #49615a}.profile-desktop summary{padding:4px}.profile-menu .avatar{width:34px;height:34px;flex-shrink:0}.profile-popover{position:absolute;z-index:45;bottom:calc(100% + 8px);left:0;width:260px;max-width:calc(100vw - 28px);padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px #142b251a}.profile-popover p{font-size:13px;color:var(--muted);overflow-wrap:anywhere;padding:8px 10px 12px}.profile-popover a{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:7px;padding:10px;font-size:14px}.profile-popover a:hover,.profile-popover a[aria-current]{background:#edf3ef;color:var(--green)}.profile-popover a:last-child{margin-top:6px;border-top:1px solid var(--border);border-radius:0 0 7px 7px}.profile-popover [aria-disabled=true]{opacity:.5;pointer-events:none}.profile-mobile{display:none}.provider-list{list-style:none;padding:0;margin:12px 0 0}.provider-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:8px 0;font-size:14px}.provider-list li+li{border-top:1px solid var(--border)}.provider-status{font-size:13px;color:var(--muted)}.account-page .account-auth-block{margin-top:20px;padding-top:20px}.account-page .password-disclosure{justify-content:space-between;width:100%;color:var(--ink);font-weight:650}.account-page .account-auth-block:has(.password-disclosure){padding-top:12px}.account-password-form{margin-top:12px;max-width:440px}.password-visibility{align-self:flex-start}.account-page .account-danger-zone{margin:28px -24px -24px;padding:22px 24px;background:#fff9f6;border-radius:0 0 var(--radius) var(--radius);border-top:1px solid #e5ccc2}.account-danger-zone h3{color:#8b3522}.account-danger-zone .text-button{margin-top:10px}.account-page .account-email{font-size:16px;font-weight:550}.calendar-program-entry{display:flex;justify-content:flex-end;margin:-8px 0 16px}.programs-page>.text-button{margin-bottom:16px}.programs-page .settings-plan-panel{padding:0 24px}.programs-page .program-overview{padding:24px 0}.programs-page .program-overview+.program-overview{border-top:1px solid var(--border)}.programs-page .program-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.programs-page .program-heading h2{font-size:19px;overflow-wrap:anywhere}.program-heading>span{flex-shrink:0;color:var(--muted);font-size:13px}.program-state{font-size:13px;color:var(--green);margin:8px 0}.programs-page progress{display:block;width:100%;height:5px;border:0;border-radius:5px;background:#e9eee7;accent-color:var(--green);overflow:hidden}.programs-page progress::-webkit-progress-bar{background:#e9eee7}.programs-page progress::-webkit-progress-value{background:var(--green);border-radius:5px}.programs-page progress::-moz-progress-bar{background:var(--green)}.programs-page .program-progress{margin-bottom:16px}.programs-page .program-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:16px}.programs-page .program-course{display:flex;flex-direction:column;gap:8px;border:0;border-top:1px solid var(--border);border-radius:0;padding:16px 0;background:transparent}.programs-page .program-course:hover{color:var(--green)}.programs-page .program-course progress{max-width:240px;height:4px}.programs-page .program-course-title{display:flex;justify-content:space-between;gap:12px}.programs-page .program-course-title strong{overflow-wrap:anywhere}.programs-page .upcoming-lessons summary{min-height:48px}.preferences-page .diary-backup{padding:24px}.preferences-page .diary-backup input[hidden]{display:none}.preferences-page .diary-backup-review{border:0;background:var(--canvas);padding:20px}.preferences-page .diary-backup-review h3{font-size:16px}.preferences-page .diary-backup dd{max-width:65%}@media(max-width:960px){.profile-mobile{display:block;flex-shrink:0}.profile-mobile summary{width:44px;min-height:44px;justify-content:center}.profile-mobile .avatar{width:30px;height:30px;font-size:13px}.profile-mobile .profile-popover{bottom:auto;top:calc(100% + 8px);left:auto;right:0}.topbar .mobile-settings-link{display:none}.topbar .autosave-indicator{justify-content:flex-start}.profile-mobile summary:hover{background:#edf3ef}}@media(max-width:600px){.settings-sections{gap:4px;margin-bottom:16px;display:grid;grid-template-columns:1fr 1.6fr}.settings-sections a{font-size:13px;text-align:center;padding:8px}.preferences-surface{padding:0 18px}.preference-section{padding:20px 0}.preference-row{grid-template-columns:1fr;gap:10px}.preference-row select{font-size:16px}.preference-section .weekday-select{gap:5px}.preference-section .weekday-select button{min-height:52px;font-size:13px}.account-page .account-danger-zone{margin:24px -18px -18px;padding:20px 18px}.provider-list li{flex-wrap:wrap}.programs-page .settings-plan-panel{padding:0 18px}.programs-page .program-courses{grid-template-columns:1fr}.programs-page .program-heading{flex-wrap:wrap;gap:6px}.calendar-program-entry{justify-content:flex-start;margin:0 0 16px}.preferences-page .diary-backup{padding:18px}.preferences-page .settings-section-heading h2{font-size:18px}.preferences-page .diary-backup-actions{display:flex}.preferences-page .diary-backup-actions>.button{flex:1;min-width:120px}.account-page .auth-form input{font-size:16px}}@media(prefers-reduced-motion:reduce){.account-page *,.preferences-page *,.profile-menu *,.programs-page *{animation:none!important;transition:none!important}}.profile-desktop .profile-popover{width:100%}.profile-desktop .profile-popover a{line-height:1.5}.account-page .account-auth-panel{padding:24px}.programs-page .program-period{font-size:14px;color:var(--muted);margin-top:8px}@media(max-width:600px){.account-page .account-auth-panel{padding:18px}.preference-section .weekday-select{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.preference-section .weekday-select button{min-height:48px}}