/* One bounded SVG timeline coordinates the character, tablet and board. */
.use-case-story { --story-mint:#a1f1ca; color:#e8eee6; text-align:left; width:100%; }
.story-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.story-tabs { display:inline-flex; gap:4px; padding:4px; background:#17221b; border:1px solid #35473a; border-radius:100px; }
.story-tab { padding:10px 18px; min-height:44px; border-radius:100px; font:inherit; font-size:13px; color:#a6b7aa; }
.story-tab[aria-pressed="true"] { background:#d5ebda; color:#14241a; }
.story-tab:hover:not([aria-pressed="true"]) { color:#e8eee6; }
.story-example-label { color:#9bafa0; font-size:12px; }
.story-scene { border:1px solid #455348; border-radius:20px; overflow:hidden; background:#1b2820; }
.story-illustration { display:block; width:100%; height:auto; }
.story-room-caption { transform:translateY(-362px); }
.story-ink { stroke-dasharray:100; stroke-dashoffset:0; }
.story-tablet-dot,.story-board-cursor,.story-signal { pointer-events:none; }
.story-studio-drawing,.story-studio-audience { display:none; }
.use-case-story[data-mode="studio"] .story-classroom-drawing,.use-case-story[data-mode="studio"] .story-students { display:none; }
.use-case-story[data-mode="studio"] .story-studio-drawing,.use-case-story[data-mode="studio"] .story-studio-audience { display:block; }
.story-narration { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:21px 0 17px; }
.story-caption { margin:0; font-size:clamp(16px,1.8vw,21px); line-height:1.45; color:#e2ebe1; max-width:42ch; }
.story-controls { display:flex; align-items:center; gap:20px; flex-shrink:0; }
.story-controls button { min-height:44px; padding:8px 0; font:inherit; font-size:12px; color:#b2c4b6; text-underline-offset:4px; text-decoration:underline; }
.story-controls button:hover { color:#e9f7eb; }
.story-controls button:disabled { color:#8e9d91; cursor:default; text-decoration:none; }
.story-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; list-style:none; margin:0; padding:0; }
.story-steps button { display:flex; align-items:center; gap:10px; border-top:2px solid #37483c; padding:15px 0 8px; width:100%; text-align:left; color:#93a899; font:inherit; font-size:13px; min-height:50px; transition:border-color .3s,color .3s; }
.story-steps button>span:first-child { font-size:10px; letter-spacing:.06em; color:#7d9787; }
.story-steps button[aria-current="step"] { border-color:#a1f1ca; color:#e9f7eb; }
.story-footnote { color:#8c9f90; font-size:11px; line-height:1.65; max-width:88ch; margin:20px 0 0; }
.use-case-story button:focus-visible { outline:2px solid #b4edcc; outline-offset:5px; }
@media(max-width:700px) {
  .story-toolbar { margin-bottom:12px; }
  .story-example-label { display:none; }
  .story-tabs { width:100%; }
  .story-tab { flex:1; padding:8px 10px; font-size:12px; }
  .story-scene { border-radius:12px; }
  .story-narration { align-items:flex-start; flex-direction:column; gap:8px; padding:18px 0 12px; }
  .story-controls { gap:24px; }
  .story-steps { gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .story-steps button { font-size:12px; padding-top:10px; min-height:44px; }
  .story-footnote { margin-top:15px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  .use-case-story * { animation:none!important; transition:none!important; }
}
html[data-motion="reduced"] .use-case-story * { animation:none!important; transition:none!important; }
