:root{font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;color:#f7f8fc;background:#090c14;font-synthesis:none;--bg:#090c14;--panel:#151a27;--panel-strong:#1b2130;--line:#2a3348;--muted:#9aa5ba;--primary:#7667f6;--primary-2:#4d8ff7;--success:#36c795;--danger:#ff6b83}*{box-sizing:border-box}.chapter-images{display:grid;gap:12px;margin:14px 0}.chapter-images img{display:block;width:100%;max-height:72vh;object-fit:contain;border-radius:14px;background:#0f172a;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100dvh;user-select:none;-webkit-user-select:none;background:radial-gradient(circle at 85% 0,rgba(77,143,247,.12),transparent 35%),var(--bg)}input,textarea{user-select:text;-webkit-user-select:text}button,input,textarea{font:inherit}button{cursor:pointer}.shell{width:min(100%,760px);min-height:100dvh;margin:auto;padding:18px 16px calc(104px + env(safe-area-inset-bottom))}.brand{display:flex;align-items:center;gap:12px;margin:4px 0 20px}.logo{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#7667f6;box-shadow:0 8px 24px #7667f647;display:grid;place-items:center;font-size:18px;font-weight:900}.brand h1{font-size:19px;line-height:1.25;margin:0}.muted{color:var(--muted);font-size:13px;line-height:1.55}.card{background:#151a27f5;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:14px;box-shadow:0 12px 36px #0003}.hero{padding:22px;background:#171d2b;border-color:#303a52}h2,h3,p{margin-top:0}h2{font-size:23px;line-height:1.35;margin-bottom:12px}h3{font-size:17px;line-height:1.4;margin-bottom:10px}.field{display:grid;gap:7px;margin:14px 0}.field label{font-size:13px;color:#b4bdd0}input,textarea{width:100%;min-height:48px;border:1px solid #39445e;background:#0f1420;color:#fff;border-radius:13px;padding:13px 14px;outline:none;transition:border-color .18s,box-shadow .18s}input:focus,textarea:focus{border-color:#7667f6;box-shadow:0 0 0 3px #7667f626}textarea{min-height:210px;resize:vertical;line-height:1.7}.btn{min-height:46px;border:0;border-radius:13px;padding:12px 16px;font-weight:750;color:#fff;background:#6f62ec;transition:transform .15s,background .15s}.btn:active{transform:scale(.985)}.btn.secondary{background:#283146}.btn.ghost{background:transparent;border:1px solid #44506b}.btn:disabled{opacity:.45;cursor:not-allowed}.row{display:flex;gap:10px;align-items:center}.row>*{flex:1;min-width:0}.tabs{position:fixed;z-index:30;bottom:10px;left:50%;transform:translate(-50%);width:min(calc(100% - 20px),720px);padding:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom));background:#141926f5;border:1px solid #313a50;border-radius:18px;display:flex;box-shadow:0 12px 40px #00000073;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.tabs button{min-height:44px;flex:1;border:0;border-radius:12px;background:none;color:#929db1;padding:9px 4px;font-size:13px}.tabs button.active{color:#fff;background:#30384e;font-weight:700}.pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#27304c;color:#c9d2ff;font-size:12px}.progress{height:8px;background:#293044;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;background:#5e85f3}.node{padding:14px;border:1px solid #30394f;border-radius:14px;margin:9px 0;color:#d4daea;background:#111725;line-height:1.55;transition:border-color .16s,background .16s}.node.selected{border-color:#8578ff;background:#252447;color:#fff}.chapter-deadline-line{margin-top:9px;padding-top:8px;border-top:1px solid #343d50;color:#ffd66b;font-size:13px;font-weight:700}.deadline-banner{display:flex;flex-direction:column;gap:7px;margin:14px 0;padding:14px;border:1px solid #6c65a8;border-radius:14px;background:#242442;color:#f6f3ff}.deadline-banner b{font-size:17px;color:#ffdf79}.deadline-banner span{font-size:13px;line-height:1.6;color:#d8d7e8}.deadline-banner.urgent{border-color:#d65d73;background:#3d222e}.deadline-banner.urgent b{color:#ffbcc8}.route-summary{position:sticky;top:8px;z-index:10;background:#181d2bf2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #3a445e;border-radius:15px;padding:12px;margin-bottom:10px}.route-flow{display:flex;gap:7px;overflow:auto;padding-bottom:2px;scrollbar-width:none}.route-flow::-webkit-scrollbar{display:none}.route-flow span{white-space:nowrap;font-size:12px;color:#aeb8cb}.draft-meta{display:flex;justify-content:space-between;gap:10px;color:#929db2;font-size:12px;margin:8px 2px}.record{width:78px;height:78px;border-radius:50%;border:7px solid #30394e;background:#ff5572;margin:14px auto;display:block;box-shadow:0 0 0 8px #ff557214}.video-duration-rule{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border:1px solid #3a4560;border-radius:13px;background:#111827;color:#dce4f3}.video-duration-rule b{font-size:20px;color:#fff}.video-duration-rule span{font-size:12px;color:#9ba7bb}.camera-preview-wrap{position:relative;width:min(100%,420px);margin:14px auto;border:1px solid #3b465e;border-radius:18px;overflow:hidden;background:#05070c;aspect-ratio:9/16}.camera-preview{display:block;width:100%;height:100%;object-fit:cover;background:#05070c}.recording-indicator{position:absolute;left:12px;top:12px;padding:7px 10px;border-radius:999px;background:#740c23db;color:#fff;font-size:13px;font-weight:800}.video-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.file-choice{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer}.file-choice input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}@media(max-width:560px){.video-source-actions{grid-template-columns:1fr}}.alert{padding:12px 14px;border-radius:12px;background:#42232d;color:#ffd0d8;margin:10px 0;line-height:1.5}.success{background:#163b35;color:#b8f6df}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:15px;border-radius:15px;background:#101624;border:1px solid #242c3f}.stat b{display:block;font-size:25px;margin-top:6px}.watermark{position:fixed;pointer-events:none;inset:-12%;opacity:.065;overflow:hidden;z-index:40;transform:rotate(-20deg);display:grid;grid-template-columns:repeat(2,1fr);place-items:center;gap:12vh 6vw;font-size:16px;line-height:1.5;animation:watermark-drift 18s ease-in-out infinite alternate}.watermark span{white-space:nowrap}@keyframes watermark-drift{0%{translate:-1.5% -1%;opacity:.045}to{translate:1.5% 1%;opacity:.075}}.empty{text-align:center;color:#929bb0;padding:34px 10px}.unlock-panel{display:grid;gap:9px;margin-top:12px}.unlock-step{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:center;padding:11px;border:1px solid #30394f;border-radius:13px;background:#111725}.unlock-step>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#2a3145;color:#b6c0d5;font-weight:800}.unlock-step b,.unlock-step small{display:block}.unlock-step small{margin-top:3px;color:#929db2;line-height:1.45}.unlock-step.done{border-color:#246f5a;background:#112820}.unlock-step.done>span{background:#2e9b77;color:#fff}.unlock-note{margin:4px 2px 0}.tree-workspace{min-width:0}.tree-view-switch{display:flex;justify-content:space-between;align-items:center;gap:12px}.tree-view-switch h3,.tree-view-switch p{margin:0}.tree-view-switch p{margin-top:5px}.segmented{display:flex;gap:4px;padding:4px;border:1px solid #30394f;border-radius:13px;background:#111725}.segmented button{border:0;border-radius:9px;padding:9px 12px;background:transparent;color:#9da8bb;font-weight:750;white-space:nowrap}.segmented button.active{background:#6156e8;color:#fff}.tree-counts{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:2px 0 12px}.tree-counts span{display:flex;align-items:baseline;gap:4px;min-width:max-content;padding:8px 10px;border-radius:11px;background:#191f30;color:#bec8db}.tree-counts span b{font-size:20px;color:#fff}.tree-counts i{font-style:normal;color:#6f7a91}.tree-branch{margin:11px 0;border:1px solid #30394f;border-radius:15px;background:#111725;overflow:hidden}.tree-branch summary{cursor:pointer;padding:14px;line-height:1.6;font-weight:700;list-style:none}.tree-branch summary::-webkit-details-marker{display:none}.tree-branch summary span{display:inline-block;margin-right:9px;padding:3px 8px;border-radius:999px;background:#6156e8;color:#fff;font-size:12px}.branch-body{display:grid;gap:11px;padding:0 12px 12px}.psychology-branch{padding:12px;border-radius:13px;background:#171e2e}.psychology-branch h4{margin:0 0 10px;line-height:1.6;color:#dfe4f2}.story-branch{margin-top:9px;padding:12px;border:1px solid #30394f;border-radius:12px;background:#0f1522}.story-branch p{line-height:1.65}.branch-conclusion{display:grid;gap:7px;margin:10px 0}.branch-conclusion span{padding:8px 10px;border-left:3px solid #6156e8;background:#181e2d;line-height:1.55;color:#c6cede}.story-branch .btn{width:100%}.dynamic-panel>.row{align-items:flex-start}.dynamic-panel>.row h3,.dynamic-panel>.row p{margin:0}.dynamic-panel>.row p{margin-top:5px}.dynamic-node{position:relative;margin:11px 0;padding:12px 13px;border:1px solid #3a435a;border-radius:13px;background:#151c2b}.dynamic-node:not(:last-of-type):after{content:"↓";position:absolute;left:24px;bottom:-19px;color:#65728d;font-weight:900}.dynamic-node.root{border-color:#6359e9;background:#242347}.dynamic-node-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.dynamic-node-head span{display:inline-flex;padding:4px 9px;border-radius:999px;background:#6156e8;color:#fff;font-size:12px;font-weight:800}.dynamic-node-head button,.candidate-heading button{border:0;background:transparent;color:#9f96ff;font-weight:750}.dynamic-node p{margin:9px 0 0;line-height:1.65}.dynamic-candidates{display:grid;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid #30394f}.candidate-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.dynamic-choice{display:block;width:100%;padding:12px;border:1px solid #3b455d;border-radius:13px;background:#101725;color:#e8ebf3;text-align:left}.dynamic-choice span{display:inline-flex;padding:4px 8px;border-radius:999px;background:#273050;color:#bfc8ff;font-size:12px;font-weight:800}.dynamic-choice p{margin:8px 0 0;line-height:1.6}.dynamic-choice:hover,.dynamic-choice:focus-visible{border-color:#786df4;background:#191d38;outline:none}.dynamic-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.report-modal{position:fixed;z-index:60;inset:0;display:grid;place-items:end center;padding:16px;background:#04070ec2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.report-sheet{width:min(100%,720px);max-height:92dvh;overflow:auto;margin:0}.report-text{white-space:pre-wrap;line-height:1.75;color:#d5dbea}.report-scores{margin:14px 0 20px}.review-outcome{display:grid;gap:7px;margin:14px 0;padding:15px 16px;border:1px solid;border-radius:16px}.review-outcome b{font-size:17px}.review-outcome span{font-size:14px;line-height:1.65;color:#d5dbea}.review-outcome.passed{border-color:#43d39b8c;background:#1d916729}.review-outcome.passed b{color:#73e4b7}.review-outcome.rejected{border-color:#ff747494;background:#ae2e402e}.review-outcome.rejected b{color:#ff9b9b}.review-outcome.pending{border-color:#f5be568c;background:#a06b162e}.review-outcome.pending b{color:#ffd27a}@media(max-width:520px){.shell{padding:14px 12px calc(96px + env(safe-area-inset-bottom))}.brand{margin-bottom:16px}.logo{width:40px;height:40px;flex-basis:40px;border-radius:12px}.brand h1{font-size:17px}.card{padding:15px;border-radius:16px;margin-bottom:11px}.hero{padding:18px}h2{font-size:20px}h3{font-size:16px}.row{flex-wrap:wrap}.row>*{flex:1 1 140px}.tree-view-switch{display:grid}.segmented{width:100%}.segmented button{flex:1}.psychology-branch,.story-branch{padding:10px}.dynamic-panel>.row{display:grid}.dynamic-panel>.row .btn{width:100%}.dynamic-actions{grid-template-columns:1fr}.candidate-heading{align-items:flex-start}.tabs{bottom:7px;width:calc(100% - 14px);border-radius:16px}.tabs button{font-size:12px;padding-inline:2px}textarea{min-height:180px}.draft-meta{flex-direction:column;gap:3px}.report-modal{padding:0}.report-sheet{border-radius:22px 22px 0 0;padding-bottom:calc(22px + env(safe-area-inset-bottom))}}@media(min-width:900px){.shell{width:min(100%,1240px);max-width:none;padding:28px 34px 48px}.shell:has(>.hero){display:grid;grid-template-columns:minmax(340px,.85fr) minmax(430px,1.15fr);grid-template-rows:auto 1fr;gap:24px;align-content:center;min-height:100vh}.shell:has(>.hero)>.brand{grid-column:1/-1;margin:0}.shell:has(>.hero)>.hero,.shell:has(>.hero)>.card{margin:0;min-height:330px;display:flex;flex-direction:column;justify-content:center}.shell:has(>.hero)>.hero{padding:36px}.shell:has(>.hero)>.card{padding:32px}.shell:has(>.tabs){padding-left:286px;position:relative}.shell:has(>.tabs)>.brand{position:fixed;z-index:31;top:28px;left:max(28px,calc(50% - 592px));width:220px}.shell:has(>.tabs)>.tabs{top:100px;bottom:auto;left:max(28px,calc(50% - 592px));transform:none;width:220px;padding:10px;flex-direction:column;gap:6px;border-radius:18px}.shell:has(>.tabs)>.tabs button{text-align:left;padding:13px 16px;font-size:14px}.shell:has(>.tabs)>.card,.shell:has(>.tabs)>.alert,.shell:has(>.tabs)>.route-summary{max-width:920px}.tree-workspace{width:min(100%,920px);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);grid-template-areas:"summary summary" "switch switch" "route draft" "route record";gap:14px;align-items:start}.tree-workspace>.route-summary{grid-area:summary;margin:0}.tree-workspace>.tree-view-switch{grid-area:switch;margin:0}.tree-workspace>.route-panel,.tree-workspace>.full-tree-panel{grid-area:route;margin:0}.tree-workspace>.draft-panel{grid-area:draft;margin:0}.tree-workspace>.record-panel{grid-area:record;margin:0}.tree-workspace textarea{min-height:320px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.route-summary{top:18px}textarea{min-height:260px}}@media(max-height:600px){.route-summary{padding:8px}.route-summary .muted{display:none}textarea{min-height:130px}}.homework-preview{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.homework-preview img{max-height:260px;object-fit:contain}.supplementary-videos{margin:14px 0;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:14px}.supplementary-videos summary{font-weight:800;cursor:pointer}.supplementary-item{margin-top:14px}.supplementary-item video{display:block;width:100%;margin-top:8px;border-radius:12px}.supplementary-load{display:block;width:100%;margin-top:8px}
