:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:#11182c;background:#f2f7ff;font-synthesis:none;--blue:#2162ff;--muted:#65708a;--line:#e4eafa;--green:#148047;--yellow:#fff9db}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:1px solid transparent;min-height:52px;border-radius:15px;padding:12px 20px;cursor:pointer;font-weight:650;background:#ebf2ff;color:#1857dd}button:hover:not(:disabled){filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d49000;outline-offset:4px}.primary{background:var(--blue);color:white}.secondary{background:white;border:1px solid #9ca8bd;color:#202b45}.quiet{background:transparent;color:var(--muted)}.danger{color:#a12d2d;background:#fff1f0}.small{font-size:14px;padding:10px 14px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.muted,.hint{color:var(--muted)}.hint{font-size:14px;line-height:1.7}.hidden{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.35}h2{font-size:24px}h3{font-size:21px}p{line-height:1.7}a{color:#175bdc;text-underline-offset:4px}header{background:#fff;min-height:84px;display:flex;justify-content:space-between;align-items:center;padding:14px 28px;gap:16px;border-bottom:1px solid #edf2fb}.brand{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:750;white-space:nowrap}.brand img{width:48px;height:52px;object-fit:contain}.date-tag{padding:12px 22px;background:#f1f5fb;border:1px solid #e8eef9;border-radius:20px;font-size:22px}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}main{padding:24px 28px;max-width:1500px;margin:auto}.loading{text-align:center;padding:100px 20px}.child-layout{display:grid;grid-template-columns:minmax(250px,27.5%) minmax(0,1fr);gap:22px;align-items:start}.child-sidebar{background:#fff;border-radius:24px;overflow:hidden;padding-bottom:26px}.mascot-panel{background:var(--yellow);border-radius:24px;padding:18px 24px 32px}.mascot-panel img{width:100%;height:290px;object-fit:contain;display:block;margin:auto}.mascot-panel h2{font-size:29px;white-space:nowrap;text-align:center;margin:18px -8px 28px;font-weight:700}.mascot-panel p{margin:0 0 8px;font-size:20px}.mascot-panel strong{font-size:25px}.mascot-panel progress{width:100%;height:20px;border:0;border-radius:20px;overflow:hidden;background:#e5e7ec;display:block}.mascot-panel progress::-webkit-progress-bar{background:#e5e7ec}.mascot-panel progress::-webkit-progress-value{background:var(--blue);border-radius:20px}.mascot-panel progress::-moz-progress-bar{background:var(--blue);border-radius:20px}.task-nav{display:grid;gap:16px;padding:26px 20px 0}.nav-task{text-align:left;width:100%;display:grid;grid-template-columns:1fr auto;gap:4px 12px;border:1px solid var(--line);background:#fff;color:#11182c;border-radius:15px;padding:17px 20px;min-height:92px}.nav-task.active{border:2px solid var(--blue);padding:16px 19px;background:#f5f8ff}.nav-task strong{font-size:22px}.nav-task .nav-title{font-size:18px;color:var(--muted);font-weight:400;grid-column:1;overflow-wrap:anywhere}.nav-state{font-size:13px;align-self:center;grid-column:2;grid-row:1/3;max-width:56px;line-height:1.5;color:#64718a}.nav-task.active .nav-state{color:#1459e8}.nav-task.done .nav-state{color:var(--green)}.task-detail{background:#fff;border-radius:24px;padding:26px 34px 32px;min-width:0;min-height:790px}.detail-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:22px;margin-bottom:18px}.subject{background:#eaf1ff;color:var(--blue);border-radius:16px;padding:9px 18px;font-weight:700;font-size:22px}.task-detail h1{font-size:44px;margin:0 0 14px;line-height:1.3;overflow-wrap:anywhere;letter-spacing:-.5px}.listen{font-size:20px;margin-bottom:12px;min-height:52px}.steps{padding:0;margin:4px 0 24px;list-style:none;counter-reset:step;display:grid;gap:14px}.steps li{display:flex;gap:20px;align-items:flex-start;font-size:22px;line-height:1.65;overflow-wrap:anywhere;counter-increment:step;white-space:pre-wrap}.steps li:before{content:counter(step);background:#e7f0ff;color:var(--blue);width:42px;min-width:42px;height:42px;text-align:center;border-radius:50%;font-weight:700}.materials{background:#f5f8fe;border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin-bottom:22px}.materials h2{font-size:20px;margin-bottom:12px}.material{margin-top:10px}.material summary{font-size:18px;font-weight:600;cursor:pointer;padding:10px 0;min-height:48px;overflow-wrap:anywhere}.material img{max-width:100%;max-height:420px;display:block;object-fit:contain;margin:auto;border-radius:12px}.material video{display:block;width:100%;max-height:390px;border-radius:12px;background:#111}.material audio{display:block;width:100%}.material a{display:inline-block;padding:14px 0}.material .hint{margin:10px 0 0}.child-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.child-actions button{font-size:22px;min-height:68px}.done-button{background:#e1f5e9;color:var(--green)}.notice{padding:14px 18px;border-radius:14px;background:#eaf6ef;color:#21633f;line-height:1.7;margin-bottom:18px}.empty{padding:65px 24px;text-align:center;background:white;border:1px solid var(--line);border-radius:24px}.empty img{width:180px;height:180px;object-fit:contain;margin-bottom:20px}.empty p{color:var(--muted)}.auth-layout{max-width:1020px;margin:45px auto;display:grid;grid-template-columns:1fr 440px;gap:60px;align-items:center}.auth-hero{padding:20px}.auth-hero img{height:250px;width:100%;object-fit:contain;margin-bottom:24px}.auth-hero h1{font-size:39px}.auth-hero p{color:var(--muted);font-size:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;min-width:0}.tabs{display:flex;gap:8px;background:#f1f5fd;border-radius:14px;padding:5px;margin-bottom:24px}.tabs button{flex:1;padding:10px;min-height:46px;background:transparent;color:var(--muted)}.tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 5px #18356a0b}label{display:block;font-size:15px;font-weight:600;margin:17px 0 7px}input,select,textarea{display:block;width:100%;min-height:52px;border:1px solid #bac8dd;background:white;border-radius:12px;padding:12px 14px}input[type=file]{font-size:14px}textarea{min-height:160px;resize:vertical;line-height:1.8}form>.primary{width:100%;margin-top:22px}.field-row{display:grid;grid-template-columns:140px 1fr;gap:14px}.error{color:#aa3434;line-height:1.7;font-size:14px;margin-top:12px;white-space:pre-wrap}.error:empty{display:none}.parent-shell{max-width:1120px;margin:10px auto}.intro{margin-bottom:22px}.intro h1{margin-bottom:8px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:22px}.toolbar label{margin-top:0}.toolbar .grow{flex:1;min-width:150px}.toolbar input{max-width:220px}.publish-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e8f0ff;border:1px solid #d9e5ff;border-radius:18px;padding:18px 22px;margin-bottom:22px}.publish-bar p{margin:0;font-size:15px}.parent-tasks{display:grid;gap:16px}.parent-task{background:white;border:1px solid var(--line);border-radius:20px;padding:22px}.parent-task h2{font-size:23px;margin:12px 0 8px}.parent-task .requirement{white-space:pre-wrap;color:var(--muted);font-size:16px;line-height:1.8;overflow-wrap:anywhere;margin-bottom:14px}.pill{display:inline-block;font-size:13px;padding:5px 10px;border-radius:8px;background:#f1f4fa;color:#536078}.pill.pending{background:#fff4cf;color:#75560a}.pill.done{background:#e6f5ec;color:#267246}.pill.help{background:#fff0de;color:#985019}.card-actions{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #edf1f9;padding-top:12px;margin-top:14px}.card-actions button{font-size:14px;min-height:48px;padding:10px 12px}.attachment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;border:1px solid var(--line);padding:8px 12px;border-radius:12px;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid>section:first-child{grid-column:1/-1}.device{border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:16px}.device h3{font-size:18px;margin-bottom:5px}.device p{font-size:14px;margin-bottom:0;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:24px;padding:28px;width:min(650px,calc(100vw - 28px));max-height:90dvh;color:inherit;overflow:auto}dialog::backdrop{background:#15274666}dialog.wide{width:min(1320px,calc(100vw - 28px))}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.modal-head h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.pair-code,.recovery-code{background:#edf3ff;padding:20px;text-align:center;border-radius:16px;color:#1555d4;font-size:32px;font-weight:700;letter-spacing:4px;overflow-wrap:anywhere;user-select:all}.recovery-code{font-family:ui-monospace,monospace;font-size:20px;letter-spacing:1px}.preview-label{padding:12px 18px;background:#fff5d5;border-radius:12px;margin-bottom:18px;line-height:1.7}.preview-child .task-detail{min-height:0}.preview-child .mascot-panel img{height:180px}.preview-child .mascot-panel h2{font-size:22px}.preview-child .task-detail h1{font-size:32px}#connection:not(:empty){padding:12px 20px;background:#fff3d3;text-align:center;line-height:1.6}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#23344f;color:white;border-radius:14px;z-index:10;max-width:calc(100vw - 28px);line-height:1.6;box-shadow:0 4px 20px #0002;display:none}#toast.visible{display:block}.section-title{margin-top:30px}.footer{margin:24px 0 5px;text-align:center;color:var(--muted);font-size:13px}.full{width:100%}details>summary{cursor:pointer;min-height:48px;padding:12px 0}.withdrawn-list{margin-top:25px}.withdrawn-list .parent-task{margin-bottom:12px;opacity:.8}.history{font-size:14px;border-bottom:1px solid var(--line);padding:14px 0;line-height:1.8}
@media(min-width:1400px){.mascot-panel img{height:290px}.task-detail{min-height:950px}.mascot-panel h2{font-size:31px}.task-detail h1{font-size:48px}.task-nav{gap:18px}.mascot-panel{padding-bottom:35px}}
@media(max-width:1100px){.brand{font-size:24px}.date-tag{font-size:18px}.child-layout{grid-template-columns:255px minmax(0,1fr);gap:18px}.mascot-panel{padding:16px 18px 24px}.mascot-panel img{height:220px}.mascot-panel h2{font-size:23px;white-space:normal}.task-nav{padding:20px 14px 0;gap:12px}.nav-task{padding:15px}.nav-task.active{padding:14px}.nav-task strong{font-size:20px}.task-detail{padding:24px;min-height:720px}.task-detail h1{font-size:35px}.steps li{font-size:21px;gap:14px}.auth-layout{gap:28px;grid-template-columns:1fr 400px}.child-actions button{font-size:20px}}
@media(max-width:760px){header{padding:12px 16px;min-height:74px;align-items:flex-start}.brand{font-size:22px;gap:6px}.brand img{width:34px;height:42px}.header-actions{gap:2px;justify-content:flex-end}.header-actions button{font-size:13px;padding:8px;min-height:42px}.date-tag{font-size:15px;padding:10px 12px;margin-top:3px}main{padding:20px 16px}.child-layout{grid-template-columns:1fr}.child-sidebar{padding-bottom:16px;border-radius:20px}.mascot-panel{display:grid;grid-template-columns:100px 1fr;gap:4px 16px;padding:16px;border-radius:20px}.mascot-panel img{height:115px;width:100px;grid-row:1/4}.mascot-panel h2{text-align:left;margin:0;font-size:22px;align-self:center}.mascot-panel p{font-size:17px;margin:0}.mascot-panel strong{font-size:21px}.mascot-panel progress{height:12px;margin:3px 0}.task-nav{padding:16px 14px 0;gap:10px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.nav-task{min-height:85px;gap:4px;padding:12px}.nav-task.active{padding:11px}.nav-task strong{font-size:18px}.nav-task .nav-title{font-size:15px;grid-column:1/-1}.nav-state{grid-row:1;max-width:none;font-size:12px}.task-detail{padding:22px 20px;min-height:0;border-radius:20px}.task-detail h1{font-size:30px}.detail-top{font-size:17px}.subject{font-size:18px;padding:7px 13px;border-radius:12px}.steps li{font-size:20px;gap:12px}.steps li:before{min-width:34px;width:34px;height:34px}.materials{padding:14px}.material summary{font-size:16px}.child-actions{gap:10px}.child-actions button{font-size:18px;padding:12px 8px;min-height:60px}.auth-layout{display:block;margin:12px auto;max-width:460px}.auth-hero{display:flex;gap:12px;align-items:center;padding:0;margin-bottom:24px}.auth-hero img{height:100px;width:100px;margin:0}.auth-hero h1{font-size:26px;margin:0}.auth-hero p{display:none}.panel{padding:22px}.intro h1{font-size:28px}.toolbar{gap:10px}.publish-bar{padding:16px;align-items:flex-start;gap:12px}.publish-bar button{padding:10px 14px;white-space:nowrap}.parent-task{padding:18px}.settings-grid{grid-template-columns:1fr}.settings-grid>section:first-child{grid-column:auto}.field-row{grid-template-columns:1fr}.field-row label{margin-top:12px}.device{align-items:flex-start;gap:10px}.device button{padding:10px}.preview-child .mascot-panel img{height:110px}.preview-child .task-detail h1{font-size:28px}dialog{padding:22px}.modal-actions button{flex:1}.parent-header{flex-wrap:wrap}.parent-header .header-actions{width:100%;justify-content:flex-start}.parent-header .header-actions button{flex:1;font-size:14px}.pair-code{font-size:28px}.recovery-code{font-size:18px}h1,h2,h3{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:no-preference){button{transition:filter .12s}} 

@media(min-width:761px){.child-layout{align-items:stretch}.task-disclosure[open]>summary{display:none}.task-disclosure:not([open])>nav{display:grid}.child-sidebar{min-height:100%}}
@media(max-width:760px){.task-disclosure>summary{padding:16px 18px 0;color:#1c55c8;font-weight:600}.task-disclosure .task-nav{padding-top:12px}.mascot-panel h2{font-size:20px}.child-sidebar{padding-bottom:16px}}

.detail-category{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.task-origin,.pill.origin-parent{background:#fff5d8;color:#795613}.task-origin{font-size:14px;font-weight:600;padding:7px 11px;border-radius:10px}.detail-top{gap:12px}.detail-top>span{white-space:nowrap}
