/* Parent learning workspace. Scoped to the learner entry; institution tools retain their styles. */
.learning-child{--pc-primary:var(--brand-primary,#7558d8);--pc-deep:color-mix(in srgb,var(--pc-primary) 78%,#242338);--pc-soft:color-mix(in srgb,var(--pc-primary) 10%,white);--pc-paper:#f7f7fb;--pc-ink:#29293c;--pc-muted:#77788b;--pc-line:#ececf3;background:var(--pc-paper)!important;color:var(--pc-ink);font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65;text-wrap:pretty}.learning-child button{min-height:44px}.learning-child .child-top{height:86px;margin-left:216px;padding:18px 36px;border:0;background:transparent!important;gap:16px;justify-content:flex-end;flex-wrap:wrap}.learning-child .child-brand{position:fixed;left:24px;top:32px;z-index:21;max-width:176px}.learning-child .child-brand .brand-identity b{max-width:130px;white-space:normal;line-height:1.4;font-size:15px}.learning-child .child-brand>span{background:var(--pc-primary)}.learning-child .child-top nav{position:fixed;inset:0 auto 0 0;width:216px;display:flex;flex-direction:column;padding:128px 20px 30px;background:white;border-right:1px solid var(--pc-line);margin:0;gap:10px;justify-content:flex-start;z-index:20;flex-wrap:nowrap}.learning-child .child-top nav button{border:0;padding:14px 20px;display:flex;gap:16px;align-items:center;text-align:left;border-radius:14px;font-size:15px;color:var(--pc-muted);background:transparent;flex:none}.learning-child .child-top nav button.active{background:var(--pc-soft);color:var(--pc-deep);font-weight:600}.learning-child .child-top nav:after{content:'每一次小进步，都值得被看见。';margin-top:auto;padding:22px 16px;color:var(--pc-deep);background:var(--pc-soft);border-radius:20px;font-size:14px;line-height:1.9}.learning-child .guardian-child-picker{font-size:12px;color:var(--pc-muted)}.learning-child .guardian-child-picker select{border:1px solid var(--pc-line);padding:10px 12px;border-radius:12px;color:var(--pc-ink);max-width:270px}.learning-child .child-page{max-width:1480px;margin:0 0 0 216px;padding:24px 36px 60px;min-width:0}.pc-heading{margin-bottom:28px}.pc-heading h1{font-size:30px;line-height:1.4;margin:0 0 8px;letter-spacing:-.8px}.pc-heading p{margin:0;color:var(--pc-muted)}.pc-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.pc-stack{display:grid;gap:24px;min-width:0}.pc-card{border:1px solid var(--pc-line);background:white;border-radius:24px;padding:24px;min-width:0;box-shadow:0 5px 20px #29253903}.pc-section{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.pc-section h2{font-size:19px;margin:0}.pc-icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.learning-child .pc-link{border:0;background:none;color:var(--pc-primary);padding:6px 0;font-size:13px}.learning-child .pc-primary,.learning-child .pc-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;padding:11px 20px;font-weight:600;background:var(--pc-primary);color:white;font-size:14px}.learning-child .pc-secondary{background:var(--pc-soft);color:var(--pc-deep)}.pc-hero{background:var(--pc-primary);color:white;position:relative;overflow:hidden;min-height:258px;display:flex;align-items:center;padding:30px}.pc-hero>div:first-child{z-index:1;max-width:72%}.pc-hero small{letter-spacing:2px;font-size:11px;color:#ffffffca}.pc-hero h2{font-size:29px;line-height:1.4;margin:13px 0;overflow-wrap:anywhere}.pc-hero p{font-size:13px;color:#ffffffe0;margin:0 0 20px}.learning-child .pc-hero .pc-primary{background:white;color:var(--pc-deep)}.pc-hero:after{content:'';position:absolute;right:-70px;top:-120px;width:280px;height:280px;border:45px solid #ffffff09;border-radius:50%}.pc-journal{position:absolute;right:22px;bottom:32px;width:105px;height:145px;transform:rotate(10deg);background:#fff4d9;color:#9a763d;border-radius:12px;box-shadow:8px 8px 0 #ffffff24;display:grid;place-items:center;font-size:25px;letter-spacing:5px;line-height:1.7}.pc-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.learning-child .pc-shortcuts button{border:0;background:none;display:grid;justify-items:center;gap:9px;font-size:12px;padding:0;color:var(--pc-ink)}.pc-tile{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--pc-soft);color:var(--pc-primary);flex-shrink:0}.pc-shortcuts button:nth-child(2) .pc-tile{background:#fbecde;color:#a57843}.pc-shortcuts button:nth-child(3) .pc-tile{background:#e7f4ed;color:#35745a}.pc-shortcuts button:nth-child(4) .pc-tile{background:#edf0fc;color:#6476be}.learning-child .pc-task-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:17px 0;border:0;border-top:1px solid var(--pc-line);background:white;color:var(--pc-ink)}.pc-task-copy{flex:1;min-width:0}.pc-task-copy b{font-size:15px;display:block;overflow-wrap:anywhere}.pc-task-copy small{display:block;font-size:12px;margin-top:5px;color:var(--pc-muted)}.pc-tag{display:inline-block;border-radius:8px;background:var(--pc-soft);color:var(--pc-deep);padding:4px 9px;font-size:11px;flex-shrink:0}.pc-tag.pc-warm{background:#fbecde;color:#935f2d}.pc-schedule{display:flex;gap:17px;align-items:center;padding:16px 0;border-bottom:1px solid var(--pc-line)}.pc-schedule:last-child{border:0}.pc-date{background:var(--pc-soft);color:var(--pc-deep);border-radius:15px;min-width:56px;padding:8px;text-align:center}.pc-date b{display:block;font-size:26px;line-height:1.3}.pc-date small{font-size:11px;color:inherit}.pc-schedule h3{margin:0;font-size:15px}.pc-schedule p{margin:3px 0;font-size:13px;color:var(--pc-muted)}.pc-schedule small{color:var(--pc-muted);font-size:12px}.pc-quote{font-size:15px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.pc-tip{background:var(--pc-soft);padding:16px;border-radius:14px;font-size:13px}.pc-tip p{margin:6px 0 0;white-space:pre-wrap}.pc-metrics{display:flex;gap:32px}.pc-metrics span{display:grid;font-size:12px;color:var(--pc-muted)}.pc-metrics b{font-size:29px;color:var(--pc-primary)}.pc-note{font-size:12px!important;line-height:1.8;color:var(--pc-muted)!important;margin-top:18px}.pc-empty{padding:26px 16px;background:var(--pc-paper);border-radius:14px;color:var(--pc-muted);font-size:14px}.pc-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.pc-course{background:white;border:1px solid var(--pc-line);padding:20px;border-radius:22px;min-width:0}.pc-course h3{margin:9px 0;font-size:17px}.pc-course small{font-size:12px;color:var(--pc-muted);display:block}.pc-course .learning-cover,.pc-cover{width:100%;aspect-ratio:1.8;border-radius:15px;margin-bottom:16px;object-fit:cover}.pc-cover-empty{background:var(--pc-soft);color:var(--pc-deep);display:grid;place-content:center;justify-items:center;gap:10px;font-size:13px}.pc-course button{width:100%;margin-top:18px}.pc-course.pc-compact{border:0;padding:0;display:flex;align-items:center;gap:18px}.pc-compact>.learning-cover,.pc-compact>.pc-cover{width:105px;aspect-ratio:1;margin:0;flex-shrink:0}.pc-compact>div:last-child{flex:1;min-width:0}.pc-compact button{width:auto;margin-top:12px}.learning-child progress{width:100%;height:7px;accent-color:var(--pc-primary);border:0;display:block;margin:15px 0 9px}.pc-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.learning-child .pc-filters button{background:white;border:1px solid var(--pc-line);border-radius:13px;padding:10px 16px;color:var(--pc-muted)}.learning-child .pc-filters [aria-pressed=true]{background:var(--pc-primary);color:white;border-color:var(--pc-primary)}.pc-task-detail>.lg-card{margin:0;padding:28px;border:1px solid var(--pc-line);border-radius:24px}.learning-child .lg-learner{color:var(--pc-ink)}.learning-child .lg-learner textarea,.learning-child .lg-learner input:not([type=checkbox]){border:1px solid var(--pc-line);border-radius:14px;padding:14px;color:var(--pc-ink);background:var(--pc-paper)}.learning-child .lg-learner textarea{min-height:120px}.learning-child .lg-learner form button{background:var(--pc-primary);color:white;border:0;border-radius:12px;padding:12px 20px}.learning-child .lg-learner button[data-lg=logout],.learning-child button[data-lg=old-growth]{background:var(--pc-soft);border:0;border-radius:12px;color:var(--pc-deep);padding:10px 18px}.learning-child .lg-badge{background:var(--pc-soft);color:var(--pc-deep)}.learning-child .lg-card blockquote,.pc-work blockquote{background:#e7f4ed;border:0;border-radius:12px;padding:16px;margin:16px 0;color:#35745a;white-space:pre-wrap}.pc-report{display:flex;align-items:center;gap:15px;border-top:1px solid var(--pc-line);padding:16px 0}.pc-report>span:nth-child(2){flex:1}.pc-report small{display:block;font-size:12px;color:var(--pc-muted);margin-top:5px}.pc-feedback{padding:20px 0;border-top:1px solid var(--pc-line)}.pc-feedback summary{cursor:pointer}.pc-feedback summary small{font-size:12px;color:var(--pc-muted)}.pc-feedback summary h3{font-size:16px;margin:6px 0}.pc-feedback summary span{font-size:12px;color:var(--pc-primary)}.pc-feedback .lg-card{padding:15px 0;border:0;margin:0}.pc-works{display:grid;gap:18px}.pc-work{background:var(--pc-paper);padding:18px;border-radius:16px;min-width:0}.pc-work small{font-size:12px;color:var(--pc-muted)}.pc-work h3{font-size:16px;margin:8px 0}.pc-work p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.pc-work a{display:block;overflow-wrap:anywhere;padding:5px 0}.pc-work img{width:100%;max-height:260px;object-fit:contain;border-radius:12px;background:white}.pc-attendance{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--pc-line);font-size:13px}.learning-child .child-hierarchy-grid{gap:20px}.learning-child .learning-hierarchy-card,.learning-child .child-chapters,.learning-child .child-reading,.learning-child .child-login{border-radius:20px;border-color:var(--pc-line)}.learning-child .child-login{padding:30px;box-shadow:0 10px 50px #29253908}.learning-child .child-login select{width:100%;padding:12px;border:1px solid var(--pc-line);border-radius:12px;background:white}.learning-child button:focus-visible,.learning-child a:focus-visible,.learning-child input:focus-visible,.learning-child select:focus-visible,.learning-child textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--pc-primary) 40%,transparent);outline-offset:3px}.learning-child button{transition:filter .15s,background .15s}.learning-child button:hover{filter:brightness(.97)}.pc-submit-dialog{width:min(560px,calc(100% - 32px));border:1px solid #ececf3;border-radius:24px;padding:28px;color:#29293c;max-height:85vh;overflow:auto}.pc-submit-dialog::backdrop{background:#29253977;backdrop-filter:blur(3px)}.pc-submit-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.pc-submit-dialog button{padding:12px 18px;border-radius:12px;border:0;background:#eee9fc;min-height:44px;margin:8px}.pc-file-preview{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.pc-file-preview figure{width:120px;margin:0;background:var(--pc-soft);padding:8px;border-radius:12px}.pc-file-preview img,.pc-file-preview video{width:100%;height:90px;object-fit:contain}.pc-file-preview figcaption{font-size:11px;overflow-wrap:anywhere}.pc-file-preview button{font-size:12px;padding:5px!important;background:white!important;color:var(--pc-deep)!important}.learning-child .child-top:has(nav):not(:has([data-child-name]:not(:empty))) nav{display:none}.learning-child .child-top:not(:has([data-child-name]:not(:empty))){margin:0}.learning-child:has(.child-login) .child-brand{position:static}.learning-child:has(.child-login) .child-page{margin:auto;max-width:1260px}
@media(min-width:1800px){.learning-child .child-page{margin-left:auto;margin-right:auto;transform:translateX(108px);max-width:1480px}}
@media(max-width:1100px){.pc-columns{grid-template-columns:minmax(0,1fr)}.pc-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-journal{right:30px}.learning-child .child-top{padding-inline:24px}.learning-child .child-page{padding-inline:24px}}
@media(max-width:760px){.learning-child .child-top{margin:0;height:auto;min-height:78px;padding:16px 20px;gap:10px;justify-content:space-between}.learning-child .child-brand{position:static;max-width:65%}.learning-child .child-brand .brand-identity b{max-width:180px;font-size:14px}.learning-child .child-top [data-child-name]{display:none}.learning-child .guardian-child-picker{width:100%;justify-content:space-between}.learning-child .guardian-child-picker select{max-width:76%;font-size:13px}.learning-child .child-top nav{inset:auto 0 0;width:100%;height:auto;flex-direction:row;padding:8px 5px max(10px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--pc-line);gap:0;justify-content:space-around;background:#fffffff5;backdrop-filter:blur(12px)}.learning-child .child-top nav:after{display:none}.learning-child .child-top nav button{display:flex;flex-direction:column;gap:4px;padding:5px 9px;min-width:52px;font-size:11px;border-radius:10px;flex:0 1 70px}.learning-child .child-top nav button.active{background:transparent;color:var(--pc-primary)}.learning-child .child-page{margin:0;padding:20px 20px calc(110px + env(safe-area-inset-bottom));max-width:none}.pc-heading h1{font-size:25px}.pc-heading p{font-size:14px}.pc-heading{margin-bottom:24px}.pc-columns,.pc-stack{gap:20px}.pc-card{padding:20px;border-radius:22px}.pc-hero{min-height:250px;padding:24px}.pc-hero h2{font-size:25px}.pc-hero>div:first-child{max-width:73%}.pc-journal{right:17px;bottom:30px;width:78px;height:115px;font-size:21px}.pc-shortcuts{gap:5px}.pc-shortcuts button{font-size:11px!important}.pc-task-row{gap:10px!important}.pc-task-copy b{font-size:14px}.pc-task-copy small{font-size:11px}.pc-tile{width:40px;height:44px;border-radius:13px}.pc-tag{font-size:10px;padding:4px 6px}.pc-course-grid{grid-template-columns:1fr}.pc-task-detail>.lg-card{padding:20px}.pc-section h2{font-size:18px}.pc-compact>.learning-cover,.pc-compact>.pc-cover{width:85px}.pc-compact h3{font-size:15px}.pc-compact .pc-secondary{font-size:12px;padding:8px 12px}.pc-filters{gap:8px}.learning-child .pc-filters button{font-size:12px;padding:8px 12px}.learning-child .child-chapters{max-height:300px;overflow:auto}.learning-child .child-layout{grid-template-columns:minmax(0,1fr)}.learning-child .child-detail-head h1{font-size:21px}.learning-child .child-login{margin-top:3vh;padding:24px}.pc-task-detail form button[type=submit]{width:100%}.pc-submit-dialog{padding:22px}}
@media print{.learning-child .child-top{display:none}.learning-child .child-page{margin:0;transform:none;max-width:none;padding:0}.pc-columns{display:block}.pc-card{break-inside:avoid;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.learning-child *{transition:none!important}}
.learning-child:has(.child-login) .child-top nav{display:none}.learning-child:has(.child-login) [data-child-name]{display:none}.learning-child:has(.child-login) .child-top{margin:0;justify-content:flex-start}.learning-child .pc-work video{width:100%;max-height:280px}.learning-child .pc-task-detail .lg-submission img{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:12px;margin:12px 0}.learning-child .pc-submit-dialog button[data-confirm]{background:var(--pc-primary);color:white}
.pc-preview-banner{margin:0 36px 0 252px;padding:14px 20px;border-radius:14px;background:#fff1db;color:#805a26;display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:13px}.pc-preview-banner span{flex:1}.pc-preview-banner a{font-weight:600}.learner-preview [data-lg-submit-task],.learner-preview [data-complete-lesson],.learner-preview [data-submit-answer],.learner-preview [data-display-family],.learner-preview [data-brand-family]{display:none!important}@media(max-width:760px){.pc-preview-banner{margin:0 20px;padding:12px 16px;gap:5px;display:grid;font-size:12px}}
.pc-revision{padding:22px;margin-bottom:18px;background:#fff1df;border:1px solid #f0dcc1;border-radius:22px}.pc-revision h2{font-size:19px;margin:12px 0}.pc-revision p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.pc-revision small{color:#846f56}.pc-submission-success{background:#e7f4ed;color:#32634d;padding:20px 24px;border-radius:20px;margin-bottom:24px}.pc-submission-success p{font-size:13px;margin:7px 0 0}.learning-child form[inert]{opacity:.8}.learning-child [data-lg-submit-status]{overflow-wrap:anywhere;font-size:13px}

.pc-growth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.learning-child .pc-growth-summary button{display:flex;align-items:center;gap:16px;padding:20px;background:white;border:1px solid var(--pc-line);border-radius:20px;text-align:left;color:var(--pc-muted)}.pc-growth-summary b{font-size:30px;color:var(--pc-deep)}.pc-growth-summary span{font-size:13px}.learning-child .pc-growth-summary [aria-pressed=true]{background:var(--pc-soft);border-color:var(--pc-primary)}@media(max-width:760px){.pc-growth-summary{gap:8px}.learning-child .pc-growth-summary button{flex-direction:column;gap:0;padding:12px 6px;border-radius:16px}.pc-growth-summary b{font-size:25px}.pc-growth-summary span{font-size:12px}}

.pc-lesson-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;border-bottom:1px solid var(--pc-line,#e0e9e5);background:transparent;padding:18px 0;text-align:left;color:var(--pc-ink,#293e43);cursor:pointer}.pc-lesson-row:last-of-type{border-bottom:0}.pc-lesson-row>span:first-child{display:grid;gap:8px;min-width:0}.pc-lesson-row b{font-size:15px;overflow-wrap:anywhere}.pc-lesson-row small{font-size:12px;line-height:1.6;color:var(--pc-muted,#6e7e80)}.pc-lesson-row>span:last-child{font-size:12px;white-space:nowrap;color:var(--pc-primary,#087f78)}.pc-lesson-row:hover{background:var(--pc-bg,#f5f8f5)}.pc-lesson-row:focus-visible{outline:2px solid var(--pc-primary,#087f78);outline-offset:3px}@media(max-width:600px){.pc-lesson-row{align-items:flex-start;gap:10px}.pc-lesson-row>span:last-child{white-space:normal;min-width:58px}}
.workflow-form-state{font-size:13px;line-height:1.6;color:var(--pc-primary,#39766f)}

.pc-inbox-summary{margin-bottom:20px}.pc-notice-row{text-align:left;width:100%}.pc-notice-row small{display:block;line-height:1.6}.pc-notice-row .pc-task-copy{min-width:0}.pc-notice-row b{overflow-wrap:anywhere}
