/* The desktop website keeps its existing footer and account layout. */
/* Browser chrome already reserves the lower screen area. Only an installed app needs the device safe area. */
html.dvpwa-app-shell body:not(.wp-admin){--dv-mobile-nav-safe-bottom:0px;--dv-mobile-nav-height:calc(56px + var(--dv-mobile-nav-safe-bottom))}
html.dvpwa-app-shell.dvpwa-running-installed body:not(.wp-admin){--dv-mobile-nav-safe-bottom:env(safe-area-inset-bottom,0px)}
.dvpwa-account-extras{display:none;box-sizing:border-box;max-width:760px;margin:0 auto;padding:0 16px;direction:rtl;color:#30343b}
.dvpwa-account-item{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:62px;padding:15px 20px;border:0;border-radius:17px;background:#f4f4f6;color:inherit;font:inherit;font-size:16px;line-height:1.8;text-decoration:none}
.dvpwa-account-item:hover{color:#a62626;background:#fff1f0}
.dvpwa-chevron{font-size:26px;line-height:1;color:#626a75}
.dvpwa-account-social{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;margin-top:12px;font-size:13px;line-height:1.8}
.dvpwa-account-social>span{white-space:nowrap;font-size:clamp(10px,3.2vw,13px)}
.dvpwa-account-social-links{display:flex;align-items:center;gap:6px;flex-shrink:0}
.dvpwa-account-social-links a{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:4px;font:inherit;font-size:12px;text-decoration:none;border-radius:8px;white-space:nowrap}
.dvpwa-account-telegram{color:#167ba8}.dvpwa-account-instagram{color:#b92e6b}
.dvpwa-account-social svg{width:22px;height:22px;flex-shrink:0}
.dvpwa-account-extras summary{display:flex;align-items:center;min-height:44px;padding:8px 0;font:inherit;font-size:13px;line-height:1.8;cursor:pointer;list-style:none}
.dvpwa-account-extras summary::-webkit-details-marker{display:none}
.dvpwa-account-guide-content{padding:16px;border:1px solid #dedee3;border-radius:12px;font-size:14px;line-height:2}
.dvpwa-account-guide-content h3{margin:0 0 8px;font:inherit;font-weight:700;color:inherit}.dvpwa-account-guide-content p{margin:0 0 16px;color:inherit}.dvpwa-account-guide-content p:last-child{margin:0}
.dvpwa-account-extras :is(a,summary):focus-visible,.dvpwa-support a:focus-visible{outline:2px solid #a62626;outline-offset:3px}
.dvpwa-public-account{max-width:760px;margin:0 auto;padding:16px 0 0;box-sizing:border-box;color:#30343b;direction:rtl}
.dvpwa-guest-heading{padding:0 16px}.dvpwa-guest-heading h1{font-size:22px;line-height:1.8;margin:0 0 20px}
.dvpwa-public-account .dvpwa-account-extras{display:block;margin-top:16px}
.dvpwa-support{max-width:760px;margin:0 auto;padding:20px 16px;box-sizing:border-box;color:#30343b}
.dvpwa-support-heading{margin-bottom:16px}.dvpwa-support-heading h1{font-size:22px;line-height:1.8;margin:12px 0}.dvpwa-support-heading>a{display:inline-flex;min-height:44px;align-items:center;color:inherit;font:inherit;font-size:14px}
.dvpwa-support-links{display:grid;gap:12px}
html.dvpwa-hide-install-help #dentivar-account-install-guide,html.dvpwa-running-installed :is(#dentivar-account-install-guide,#dentivar-pwa-account-guide,#dentivar-footer-install-guide,#dentivar-pwa-install-guide){display:none!important}
html.dvpwa-app-shell .dvpwa-account-extras{display:block}
html.dvpwa-app-shell body.home:not(.wp-admin) .dvi-home-archive{display:none!important}
html.dvpwa-app-shell body.home:not(.wp-admin) .dv.dv-listings,
html.dvpwa-app-shell body.dvih-categories:not(.wp-admin) :is(.dvp-directory-wrap,.dvp-site-content){padding-bottom:0!important;margin-bottom:0!important}
html.dvpwa-app-shell .dvpwa-support{padding-bottom:0}
html.dvpwa-app-shell body:not(.wp-admin) .dv-footer:not(.dv-footer-bottom){display:none!important}
html.dvpwa-app-shell body:not(.wp-admin) .dv-footer.dv-footer-bottom{margin:0!important;padding:0!important;min-height:0!important;height:0!important;border:0!important;overflow:visible!important}
html.dvpwa-app-shell body:not(.wp-admin) .dv-footer-bottom :is(.elementor-container,.elementor-column,.elementor-widget-wrap,.elementor-widget-html,.elementor-widget-container){margin:0!important;padding:0!important;min-height:0!important;height:0!important;overflow:visible!important}
html.dvpwa-app-shell body:not(.wp-admin) .dv-footer-bottom .dv-bottom{display:none!important}
html.dvpwa-app-shell body.dvpwa-nav-detached:not(.wp-admin) .dv-footer.dv-footer-bottom{display:none!important}
html.dvpwa-app-shell body:not(.wp-admin){padding-bottom:calc(var(--dvpwa-bottom-occlusion,var(--dv-mobile-nav-height,90px)) + 12px)!important}
html.dvpwa-app-shell{scroll-padding-bottom:calc(var(--dvpwa-bottom-occlusion,90px) + 12px)}
html.dvpwa-app-shell body:not(.wp-admin) :is(.listivo-main-content,.listivo-panel,.listivo-panel-form,.dv-live-list,.dv-cat-index){scroll-margin-bottom:calc(var(--dvpwa-bottom-occlusion,90px) + 12px)}
html.dvpwa-app-shell body.dvpwa-account-home .dva-account-nav.dva-static-cards{margin-bottom:8px!important}
html.dvpwa-app-shell body.dvpwa-support-page #dentivar-inner-header .dvih-title{font-size:18px}
html.dvpwa-app-shell body.dvih-page .dvpwa-guest-heading h1,
html.dvpwa-app-shell body.dvih-page.dvpwa-support-page .dvpwa-support-heading{display:none}
html[data-dentivar-theme="dark"] :is(.dvpwa-account-extras,.dvpwa-public-account,.dvpwa-support){color:#e7eaf0}
html[data-dentivar-theme="dark"] .dvpwa-account-item{background:#1a202a;color:#e7eaf0}
html[data-dentivar-theme="dark"] .dvpwa-account-guide-content{border-color:#3a4452}
html[data-dentivar-theme="dark"] .dvpwa-account-telegram{color:#6cc7ef}html[data-dentivar-theme="dark"] .dvpwa-account-instagram{color:#ff93bc}
@media(max-width:359px){.dvpwa-account-social{font-size:12px}.dvpwa-account-social-links{gap:2px}.dvpwa-account-social-links a{font-size:11px;gap:3px;padding:3px}.dvpwa-account-social svg{width:20px;height:20px}}

/* Emphasized, single inline installation entry and last native logout action. */
#dentivar-account-install-guide{margin:0 0 14px;border:1px solid #e7b8b8;border-radius:17px;background:#fff5f4;overflow:hidden}
.dvpwa-account-extras #dentivar-account-install-guide summary{gap:12px;padding:18px 16px;min-height:88px;color:#a62626}
.dvpwa-install-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:#a62626;color:#fff}
.dvpwa-install-icon svg{width:25px;height:25px}
.dvpwa-install-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.dvpwa-install-copy strong{font-size:16px;font-weight:700;line-height:1.8}
.dvpwa-install-copy>span{font-size:12px;line-height:1.8;color:#785454}
.dvpwa-install-arrow{width:20px;height:20px;transition:transform .2s;flex-shrink:0}
#dentivar-account-install-guide[open] .dvpwa-install-arrow{transform:rotate(180deg)}
#dentivar-account-install-guide .dvpwa-account-guide-content{border:0;border-top:1px solid #e7b8b8;border-radius:0;color:#30343b;background:#fff;padding:18px}
html.dvpwa-app-shell .dvpwa-account-extras a.dvpwa-account-logout{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;min-height:62px;margin:14px 0 0;padding:15px 20px;border:0;border-radius:17px;background:#f4f4f6;color:#30343b;font:inherit;font-size:16px;text-decoration:none}
.dvpwa-logout-icon{width:24px;height:24px;flex-shrink:0;color:#a62626}
.dvpwa-logout-chevron{width:20px;height:20px;flex-shrink:0;margin-inline-start:auto;color:#9b9da5}
html[data-dentivar-theme="dark"] #dentivar-account-install-guide{background:#302023;border-color:#804345}
html[data-dentivar-theme="dark"] .dvpwa-account-extras #dentivar-account-install-guide summary{color:#ffb2ae}
html[data-dentivar-theme="dark"] .dvpwa-install-copy>span{color:#d3aaa9}
html[data-dentivar-theme="dark"] #dentivar-account-install-guide .dvpwa-account-guide-content{background:#1a202a;color:#e7eaf0;border-color:#804345}
html.dvpwa-app-shell[data-dentivar-theme="dark"] .dvpwa-account-extras a.dvpwa-account-logout{background:#1a202a;color:#e7eaf0}
@media(prefers-reduced-motion:reduce){.dvpwa-install-arrow{transition:none}}

/* A compact follow card belongs with account help, above the installation entry. */
.dvpwa-account-social{box-sizing:border-box;min-height:60px;margin:10px 0 16px;padding:8px 12px;border-radius:17px;background:#f4f4f6;gap:10px;flex-wrap:wrap}
.dvpwa-account-social>span{font-size:12px;color:#747780}
.dvpwa-account-social-links{flex:1;justify-content:flex-end;gap:8px}
.dvpwa-account-social-links a{min-height:44px;padding:4px 8px;gap:6px}
html[data-dentivar-theme="dark"] .dvpwa-account-social{background:#1a202a}
html[data-dentivar-theme="dark"] .dvpwa-account-social>span{color:#b5bdc9}
@media(max-width:359px){.dvpwa-account-social{padding:8px}.dvpwa-account-social>span{width:100%;text-align:center}.dvpwa-account-social-links{justify-content:center}.dvpwa-account-social-links a{flex:1}}

/* Account content owns no extra footer gap; body already reserves the fixed navigation. */
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-flow{padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}

/* Use the native menu chevron for every left-hand navigation arrow. */
html.dvpwa-app-shell body.dvpwa-account-home{--dvpwa-menu-muted:#626a75}
html.dvpwa-app-shell[data-dentivar-theme="dark"] body.dvpwa-account-home{--dvpwa-menu-muted:#b9c2d0}
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-item,
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-logout{position:relative;padding-left:42px}
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-chevron{display:none}
html.dvpwa-app-shell body.dvpwa-account-home .dva-static-cards .dva-account-menu__links>a::after,
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-item:has(.dvpwa-chevron)::after,
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-logout::after{content:"";position:absolute;left:21px;top:50%;box-sizing:content-box;width:7px;height:7px;border-left:2px solid var(--dvpwa-menu-muted);border-bottom:2px solid var(--dvpwa-menu-muted);transform:translateY(-50%) rotate(45deg);pointer-events:none}
html.dvpwa-app-shell body.dvpwa-account-home .dvpwa-account-social{margin:14px 0 0}
