/* V5: three destinations, one classroom, progressive controls. */
.my-menu{position:relative;z-index:35}.my-menu>summary{padding:7px 13px;border:1px solid var(--line);border-radius:7px;white-space:nowrap;font-size:13px;list-style:none}.my-menu nav{position:absolute;right:0;top:42px;width:240px;padding:10px;background:var(--paper);box-shadow:0 12px 45px #24352c20;border:1px solid var(--line);border-radius:10px;display:grid;gap:5px}.my-menu nav button{text-align:left;border:0}.my-count{margin-left:8px;background:var(--brand-soft);padding:0 6px;border-radius:8px}.topbar .mobile-role{display:none}.sidebar nav{gap:12px}.sidebar nav button{padding:15px 14px}.v5-welcome{margin:10px 0 28px}.v5-welcome h1{font-size:32px;font-weight:500;margin:7px 0}.v5-welcome p{color:var(--muted)}.v5-current{grid-template-columns:1.15fr 1fr;align-items:stretch}.v5-current>figure{order:0;min-height:360px}.v5-current>figure img{height:100%;max-height:430px;object-fit:contain;background:#eae8df}.v5-current>div{padding:32px;display:flex;flex-direction:column;justify-content:center}.v5-current h2{font-size:29px;margin:10px 0}.section-label{color:var(--muted);font-size:12px;letter-spacing:1px}.v5-current .home-next{margin:16px 0;gap:16px;align-items:center}.v5-home-actions{display:flex;gap:12px}.v5-home-actions button{padding:12px 22px}.v5-notice{margin-bottom:0}.v5-notice button{padding:5px 0;border:0;color:var(--brand);background:transparent}.v5-recent{margin:28px 0}.v5-recent h2{font-size:18px}.v5-recent>div{display:flex;gap:12px;flex-wrap:wrap}.v5-recent button{display:flex;align-items:center;gap:12px;text-align:left}.v5-recent img{height:48px;width:48px;object-fit:cover}.v5-recent small{display:block;color:var(--muted)}.home-history{margin-top:28px}.v5-catalog-search{display:flex;align-items:end;gap:16px;margin:24px 0}.v5-catalog-search .field{flex:1;margin:0}.v5-unit{display:block!important;padding:0;margin:16px 0;border-bottom:1px solid var(--line)}.v5-unit>summary{display:flex;align-items:center;gap:22px;padding:18px 4px;list-style:none}.v5-unit>summary>span{font-size:26px;color:var(--brand);font-family:Georgia,serif}.v5-unit summary h2{font-size:21px;margin:0}.v5-unit summary small{color:var(--muted)}.v5-unit summary:after{content:'＋';margin-left:auto;color:var(--muted)}.v5-unit[open]>summary:after{content:'−'}.v5-unit .lesson-list{padding-bottom:24px}.v5-unit .lesson-list button{padding:14px}.v5-unit .lesson-list b{font-size:12px;font-weight:400;white-space:nowrap;color:var(--brand)}.v5-lesson-head{margin-bottom:12px}.v5-lesson-head .lesson-title-row h1{font-size:24px}.v5-lesson-head .classroom-settings{position:relative;margin:0;align-self:center}.v5-lesson-head .classroom-settings>div{width:300px;right:0;left:auto;top:35px}.v5-lesson-head select{max-width:100%}.zones{gap:0;margin-bottom:16px}.zones button{padding:10px 22px;flex:none;font-size:14px}.lesson-intro{margin-bottom:14px}.v5-reading-entry{margin:16px 0}.v5-reading-entry button{width:100%;text-align:left;background:var(--brand-soft)}.art-layout{grid-template-columns:minmax(0,2.05fr) minmax(270px,1fr);gap:20px}.companion-panel{padding:20px}.companion-panel .agent-header{gap:12px}.companion-panel .agent-header h3{font-size:17px}.v5-narration .stage-bottom{min-height:100px}.v5-narration .stage-bottom p{font-size:17px}.v5-confirm-note{padding:16px 20px;background:var(--brand-soft);margin:16px 0;border-radius:8px;display:flex;align-items:center;gap:20px;justify-content:space-between}.v5-script-editor{margin-top:20px}.v5-script-editor .script-editor{padding:20px 0}.v5-script-editor .segment-list{margin-bottom:18px}.v5-studio-head{margin:0 0 20px}.v5-studio-head h2{font-size:26px}.studio-steps{margin:0 0 24px}.goal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.goal-card{padding:18px;min-height:200px}.goal-card strong{font-size:19px;font-weight:500}.goal-card p{color:var(--muted);margin:5px 0}.v5-goal-art{height:85px;background:var(--surface);overflow:hidden;position:relative;margin-bottom:17px}.v5-goal-art span{position:absolute;width:70px;height:70px;background:var(--brand);opacity:.7;left:20%;top:20px;transform:rotate(-20deg)}.v5-goal-art i{position:absolute;width:120px;height:65px;background:#b5a17c;opacity:.65;left:45%;top:-10px;border-radius:50%}.v5-goal-art b{position:absolute;width:130px;height:1px;background:var(--ink);left:30%;top:50px;transform:rotate(-15deg)}.v5-goal-art[data-art=compose] span{left:65%;width:40px;height:50px}.v5-goal-art[data-art=compose] i{left:12%;border-radius:0}.v5-goal-art[data-art=space] span{transform:skew(-30deg);opacity:.25;left:5%;width:210px}.v5-goal-art[data-art=space] i{left:65%;width:30px;height:30px;top:35px}.v5-goal-art[data-art=poster] span{transform:none;left:30%;width:80px;top:8px}.v5-goal-art[data-art=poster] i{width:50px;height:50px;left:38%;top:22px}.v5-goal-art[data-art=path] b{width:200px;transform:rotate(20deg)}.v5-goal-art[data-art=depth] span{transform:skew(-25deg);width:170px}.v5-goal-art[data-art=narration] i{width:40px;height:40px;left:45%;top:22px}.v5-task-summary{display:grid;grid-template-columns:90px 1fr;gap:14px 18px;margin:24px 0}.v5-task-summary dt{color:var(--muted);font-size:13px}.v5-task-summary dd{margin:0}.v5-story{padding:18px;background:var(--surface);margin:20px 0}.v5-story p{white-space:pre-wrap}.task-card>small{display:block;margin-top:16px;color:var(--muted)}.published-task{grid-template-columns:1fr auto}.published-task>.generation-action,.published-task>details,.published-task>#generation-progress{grid-column:1/-1}.v5-observe-compose{margin-top:12px}.v5-observe-compose>summary{font-size:13px;color:var(--brand);margin-bottom:10px}.xiaoyi.ip-v5,.home-next .xiaoyi.ip-v5,.companion-panel .agent-header .xiaoyi.ip-v5,.studio-heading .xiaoyi.ip-v5,.stage-bottom .xiaoyi.ip-v5{width:66px;min-width:66px;margin:0;color:var(--brand)}.xiaoyi.ip-v5.large{width:90px;min-width:90px}.ip-v5 svg{width:100%;height:auto;display:block}.ip-v5 figcaption{font-size:9px;text-align:center;white-space:nowrap;letter-spacing:0}.ip-v5 .agent-body{animation:none;transform:none;transform-origin:40px 40px}.v5-ip-listen,.v5-ip-think,.v5-ip-voice,.v5-ip-pointer{opacity:0}.ip-v5[data-agent-state=listening] .v5-ip-listen,.ip-v5[data-agent-state=thinking] .v5-ip-think,.ip-v5[data-agent-state=speaking] .v5-ip-voice,.ip-v5[data-agent-state=guiding] .v5-ip-pointer,.ip-v5[data-agent-state=pointing] .v5-ip-pointer{opacity:1}.ip-v5[data-agent-state=thinking] .v5-ip-think{animation:v5-pulse 1.8s ease-in-out infinite}.ip-v5[data-agent-state=speaking] .v5-ip-voice{animation:v5-pulse 1s ease-in-out infinite}.ip-v5[data-agent-state=listening] .v5-ip-listen{animation:v5-pulse 2s ease-in-out infinite}@keyframes v5-pulse{50%{opacity:.35}}body.v5-reduce-motion *,body.v5-reduce-motion *:before,body.v5-reduce-motion *:after{animation:none!important;transition:none!important}
@media(min-width:1700px){.v5-current>figure{min-height:440px}.v5-current>figure img{max-height:500px}.v5-current>div{padding:45px}.art-layout{grid-template-columns:minmax(0,2.2fr) minmax(300px,1fr)}}
@media(max-width:1100px){.v5-current{grid-template-columns:1fr 1fr}.v5-current>div{padding:22px}.v5-welcome h1{font-size:27px}.v5-current h2{font-size:24px}.art-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.v5-unit .lesson-list b{display:none}}
@media(max-width:700px){.sidebar nav{gap:8px}.sidebar nav button{font-size:13px;padding:9px 18px}.my-menu>summary{padding:4px 10px;font-size:11px}.my-menu nav{top:32px;width:220px}.v5-welcome{margin:0 0 20px}.v5-welcome h1{font-size:24px;line-height:1.5}.v5-current{grid-template-columns:1fr}.v5-current>figure{min-height:200px;max-height:260px}.v5-current>figure img{height:230px}.v5-current>div{padding:22px}.v5-current h2{font-size:23px}.v5-home-actions button{padding:11px 18px}.v5-catalog-search{gap:10px;align-items:center}.v5-catalog-search>button{font-size:11px;max-width:100px}.v5-unit>summary{gap:15px}.v5-unit summary h2{font-size:18px}.v5-unit .lesson-list button{padding:10px}.v5-lesson-head .lesson-title-row{display:flex;gap:8px;align-items:start}.v5-lesson-head .lesson-title-row h1{font-size:20px}.v5-lesson-head .classroom-settings>summary{font-size:10px;white-space:nowrap}.v5-lesson-head .classroom-settings>div{right:0;width:min(300px,85vw)}.zones button{padding:9px 14px;font-size:13px}.art-layout{grid-template-columns:1fr}.goal-grid{grid-template-columns:1fr 1fr;gap:10px}.goal-card{padding:12px;min-height:170px}.goal-card strong{font-size:16px}.goal-card p{font-size:11px}.v5-goal-art{height:65px}.v5-task-summary{grid-template-columns:65px 1fr;gap:12px}.task-card{padding:18px}.v5-confirm-note{display:block}.published-task{grid-template-columns:1fr}.published-task>button{grid-column:1}.v5-narration .stage-bottom p{font-size:14px}.xiaoyi.ip-v5{width:60px;min-width:60px}}
@media(prefers-reduced-motion:reduce){.ip-v5 *{animation:none!important;transition:none!important}}

.v5-welcome{position:relative;padding-right:115px}.v5-welcome .school-visual{width:88px;height:74px;border-width:3px}.v5-narration .stage-controls button:disabled:not([data-agent-action=start-stage]){display:none}.v5-narration .stage-controls [data-agent-action=start-stage]:disabled{opacity:.5}@media(max-width:700px){.v5-welcome{padding-right:0}.v5-welcome .school-visual{display:none}}

.v5-narration .stage-controls [data-agent-action=start-stage]:disabled{display:inline-flex}.v5-narration .narration-stage:has(.xiaoyi[data-agent-state=speaking]) [data-agent-action=start-stage]{display:none}

.narration-stage .xiaoyi.ip-v5{--paper:#263a33;color:#d8e6d7}.narration-stage .ip-v5 figcaption{color:#d8e6d7}

/* CSS批次1（2026-10-20）：教材课堂顶部留白压缩。仅调整间距，不改结构与功能；置于文件末尾以覆盖 ux-v43 基线。 */
@media(min-width:701px){.topbar{height:54px;padding:0 32px}}
main{padding-top:20px;padding-bottom:42px}
.lesson-breadcrumb{margin-bottom:10px!important}
.art-selection{margin-bottom:14px}
