/* One navigation component for public pages, account and administration. */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select,[contenteditable]:not([contenteditable="false"]),[contenteditable]:not([contenteditable="false"]) *,[data-native-interaction],[data-native-interaction] *,[data-allow-selection],[data-allow-selection] *,.code-secret,.recovery-codes,.recovery-codes *,.email-highlight,.pv-menu-identity,.pv-menu-identity *,.pv-profile-identity,.pv-profile-identity *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
@media(max-width:800px){input,textarea,select{font-size:16px!important}}
#profile-dialog{width:540px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #172b4640;overflow:hidden}
#profile-dialog[open]{display:flex;flex-direction:column}
#profile-dialog::backdrop{background:#15263866;backdrop-filter:blur(3px)}
.pv-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;flex:none;border-bottom:1px solid var(--line)}
.pv-profile-heading h2{margin:0;font-size:21px;letter-spacing:-.4px}
.pv-profile-heading button{display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:10px;background:#fff1f3;color:#d52a45;font-size:25px;cursor:pointer}
.pv-profile-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 8px}
.pv-profile-identity{display:flex;align-items:center;gap:16px;padding:24px 0}
.pv-profile-identity .pv-avatar{width:56px;height:56px;font-size:25px}.pv-profile-identity>div{min-width:0}
.pv-profile-identity strong{font-size:17px}.pv-profile-identity p{font-size:13px;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}
.pv-profile-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-top:1px solid var(--line)}
.pv-profile-row h3{margin:0;font-size:14px}.pv-profile-row p{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.pv-profile-row button{flex:none;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:white;color:var(--ink);font:600 12px OpenSans,sans-serif;cursor:pointer}
.pv-profile-row button:hover{background:var(--green-pale)}.pv-profile-row button:disabled{opacity:.55;cursor:default}.pv-profile-row .pv-profile-logout{color:#c62f43}
.pv-profile-error{font-size:13px;color:var(--danger);line-height:1.6}
.pv-profile-delete button,.pv-profile-delete h3{color:#ad2337}
.pv-profile-delete-body{padding-top:20px;padding-bottom:24px;font-size:13px;line-height:1.65}
.pv-profile-delete-body>p{margin:0 0 16px}.pv-profile-retention{color:var(--muted)}.pv-delete-email{overflow-wrap:anywhere}
.pv-profile-delete-body form{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.pv-profile-delete-body label{font-size:13px;font-weight:600}
.pv-profile-delete-body input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font:14px OpenSans,sans-serif}
.pv-profile-delete-consent{display:flex;align-items:flex-start;gap:10px;margin:0;min-height:44px;padding:12px 0;line-height:20px;font-weight:400!important;cursor:pointer}
.pv-profile-delete-consent input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;margin:0;padding:0;accent-color:var(--green)}
.pv-profile-delete-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:8px}
.pv-profile-delete-actions button{min-height:44px;border:1px solid var(--line);border-radius:9px;padding:10px 14px;background:white;color:var(--ink);font:600 13px OpenSans,sans-serif;cursor:pointer}
.pv-profile-delete-actions .pv-delete-confirm{background:#ad2337;border-color:#ad2337;color:white}
.pv-profile-delete-actions .pv-delete-confirm:hover{background:#921d2e}.pv-profile-delete-actions button:disabled{opacity:.6;cursor:wait}
#profile-dialog :is(button,input):focus-visible{outline:3px solid #2685ff;outline-offset:2px}.pv-profile-status{font-size:13px;color:var(--muted)}
body:has(#profile-dialog[open]){overflow:hidden}
@media(max-width:420px){.pv-profile-heading{padding:16px 20px}.pv-profile-body{padding:0 20px 4px}.pv-profile-row{align-items:flex-start;flex-direction:column;gap:12px;padding:16px 0}.pv-profile-row button{width:100%;min-height:44px}.pv-profile-identity{gap:12px}.pv-profile-identity .pv-avatar{width:44px;height:44px;font-size:21px}}
.public-site .bottom-nav{display:none}body.public-site{padding-bottom:0}
body .pv-header{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:none;margin:0;min-height:72px;height:72px;padding:12px 28px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50;flex:none;box-sizing:border-box}
body .pv-header{z-index:70}
.pv-header .pv-brand-group,.pv-header-actions{display:flex;align-items:center;gap:12px;flex:none}
.pv-header .brand{display:flex;align-items:center;gap:10px;font-size:21px;letter-spacing:-.6px;white-space:nowrap;color:var(--ink)}
.pv-header .brand img{width:36px;height:36px}.pv-header .portal-label{display:none}
.pv-header .pv-navigation{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0}
.pv-header .pv-navigation a{display:flex;align-items:center;min-height:44px;margin:0;padding:10px 15px;border:0;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}
.pv-header .pv-navigation a:hover,.pv-header .pv-navigation a[aria-current=page]{background:var(--green-pale);color:var(--green)}
.pv-header #identity{display:block;min-width:44px}
.pv-header .pv-user-menu,.pv-header .pv-site-menu{position:relative;margin:0}
.pv-header .profile-link,.pv-header .pv-site-menu>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;max-width:none;padding:3px;cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);box-sizing:border-box}
.pv-header summary::-webkit-details-marker{display:none}
.pv-header .profile-link:hover,.pv-header details[open]>.profile-link{border-color:#98cbbd;box-shadow:0 0 0 3px var(--green-pale)}
.pv-avatar{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;width:36px;height:36px;background:#008d7b;color:white;font-size:18px;font-weight:600;flex:none}
.pv-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pv-header .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pv-header .pv-user-dropdown,.pv-header .pv-site-menu nav{position:absolute;right:0;top:calc(100% + 12px);display:flex;flex-direction:column;gap:4px;width:290px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 92px);overflow:auto;overscroll-behavior:contain;margin:0;padding:10px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 48px #20384f26;z-index:60}
.pv-header details:not([open])>nav{display:none}
.pv-header .pv-user-dropdown a,.pv-header .pv-user-dropdown button,.pv-header .pv-site-menu nav a{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 12px;border:0;border-radius:9px;background:transparent;box-sizing:border-box;font:600 13px/1.5 OpenSans,sans-serif;color:var(--ink);text-decoration:none;cursor:pointer;text-align:left}
.pv-header .pv-user-dropdown a:hover,.pv-header .pv-user-dropdown button:hover,.pv-header .pv-user-dropdown [aria-current=page],.pv-header .pv-site-menu nav a:hover{background:var(--green-pale);color:var(--green)}
.pv-menu-identity{padding:12px;margin-bottom:5px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.pv-menu-identity strong,.pv-menu-identity small{display:block}.pv-menu-identity strong{font-size:14px;color:var(--ink)}.pv-menu-identity small{font-size:12px;color:var(--muted);margin:5px 0 4px;line-height:1.6}
.pv-menu-divider{border-top:1px solid var(--line);margin:5px 0}.pv-menu-error{font-size:12px;color:var(--danger);margin:8px;overflow-wrap:anywhere}
.pv-header .pv-site-menu{display:none}.pv-header [hidden]{display:none!important}
.pv-header :is(a,summary,button):focus-visible{outline:3px solid #4b9fda;outline-offset:3px}
body.portal-site:not(.signed-out){height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:0}
.portal-site:not(.admin-shell):not(.signed-out) .layout{flex:1;min-height:0;width:100%;max-width:none;margin:0;border:0;display:grid;grid-template-columns:240px minmax(0,1fr);overflow:hidden}
.portal-site:not(.admin-shell):not(.signed-out) #main{min-width:0;min-height:0;width:100%;max-width:none;margin:0;padding:24px 28px;overflow:auto;overscroll-behavior:contain}
.portal-site:not(.admin-shell) #sidebar{min-height:0;overflow:auto}
.portal-site:not(.signed-out) .portal-footer{display:none}
.portal-site.profile-page:not(.signed-out) .layout{display:flex}
.portal-site.profile-page #sidebar,.portal-site:is(.profile-page,.admin-shell) .pv-header #menu-toggle{display:none!important}
.portal-site.profile-page .profile-card{width:100%;max-width:none;margin:0;padding:28px}
.portal-site.profile-page .profile-summary{padding-bottom:24px}.portal-site.profile-page .profile-summary p{overflow-wrap:anywhere}
.portal-site.profile-page .profile-setting{padding:22px 0}.portal-site.profile-page .profile-setting:last-child{padding-bottom:0}
.portal-site.profile-page .page-heading{margin:0 0 20px}
@media(max-width:800px){
 body .pv-header{height:64px;min-height:64px;padding:10px 16px;gap:12px}.pv-header .brand{font-size:19px}.pv-header .brand img{width:32px;height:32px}
 .pv-header .pv-navigation{display:none}.pv-header .pv-site-menu{display:block}.pv-header-actions{gap:10px}
 .pv-header .pv-site-menu>summary{border-radius:10px}.pv-header .pv-site-menu nav{right:-54px}
 .portal-site:not(.admin-shell):not(.signed-out) #main{height:100%;padding:18px 16px}
 .portal-site.profile-page .profile-card{padding:22px}.portal-site.profile-page .profile-setting{gap:14px;padding:20px 0}
 .pv-header #menu-toggle:not([hidden]){display:flex!important;width:40px;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:9px;background:white}
}
@media(min-width:761px){.pv-header #menu-toggle{display:none!important}}
@media(max-width:760px){
 .portal-site:not(.admin-shell):not(.signed-out) .layout{display:block}
 .portal-site #sidebar{top:64px}.portal-site.menu-open #business-overlay{top:64px;height:calc(100dvh - 64px)}
}
@media(max-height:600px){body .pv-header{height:54px;min-height:54px;padding-block:5px}.pv-header .pv-user-dropdown,.pv-header .pv-site-menu nav{max-height:calc(100dvh - 74px)}}
@media(max-height:600px) and (max-width:760px){.portal-site #sidebar{top:54px}.portal-site.menu-open #business-overlay{top:54px;height:calc(100dvh - 54px)}}
