.profile-status {margin:0 0 16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.profile-status .profile-autosave-status {margin:0}
.profile-tabs .has-error::after {content:'!';margin-left:6px;font-weight:bold}
.profile-identity {flex:1 1 12ch;min-width:0;overflow-wrap:anywhere}
.profile-identity h2 {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.profile-identity.expanded h2 {display:block}
.profile-settings input[readonly] {background:transparent!important;border-color:transparent!important;padding-inline:0;color:var(--muted);cursor:text}
.profile-zone {margin-top:22px}
.profile-zone .field {margin-bottom:10px}
.profile-signout p,.storage-manager [role=status] {color:var(--muted)}
.profile-content #next-reminder [data-next-text] {display:block}
.storage-review {background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:16px;padding:20px;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;overflow-wrap:anywhere}
.storage-review::backdrop {background:rgb(0 0 0 / .7)}
.storage-review p,.storage-review li {margin-block:12px;color:var(--muted)}
.storage-review ul {padding-left:22px;max-height:45dvh;overflow:auto}
.reminder-device #next-reminder {margin:10px 0;color:var(--text);font-size:1rem;line-height:1.5}
.storage-manager {display:grid;gap:14px;min-width:0}
.storage-manager .field {margin:0}
.storage-manager .live-list article {display:grid;gap:6px;overflow-wrap:anywhere}
.storage-manager button,.profile-content [data-jump],.profile-content [data-edit-reminder] {min-height:44px}
#account-storage-usage progress {width:100%;accent-color:var(--accent)}
.profile-content .settings-section .settings-toggle strong {font-size:15px}
.profile-content .settings-section .settings-toggle small,.profile-content .settings-footnote,.profile-content .field-help,.profile-content .settings-section-title p,.profile-content .reminder-list small {font-size:13px;line-height:1.55}
.profile-content [data-field-sync] {display:block;color:var(--muted);font-size:13px}
.profile-content .reminder-list > div {gap:12px;align-items:center}
#next-reminder button {margin-top:8px}
.profile-account-fields{display:grid;grid-template-columns:minmax(0,1fr)}
.profile-settings{max-width:860px;display:grid;gap:20px}.profile-heading{max-width:860px}.profile-heading>.secondary{margin-top:20px}.profile-summary{padding:24px;display:flex;align-items:center;gap:17px}.profile-summary .profile-avatar{width:58px;height:58px;font-size:23px;background:color-mix(in srgb,var(--accent) 18%,var(--panel));color:var(--text);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border))}.profile-summary h2{font-size:20px}.profile-summary p{font-size:12px;color:var(--muted);margin-top:6px}.profile-private{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.profile-private svg{width:14px;height:14px}.settings-section{padding:27px}.settings-section-title{display:flex;align-items:start;gap:12px;margin-bottom:25px}.settings-section-title>span:first-child{color:var(--muted);display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--accent) 8%,transparent)}.settings-section-title svg{width:18px;height:18px}.settings-section-title h2{font-size:17px}.settings-section-title p{color:var(--muted);font-size:12px;line-height:1.7;margin-top:7px}.settings-badge{font-size:10px;white-space:nowrap;margin-left:auto;padding:6px 8px;border:1px solid var(--border);border-radius:6px;color:var(--muted)}.profile-settings .field>span{color:var(--text)}.profile-settings input:not([type=checkbox]):not([type=radio]){background:var(--bg);border-color:var(--border);color:var(--text)}.profile-settings input:focus{border-color:var(--accent)}.settings-footnote{font-size:11px;line-height:1.7;color:var(--muted)}.theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:17px}.theme-option{position:relative;cursor:pointer}.theme-option>input{position:absolute;opacity:0;width:1px;height:1px}.theme-tile{display:block;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--swatch-bg)}.theme-tile>span:last-child{display:flex;justify-content:space-between;align-items:center;color:var(--text);font-size:12px;margin-top:11px}.theme-mini{display:block;height:66px;background:color-mix(in srgb,var(--swatch) 7%,var(--swatch-bg));padding:12px;border-radius:7px}.theme-mini i{display:block;width:21px;height:21px;border:4px solid var(--swatch);border-radius:50%;margin-bottom:6px}.theme-mini b{display:block;width:90%;height:3px;border-radius:3px;background:color-mix(in srgb,var(--swatch) 20%,var(--swatch-bg));margin-top:5px}.theme-mini b:last-child{width:55%;background:var(--swatch)}.theme-check{opacity:0;color:var(--swatch)}.theme-check svg{width:14px;height:14px}.theme-option input:checked+.theme-tile{border-color:var(--swatch);box-shadow:0 0 0 1px var(--swatch)}.theme-option input:checked+.theme-tile .theme-check{opacity:1}.theme-option input:focus-visible+.theme-tile{outline:2px solid var(--accent);outline-offset:4px}.settings-toggle{display:flex;position:relative;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--border);cursor:pointer}.settings-toggle strong{font-size:13px;font-weight:500}.settings-toggle small{font-size:11px;line-height:1.7;margin-top:5px;max-width:490px}.settings-toggle>input{position:absolute;right:0;opacity:0;width:44px;height:28px}.settings-toggle>i{display:block;position:relative;width:44px;height:26px;flex-shrink:0;border-radius:20px;background:var(--accent-strong);border:1px solid var(--accent-border);pointer-events:none;transition:.15s}.settings-toggle>i:after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;background:var(--accent);border-radius:50%;transition:.15s}.settings-toggle>input:checked+i{background:var(--accent);border-color:var(--accent)}.settings-toggle>input:checked+i:after{transform:translateX(18px);background:var(--panel)}.settings-toggle>input:focus-visible+i{outline:2px solid var(--accent);outline-offset:4px}.settings-toggle>input:disabled+i{opacity:.4}.notification-preferences{border:0;padding:0;margin:0;min-width:0}.notification-preferences:disabled{opacity:.5}.quiet-hours{padding-top:20px}.quiet-hours .field{margin-bottom:0}.settings-timezone{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:10px;line-height:1.8;margin:20px 0}.settings-timezone svg{width:14px;height:14px}.settings-timezone strong{font-weight:500}.settings-note{background:color-mix(in srgb,var(--accent) 6%,var(--bg));border:1px solid var(--border);border-radius:10px;padding:15px}.settings-note strong{font-size:11px;font-weight:500;color:var(--text);line-height:1.7}.settings-note p{font-size:11px;color:var(--muted);line-height:1.7;margin:7px 0 12px}.settings-note button{padding:0;line-height:1.7}.settings-note button svg{width:12px;height:12px}.compact-settings .settings-section-title{margin-bottom:18px}.global-notification-note{padding:13px 15px;border:1px solid var(--border);border-radius:10px;font-size:12px;line-height:1.7;margin-bottom:16px;background:var(--panel)}.global-notification-note a{color:var(--text);text-decoration:underline}.global-notification-note strong{font-weight:500}.profile-current{color:var(--accent)}
/* Accent palettes preserve the app's dark presentation. */
:root[data-theme=ocean]{--bg:#101720;--panel:#18222d;--panel2:#1e2b38;--border:#304353;--accent:#9bd9f4}
:root[data-theme=violet]{--bg:#17131f;--panel:#221c2c;--panel2:#2c2438;--border:#44364e;--accent:#c9b5f4}
:root[data-theme=amber]{--bg:#1b1711;--panel:#262119;--panel2:#322a20;--border:#4c4030;--accent:#f2cc8f}
@media(max-width:650px){.profile-settings{gap:16px}.profile-heading>.secondary{padding:10px 8px;font-size:10px;white-space:nowrap;margin-top:25px}.profile-summary{padding:20px;gap:12px;flex-wrap:wrap}.profile-summary h2{font-size:19px}.profile-summary .profile-avatar{width:48px;height:48px;font-size:20px}.profile-private{font-size:9px}.settings-section{padding:21px 18px}.settings-section-title{gap:10px;margin-bottom:20px}.settings-section-title h2{font-size:15px}.settings-section-title p{font-size:11px}.settings-badge{font-size:8px;padding:5px}.theme-options{grid-template-columns:repeat(2,1fr);gap:12px}.theme-mini{height:61px}.theme-tile{padding:11px}.settings-toggle{gap:13px;padding:17px 0}.settings-toggle strong{font-size:12px}.settings-toggle small{font-size:10px}.settings-footnote{font-size:10px}.profile-settings .field-row{min-width:0}.profile-settings .field input{min-width:0}.quiet-hours input{padding:11px 8px}.settings-note{padding:13px}}

.profile-content { display: grid; gap: 20px; max-width: 860px; }
.profile-content > [data-live-signout] { justify-self: start; }
.profile-tabs { margin: 0 0 20px; }
.provider-card {display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.provider-card h2,.provider-card p {margin:0}
.provider-card .provider-status {margin-top:10px; font-size:.85rem}
.provider-card button {min-height:44px}
@media(max-width:420px){.profile-tabs.section-tabs>a{padding-inline:clamp(6px,2.2vw,12px)}}
[data-link-message]:empty {display:none}
.profile-orb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.profile-content .reminder-upcoming { margin-top: 0; }
.profile-content .reminder-list > div { justify-content: space-between; }
.profile-content .reminder-list small { display: block; overflow-wrap: anywhere; }
.profile-content .reminder-list > div > small { flex: 0 0 auto; max-width: 42%; text-align: end; }
.profile-content .reminder-device h2, .profile-content .reminder-upcoming h2 { font-size: 17px; }
.profile-content .reminder-device p, .profile-content #next-reminder { color: var(--muted); }
.sidebar-bottom .profile[aria-current=page] { box-shadow: inset 0 0 0 1px var(--accent-border); border-radius: 12px; }
@media (max-width: 650px) {
  .top-actions > [data-action=profile] { display: none; }
}

.profile-autosave-status {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}
.profile-field-error { display: block; margin-top: 5px; color: var(--warning); font-size: .85rem; }
.profile-settings input[aria-invalid=true] { border-color: var(--warning); }
