/* One photographic and glass treatment, taken from the approved Supplements screen. */
html[data-appearance=dark]{--scene-surface:rgba(15,35,56,.36);--scene-ink:#eef0ed;--scene-muted:#c4d1db;--scene-border:#b6cad340;--pd-surface:var(--scene-surface);--float-surface:var(--scene-surface);--float-soft:var(--scene-surface);--pd-muted:var(--scene-muted);--float-muted:var(--scene-muted)}
html[data-appearance=light]{--scene-surface:rgba(239,244,247,.45);--scene-ink:#142d43;--scene-muted:#365268;--scene-border:#ffffff80;--pd-surface:var(--scene-surface);--float-surface:var(--scene-surface);--float-soft:var(--scene-surface);--pd-muted:var(--scene-muted);--float-muted:var(--scene-muted)}
body{--obiq-photo:url('scene-home-v1.webp');--obiq-photo-size:cover}
body:has([data-obiq-screen=signals]),body:has([data-obiq-screen=connections]){--obiq-photo:url('scene-metrics-v1.webp')}
body:has([data-obiq-screen=space]),body:has([data-obiq-screen=perfil]),body:has([data-obiq-screen=protocolo]){--obiq-photo:url('scene-plan-v1.webp')}
body:has([data-obiq-screen=sessions]),body:has([data-obiq-screen=locations]),body:has([data-obiq-screen=echelon]){--obiq-photo:url('scene-recovery-v1.webp')}
body:has([data-obiq-screen=supplements]){--obiq-photo:url('supplements-clean-v1.webp');--obiq-photo-size:auto 78%}
html[data-appearance] body:has(.dashboard-stage)::before{background-image:var(--obiq-photo);background-position:center 52%;background-size:var(--obiq-photo-size);background-repeat:no-repeat;background-color:#081a2e;filter:blur(5px);transform:scale(1.015);opacity:1}
html[data-appearance=dark] body:has(.dashboard-stage)::after{background:linear-gradient(180deg,#07172726,#081b302e 55%,#07172873)}
html[data-appearance=light] body:has(.dashboard-stage)::after{background:linear-gradient(165deg,#e2eaef66,#dbe5eb47 55%,#e1e9ee8c)}
html[data-appearance] body .dashboard-stage,html[data-appearance] body .dashboard-shell{background:transparent!important}
body :is(.pd-glass,.pd-simple-presence,.pd-space-item,.pd-mini,.presentation-identity,.identity-record,.clinical-details,.personal-context,.privacy-center,.priority-action,.clarity-empty,.care-insight,.care-appointment,.care-habits,.care-optional,.trip-panel,.supplement-controls,.visit-record,.micro-pause,.signal-card,.home-primary,.membership-surface,.network-select,.signal-tile.metric-clock-tile,.signal-priority){background:var(--scene-surface)!important;border:1px solid var(--scene-border)!important;box-shadow:0 12px 30px #03112124!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;color:var(--scene-ink)!important}
body .pd-simple-presence{border-radius:25px;padding:22px 20px;margin:12px 0 20px;min-height:330px;flex:0 0 auto}
body .pd-space-list{gap:12px}.pd-space-number{align-self:center}
body .pd-space-item{border-radius:23px!important;padding:18px 20px!important}
body .pd-mini{border-radius:19px!important;padding:14px 11px!important}
body .pd-simple-link{background:var(--scene-surface)!important;border:1px solid var(--scene-border)!important;border-radius:999px!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:15px 20px!important;box-shadow:0 10px 24px #0311211c!important}
body .pd-simple-links{gap:10px;border:0;margin-bottom:18px}
body .pd-tabs{background:var(--scene-surface);backdrop-filter:blur(5px)}
body .dashboard-chat-history>div{background:var(--scene-surface)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);border:1px solid var(--scene-border)!important;color:var(--scene-ink)!important}
body [data-screen-label="Chat con OBIQ"]>div:first-child,body [data-screen-label="Chat con OBIQ"]>div:last-child{background:var(--scene-surface)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
/* A single baseline and a compact frame for all three destinations. */
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav{display:flex!important;align-items:stretch!important;justify-content:center!important;min-height:0!important;height:55px!important;padding:5px 8px!important;max-width:320px!important;width:calc(100% - 44px)!important;margin:10px 22px max(12px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;border-radius:999px!important;background:var(--scene-surface)!important;border:1px solid var(--scene-border)!important;box-shadow:0 10px 26px #03112124!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav>button{display:grid!important;grid-template-rows:20px 13px!important;justify-items:center!important;align-content:center!important;align-items:center!important;gap:3px!important;min-height:0!important;height:43px!important;padding:3px 1px!important;position:relative!important;flex:1 1 0!important}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav>button:before{display:none!important}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav>button>span:not(.obiq-chat-mark){font-size:9px!important;line-height:13px!important;font-weight:400!important;letter-spacing:0!important;white-space:nowrap!important;margin:0!important;align-self:center!important}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav>button>svg,html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav .obiq-chat-mark{display:grid!important;place-items:center!important;width:18px!important;height:20px!important;margin:0!important;padding:0!important;line-height:0!important}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav svg{display:block!important;width:18px!important;height:18px!important;margin:0!important;transform:none!important}
body .member-bottom-nav .obiq-chat-mark:before,body .member-bottom-nav .obiq-chat-mark:after{display:none!important}
@media(max-height:740px){body .pd-simple-presence{min-height:260px;padding-block:15px}.pd-home-orb{margin-bottom:12px}}
/* Match the darker blue photographic balance of Supplements, including brighter rooms. */
body{--obiq-wash:linear-gradient(#0b274b99,#0b274b99)}
body:has([data-obiq-screen=supplements]){--obiq-wash:linear-gradient(transparent,transparent)}
html[data-appearance] body:has(.dashboard-stage)::before{background-image:var(--obiq-wash),var(--obiq-photo)}
html[data-appearance=dark] body .supplement-controls .supplement-control span{color:#c4d1db!important;opacity:1!important}
html[data-appearance=light] body .supplement-controls .supplement-control span{color:#365268!important;opacity:1!important}
body .pd-screen{scrollbar-width:none}body .pd-screen::-webkit-scrollbar{display:none}
html[data-appearance] body .dashboard-stage>.member-bottom-nav.personal-four-nav>button>svg{height:18px!important;width:18px!important}
body{--obiq-wash:linear-gradient(#081a2e99,#081a2e99)}
body:has([data-obiq-screen=supplements]){--obiq-wash:linear-gradient(transparent,transparent)}
body .member-home :is(p,small),body .member-home .care-label,body .member-home .authority-note{color:var(--scene-muted)!important;opacity:1!important}
body .member-home :is(.pd-eyebrow,.home-eyebrow){color:var(--pd-line)!important}
body .presentation-profile label{color:var(--scene-ink)!important}
/* Remove the obsolete space reserved for the previous fixed menu. */
body .dashboard-stage{padding-bottom:0!important}
/* HUB / NODES had legacy solid containers outside the shared card classes. */
html[data-appearance] body .protocol-map,html[data-appearance] body .protocol-map .locations-screen,html[data-appearance] body .locations-screen{background:transparent!important}
html[data-appearance] body .locations-screen{--map-surface:var(--scene-surface);--map-ink:var(--scene-ink);--map-muted:var(--scene-muted);--map-border:var(--scene-border)}
html[data-appearance] body .location-cards article,html[data-appearance] body .locations-screen .location-toolbar button,html[data-appearance] body .locations-screen .location-cta,html[data-appearance] body .locations-screen .location-actions button,html[data-appearance] body .network-select select{background:var(--scene-surface)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;border:1px solid var(--scene-border)!important;color:var(--scene-ink)!important;box-shadow:0 12px 30px #03112124!important}
html[data-appearance] body .location-cards article{border-radius:24px!important}
html[data-appearance] body .location-cards article.selected{border-color:var(--pd-line)!important}
html[data-appearance] body .locations-screen :is(p,small){color:var(--scene-muted)!important;opacity:1!important}
html[data-appearance] body .locations-screen .location-kind,html[data-appearance] body .locations-screen .location-actions a{color:var(--pd-line)!important}
html[data-appearance] body .locations-screen .location-filters button[aria-pressed=true]{color:var(--pd-line)!important;border-color:var(--pd-line)!important}
