/* SpeedPage v1.118 — preserve click targets and isolate overlays. */
html body.v35-body.landing.sp-home-menu-open > header.topbar {z-index:10020!important;overflow:visible!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.landing #sp-home-menu-shade:not([hidden]) {z-index:10010!important;}
body.landing .home-menu[open] .home-menu-content {z-index:10030!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
body.v35-body .drawer-shade:not([hidden]) {z-index:18000!important;}
body.v35-body .settings-drawer.open {z-index:18001!important;}
body.v35-body .modal-backdrop:not([hidden]) {z-index:22000!important;}
body.v35-body .modal-backdrop.top-modal:not([hidden]) {z-index:22001!important;}
body.v35-body :is(.modal-backdrop,.drawer-shade,.success-overlay,.sp-floating-reference,#sp-home-menu-shade)[hidden] {display:none!important;visibility:hidden!important;pointer-events:none!important;}
body.smart-page :is(#btn-calibrate,#btn-reset-reference,#btn-align-grip,#up-face,#front-face,label[for="up-face"],label[for="front-face"]) {display:none!important;}
body.normal-page:not(.normal-practice-focused) .sp-floating-reference {display:none!important;pointer-events:none!important;}
/* v1.194: una sola jerarquía de capas del menú, superior al desenfoque. */
html body.v35-body .drawer-shade:not([hidden]){z-index:18000!important}html body.v35-body .settings-drawer.open,html body.v35-body .settings-drawer[aria-hidden=false]{z-index:18001!important;transform:translateX(0)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html body.v35-body.landing.sp-home-menu-open>header.topbar{z-index:18001!important}html body.v35-body.landing #sp-home-menu-shade:not([hidden]){z-index:18000!important}html body.v35-body.landing .home-menu[open] .home-menu-content{z-index:18002!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* v1.195: panel fuera del contexto de apilamiento de la barra. */
html body.landing #sp-home-settings195[hidden]{display:none!important}
html body.landing #sp-home-settings195:not([hidden]){position:fixed!important;inset:0 0 0 auto!important;display:flex!important;flex-direction:column;gap:11px;width:min(430px,100vw)!important;height:100dvh;max-height:100dvh;overflow:auto!important;padding:0 17px 35px!important;z-index:18002!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;filter:none!important;backdrop-filter:none!important;background:var(--sp-dual-surface)!important;color:var(--text);border:1px solid var(--border);border-radius:0;box-shadow:-20px 0 65px #0008;}
html body.landing #sp-home-settings195 .sp-unified-menu-heading{margin:0 -17px 4px!important;flex:none}
html body.landing #sp-home-settings195 > :not(.sp-unified-menu-heading){flex:none}
html body.landing.sp-home-menu-open > header.topbar{z-index:48!important}
html[data-palette=dual] body.landing .mode-card{background:var(--sp-dual-card)!important;--sp-mode-tint:var(--accent)!important}
html[data-palette=dual] body.landing .mode-card::before{content:none!important}
html[data-palette=dual] body.landing .mode-card::after,html[data-palette=dual] body.landing .mode-icon,html[data-palette=dual] body.landing .landing-foot a{color:var(--accent)!important}
html[data-palette=dual] body.landing .landing-copy h1 em{background:linear-gradient(105deg,var(--accent),color-mix(in srgb,var(--sp-secondary) 45%,var(--text)))!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
