.header .account-nav-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;font-size:14px;white-space:nowrap}.header .account-nav-link.is-connected{width:48px;height:48px;min-height:48px;border:0;border-radius:50%;padding:0;background:var(--theme-soft);color:var(--theme-text)}.nav-avatar{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--theme-border);border-radius:50%;overflow:hidden;font-weight:800;font-size:20px}.nav-avatar img,.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-details{border:1px solid var(--theme-border);border-radius:14px;padding:24px;max-width:680px;margin-top:28px}.profile-details h3{font-size:22px;margin:0 0 6px;letter-spacing:-.03em}.profile-details>p{font-size:15px;margin:0 0 24px}.profile-photo-row{display:flex;align-items:center;gap:22px}.profile-photo{width:96px;height:96px;flex-shrink:0;border-radius:50%;overflow:hidden;background:var(--theme-soft);border:1px solid var(--theme-border);display:grid;place-items:center;font-size:36px;font-weight:800}.photo-actions{display:flex;align-items:flex-start;flex-direction:column;gap:4px}.photo-button{background:var(--theme-surface);color:var(--theme-text);border:1px solid var(--theme-border);border-radius:8px;padding:10px 16px;min-height:44px;font-size:14px;font-weight:600}.profile-details .field-help{font-size:13px;margin:14px 0}.profile-details .button{justify-content:center;min-height:48px}.profile-status{font-size:14px;min-height:24px;line-height:1.6}.profile-status.error{color:var(--theme-danger)}.profile-details #profile-status:not(.error){color:var(--theme-text)}.crop-dialog{padding:24px;width:min(430px,calc(100% - 24px));max-height:calc(100dvh - 24px);border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-surface);color:var(--theme-text);overscroll-behavior:contain}.crop-dialog::backdrop{background:color-mix(in srgb, var(--theme-accent) 60%, transparent);backdrop-filter:blur(4px)}.crop-dialog h2{font-size:27px;letter-spacing:-.035em;margin:0 0 12px}.crop-dialog p{font-size:14px;color:var(--theme-muted);line-height:1.6}.crop-stage{position:relative;width:min(320px,100%);aspect-ratio:1;margin:20px auto;border-radius:12px;overflow:hidden;background:var(--theme-soft)}.crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.crop-stage canvas:active{cursor:grabbing}.crop-mask{pointer-events:none;position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 80px color-mix(in srgb, var(--theme-text) 50%, transparent);outline:2px solid color-mix(in srgb, var(--theme-border) 70%, transparent);outline-offset:-2px}.crop-stage:focus-within{outline:3px solid var(--theme-border);outline-offset:3px}.crop-dialog label{font-size:15px;font-weight:600;display:block}.crop-dialog input[type=range]{width:100%;min-height:44px;accent-color:var(--theme-accent)}.crop-actions{display:flex;gap:12px;justify-content:space-between;margin-top:14px}.crop-actions .button{padding:12px 16px;gap:0;min-height:48px;font-size:14px}.crop-open{overflow:hidden}.account-header [data-account-link]{margin-left:auto}.account-header>a.text-link{margin-left:0}.account-photo-hint{font-size:13px!important}.profile-retry{min-height:44px}.profile-details input:disabled{opacity:.65}@media(max-width:700px){.header .account-nav-link{display:inline-flex;order:2;margin-left:12px;padding:9px 12px;font-size:12px}.header .account-nav-link.is-connected{padding:0;margin-left:12px}.header>.logo{order:0}.header>.menu-toggle{order:1}.header>#main-nav{order:3}.header:has(.menu-toggle){column-gap:0;padding-left:16px;padding-right:16px}.header:has(.menu-toggle)>.logo{width:110px}.header>.menu-toggle{gap:8px;padding:8px 5px}.profile-details{padding:20px 16px}.profile-photo-row{gap:16px}.profile-photo{width:80px;height:80px}.photo-button{padding:10px 12px}.profile-details .button{width:100%;font-size:15px}.crop-dialog{padding:20px}.crop-actions{gap:10px}.account-header>.text-link{font-size:12px}.account-header .account-nav-link{margin-left:auto}.profile-ready .account-card h2{overflow-wrap:anywhere}}@media(max-width:360px){.header .account-nav-link{font-size:11px;margin-left:7px;padding:9px}.header:has(.menu-toggle)>.logo{width:97px}.header .menu-toggle{font-size:12px}.crop-actions{flex-wrap:wrap}.crop-actions .button{flex:1}}
.tracker-nav-photo{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}.rp-avatar,.account-avatar{overflow:hidden}.rp-avatar img,.account-avatar img{width:100%;height:100%;object-fit:cover}
/* A compact account home, with editing only on request. */
.profile-ready .account-layout{max-width:1160px;padding-top:30px}.profile-ready .account-card{background:transparent;border:0;padding:0;box-shadow:none}.profile-overview{display:flex;align-items:center;gap:18px;margin-bottom:26px}.profile-overview .profile-photo{width:64px;height:64px;font-size:25px}.profile-identity{flex:1;min-width:0}.profile-identity .eyebrow{margin:0 0 5px;font-size:12px}.profile-identity #welcome{font-size:30px;margin:0;line-height:1.25;overflow-wrap:anywhere}.profile-overview>.photo-button{flex-shrink:0;font:inherit;font-size:14px;min-height:46px;background:var(--theme-surface)}.profile-daily{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--theme-border);border-radius:14px;padding:22px 24px;background:var(--theme-surface)}.profile-daily h3{font-size:22px;letter-spacing:-.03em;margin:0 0 6px}.profile-daily p{font-size:16px;margin:0}.profile-daily .button{font-size:15px;min-height:48px;justify-content:center;white-space:nowrap}.profile-ready .library-heading{border:0;padding:0;margin-top:30px}.profile-ready .library-heading h3{font-size:25px}.profile-ready .library-heading p{font-size:15px}.profile-ready #library-status{font-size:14px;margin:12px 0;color:var(--theme-muted)}.profile-ready .profile-library{gap:16px;margin-top:16px}.profile-ready .library-direct-link{padding:21px}.profile-ready .library-card-top{margin-bottom:16px}.profile-ready .library-index{display:none}.profile-ready .library-direct-link>p{font-size:14px;line-height:1.55;margin-bottom:14px}.profile-ready .library-real-data{gap:4px;padding:13px 0}.profile-ready .library-real-data strong{font-size:15px}.profile-ready .library-last-save{min-height:0;font-size:12px;margin-bottom:14px}.profile-ready .library-direct-link h4{font-size:22px;margin-bottom:9px}.profile-settings{margin:26px 0 0;border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:12px;padding:0}.profile-settings>summary{font-size:16px;font-weight:600;cursor:pointer;padding:18px 22px;min-height:56px}.profile-settings-content{padding:0 22px 22px}.settings-label{font-size:14px;margin:8px 0 4px;font-weight:600}.profile-settings .user-email{margin:0;font-size:16px}.profile-settings .theme-settings{margin:20px 0;padding:18px 0;border:0;border-top:1px solid var(--theme-border);border-radius:0}.profile-settings .theme-settings h3{font-size:18px}.profile-settings .theme-settings p{font-size:14px}.profile-settings .theme-settings .button{font-size:14px;min-height:44px}.profile-settings #profile-utilities .install-profile-button{float:none;margin:0;max-width:100%}.profile-settings .account-actions{margin-top:20px;padding-top:18px}.profile-settings .text-link,.profile-settings .text-button{font-size:14px;min-height:44px;display:inline-flex;align-items:center}#profile-feedback{font-size:14px;margin:-10px 0 20px;color:var(--theme-text)}.profile-edit-dialog{padding:0;width:min(500px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--theme-border);border-radius:18px;background:var(--theme-surface);color:var(--theme-text);overscroll-behavior:contain}.profile-edit-dialog::backdrop{background:color-mix(in srgb, var(--theme-accent) 60%, transparent);backdrop-filter:blur(4px)}.profile-edit-dialog .profile-details{margin:0;border:0;border-radius:0;padding:26px}.profile-edit-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:24px}.profile-edit-header h2{font-size:26px;letter-spacing:-.035em;line-height:1.2;margin:0}.profile-edit-close{width:44px;height:44px;border:0;background:var(--theme-bg);border-radius:50%;font-size:27px;flex-shrink:0;color:inherit}.profile-edit-dialog label{display:block;font-size:15px;font-weight:600;margin-top:22px}.profile-edit-dialog input:not([type=file]){display:block;width:100%;min-height:50px;font:inherit;font-size:16px;padding:12px;border:1px solid var(--theme-border);border-radius:8px;margin-top:8px;background:var(--theme-surface);color:var(--theme-text)}.profile-edit-dialog .field-help{font-size:14px;line-height:1.6;color:var(--theme-muted)}.profile-edit-dialog .profile-status{margin:14px 0 0;min-height:0}.profile-edit-dialog .profile-status:empty{display:none}.profile-edit-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.profile-edit-actions .button,.profile-edit-actions .photo-button{font-size:15px;min-height:48px}.profile-edit-actions .button{padding:12px 22px}.profile-edit-dialog button:disabled{opacity:.6;cursor:wait}.profile-editing{overflow:hidden}.profile-edit-dialog :focus-visible,.profile-overview button:focus-visible,.profile-settings summary:focus-visible{outline:2px solid var(--theme-border);outline-offset:3px}
@media(max-width:700px){.profile-ready .account-layout{padding:22px 16px 40px}.profile-ready .account-card{padding:0}.profile-overview{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;margin-bottom:20px}.profile-overview .profile-photo{width:54px;height:54px;font-size:23px}.profile-identity #welcome{font-size:25px}.profile-overview>.photo-button{grid-column:2;justify-self:start;font-size:14px;min-height:44px;padding:9px 14px;margin-top:-3px}.profile-daily{display:block;padding:19px}.profile-daily h3{font-size:22px}.profile-daily p{font-size:15px}.profile-daily .button{display:flex;margin-top:17px;min-height:48px;width:100%}.profile-ready .library-heading{margin-top:27px}.profile-ready .library-heading .text-link{font-size:14px;margin-top:12px}.profile-ready .library-heading h3{font-size:25px}.profile-ready .profile-library{gap:14px}.profile-ready .library-direct-link{padding:19px}.profile-ready .library-card-top{margin-bottom:12px}.profile-ready .library-direct-link>p{font-size:15px}.profile-ready .library-real-data{padding:11px 0}.profile-settings>summary{padding:18px}.profile-settings-content{padding:0 18px 18px}.profile-settings .theme-settings{display:block}.profile-settings .theme-settings .button{width:100%;margin-top:10px}.profile-edit-dialog .profile-details{padding:22px 18px}.profile-edit-header h2{font-size:24px}.profile-edit-dialog .profile-photo{width:76px;height:76px}.profile-edit-actions .button{width:auto;flex:1}.profile-edit-actions .photo-button{flex:1}.profile-edit-dialog .profile-photo-row{gap:16px}}
