/* Phase 10B — story asset repair, homepage belt correction, and professional emotional user portal polish */
:root{--ol-p10b-green:#123529;--ol-p10b-deep:#071710;--ol-p10b-gold:#c6a24a;--ol-p10b-ivory:#fbf6ea;--ol-p10b-sand:#f4e8d0;--ol-p10b-ink:#10251b;--ol-p10b-shadow:0 30px 95px rgba(18,53,41,.22);--ol-p10b-serif:"Cormorant Garamond","Playfair Display",Georgia,serif;--ol-p10b-ui:Manrope,Inter,system-ui,sans-serif}

/* 1) Public story page: force the public view to look like a styled premium admin preview, even on clean slug routes. */
body.ol-p10-story-fixed{margin:0!important;background:linear-gradient(180deg,#fbf6ea,#fff8ea 42%,#fffaf0)!important;color:var(--ol-p10b-ink)!important;font-family:var(--ol-p10b-ui)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden!important}
body.ol-p10-story-fixed *{box-sizing:border-box}
body.ol-p10-story-fixed a{color:inherit}
body.ol-p10-story-fixed img,body.ol-p10-story-fixed video,body.ol-p10-story-fixed iframe{max-width:100%;height:auto}
body.ol-p10-story-fixed .ol-p9-story-nav{position:fixed!important;top:1rem!important;left:50%!important;transform:translateX(-50%)!important;z-index:1000!important;width:min(1180px,calc(100% - 2rem))!important;display:flex!important;align-items:center!important;gap:.75rem!important;border:1px solid rgba(198,162,74,.25)!important;border-radius:999px!important;background:rgba(13,36,26,.82)!important;color:#fff!important;backdrop-filter:blur(20px)!important;padding:.55rem .7rem!important;box-shadow:0 18px 54px rgba(0,0,0,.22)!important}
body.ol-p10-story-fixed .ol-p9-story-nav a{text-decoration:none!important;color:#fff!important;font-weight:850!important;font-size:.82rem!important;white-space:nowrap!important}
body.ol-p10-story-fixed .ol-p9-story-nav .brand{display:flex!important;align-items:center!important;gap:.55rem!important;margin-right:auto!important;color:#fff!important}
body.ol-p10-story-fixed .ol-p9-story-nav .brand img{width:42px!important;height:42px!important;object-fit:contain!important;border-radius:50%!important;background:#fff8ea!important;padding:3px!important;display:block!important}
body.ol-p10-story-fixed .ol-p9-story-nav .links{display:flex!important;align-items:center!important;gap:.9rem!important}
body.ol-p10-story-fixed .ol-p9-story-nav .brief{background:linear-gradient(135deg,#c6a24a,#f1d983)!important;color:#10251b!important;border-radius:999px!important;padding:.72rem 1rem!important;box-shadow:0 10px 30px rgba(198,162,74,.22)!important}
body.ol-p10-story-fixed .ol-p9-story-menu-btn{display:none;border:0;background:rgba(255,255,255,.12);color:#fff;width:44px;height:44px;border-radius:50%;place-items:center;cursor:pointer}
body.ol-p10-story-fixed main{position:relative;z-index:2;padding-top:4.8rem}
body.ol-p10-story-fixed .ol-p9-story-preview-command{position:relative;overflow:hidden;margin:1.6rem auto 1.5rem!important;width:min(1240px,calc(100% - 2rem))!important;border-radius:36px!important;background:radial-gradient(circle at 86% 18%,rgba(198,162,74,.30),transparent 32%),linear-gradient(135deg,#123529,#1f3a2d 58%,#071710)!important;color:#fff!important;padding:clamp(1.4rem,4vw,2.4rem)!important;box-shadow:0 34px 120px rgba(18,53,41,.24)!important}
body.ol-p10-story-fixed .ol-p9-story-preview-command h1{font-family:var(--ol-p10b-serif)!important;font-size:clamp(3rem,8vw,7.6rem)!important;line-height:.86!important;letter-spacing:-.06em!important;margin:.45rem 0!important;font-weight:700!important;max-width:1040px!important;color:#fff!important}
body.ol-p10-story-fixed .ol-p9-story-preview-command p{max-width:780px!important;color:rgba(255,255,255,.78)!important;line-height:1.82!important;margin:.65rem 0!important}
body.ol-p10-story-fixed .ol-p10-kicker{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.22em;color:#e7c768;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:.58rem .82rem}
body.ol-p10-story-fixed .ol-p9-story-toolbar{position:sticky!important;top:96px!important;z-index:60!important;width:min(1240px,calc(100% - 2rem))!important;margin:0 auto 1rem!important;border:1px solid rgba(198,162,74,.25)!important;border-radius:24px!important;background:rgba(255,250,240,.94)!important;backdrop-filter:blur(18px)!important;box-shadow:0 18px 54px rgba(18,53,41,.08)!important;padding:1rem!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;color:#123529!important}
body.ol-p10-story-fixed .ol-p10-toolbar-kicker{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.18em;color:#8a6b16!important;margin:0 0 .18rem}
body.ol-p10-story-fixed .ol-p9-story-toolbar strong{font-family:var(--ol-p10b-serif)!important;font-size:clamp(1.5rem,3vw,2.4rem)!important;color:#123529!important}
body.ol-p10-story-fixed .ol-p9-story-chip-row{display:flex!important;flex-wrap:wrap!important;gap:.5rem!important}
body.ol-p10-story-fixed .ol-p9-story-chip{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px!important;background:#fff!important;border:1px solid rgba(31,58,45,.12)!important;padding:.65rem .9rem!important;font-size:.72rem!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.12em!important;color:#123529!important;text-decoration:none!important}
body.ol-p10-story-fixed .ol-p9-story-frame{position:relative;width:min(1240px,calc(100% - 2rem))!important;margin:0 auto 2rem!important;border:1px solid rgba(198,162,74,.18)!important;border-radius:34px!important;overflow:hidden!important;background:#fffaf0!important;box-shadow:var(--ol-p10b-shadow)!important}
body.ol-p10-story-fixed .ol-p9-story-frame .ol-p5-story-shell{margin:0!important;background:#fffaf0!important}
body.ol-p10-story-fixed .ol-p9-story-footer{width:min(1240px,calc(100% - 2rem))!important;margin:0 auto 3rem!important;border-radius:32px!important;background:#123529!important;color:#fff!important;padding:clamp(1.4rem,4vw,2.2rem)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;box-shadow:0 28px 90px rgba(18,53,41,.2)!important}
body.ol-p10-story-fixed .ol-p9-story-footer p{color:rgba(255,255,255,.72);line-height:1.65;margin:.35rem 0 0}.ol-p10-story-fixed .ol-p9-story-footer a{color:#f2d883!important;text-decoration:none!important;font-weight:900!important}
body.ol-p10-story-fixed .ol-p9-story-frame::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:radial-gradient(circle at 15% 6%,rgba(198,162,74,.12),transparent 24%),radial-gradient(circle at 88% 24%,rgba(31,58,45,.08),transparent 30%)}
body.ol-p10-story-fixed .ol-p5-story-progress{top:0!important;z-index:1100!important}.ol-p10-story-fixed .ol-p9-story-effect-canvas{position:fixed!important;inset:0!important;z-index:0!important;pointer-events:none!important;opacity:.18!important;overflow:hidden!important}.ol-p10-story-fixed .ol-p9-story-effect-canvas span{position:absolute;border-radius:999px;background:radial-gradient(circle,rgba(198,162,74,.32),transparent 65%);filter:blur(1px);animation:olP10BStoryDrift 18s ease-in-out infinite alternate}.ol-p10-story-fixed .ol-p9-story-effect-canvas span:nth-child(1){width:38vw;height:38vw;left:-12vw;top:12vh}.ol-p10-story-fixed .ol-p9-story-effect-canvas span:nth-child(2){width:24vw;height:24vw;right:2vw;top:22vh;animation-delay:-6s}.ol-p10-story-fixed .ol-p9-story-effect-canvas span:nth-child(3){width:34vw;height:34vw;left:42%;bottom:-15vw;animation-delay:-10s}@keyframes olP10BStoryDrift{from{transform:translate3d(-1rem,.4rem,0) scale(.96)}to{transform:translate3d(1.2rem,-.8rem,0) scale(1.05)}}

/* 2) Homepage horizontal/spatial belt fix: keep it immersive but prevent the giant empty black scroll cavity. */
body[data-ol-phase10-index-polish="true"] #ol-route-transition-belt{margin-bottom:0!important}
body[data-ol-phase10-index-polish="true"] #spatial.ol-portal-spatial{height:auto!important;min-height:0!important;padding:clamp(3.5rem,7vw,6rem) 0!important;background:radial-gradient(circle at 18% 8%,rgba(198,162,74,.14),transparent 28%),linear-gradient(180deg,#06110d,#071710 52%,#06110d)!important;overflow:hidden!important;contain:layout paint!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-sticky{position:relative!important;top:auto!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-columns:minmax(270px,.34fr) minmax(0,1fr)!important;gap:clamp(1rem,3vw,2rem)!important;align-items:start!important;padding:clamp(1.1rem,4vw,3.6rem)!important;overflow:visible!important;background:transparent!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-bg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;opacity:.26!important;filter:brightness(.48) saturate(1.05)!important;transform:none!important;object-fit:cover!important;z-index:0!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-vignette{position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(5,17,12,.90),rgba(5,17,12,.62) 45%,rgba(5,17,12,.78)),radial-gradient(circle at 80% 20%,rgba(198,162,74,.18),transparent 28%)!important;pointer-events:none!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-terrain-canvas,body[data-ol-phase10-index-polish="true"] #spatial .ol-rubber-path,body[data-ol-phase10-index-polish="true"] #spatial .ol-pace-meter{position:absolute!important;opacity:.24!important;z-index:2!important;pointer-events:none!important;max-height:260px!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-glass{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;margin:0!important;z-index:5!important;align-self:start!important;border-radius:30px!important;background:rgba(255,248,234,.08)!important;border:1px solid rgba(255,248,234,.16)!important;box-shadow:0 26px 90px rgba(0,0,0,.25)!important;backdrop-filter:blur(20px)!important;padding:clamp(1rem,2.6vw,2rem)!important;color:#fff!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-glass h2{font-family:var(--ol-p10b-serif)!important;font-size:clamp(2.2rem,5vw,5rem)!important;line-height:.9!important;letter-spacing:-.06em!important;margin:.45rem 0!important;color:#fff8ea!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-glass p{color:rgba(255,248,234,.72)!important;line-height:1.72!important}.ol-portal-glass .ol-sound-consent{min-height:44px!important;border-radius:999px!important;border:0!important;background:linear-gradient(135deg,#c6a24a,#f1d983)!important;color:#10251b!important;font-weight:900!important;padding:.75rem 1rem!important;cursor:pointer!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-spatial-track{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;display:flex!important;align-items:stretch!important;gap:1rem!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;padding:.2rem .2rem 1rem!important;min-height:0!important;width:100%!important;perspective:none!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-spatial-track::-webkit-scrollbar{display:none!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-node,body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-node.is-active,body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-node.is-near{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:block!important;flex:0 0 min(410px,78vw)!important;width:auto!important;height:auto!important;opacity:1!important;filter:none!important;transform:none!important;scroll-snap-align:center!important;z-index:auto!important;transition:transform .28s ease,opacity .28s ease!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-node:hover{transform:translateY(-5px)!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-card{position:relative!important;height:clamp(430px,56vh,620px)!important;min-height:430px!important;border-radius:30px!important;overflow:hidden!important;box-shadow:0 34px 110px rgba(0,0,0,.40)!important;border:1px solid rgba(255,248,234,.14)!important;background:#10251b!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-card video,body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-card img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-status,body[data-ol-phase10-index-polish="true"] #spatial .ol-focus-cue,body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-meta{position:relative!important;z-index:4!important}
body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-meta{position:absolute!important;left:1rem!important;right:1rem!important;bottom:1rem!important;color:#fff!important}.ol-destination-actions a{min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* Slideshow cards should have stable backgrounds and animated layers. */
.ol-storyboard-card,.ol-phase2-card-media{position:relative!important;overflow:hidden!important;background-position:center!important;background-size:cover!important}.ol-storyboard-card .ol-p10-slide-layer,.ol-phase2-card-media .ol-p10-slide-layer{position:absolute;inset:0;z-index:0;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.04);filter:saturate(1.08) contrast(1.04);transition:opacity 1.25s cubic-bezier(.22,1,.36,1),transform 6.4s cubic-bezier(.22,1,.36,1)}.ol-storyboard-card .ol-p10-slide-layer.is-active,.ol-phase2-card-media .ol-p10-slide-layer.is-active{opacity:1;transform:scale(1.11)}.ol-storyboard-card>*:not(.ol-p10-slide-layer),.ol-phase2-card-media>*:not(.ol-p10-slide-layer){position:relative;z-index:3}

/* 3) User portal emotional/professional UI overlay. */
body.ol-p10-user-pro{--ol-user-pro-green:#123529;--ol-user-pro-gold:#c6a24a;--ol-user-pro-ivory:#fff8ea;--ol-user-pro-sand:#f4e8d0;background:linear-gradient(180deg,#f8efe0,#fff8ea)!important;min-height:100vh;color:#10251b!important}
body.ol-p10-user-pro .ol-p10-user-emotional-compass{width:min(1180px,calc(100% - 34px));margin:18px auto 0;border-radius:34px;border:1px solid rgba(255,255,255,.70);background:radial-gradient(circle at 10% 0%,rgba(198,162,74,.25),transparent 34%),linear-gradient(135deg,rgba(18,53,41,.96),rgba(31,58,45,.88));color:#fff;box-shadow:0 30px 95px rgba(18,53,41,.22);padding:clamp(1rem,3vw,1.6rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.34fr);gap:1rem;position:relative;z-index:20;overflow:hidden}.ol-p10-user-emotional-compass::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.10),transparent);transform:translateX(-100%);animation:olP10UserShimmer 8s ease-in-out infinite;pointer-events:none}@keyframes olP10UserShimmer{0%,45%{transform:translateX(-100%)}70%,100%{transform:translateX(100%)}}
.ol-p10-user-kicker{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.18em;color:#f1d983}.ol-p10-user-emotional-compass h2{font-family:var(--ol-p10b-serif);font-size:clamp(2.2rem,5vw,4.6rem);line-height:.92;letter-spacing:-.05em;margin:.4rem 0;color:#fff8ea}.ol-p10-user-emotional-compass p{margin:0;color:rgba(255,248,234,.75);line-height:1.72}.ol-p10-user-compass-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:1rem}.ol-p10-user-compass-grid span,.ol-p10-user-next{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.10);border-radius:18px;padding:.8rem;color:#fff8ea}.ol-p10-user-compass-grid b{display:block;font-family:var(--ol-p10b-serif);font-size:1.8rem;color:#f1d983}.ol-p10-user-compass-grid small{display:block;text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:.62rem;color:rgba(255,248,234,.68)}.ol-p10-user-next{display:grid;align-content:center;gap:.65rem}.ol-p10-user-next a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;background:linear-gradient(135deg,#c6a24a,#f3d98a);color:#10251b!important;text-decoration:none!important;font-size:.78rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.ol-p10-user-next strong{font-family:var(--ol-p10b-serif);font-size:1.8rem;color:#fff8ea}.ol-p10-user-pro .ol-user-functional-console{border-radius:32px!important;box-shadow:0 30px 95px rgba(39,26,10,.18)!important}.ol-p10-user-pro .ol-user-functional-title{font-family:var(--ol-p10b-serif)!important}.ol-p10-user-pro .hero h1,.ol-p10-user-pro .section-head h2{font-family:var(--ol-p10b-serif)!important;letter-spacing:-.055em!important}

@media(max-width:980px){body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-sticky{grid-template-columns:1fr!important}body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-node{flex-basis:min(380px,86vw)!important}body.ol-p10-user-pro .ol-p10-user-emotional-compass{grid-template-columns:1fr}}
@media(max-width:860px){body.ol-p10-story-fixed .ol-p9-story-nav{border-radius:28px!important;align-items:flex-start!important}body.ol-p10-story-fixed .ol-p9-story-menu-btn{display:grid!important}body.ol-p10-story-fixed .ol-p9-story-nav .links{display:none!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% + .5rem)!important;background:#123529!important;border:1px solid rgba(198,162,74,.24)!important;border-radius:24px!important;padding:1rem!important;box-shadow:0 24px 80px rgba(0,0,0,.35)!important}body.ol-p10-story-fixed .ol-p9-story-nav.is-open .links{display:grid!important}body.ol-p10-story-fixed .ol-p9-story-nav .brief{display:none!important}body.ol-p10-story-fixed .ol-p9-story-toolbar{position:relative!important;top:auto!important;align-items:flex-start!important;flex-direction:column!important}body.ol-p10-story-fixed .ol-p9-story-footer{align-items:flex-start!important;flex-direction:column!important}}
@media(max-width:720px){body[data-ol-phase10-index-polish="true"] #spatial.ol-portal-spatial{padding:3rem 0!important}body[data-ol-phase10-index-polish="true"] #spatial .ol-portal-sticky{padding:1rem!important}body[data-ol-phase10-index-polish="true"] #spatial .ol-destination-card{height:500px!important;min-height:460px!important}body.ol-p10-story-fixed main{padding-top:5rem}body.ol-p10-story-fixed .ol-p9-story-preview-command,body.ol-p10-story-fixed .ol-p9-story-frame,body.ol-p10-story-fixed .ol-p9-story-toolbar,body.ol-p10-story-fixed .ol-p9-story-footer{width:calc(100% - 1rem)!important;border-radius:26px!important}.ol-p10-user-compass-grid{grid-template-columns:1fr 1fr}.ol-p10-user-compass-grid span:last-child{grid-column:1/-1}.ol-p10-user-emotional-compass{width:calc(100% - 22px)!important;border-radius:26px!important}}
@media(prefers-reduced-motion:reduce){.ol-p10-story-fixed .ol-p9-story-effect-canvas span,.ol-p10-user-emotional-compass::after,.ol-storyboard-card .ol-p10-slide-layer,.ol-phase2-card-media .ol-p10-slide-layer{animation:none!important;transition:none!important;transform:none!important}}
