/* Section navigation stays light so the native screen remains the main event. */
#studyRoot .section-moments{display:flex;align-items:center;gap:20px;min-height:49px;padding:0 22px;background:#f8fafb;border-bottom:1px solid #e1e7ed;overflow:hidden}
#studyRoot .section-count{font-size:9px;letter-spacing:.055em;color:#81909c;white-space:nowrap;font-variant-numeric:tabular-nums}
#studyRoot .section-moment-list{display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:none;min-width:0}
#studyRoot .section-moment-list::-webkit-scrollbar{display:none}
#studyRoot .section-moments button{position:relative;flex-shrink:0;padding:15px 0;min-height:46px;border:0!important;border-radius:0!important;background:transparent;font:400 10px/1.5 'Libre Franklin',Arial,sans-serif;color:#718291;white-space:nowrap;transition:color 180ms ease}
#studyRoot .section-moments button:after{position:absolute;content:'';bottom:0;height:2px;left:0;right:0;background:#386283;opacity:0;transition:opacity 180ms ease}
#studyRoot .section-moments button:hover{color:#204967}
#studyRoot .section-moments button[aria-current=step]{color:#204967;font-weight:550}
#studyRoot .section-moments button[aria-current=step]:after{opacity:1}
#studyRoot .section-moments button:focus-visible{outline:2px solid #0049b8;outline-offset:-3px}
#studyRoot [data-tour-focus][data-shape=circle]{border-radius:50%}
.review-map-fallback{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:40px;color:#546d7e;background:#ecf0ef;text-align:center;font-size:13px}
.review-map-fallback p{max-width:270px;font-size:11px;line-height:1.7;margin-top:10px}
#studyRoot .maplibregl-ctrl-attrib{font-size:9px;line-height:1.5;background:#ffffffe6}
#studyRoot .maplibregl-control-container{pointer-events:none}
@media(max-width:760px){#studyRoot .section-moments{padding:0 14px;gap:17px}#studyRoot .section-count{font-size:8px}#studyRoot .section-moment-list{gap:18px}#studyRoot .section-moments button{font-size:9px}}
@media(max-width:450px){#studyRoot .section-moments{display:block;padding:10px 14px 0}#studyRoot .section-count{display:block}#studyRoot .section-moment-list{gap:18px}#studyRoot .section-moments button{padding-top:10px;min-height:40px}}
@media(prefers-reduced-motion:reduce){#studyRoot .section-moments button,#studyRoot .section-moments button:after{transition:none}}
@media(forced-colors:active){#studyRoot .section-moments{background:Canvas;color:CanvasText;border-color:CanvasText}#studyRoot .section-count,#studyRoot .section-moments button{color:CanvasText}#studyRoot .section-moments button[aria-current=step]{color:LinkText}#studyRoot .section-moments button[aria-current=step]:after{background:Highlight}}
body[data-finish=polished] #studyRoot [class*='guided-platform-demo_toolbar__']>div:first-child{display:block}
body[data-finish=polished] #studyRoot [class*='guided-platform-demo_toolbar__'] p{margin-top:7px}
/* Reserve the moment row without pushing the guide below the desktop fold. */
@container(min-width:860px){
 body[data-finish=polished] #studyRoot [class*='guided-platform-demo_body__']{height:clamp(440px,calc(100svh - 400px),600px)}
 #studyRoot [data-tour-module=sourcing]:is([data-tour-scene=map],[data-tour-scene=property]) [class*='native-sourcing-preview_sourcing__']{height:100%}
 #studyRoot [data-tour-module=sourcing]:is([data-tour-scene=map],[data-tour-scene=property]) [class*='native-sourcing-preview_sourcing__']>[role=tabpanel]{height:calc(100% - 45px)}
 #studyRoot [data-tour-module=sourcing] [class*='native-sourcing-preview_screen__']{height:100%}
 #studyRoot [data-tour-module=sourcing] [class*='native-sourcing-preview_results__']{display:flex;flex-direction:column;min-height:0}
 #studyRoot [data-tour-module=sourcing] [class*='native-sourcing-preview_mapWrap__']{flex:1;min-height:0}
 #studyRoot [data-tour-module=sourcing] [class*='native-sourcing-preview_mapCanvas__']{height:100%}
}
/* Use system colors directly, avoiding Chromium's forced-color text backplate. */
@media(forced-colors:active){
 body[data-finish=polished] #studyRoot [aria-label='Platform preview modules'] [aria-selected=true],
 body[data-finish=polished] #studyRoot [aria-label='Choose a walkthrough'] [aria-pressed=true]{forced-color-adjust:none;background:Highlight!important;color:HighlightText!important;border-color:Highlight!important}
}
