#animation .aw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
#animation .aw-step { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; padding: 14px 12px; border: 1px solid #52618c; border-radius: 12px; background: #17213c; color: #e1eaff; font: inherit; font-size: 15px; cursor: pointer; }
#animation .aw-step[aria-pressed="true"] { background: #302b58; border-color: #bca2ff; box-shadow: inset 0 0 0 1px #bca2ff; }
#animation .aw-step small { display: block; margin-top: 4px; color: #bacbe8; font-size: 14px; }
#animation .aw-number { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #354470; color: #fff; }
#animation .aw-workshop { color: #e1eaff; background: linear-gradient(120deg, #111e37, #201b37); border: 1px solid #53628e; border-radius: 16px; padding: 20px; margin-bottom: 30px; font-size: 15px; line-height: 1.6; }
#animation .aw-workshop * { box-sizing: border-box; }
#animation .aw-workshop [hidden] { display: none !important; }
#animation .aw-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
#animation .aw-heading h3 { margin: 0; font-size: 19px; color: #edf2ff; }
#animation .aw-count { border: 1px solid #6c66a1; border-radius: 20px; padding: 2px 12px; color: #e5dbff; white-space: nowrap; font-size: 14px; }
#animation .aw-tip { margin: 10px 0 16px; color: #c6d6f1; font-size: 15px; }
#animation .aw-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 18px; align-items: start; }
#animation .aw-stage { min-width: 0; border: 1px solid #3e527c; border-radius: 12px; overflow: hidden; background: #0e192e; }
#animation .aw-stage > svg { display: block; width: 100%; height: auto; }
#animation .aw-readout { padding: 0 14px; margin: 4px 0 12px; font-size: 14px; color: #d9e4ff; min-height: 2em; font-variant-numeric: tabular-nums; }
#animation .aw-curve { display: flex; align-items: center; gap: 8px; border-top: 1px solid #3e527c; padding: 8px; color: #bbceeb; font-size: 14px; }
#animation .aw-curve svg { width: 55%; max-width: 220px; flex-shrink: 0; }
#animation .aw-controls fieldset { padding: 10px 12px; margin: 0 0 12px; border: 1px solid #53628e; border-radius: 10px; min-width: 0; }
#animation .aw-controls legend { padding: 0 5px; font-size: 14px; color: #d8ccff; }
#animation .aw-controls label { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; margin: 5px 0 9px; font-size: 14px; }
#animation .aw-controls output { color: #a9eaff; font-variant-numeric: tabular-nums; }
#animation .aw-controls input[type="range"] { width: 100%; }
#animation .aw-controls p, #animation .aw-summary { margin: 6px 0; color: #c6d6f1; font-size: 14px; }
#animation .aw-summary ol { padding-left: 24px; margin: 12px 0; }
#animation .aw-workshop select { width: 100%; background: #192641; color: #eef1ff; border: 1px solid #7c89b2; border-radius: 7px; padding: 9px; font: inherit; font-size: 14px; }
#animation .aw-workshop input[type="range"] { accent-color: #b6a0ff; min-width: 0; min-height: 30px; cursor: pointer; margin: 0; }
#animation .aw-workshop button { border: 1px solid #857eb4; border-radius: 8px; background: #37305b; color: #f0edff; padding: 9px 14px; min-height: 42px; font: inherit; font-size: 14px; cursor: pointer; }
#animation .aw-workshop button:hover, #animation .aw-step:hover { border-color: #d3c5ff; background-color: #413561; }
#animation .aw-workshop button[aria-pressed="true"] { background: #194b50; border-color: #78d2d2; }
#animation .aw-workshop :focus-visible, #animation .aw-step:focus-visible { outline: 3px solid #82e1ff; outline-offset: 3px; }
#animation .aw-transport, #animation .aw-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#animation .aw-timeline { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; font-size: 14px; }
#animation .aw-timeline input { flex: 1; width: 100%; }
#animation [data-progress] { width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
#animation [data-status] { color: #bce5f1; font-size: 14px; }
#animation .aw-note { font-size: 14px; color: #b7c7e2; margin: 14px 0 0; }
@media (max-width: 760px) {
  #animation .aw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #animation .aw-layout { grid-template-columns: minmax(0, 1fr); }
  #animation .aw-workshop { padding: 14px; }
  #animation .aw-step { padding: 10px; font-size: 14px; }
}
@media (max-width: 380px) {
  #animation .aw-step { gap: 6px; }
  #animation .aw-number { flex-basis: 22px; height: 22px; }
  #animation .aw-timeline { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  #animation .aw-workshop *, #animation .aw-step { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
