/* v2.6.0: intentionally scoped to the Academy lesson and portfolio surfaces. */
.wtaia-learning-player,.wtaia26-gallery,.wtaia-assignment-player{--w26-ink:#14213d;--w26-border:#e5eaf1;--w26-primary:#635bff;--w26-bg:#f7f9fc;min-width:0}
.wtaia26-lesson-material{display:grid;gap:16px;min-width:0;margin:24px 0}
.wtaia26-lesson-material>h2{font-size:1.12rem;line-height:1.7;margin:0}
.wtaia26-lesson-material>*{min-width:0;max-width:100%}
.wtaia26-video-box,.wtaia26-audio-box,.wtaia26-prompt,.wtaia26-portfolio-choice{max-width:100%;min-width:0;border:1px solid var(--w26-border);border-radius:16px;background:var(--w24-surface,#fff);padding:14px}
.wtaia26-media-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:10px}
.wtaia26-media-heading span{font-size:.78rem;color:var(--w24-muted,#64748b)}
.wtaia26-video{display:block;width:100%;max-width:100%;height:auto;max-height:min(72vh,600px);aspect-ratio:16/9;background:#070b17;border-radius:12px;object-fit:contain}
.wtaia26-video-note{font-size:.85rem;color:var(--w24-muted,#64748b);min-height:1.3em;margin:9px 0 2px;overflow-wrap:anywhere}
.wtaia26-alt-link{display:inline-flex;margin-top:5px;font-size:.8rem;text-decoration:underline}
.wtaia26-audio-box{display:grid;gap:8px}.wtaia26-audio-box audio{width:100%;max-width:100%}
.wtaia26-prompt-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.wtaia26-copy{background:var(--w26-primary);color:#fff;border:0;border-radius:10px;padding:9px 12px;cursor:pointer;font:inherit;min-height:40px}
.wtaia26-copy:focus-visible,.wtaia26-portfolio-toggle:focus-visible{outline:3px solid var(--w26-primary);outline-offset:3px}
.wtaia26-prompt-content{overflow-x:auto;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;direction:rtl;text-align:right;margin:0;font:inherit;line-height:2}
.wtaia26-copy-status,.wtaia26-portfolio-status{display:block;min-height:1em;color:var(--w24-muted,#64748b);font-size:.85rem}
.wtaia26-file{overflow-wrap:anywhere;max-width:100%;display:inline-block}
.wtaia26-image-preview{max-width:min(100%,320px);width:auto;max-height:220px;display:block;object-fit:contain;border-radius:12px;margin:12px 0}
.wtaia26-image-preview[hidden]{display:none}
.wtaia26-portfolio-choice{margin:14px 0}.wtaia26-portfolio-choice p{color:var(--w24-muted,#64748b);line-height:1.8;font-size:.87rem}
.wtaia26-gallery{max-width:1180px;margin:auto;padding:8px}.wtaia26-gallery>header{margin-bottom:24px}.wtaia26-gallery>header p{color:var(--w24-muted,#64748b)}
.wtaia26-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
.wtaia26-gallery-card{border:1px solid var(--w26-border);background:var(--w24-surface,#fff);border-radius:16px;overflow:hidden;min-width:0}
.wtaia26-gallery-card img{width:100%;height:190px;object-fit:cover;display:block}
.wtaia26-gallery-card>div{padding:13px}.wtaia26-gallery-card strong{line-height:1.7;display:block;overflow-wrap:anywhere}.wtaia26-gallery-card p{color:var(--w24-muted,#64748b);margin:5px 0}.wtaia26-gallery-card small{color:var(--w24-muted,#64748b)}
.wtaia-learning-player .wtaia-lesson-main,.wtaia-learning-player .wtaia-player-content,.wtaia-learning-player .wtaia-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
.wtaia-learning-player img,.wtaia-learning-player pre,.wtaia-learning-player table{max-width:100%}
.wtaia-learning-player table{display:block;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:640px){.wtaia26-lesson-material{gap:12px}.wtaia26-video-box,.wtaia26-audio-box,.wtaia26-prompt{padding:10px;border-radius:12px}.wtaia26-video{border-radius:9px}.wtaia26-media-heading span{width:100%}.wtaia26-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wtaia26-gallery-card img{height:130px}.wtaia26-gallery-card>div{padding:9px}}
@media(max-width:350px){.wtaia26-gallery-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.wtaia26-copy{transition:none}}
