/* User-selected reference: lavender, peach, sculpted 3D learning assets. */
:root { --peach: #fac79f; --lilac: #b1a3ee; --night: #25243d; --yellow: #fac79f; --yellow-soft: #fff0e4; }
body { background: var(--canvas); }
h1,h2,h3 { color: var(--ink1); }
.brand-mark { background: var(--night); border-radius: 13px; }
.brand-name { color: var(--night); }
.sidebar { border: 0; background: #faf9ff; padding-top: 34px; }
.family-switch { border-color: var(--border); }
.nav-item { border-radius: 14px; margin: 6px 0; min-height: 49px; }
.nav-item.active { background: var(--night); color: white; }
.nav-item .count { background: var(--peach); color: var(--night); }
.topbar { background: transparent; border: 0; padding-top: 20px; }
.surface-switch { background: #e6e1f2; border-radius: 30px; padding: 4px; }
.surface-switch button { border-radius: 24px; }
.surface-switch button.active { background: var(--night); color: white; box-shadow: none; }
.topbar > .row > .icon-button { background: #faf9ff; border-radius: 50%; }
.avatar { background: #f9d7bc; color: #734a30; }
.avatar.blue { background: #d8e8f0; color: #3e647d; }
.avatar.green { background: #ded6f8; color: #67519e; }
.content { padding-top: 18px; }
.page-heading { margin-bottom: 25px; }
.page-heading h1 { font-size: 29px; font-weight: 700; }
.btn { border-radius: 24px; padding: 10px 20px; }
.btn.primary { background: var(--night); color: white; }
.btn.soft { background: var(--peach); color: var(--night); }
.btn.secondary { background: #faf9ff; border: 1px solid #ded8eb; }
.btn.yellow { color: var(--night); }
.welcome-band { min-height: 183px; padding: 26px 28px; border-radius: 24px; background: #e5def9; position: relative; overflow: hidden; align-items: flex-start; flex-direction: column; gap: 9px; }
.welcome-band .welcome-icon { display: none; }
.welcome-band > div:not(.welcome-icon) { max-width: calc(100% - 175px); z-index: 1; }
.welcome-band h3 { font-size: 20px; line-height: 1.5; max-width: 410px; }
.welcome-band p { color: #655981; margin-top: 8px; font-size: 11px; max-width: 220px; }
.welcome-band .text-button { margin: 0; color: var(--night); background: var(--peach); min-height: 33px; padding: 6px 14px; border-radius: 22px; z-index: 1; }
.welcome-art { position: absolute; width: 205px; height: 178px; right: 8px; bottom: 0; object-fit: contain; }
.metrics { margin: 26px 0; gap: 18px; }
.metric-value { color: var(--night); }
.metric-label svg { color: var(--primary); }
.child-tab .avatar { border: 2px solid white; width: 31px; height: 31px; }
.child-tab.active:after { background: var(--night); }
.filter { border-radius: 20px; background: #faf9ff; border: 1px solid #e5dff1; padding: 6px 12px; min-height: 34px; }
.filter.active { background: var(--night); color: white; border-color: var(--night); }
.task-list { gap: 12px; }
.task { border-radius: 18px; padding: 19px 18px; border: 1px solid #fff; box-shadow: 0 3px 12px #4d3b7210; }
.task .subject-icon { border-radius: 13px; width: 44px; height: 46px; background: #f8e4e6; }
.task .subject-icon.math { background: #deedf3; }
.task .subject-icon.english { background: #e9e1f8; }
.task .subject-icon.science { background: #e4efde; }
.task-state { border-radius: 20px; }
.task-state.doing { color: #63519e; background: #e9e2fa; }
.task .icon-button { border: 1px solid var(--border); border-radius: 50%; width: 30px; height: 30px; }
.dashboard-aside { padding-top: 0; }
.calendar button.today { background: var(--night); color: white; border-radius: 50%; }
.calendar button { border-radius: 50%; }
.calendar-title { font-size: 14px; }
.growth-section .growth-visual { height: 178px; }
.growth-summary strong { font-size: 15px; }
.growth-summary .progress > span { background: var(--primary); }
.note { background: #f9e4d6; border: 0; border-radius: 18px; color: #745540; }
.note h3 { color: #70513c; }
.note p { font-size: 12px; }
.bar-column b { background: #d6ccef; border-radius: 8px 8px 0 0; }
.bar-column.current b { background: var(--primary); }
.review-item { border-radius: 22px; border-color: white; box-shadow: 0 5px 22px #44396008; }
.review-item .subject-icon { border-radius: 14px; }
.child-greeting { padding-top: 10px; }
.child-greeting h1 { font-size: 32px; font-weight: 700; }
.child-progress i { width: 35px; background: #dcd5ed; }
.child-progress i.done { background: var(--primary); }
.focus-workspace { border: 0; border-radius: 0; gap: 28px; padding: 20px 0 32px; }
.timer-ring circle { stroke: #e3dbf3; stroke-width: 6; }
.timer-ring .elapsed { stroke: #8c7bd6; }
.timer-digits { color: var(--night); }
.focus-main h2 { font-size: 23px; }
.focus-main > .task-state { background: #e6ddfa; color: #615093; padding: 6px 14px; }
.child-actions .btn.primary { background: var(--peach); color: var(--night); }
.child-actions .btn.secondary { background: var(--night); color: white; border: 0; }
.child-tree .growth-visual { height: 300px; }
.child-task-list .task { background: #e5edf7; box-shadow: none; }
.child-task-list .task:nth-child(2n) { background: #eae3f4; }
.child-task-list .task:nth-child(3n) { background: #f3e7e8; }
.child-task-list .task .subject-icon { background: #ffffff70; }
.reward { border-radius: 23px; border: 1px solid white; }
.reward-visual { background: #e5eafb; height: 130px; }
.reward-visual svg { filter: drop-shadow(2px 3px 0 #ffffff99); stroke-width: 1.5; }
.reward:nth-child(2) .reward-visual { background: #eee7fa; }
.reward:nth-child(3) .reward-visual { background: #f4e3df; }
.reward-info .btn { padding: 10px 12px; }
.speaker-graphic { background: #dfd5f4; color: var(--primary); }
.speaker-commands .btn.primary { background: var(--peach); color: var(--night); }
.speaker-character { display: block; width: 160px; height: 240px; object-fit: contain; margin: 18px auto 24px; }
dialog { border-radius: 26px; border-color: white; }
dialog::backdrop { background: #26203655; }
input,textarea,select { border-radius: 13px; background: #fcfaff; }
.dialog-head { border-color: var(--border); }
.dialog-head h2 { font-size: 18px; }
.dialog-head .icon-button { border-radius: 50%; background: var(--surfaceSunken); }
.toast { background: var(--night); border-radius: 18px; }
.paper { border-radius: 20px; }
.station .child-tree .growth-visual { height: 390px; }
.desk-page { max-width: 1000px; margin: auto; }
.desk-greeting { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 24px; }
.desk-greeting h2 { font-size: 22px; }
.desk-stars { background: #faf7ff; padding: 10px 17px; border-radius: 25px; display: inline-flex; align-items: center; gap: 8px; color: #746097; font-weight: 650; }
.desk-stars svg { fill: #fac79f; stroke: #cb945f; }
.level-band { background: #8a7bd4; color: white; padding: 22px 24px; border-radius: 21px; display: grid; grid-template-columns: 1fr 48px; gap: 15px; }
.level-band h3 { color: white; font-size: 16px; }
.level-band p { color: #f1eaff; margin-top: 4px; font-size: 12px; }
.level-band > svg { width: 39px; height: 39px; fill: #fad28b; stroke: #fce5bd; }
.level-band .progress { grid-column: 1/-1; height: 7px; background: #f5f0ff; }
.level-band .progress span { background: var(--peach); }
.subject-shortcuts { display: flex; justify-content: space-between; gap: 12px; padding: 24px 8px 18px; }
.subject-shortcuts button { display: grid; justify-items: center; gap: 8px; font-size: 12px; flex: 1; }
.shortcut-circle { width: 54px; height: 54px; border: 1px solid #b9acd9; border-radius: 50%; display: grid; place-items: center; background: #e6def8; box-shadow: inset 0 0 0 4px #f4effc; }
.shortcut-circle svg { width: 27px; height: 27px; color: #7a5ba9; filter: drop-shadow(1px 2px 0 white); }
.shortcut-circle.math { background: #d5e8f1; }
.shortcut-circle.chinese { background: #f6dccd; }
.shortcut-circle.science { background: #dcebd8; }
.shortcut-circle.selected { outline: 2px solid #7867b8; outline-offset: 3px; }
.desk-intro { margin: 8px 0 24px; }
.desk-intro h1 { font-size: 30px; line-height: 1.5; }
.desk-intro p { font-size: 13px; color: var(--ink2); margin-top: 6px; }
.adventure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lesson { border-radius: 24px; background: #dfeaf2; border: 1px solid white; min-height: 232px; padding: 23px; position: relative; overflow: hidden; }
.lesson.chinese { background: #ede2f0; }
.lesson.math { background: #dfeaf2; }
.lesson.english { background: #e5e0f4; }
.lesson-copy { position: relative; z-index: 1; max-width: 65%; }
.lesson-copy > .row { font-size: 12px; gap: 8px; }
.lesson-number { display: grid; place-items: center; border-radius: 50%; border: 1px solid #766794; width: 26px; height: 26px; font-size: 11px; }
.lesson-copy h2 { font-size: 19px; margin: 14px 0 7px; }
.lesson-copy p { font-size: 11px; color: #615a70; max-width: 145px; }
.lesson-copy .btn { min-height: 38px; padding: 7px 13px; font-size: 11px; margin-top: 18px; }
.lesson > img { width: 46%; height: 187px; object-fit: contain; position: absolute; right: -1px; bottom: -4px; }
.lesson:nth-child(2n) > img { height: 145px; bottom: 10px; }
.desk-growth { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; margin-top: 20px; border-top: 1px solid var(--border); }
.desk-growth h2 { font-size: 18px; }
.desk-growth p { font-size: 12px; color: var(--ink2); margin: 7px 0; }
.desk-growth img { width: 115px; height: 135px; object-fit: contain; }
.mini .topbar { padding: 14px 16px; }
.mini .content { padding-top: 16px; }
.mini .welcome-band { min-height: 196px; padding: 23px 21px; }
.mini .welcome-band .text-button { display: inline-flex; }
.mini .welcome-band > div:not(.welcome-icon) { max-width: calc(100% - 112px); }
.mini .welcome-band h3 { font-size: 18px; }
.mini .welcome-art { width: 172px; height: 195px; right: -15px; }
.mini .mobile-nav { position: fixed; width: calc(100% - 40px); bottom: 16px; border-radius: 40px; background: var(--night); border: 0; padding: 6px; max-width: 440px; }
.station .mobile-nav { display: flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; width: calc(100% - 40px); max-width: 440px; border-radius: 40px; background: var(--night); padding: 6px; z-index: 40; justify-content: space-around; }
.station .mobile-nav button { color: #d8d2ef; flex: 1; display: grid; justify-items: center; gap: 3px; padding: 9px; font-size: 11px; }
.station .mobile-nav button.active { border-radius: 28px; background: var(--peach); color: var(--night); }
.station .content { padding-bottom: 115px; }
.mini .mobile-nav button { color: #d8d2ef; }
.mini .mobile-nav button.active { background: var(--peach); color: var(--night); border-radius: 30px; }
@media (max-width:1200px) { .welcome-band { padding: 22px; } .welcome-band h3 { font-size: 18px; } .welcome-band > div:not(.welcome-icon) { max-width: calc(100% - 130px); } .welcome-art { width: 185px; right: -8px; } }
@media (max-width:760px) { .topbar { padding: 14px 16px 7px; } .content { padding-top: 15px; } .page-heading h1 { font-size: 25px; } .page-heading { margin-bottom: 21px; gap: 14px; } .page-heading .btn { min-height: 40px; } .welcome-band { min-height: 203px; padding: 23px 20px; margin-bottom: 22px; gap: 10px; border-radius: 24px; } .welcome-band > div:not(.welcome-icon) { max-width: calc(100% - 110px); } .welcome-band h3 { font-size: 18px; } .welcome-band p { font-size: 11px; max-width: 175px; } .welcome-band .text-button { display: inline-flex; margin: 0; } .welcome-art { width: 174px; height: 206px; right: -17px; bottom: -4px; } .metrics { gap: 8px; margin: 25px 0; padding-bottom: 21px; } .metric-value { font-size: 28px; } .task { border-radius: 18px; padding: 16px 12px; gap: 9px; } .task .subject-icon { width: 38px; height: 44px; } .task .icon-button { width: 26px; height: 26px; } .task .icon-button svg { width: 15px; } .task-title { font-size: 13px; } .task-state { font-size: 9px; } .filter { min-height: 33px; padding: 5px 10px; } .surface-switch button { font-size: 11px; } .topbar > .row > .icon-button { display: none; } .mobile-nav { left: 20px; right: 20px; bottom: max(16px,env(safe-area-inset-bottom)); border-radius: 40px; border: 1px solid #ffffff55; background: var(--night); padding: 6px; box-shadow: 0 7px 28px #29213a20; gap: 2px; } .mobile-nav button { color: #dcd5f0; min-height: 48px; font-size: 9px; border-radius: 30px; } .mobile-nav button.active { color: var(--night); background: var(--peach); } .mobile-nav svg { width: 19px; height: 19px; } .child-greeting { text-align: left; padding-top: 12px; position: relative; min-height: 158px; padding-right: 90px; } .child-greeting > .row { justify-content: flex-start !important; } .child-greeting h1 { font-size: 26px; max-width: 230px; margin: 16px 0 8px; } .child-greeting p { font-size: 13px; } .child-greeting:after { content: ''; position: absolute; width: 125px; height: 150px; right: -15px; top: 14px; background: url('../assets/xiaomo-focus.png') center/contain no-repeat;  } .child-progress { justify-content: flex-start; gap: 7px; } .child-progress i { width: 24px; } .focus-workspace { padding: 22px 0 27px; } .focus-main h2 { font-size: 20px; } .timer-wrap { margin: 18px auto; width: 216px; height: 216px; } .timer-digits { font-size: 44px; } .child-actions { gap: 12px; } .child-actions .btn { min-height: 54px; font-size: 15px; min-width: 132px; } .child-task-list { margin-top: 14px; } .child-task-list .task-title { font-size: 14px; } .child-task-list .task-meta { font-size: 11px; } .reward { grid-template-columns: 100px 1fr; } .reward-visual { height: 100%; } .toast { bottom: 98px; } }
@media print { .paper { border-radius: 0; } }
@media(max-width:760px) { .desk-greeting { padding: 9px 0 19px; } .desk-greeting h2 { font-size: 20px; } .desk-greeting .eyebrow { font-size: 9px; } .level-band { padding: 18px 20px; border-radius: 20px; gap: 12px; } .level-band h3 { font-size: 14px; } .level-band p { font-size: 11px; } .subject-shortcuts { padding: 22px 1px 20px; gap: 4px; } .subject-shortcuts button { font-size: 10px; padding: 0; } .shortcut-circle { width: 44px; height: 44px; } .shortcut-circle svg { width: 23px; height: 23px; } .desk-intro h1 { font-size: 25px; } .desk-intro p { font-size: 11px; } .adventure-grid { grid-template-columns: 1fr; gap: 15px; } .lesson { min-height: 211px; padding: 20px; } .lesson-copy h2 { font-size: 18px; } .lesson-copy { max-width: 66%; } .lesson > img { height: 179px; width: 44%; right: -3px; } .lesson-copy .btn { min-height: 40px; } .welcome-art { height: 185px; bottom: 0; right: -12px; } }
