/* The same account menu and private settings are available from every page. */
.profile-account-menu{position:fixed;z-index:310;overflow:auto;box-sizing:border-box;padding:6px;background:var(--pv-surface);color:var(--pv-ink);border:1px solid var(--pv-line);border-radius:10px;box-shadow:var(--pv-shadow);font:400 13px/1.5 var(--sans)}
.profile-account-menu[hidden],.profile-settings-dialog [hidden]{display:none!important}
.profile-menu-heading{padding:9px 10px 11px;border-bottom:1px solid var(--pv-line-2);margin-bottom:5px}
.profile-menu-heading strong,.profile-menu-heading small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-heading strong{font-weight:600}.profile-menu-heading small{color:var(--pv-muted);font-size:12px;margin-top:3px}
.profile-account-menu [role=menuitem]{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--pv-ink-2);font:inherit;text-align:left;cursor:pointer}.profile-account-menu [role=menuitem]>svg{flex:none;color:var(--pv-muted)}
.profile-account-menu [role=menuitem]:is(:hover,:focus-visible){background:var(--pv-accent-tint);color:var(--pv-accent-ink)}.profile-account-menu [role=menuitem]:focus-visible{outline:2px solid var(--pv-live);outline-offset:-2px}.profile-menu-divider{height:1px;background:var(--pv-line-2);margin:5px 8px}
.profile-settings-dialog{box-sizing:border-box;width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--pv-line);border-radius:14px;background:var(--pv-surface);color:var(--pv-ink);font:400 14px/1.5 var(--sans);box-shadow:0 24px 80px #17191c38}.profile-settings-dialog::backdrop{background:#12182066}
.profile-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.profile-settings-dialog h2{margin:0;font:600 22px/1.35 var(--sans);letter-spacing:-.4px}.profile-settings-header p{margin:4px 0 0;color:var(--pv-muted);font-size:13px}.profile-settings-header>button{display:grid;place-items:center;width:30px;height:30px;flex:none;padding:0;border:0;border-radius:6px;color:var(--pv-muted);background:transparent;cursor:pointer}.profile-settings-header>button:hover{background:var(--pv-surface-2);color:var(--pv-ink)}
.profile-settings-tabs{display:flex;gap:20px;border-bottom:1px solid var(--pv-line);margin-bottom:22px}.profile-settings-tabs button{padding:0 0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--pv-muted);font:500 13px/1.5 var(--sans);cursor:pointer}.profile-settings-tabs button[aria-selected=true]{color:var(--pv-accent-ink);border-bottom-color:var(--pv-accent)}
.profile-settings-field{display:flex;flex-direction:column;gap:6px;margin-bottom:17px;font-size:13px}.profile-settings-field>span,.profile-settings-label{font-weight:500;color:var(--pv-ink-2)}.profile-settings-field>span small{margin-left:5px;color:var(--pv-muted);font-size:12px;font-weight:400}.profile-settings-field :is(input,textarea,select){width:100%;box-sizing:border-box;margin:0;border:1px solid var(--pv-line);border-radius:7px;padding:9px 11px;min-height:39px;background:var(--pv-surface-2);color:var(--pv-ink);font:400 14px/1.5 var(--sans)}.profile-settings-field textarea{resize:vertical;min-height:68px;max-height:150px}.profile-settings-field input[readonly]{border-color:transparent;padding:2px 0;min-height:26px;background:transparent;color:var(--pv-muted)}
.profile-settings-logo{display:flex;gap:14px;align-items:center;margin:22px 0 0}.profile-settings-logo-preview{display:grid;place-items:center;width:60px;height:60px;flex:none;border:1px solid var(--pv-line);border-radius:10px;background:var(--pv-surface-2);color:var(--pv-accent);font:600 24px var(--sans);overflow:hidden}.profile-settings-logo-preview img{width:100%;height:100%;object-fit:contain}.profile-settings-logo small{font-size:11px;color:var(--pv-muted)}.profile-settings-label{display:block;font-size:13px;margin-bottom:6px}.profile-settings-logo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:3px}
.profile-settings-button{min-height:34px;padding:6px 12px;border:1px solid var(--pv-line);border-radius:7px;background:var(--pv-surface);color:var(--pv-ink);font:500 12px/1.5 var(--sans);cursor:pointer;white-space:nowrap}.profile-settings-button:hover{background:var(--pv-surface-2)}.profile-settings-button.primary{background:var(--pv-accent);border-color:var(--pv-accent);color:var(--pv-on-accent);padding-inline:19px}.profile-settings-link{border:0;padding:6px 0;background:transparent;color:var(--pv-accent-ink);font:400 12px/1.5 var(--sans);cursor:pointer}
.profile-settings-accents{padding:0;margin:0 0 25px;border:0}.profile-settings-accents legend{margin:0 0 11px;font-size:13px;font-weight:500;color:var(--pv-ink-2)}.profile-settings-accents>div{display:flex;gap:12px}.profile-settings-swatch{display:grid;place-items:center;width:34px;height:34px;padding:0;border:3px solid var(--pv-surface);border-radius:50%;box-shadow:0 0 0 1px var(--pv-line);background:var(--swatch);color:#fff;font:500 17px var(--sans);cursor:pointer}.profile-settings-swatch span{visibility:hidden}.profile-settings-swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--pv-accent)}.profile-settings-swatch[aria-pressed=true] span{visibility:visible}.profile-settings-note{margin:-7px 0 0;color:var(--pv-muted);font-size:12px}
.profile-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--pv-line);margin-top:24px;padding-top:17px}.profile-settings-footer p{margin:0;max-width:310px;font-size:12px;color:var(--pv-muted);line-height:1.55}.profile-settings-footer .is-error{color:var(--pv-red,#ad4438)}
.profile-settings-dialog :focus-visible{outline:2px solid var(--pv-live);outline-offset:3px}.profile-settings-dialog :is(input,textarea,select):focus-visible{outline-offset:1px}
@media(max-width:480px){.profile-settings-dialog{padding:20px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.profile-settings-footer{align-items:flex-end;gap:12px}.profile-settings-logo{gap:10px}.profile-settings-logo-preview{width:48px;height:48px}.profile-account-menu [role=menuitem]{min-height:44px}}
@media(max-width:1000px){body.preview-ui .preview-avatar{display:grid}}
@media(max-width:800px){body.preview-ui .preview-avatar{grid-column:3;grid-row:1;width:36px;height:36px}body.preview-ui .preview-theme{display:none}}
