/* Scoped, asset-free teaching example. All controls are at least 44px tall. */
.mentor-demo{margin-top:24px;border:1px solid #445167;border-radius:18px;background:#121a28;color:var(--light,#edf3fa);min-width:0;overflow-wrap:break-word}
.mentor-demo>summary{min-height:54px;box-sizing:border-box;padding:16px 20px;cursor:pointer;font-size:14px;font-weight:700;line-height:1.6;color:#dcebc5}
.mentor-demo[open]>summary{border-bottom:1px solid #344155}
.mentor-demo-body{padding:22px;min-width:0}
.mentor-demo .mentor-demo-note{font-size:12px;line-height:1.7;color:#bac8db;margin:0 0 20px}
.mentor-demo-note strong{color:#e3d8b9}
.mentor-demo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:22px}
.mentor-demo button{font:inherit;font-size:12px;line-height:1.4;border:1px solid #526179;border-radius:10px;background:#182334;color:#dce4f1;cursor:pointer;min-height:44px;min-width:0;padding:11px 13px;white-space:normal;text-align:center;touch-action:manipulation}
.mentor-demo button:hover{border-color:#bddc82;background:#24332f}
.mentor-demo button[aria-pressed="true"]{border-color:var(--accent,#d7fa82);color:#e9f5d9;background:#2a3a2b}
.mentor-demo button:focus-visible,.mentor-demo>summary:focus-visible{outline:3px solid var(--accent,#d7fa82);outline-offset:4px}
.mentor-demo h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin:0 0 10px}
.mentor-demo .mentor-demo-description{font-size:13px;line-height:1.7;color:#bac8db;margin:0 0 20px;max-width:840px}
.mentor-demo-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.mentor-demo-figure{margin:0;min-width:0}
.mentor-demo-figure svg{display:block;width:100%;height:auto;border:1px solid #536276;border-radius:12px;background:#eaad8e;box-sizing:border-box}
.mentor-demo-figure figcaption{font-size:12px;line-height:1.6;color:#c5d2e0;margin-top:10px}
.mentor-demo-controls{min-width:0}
.mentor-demo .mentor-demo-selection{font-size:14px;color:#e5edf5;line-height:1.6;margin:0 0 12px}
.mentor-demo-palettes{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}
.mentor-demo-palettes button{flex:1;min-width:92px}
.mentor-demo-palette-dot{display:inline-block;width:12px;height:12px;border-radius:50%;vertical-align:-1px;margin-right:7px;border:1px solid #ffffff80}
.mentor-demo-palette-dot.sunset{background:#eaad8e}.mentor-demo-palette-dot.mist{background:#a5bdc5}
.mentor-demo .mentor-demo-status{font-size:12px;line-height:1.7;color:#c6d6e6;margin:14px 0 0;min-height:3.4em}
.mentor-demo .mentor-demo-check{width:100%;color:#15211b;background:#d7fa82;border-color:#d7fa82;font-weight:750}
.mentor-demo .mentor-demo-check:hover{background:#e5ffae;color:#15211b}
.mentor-demo-results{border:1px solid #536179;border-radius:12px;background:#172334;padding:18px;margin-top:22px}
.mentor-demo-results h4{font-size:14px;margin:0 0 12px;line-height:1.5}
.mentor-demo-results ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.mentor-demo-results li{font-size:13px;line-height:1.6;color:#d4dfea}
.mentor-demo-results [data-passed="true"]{color:#dbefbb}.mentor-demo-results [data-passed="false"]{color:#ffd0b1}
.mentor-demo .mentor-demo-takeaway{font-size:13px;line-height:1.7;color:#c7d5e6;margin:15px 0 0;padding-top:15px;border-top:1px solid #3c4c61}
.mentor-demo-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:20px;padding-top:18px;border-top:1px solid #344155}
.mentor-demo .mentor-demo-bottom p{font-size:12px;line-height:1.7;color:#aebfd0;max-width:680px;margin:0}
.mentor-demo-bottom button{flex:none}
.mentor-demo [hidden]{display:none!important}
@media(max-width:760px){.mentor-demo-body{padding:18px}.mentor-demo>summary{padding:15px 18px;font-size:13px}.mentor-demo-steps{gap:6px}.mentor-demo-steps button{font-size:11px;padding:10px 6px}.mentor-demo-workspace{grid-template-columns:1fr;gap:18px}.mentor-demo h3{font-size:21px}.mentor-demo-bottom{align-items:stretch;flex-direction:column;gap:14px}.mentor-demo-bottom button{align-self:flex-start}.mentor-demo-results{padding:15px}}
@media(max-width:420px){.mentor-demo-steps{grid-template-columns:1fr}.mentor-demo-steps button{font-size:12px;padding:11px 13px;text-align:left}}
@media(prefers-reduced-motion:reduce){.mentor-demo *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
