/* OBIQ.U: photographic depth, matte translucent surfaces, stable controls. */
:root{--float-surface:rgba(15,37,59,.86);--float-soft:rgba(19,44,68,.73);--float-border:rgba(191,209,222,.19);--float-shadow:0 14px 36px #030d192b,0 3px 8px #030d1914;--float-ink:#eef2f4;--float-muted:#bacbd6;--float-accent:#ed7b32}
html[data-appearance=light]{--float-surface:rgba(242,245,245,.89);--float-soft:rgba(232,238,240,.84);--float-border:rgba(255,255,255,.79);--float-shadow:0 14px 36px #19344c16,0 3px 8px #19344c0c;--float-ink:#142d43;--float-muted:#425c70;--float-accent:#ed7b32}
body{isolation:isolate;background:#0b1b30!important;color:var(--float-ink)}
body::before{content:'';position:fixed;inset:-26px;z-index:-2;pointer-events:none;background:url('app-atmosphere.webp') center/cover no-repeat;filter:blur(18px);transform:scale(1.04)}
body::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(155deg,#071a31e0,#102f4ba6 48%,#081a2dd9)}
html[data-appearance=light] body::after{background:linear-gradient(155deg,#e8edf0e8,#dae5eac9 48%,#e8edeedb)}
body .dashboard-shell,body .dashboard-stage,body [data-screen-label="Landing"],body [data-screen-label="Login"],body [data-screen-label="Chat con OBIQ"],body .member-home,body .app-echelon{background:transparent!important}
body .member-home{padding:28px 24px 40px;animation:surface-arrive .45s cubic-bezier(.22,1,.36,1)}
body :is(.priority-action,.clarity-empty,.privacy-center,.personal-context,.care-insight,.care-appointment,.care-habits,.care-optional,.clinical-details,.trip-panel,.supplement-controls,.visit-record,.micro-pause,.signal-card,.home-primary,.membership-surface,.network-select){background:var(--float-surface)!important;border:1px solid var(--float-border)!important;border-radius:24px!important;box-shadow:var(--float-shadow);padding:22px!important;margin-block:0 20px;color:var(--float-ink)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body .clarity-screen>details:not(.privacy-center),body .care-list{background:var(--float-soft);border:1px solid var(--float-border);border-radius:24px;padding:20px;margin-bottom:20px;box-shadow:var(--float-shadow)}
body .care-list>button{background:transparent!important;border-radius:14px}
body :is(.priority-action,.clarity-empty,.privacy-center,.personal-context,.care-insight,.care-appointment,.care-habits,.care-optional,.trip-panel,.supplement-controls) :is(h1,h2,h3,strong,summary,label){color:var(--float-ink)!important}
body :is(.priority-action,.clarity-empty,.privacy-center,.personal-context,.care-insight,.care-appointment,.care-habits,.care-optional,.trip-panel,.supplement-controls) :is(p,small){color:var(--float-muted)!important;opacity:1}
body .authority-badge{color:var(--float-muted);border-color:var(--float-border);background:var(--float-soft)}
body .clarity-links{gap:12px;margin-top:20px}body .clarity-links>button,body .care-goals>button{border:1px solid var(--float-border)!important;border-radius:999px!important;background:var(--float-surface)!important;color:var(--float-ink)!important;padding:12px 18px!important;min-height:44px;box-shadow:0 6px 16px #07172718}
body .experience-primary{border-radius:999px!important;min-height:46px;background:var(--float-ink)!important;color:#10243a!important;padding:13px 22px!important;box-shadow:0 6px 18px #0002}
html[data-appearance=light] body .experience-primary{color:#f4f6f6!important}
body .demo-status,body .mobile-locale{background:var(--float-soft)!important;color:var(--float-muted)!important;border-color:var(--float-border)!important}
body .member-bottom-nav{margin:10px 12px max(12px,env(safe-area-inset-bottom));border:1px solid var(--float-border)!important;border-radius:26px!important;background:var(--float-surface)!important;box-shadow:0 -2px 14px #0000000a,0 14px 35px #030d1938;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);padding:10px 5px!important;flex-shrink:0}
body .member-bottom-nav button{background:transparent!important;border-radius:18px!important;color:var(--float-muted)!important;min-width:0;min-height:48px}
body .member-bottom-nav button.active,body .member-bottom-nav button[aria-current=page]{color:var(--float-accent)!important}
body .member-bottom-nav svg{width:21px!important;height:21px!important;stroke-width:1.5}
body .member-bottom-nav button:focus-visible{outline:2px solid var(--float-accent);outline-offset:1px}
body .dashboard-chat-history>div{border-radius:22px!important;box-shadow:0 8px 22px #06132518}
body .dashboard-chat-history{background:transparent!important}
body [data-screen-label="Chat con OBIQ"]>div:first-child,body [data-screen-label="Chat con OBIQ"]>div:last-child{background:var(--float-surface)!important;border-color:var(--float-border)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body [data-screen-label="Chat con OBIQ"]>div:first-child{border-radius:0 0 24px 24px;box-shadow:0 8px 22px #06132512}
body .personal-context :is(textarea,input){background:var(--float-soft)!important;color:var(--float-ink)!important;border:1px solid var(--float-border)!important;border-radius:14px}
body :is(.protocol-map,.network-map){border-radius:24px;overflow:hidden;box-shadow:var(--float-shadow)}
body .appearance-selector{background:transparent!important}
@keyframes surface-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:900px){body .dashboard-shell{padding:14px;gap:14px}body .dashboard-nav{height:calc(100dvh - 28px);border-radius:28px;background:var(--float-surface)!important;border:1px solid var(--float-border)!important;box-shadow:var(--float-shadow);backdrop-filter:blur(14px)}body .dashboard-stage{height:calc(100dvh - 28px);border-radius:28px;overflow:hidden;border:1px solid var(--float-border)!important;background:rgba(10,28,46,.18)!important}html[data-appearance=light] body .dashboard-stage{background:rgba(241,245,245,.22)!important}body .member-home{max-width:1080px;width:100%;margin-inline:auto;padding:36px 42px 48px}body :is(.priority-action,.care-insight,.trip-panel){transition:transform .25s ease,box-shadow .25s ease}body :is(.priority-action,.care-insight,.trip-panel):hover{transform:translateY(-2px);box-shadow:0 18px 42px #030d1938}}
@media(max-width:899px){body .dashboard-shell{max-width:none!important}body .member-home{padding:24px 18px 30px}body .member-bottom-nav button{font-size:10px!important;line-height:1.25!important}body .member-bottom-nav{gap:0!important}body .member-bottom-nav svg{margin-bottom:5px}}
@media(prefers-reduced-motion:reduce){body .member-home{animation:none}body :is(.priority-action,.care-insight,.trip-panel){transition:none}body :is(.priority-action,.care-insight,.trip-panel):hover{transform:none}}
/* The legacy runtime wraps the app in an inline radial gradient. */
body .sc-host>div:has(>.dashboard-shell){background:transparent!important}
html[data-tier=sovereign] body .sove-landing,html[data-tier=sovereign] body .demo-entry{background:transparent!important;background-image:none!important}
body .member-bottom-nav{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important;align-self:center;margin-inline:12px!important}
body .member-bottom-nav>button{flex:1 1 0!important;min-width:0!important;max-width:none!important;padding-inline:2px!important}
body .member-bottom-nav>button span{white-space:normal!important;overflow-wrap:normal;line-height:1.25}
@media(max-width:899px){body .member-bottom-nav>button{font-size:9px!important}}
/* Open presentation: one welcoming coach capsule and clearly separated modules. */
body .presentation-home{max-width:1080px}body .presentation-home h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 12px}body .presentation-home .home-intro{max-width:620px;color:var(--float-muted);line-height:1.65}
.presentation-coach,.presentation-card,.presentation-identity{background:var(--float-surface)!important;color:var(--float-ink)!important;border:1px solid var(--float-border);box-shadow:var(--float-shadow);border-radius:26px;padding:26px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.presentation-coach{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:center;margin:28px 0 22px}.presentation-orb{position:relative;width:130px;height:130px;display:grid;place-items:center}.presentation-orb>div{position:relative!important;inset:auto!important;width:100%;height:100%}.presentation-coach h2{font-size:28px;margin:8px 0 12px}.presentation-coach p,.presentation-card p{color:var(--float-muted);line-height:1.7;font-size:15px;margin:10px 0 20px}
.presentation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.presentation-card{min-width:0;display:flex;flex-direction:column;align-items:start}.presentation-card h2{font-size:22px;line-height:1.25;margin:0}.presentation-card p{flex:1}.presentation-link{color:var(--float-accent)!important;font:inherit;min-height:44px;padding:8px 0;border-bottom:1px solid currentColor!important}
.presentation-profile{flex:1;overflow-y:auto;min-height:0}.presentation-profile>.member-home{overflow:visible;flex:none;padding-block:20px}.presentation-name{display:grid;gap:12px;font-size:14px}.presentation-name input{width:100%;min-height:48px;border-radius:14px;border:1px solid var(--float-border);background:var(--float-soft);color:var(--float-ink)!important;padding:12px;font:inherit;font-size:18px}.presentation-identity small{display:block;color:var(--float-muted);line-height:1.6;margin-top:12px}.presentation-privacy{font-size:13px}.presentation-privacy .member-home{padding:16px 0}.presentation-profile .unified-heading{margin-bottom:22px}
body .identity-record{background:var(--float-surface);border:1px solid var(--float-border);border-radius:20px;padding:18px}body .identity-record :is(input,select){max-width:100%;color:var(--float-ink)!important;background:var(--float-soft)!important;border:1px solid var(--float-border)}body .identity-record>div{min-width:0}
@media(max-width:760px){.presentation-coach{grid-template-columns:1fr;padding:22px;gap:6px}.presentation-orb{width:100px;height:100px;margin:auto}.presentation-grid{grid-template-columns:1fr;gap:16px}.presentation-card{padding:22px}.presentation-profile>.member-home{padding-inline:18px}.presentation-coach h2{font-size:26px}}
/* Luma reference: a single visual focus, then compact supporting capsules. */
body::before{filter:blur(12px)}
body .presentation-coach{position:relative;isolation:isolate;overflow:hidden;background:#102a43!important;min-height:280px;border-radius:30px;padding:32px;box-shadow:0 18px 40px #03111f26;color:#f1f4f5!important}
.presentation-coach::before{content:'';position:absolute;inset:-10px;z-index:-2;background:url('app-atmosphere.webp') center 60%/cover no-repeat;filter:blur(5px);opacity:.6}
.presentation-coach::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#071a30ee,#102c4699 65%,#0c213962)}
body .presentation-coach :is(h2,p){color:#f1f4f5!important}body .presentation-coach p:not(.home-eyebrow){color:#d2dfe7!important;max-width:480px}body .presentation-coach .home-eyebrow{color:#ed7b32!important;font-size:11px}
body .presentation-coach .experience-primary{background:#eef2f3!important;color:#142d43!important;border:1px solid #fff7!important;font-weight:400}
body .presentation-card .presentation-link{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:8px 0!important}
@media(max-width:760px){body .presentation-coach{min-height:350px;grid-template-columns:1fr;padding:26px 24px;margin-top:20px;gap:8px}.presentation-orb{width:92px;height:92px;margin:0 0 4px}.presentation-coach h2{font-size:29px}.presentation-coach p{font-size:14px;line-height:1.65}.presentation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.presentation-card{padding:20px 16px;border-radius:24px}.presentation-card h2{font-size:18px}.presentation-card p{font-size:12px;line-height:1.65;margin:10px 0 12px}.presentation-card .presentation-link{font-size:12px;white-space:normal}.presentation-card:last-child{grid-column:1/-1}.presentation-home .home-heading{margin-bottom:20px}.presentation-home .home-intro{font-size:14px;line-height:1.6}}
/* Minimal tactile capsules: the full capsule is the control. */
body .presentation-card{position:relative;text-align:start;appearance:none;border:1px solid #ffffff22;background:var(--float-surface)!important;box-shadow:0 8px 24px #06182b12,0 2px 5px #06182b08;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.presentation-arrow{display:block;color:var(--float-accent);font-size:20px;line-height:1;margin-top:auto;align-self:flex-end}
body .presentation-card:focus-visible{outline:2px solid var(--float-accent);outline-offset:4px}
@media(hover:hover){body .presentation-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px #06182b20}}
@media(max-width:899px){body .dashboard-shell{margin:12px!important;width:calc(100% - 24px)!important;min-height:0!important;max-width:none!important;border-radius:32px;overflow:hidden;box-shadow:0 18px 45px #04132640,0 3px 10px #04132620;border:1px solid var(--float-border);isolation:isolate}body .dashboard-stage{height:calc(100dvh - 24px)!important;min-height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important;width:100%;border-radius:31px;overflow:hidden;background:rgba(15,35,54,.12)!important}html[data-appearance=light] body .dashboard-stage{background:rgba(238,243,245,.22)!important}body .member-bottom-nav{margin-bottom:12px!important;border-radius:24px!important;box-shadow:0 8px 22px #06182b20}body .presentation-card{min-height:160px;border-radius:26px;padding:20px 18px}body .presentation-coach{border:1px solid #ffffff1c;box-shadow:0 12px 28px #04132623}body .member-home{padding-inline:18px}body .app-return-row{border-radius:30px 30px 0 0}}
@media(prefers-reduced-motion:reduce){body .presentation-card{transition:none}body .presentation-card:hover{transform:none}}
html[data-appearance=light] body .presentation-coach .experience-primary,html[data-appearance=dark] body .presentation-coach .experience-primary{color:#142d43!important;background:#eef2f3!important}
@media(max-width:899px){body .dashboard-shell{height:calc(100dvh - 24px)!important;box-sizing:border-box!important}body .dashboard-stage{height:calc(100dvh - 26px)!important;min-height:0!important;max-height:calc(100dvh - 26px)!important}body .dashboard-stage,body .member-home,body .presentation-profile{scrollbar-width:none}body .dashboard-stage::-webkit-scrollbar,body .member-home::-webkit-scrollbar,body .presentation-profile::-webkit-scrollbar{display:none}}
/* Wearable-style metrics: quiet glass capsules and a clear numeric hierarchy. */
body .signal-tile.metric-clock-tile{background:var(--float-surface)!important;border:1px solid var(--float-border)!important;border-radius:26px!important;box-shadow:0 10px 26px #05192b14;padding:22px 16px!important;color:var(--float-ink)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body .metric-clock-tile .signal-label{font-weight:400;color:var(--float-ink)!important;font-size:14px}
body .metric-clock-tile .metric-clock-value strong{font-weight:400!important;letter-spacing:-.025em}
body .metric-clock-tile :is(.signal-baseline,.signal-source){color:var(--float-muted)!important;font-size:11px;opacity:1}
body .signal-priority{background:var(--float-surface)!important;border:1px solid var(--float-border)!important;border-radius:26px;padding:24px;box-shadow:var(--float-shadow)}
body .signal-priority :is(h2,h3){font-weight:400;color:var(--float-ink)!important}body .signal-priority p{color:var(--float-muted)!important}
