.simulation .learn .mentor-story { position:absolute; z-index:7; top:18px; left:50%; transform:translateX(-50%); width:min(440px,calc(100% - 36px)); box-sizing:border-box; padding:13px 19px 10px; border:1px solid #f3fbd0; border-radius:34px 34px 12px 34px; background:radial-gradient(ellipse at 0 0,#fff0ad,transparent 70%),linear-gradient(130deg,#ffffeb,#e6f2da); box-shadow:0 12px 40px #153c3f60,0 0 30px #d5ebbb45; color:#2d5c44; font-family:SolarOutfit,sans-serif; }
.mentor-story[hidden] { display:none!important; }
.mentor-story-heading { display:flex; gap:9px; align-items:center; }
.mentor-story-art { width:58px; flex:none; }
.mentor-story-art .learn-coach-character { position:static; width:100%; height:auto; filter:drop-shadow(0 0 9px #f7ce6770); }
.mentor-story-art svg { width:100%; height:auto; display:block; }
.mentor-story-heading > div:nth-child(2) { flex:1; min-width:0; }
#mentor-story-position { font:500 9px SolarOutfit,sans-serif; letter-spacing:1.3px; color:#6e8657; }
.simulation .learn .mentor-story h2 { margin:5px 0 3px; font:600 24px/1.1 SolarOutfit,sans-serif; letter-spacing:-.4px; color:#286144; text-shadow:0 0 22px #c3e29670; }
.simulation .learn #mentor-story-close { flex:none; width:29px; height:29px; padding:0; align-self:start; border:0; border-radius:50%; background:#ddebd0; color:#587651; font:24px SolarOutfit,sans-serif; }
.mentor-story-controls { display:flex; align-items:center; gap:8px; margin-top:9px; }
.simulation .learn .mentor-story-controls button { flex:1; min-height:43px; border-radius:22px 22px 8px 22px; border:1px solid #bcd895; background:linear-gradient(125deg,#f0f8ce,#cbe8b8); color:#315b3f; font:550 15px SolarOutfit,sans-serif; padding:8px 14px; }
.simulation .learn #mentor-story-prev { flex:0 0 43px; padding:0; border-radius:50%; font-size:24px; background:#f8fbe7; }
.simulation .learn #mentor-story-prev:disabled { opacity:.4; }
.simulation .learn #mentor-story-voice { background:#fff9dc; border-color:#dfd39f; }
#mentor-story-voice-state { margin:5px 0 0; font:9px/1.4 SolarOutfit,sans-serif; color:#829171; }
#mentor-story-caption { margin-top:5px; font:12px/1.5 SolarOutfit,sans-serif; }
#mentor-story-caption summary { cursor:pointer; color:#6c845b; font-size:10px; }
#mentor-story-message { margin:6px 0 2px; max-height:110px; overflow:auto; }
.learn-mentor-host[data-walkthrough-active=true] .mentor-launch { visibility:hidden; }
.simulation .learn #mentor-walkthrough { flex-basis:100%; background:linear-gradient(125deg,#fff3b4,#d6ecc1); }
.simulation .learn [data-mentor-intent=walkthrough] { grid-column:1/-1; }
@media(max-width:900px) {
  .simulation .learn .mentor-story { top:auto; bottom:10px; width:min(420px,calc(100% - 24px)); padding:11px 14px 8px; border-radius:27px 27px 9px 27px; }
  .simulation .learn .mentor-story[data-focus=battery],.simulation .learn .mentor-story[data-focus=house],.simulation .learn .mentor-story[data-focus^="demo."] { top:8px; bottom:auto; }
  .mentor-story-art { width:42px; }
  .simulation .learn .mentor-story h2 { font-size:19px; }
  .simulation .learn .mentor-story-controls button { min-height:41px; font-size:13px; padding:8px 10px; }
  #mentor-story-position { font-size:8px; letter-spacing:1px; }
  #mentor-story-message { max-height:75px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .mentor-story .learn-coach-rays { animation:none!important; } }
