:root{--ink:#28382f;--muted:#899087;--line:#e8eae3;--green:#46664e;--green-dark:#354f3c;--paper:#f7f8f4;--accent:#57765b;--accent-soft:#edf3e9;--accent-line:#c4d4bd}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.42}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button{transition:background .15s,border-color .15s,box-shadow .15s}h1,h2,h3,h4,p{margin:0}input,textarea{color:var(--ink)}button svg{flex-shrink:0}button{border:0;background:none}a{color:inherit;text-decoration:none}::selection{background:#dce9d5}.theme-sage{--accent:#57765b;--accent-soft:#edf3e9;--accent-line:#c4d4bd}.theme-blue{--accent:#5b7c91;--accent-soft:#edf3f6;--accent-line:#c9dce8}.theme-amber{--accent:#9d7a41;--accent-soft:#f8f2e5;--accent-line:#e7d9b9}.theme-rose{--accent:#9e6c64;--accent-soft:#f8eeeb;--accent-line:#e7ccc7}.theme-violet{--accent:#81718f;--accent-soft:#f2eef6;--accent-line:#dcd1e6}.save-status{font-size:10px;color:#949c8c;display:flex;gap:5px;align-items:center}.save-status>span{width:5px;height:5px;background:#8ea67e;border-radius:50%}.save-status.save-error{color:#ad664f}.save-status.save-error>span{background:#ad664f}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;font-size:12px;border:1px solid transparent;border-radius:7px;white-space:nowrap;font-weight:500}.button.primary{background:#47654d;border-color:#47654d;color:#fff;box-shadow:0 3px 5px #293e2d0b}.button.primary:not(:disabled):hover{background:#36533d;border-color:#36533d}.button.secondary{background:#fff;border-color:#dfe4d9;color:#67735e}.button.secondary:not(:disabled):hover{background:#f1f5eb;border-color:#c7d3bd}.button.small{min-height:32px;padding:7px 11px;font-size:11px;gap:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:#87917e;border-radius:5px}.icon-button:not(:disabled):hover{color:#45613e;background:#edf2e6}.storage-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 32px;background:#fff1df;color:#935b2c;font-size:12px}.storage-error button{color:inherit;text-decoration:underline;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;display:inline-block;background:#c6cebd}.status-dot.status-review{background:#d7b876}.status-dot.status-mastered{background:#7c9e64}.status-select{display:inline-flex;align-items:center;gap:6px;background:#f4f6ee;border:1px solid #e8eddf;align-self:flex-start;padding:4px 6px;border-radius:4px;margin-top:15px}.status-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;font-size:9px;color:#939e85;outline:none;cursor:pointer}.status-select>svg{color:#a8b49b}.answer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.answer-heading h4{font-size:11px;font-weight:500;color:#69785e}.text-button{display:inline-flex;align-items:center;gap:5px;color:#9aa68e;font-size:10px;padding:3px 0}.text-button:hover{color:#4b6b3d}.danger{color:#b2968b}.danger:hover{color:#a35144}.memory-keywords-section{margin:18px 0;padding:16px 18px;background:#f4f6ef;border-radius:7px}.memory-keywords-section h4{font-size:12px;font-weight:500;color:#7b8b6d;margin:0 0 10px}.memory-keywords{list-style:none;margin:0;padding:0;font-size:12px;line-height:1.9}.memory-keywords li{display:flex;align-items:flex-start;gap:5px;margin:5px 0}.memory-keywords li>span:first-child{flex-shrink:0;color:#8c9e7c}.memory-keywords li>span:last-child{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.cloud-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 16px 12px;padding:12px 15px;border:1px solid #e6d9b7;border-radius:7px;background:#fffaf0;color:#8d764c;font-size:12px;line-height:1.8;flex-shrink:0}.cloud-notice>div{display:flex;flex-wrap:wrap;gap:8px}.graph-intro .sync-conflict>span,.graph-intro .sync-offline>span{background:#c29d5a}.graph-intro .sync-connecting>span,.graph-intro .sync-saving>span{background:#91a8b9}.modal{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 60px);overflow-y:auto;margin:auto;border:1px solid #e0e6d6;background:#fdfefb;padding:24px;border-radius:12px;color:var(--ink);box-shadow:0 20px 100px #1c301f2a}.modal-wide{width:min(690px,calc(100vw - 32px))}.modal::-webkit-backdrop{background:#24302665;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal::backdrop{background:#24302665;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.modal-heading h2{font-size:17px;font-weight:600;font-family:Songti SC,STSong,serif;letter-spacing:1px}.field-label{display:block;color:#7b8b6d;font-size:11px;line-height:1.8;margin-bottom:19px}.field-label>span{font-size:9px;color:#adb7a2;margin-left:8px}.field-label input,.field-label textarea{display:block;width:100%;margin-top:8px;background:#fff;border:1px solid #dfe6d6;border-radius:6px;padding:11px 13px;outline:none;font-size:12px;line-height:1.9;resize:vertical}.field-label input:focus,.field-label textarea:focus{border-color:#a2b78e;box-shadow:0 0 0 3px #ecf2e4}.field-label input::placeholder,.field-label textarea::placeholder{color:#b1bba6}.modal-footer{border-top:1px solid #e9eddf;margin-top:24px;padding-top:20px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.dialog-description{font-size:13px;line-height:2;color:#839275}.import-note{padding:12px;margin-top:18px;background:#f3f5eb;color:#a0ab90;font-size:11px;border-radius:6px;line-height:1.8}.danger-button{background:#a66f60;color:#fff}.danger-button:hover{background:#90584a}.practice-mode-tabs{display:flex;gap:5px;background:#f0f4e9;border:1px solid #e6eddb;border-radius:7px;padding:4px;width:-moz-fit-content;width:fit-content;margin-bottom:25px}.practice-mode-tabs button{display:flex;align-items:center;gap:6px;font-size:11px;color:#9caa8b;border-radius:5px;padding:7px 14px}.practice-mode-tabs button.active{background:#fff;color:#59744b;box-shadow:0 1px 4px #3e5b2c0b}.practice-prompt{margin-bottom:20px}.practice-prompt>span{font-size:10px;color:#9ba98d}.practice-prompt h3{font-family:Songti SC,STSong,serif;font-size:23px;line-height:1.7;font-weight:500;margin-top:8px;overflow-wrap:anywhere}.practice-writing-label{margin-bottom:10px}.field-label .practice-writing{min-height:220px;line-height:2.2;background-color:#fff;background-image:repeating-linear-gradient(transparent,transparent 25px,#eff2e7 0,#eff2e7 26px);background-position:0 13px;font-size:12px;line-height:26px}.practice-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;color:#acb69f}.practice-tools>div{display:flex;align-items:center;gap:18px}.practice-tools .text-button{font-size:10px}.hint-box{font-size:11px;line-height:1.9;padding:11px 14px;border-radius:6px;background:#f8f3e7;color:#b39d6e;margin-top:15px}.comparison{padding:19px;background:#f2f6eb;border:1px solid #e5ecd9;border-radius:7px;margin-top:18px}.comparison h4{font-size:12px;font-weight:500;color:#778c65;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.comparison h4>span{font-size:9px;font-weight:400;color:#a0af8e}.comparison ol{padding-left:20px;font-size:12px;line-height:2;color:#7f936e;margin:0}.comparison p{font-size:11px;line-height:1.8;color:#9caa8d}.self-assessment{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:19px;font-size:11px;color:#8a9d78}.self-assessment>div{display:flex;gap:5px}.self-assessment button{display:flex;align-items:center;gap:5px;border:1px solid #e4eadb;padding:6px 8px;background:#fff;border-radius:4px;color:#a0ae90;font-size:10px}.self-assessment button.active{background:#eaf2df;color:#75965a;border-color:#c9dcb5}.practice-footer{justify-content:space-between}.practice-footer>div{display:flex;align-items:center;gap:15px}.practice-footer>div>span{font-size:10px;color:#a4af96}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#42543d;border:1px solid #64765a;box-shadow:0 5px 24px #22311b22;padding:13px 16px;display:flex;align-items:center;gap:10px;color:#fff;border-radius:8px;font-size:12px;max-width:calc(100vw - 28px);line-height:1.7}.toast>svg{color:#b4cda0;flex-shrink:0}.toast>button{color:#d0e4bd;white-space:nowrap;font-size:12px}.toast .toast-close{color:#abc299;display:grid;place-items:center;margin-left:8px}.graph-app{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#f8faf5}.graph-header{min-height:66px;height:66px;justify-content:space-between;gap:16px;padding:0 25px;border-bottom:1px solid #e2e8db;background:#fdfefa;flex-shrink:0}.graph-brand,.graph-header{display:flex;align-items:center}.graph-brand{gap:11px}.graph-brand>span{width:32px;height:34px;background:#4c6850;color:#fff;display:grid;place-items:center}.graph-brand strong{font-family:Songti SC,STSong,serif;font-size:21px;letter-spacing:1px;font-weight:600}.graph-brand small{font-size:11px;color:#9eaa92;margin-left:6px;letter-spacing:.5px}.graph-header-right{display:flex;align-items:center;gap:9px}.graph-search{display:flex;gap:7px;align-items:center;color:#9ca98e}.graph-search input{width:145px;border:0;background:transparent;outline:none}.graph-search input::placeholder{color:#a8b39c}.graph-search>button{display:grid;padding:0 8px 0 0}.graph-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 26px;font-size:11px;color:#9ba88e;flex-shrink:0}.graph-intro strong{font-weight:500;color:#6e825e}.graph-intro>span>span{margin:0 9px;color:#c4cebb}.graph-intro .save-status{font-size:10px}.graph-intro .save-status>span{margin:0;background:#94ae80}.architecture-board{display:flex;flex:1 1;min-height:0;flex-direction:column;margin:0 16px 16px;border:1px solid #dde6d4;border-radius:10px;overflow:hidden;background:#fbfdf8;position:relative}.graph-toolbar{justify-content:space-between;gap:12px;padding:11px 17px;min-height:43px;border-bottom:1px solid #e4ebdc;background:#fdfefa;flex-shrink:0}.graph-path,.graph-toolbar{display:flex;align-items:center}.graph-path{gap:8px;font-size:11px;color:#9caa8b}.graph-path>svg:first-child{color:#6e8d5a;margin-right:3px}.graph-path>span:first-of-type{color:#758c65}.graph-toolbar>div:last-child{display:flex;gap:13px}.graph-toolbar>div:last-child>button{display:flex;align-items:center;gap:4px;font-size:11px;color:#92a17f;padding:3px}.graph-toolbar>div:last-child>button:hover{color:#4d6e37}.graph-viewport{overflow:hidden;overflow:clip;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex:1 1;min-height:0;background-color:#fafcf7;background-image:radial-gradient(#d4dfca .7px,transparent 0);background-size:20px 20px;scrollbar-width:thin;scrollbar-color:#dce5d2 transparent;cursor:-webkit-grab;cursor:grab;position:relative;overscroll-behavior:contain}.graph-viewport.panning,.graph-viewport.panning *{cursor:-webkit-grabbing!important;cursor:grabbing!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.graph-space{position:absolute;inset:0;pointer-events:none}.graph-drawing{transform-origin:0 0;will-change:transform;pointer-events:auto}.graph-drawing,.graph-lines{position:absolute;left:0;top:0}.graph-lines{pointer-events:none}.graph-lines path{fill:none;stroke:var(--accent-line);stroke-width:1.8}.graph-node{position:absolute;border-radius:8px;border:1px solid var(--accent-line);background:#fff;box-shadow:0 2px 6px #3c4f2d06;cursor:default}.graph-root{background:#4f6d50;border-color:#4f6d50;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-shadow:0 3px 12px #45673c18}.graph-root strong{font-family:Songti SC,STSong,serif;font-size:var(--node-font);font-weight:600;letter-spacing:1px}.graph-root>span{color:#d6e4cc;font-size:11px}.graph-root>svg{color:#d7e6ce}.graph-group{background:var(--accent-soft);border-color:var(--accent-line)}.graph-node-main{display:flex;align-items:center;text-align:left;width:100%;height:100%;padding:8px 12px;gap:7px;border-radius:8px}.graph-node-main:hover{background:#ffffff50}.graph-group .graph-node-main{display:block;padding:9px 12px}.graph-group-label{font-size:var(--node-font);line-height:1.25;display:flex;align-items:center;gap:6px;color:var(--accent);font-weight:500}.graph-group-label>b{font-family:Georgia,serif;font-weight:400;font-size:13px;opacity:.65}.graph-group .graph-node-main>strong{display:block;font-size:11px;font-weight:400;color:var(--accent);opacity:.65;line-height:1.4;margin-top:6px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.graph-node-actions{position:absolute;right:7px;bottom:4px;display:flex;align-items:center;gap:1px}.graph-node-actions>button{width:22px;height:20px;display:grid;place-items:center;border-radius:4px;color:var(--accent);opacity:.65;padding:0;background:transparent}.graph-node-actions>button:hover{background:var(--accent-soft);opacity:1}.graph-group .graph-node-actions>button{width:19px;height:19px}.graph-branch-toggle{position:absolute;right:-13px;top:50%;transform:translateY(-50%) scale(var(--control-scale,1));transform-origin:center;width:26px;height:26px;display:grid;place-items:center;background:#fff;border:1px solid var(--accent-line);border-radius:50%;color:var(--accent);padding:0;box-shadow:0 1px 4px #4f653a09}.graph-branch-toggle svg{width:15px;height:15px}.graph-branch-toggle:hover{background:var(--accent-soft)}.graph-topic .graph-node-main{display:block;padding:7px 12px 20px}.graph-topic .graph-node-main>strong{display:block;font-size:var(--node-font);font-weight:500;line-height:1.3;white-space:nowrap}.graph-topic-count{position:absolute;left:12px;bottom:6px;font-size:10px;color:var(--accent);opacity:.6}.graph-topic .graph-node-actions{bottom:3px;right:8px}.graph-question{min-height:84px}.graph-question .graph-node-main{height:auto;min-height:82px;padding:8px 12px 30px;gap:5px;align-items:flex-start}.graph-question .graph-node-main>strong{font-size:var(--node-font);font-weight:500;line-height:1.4;display:block;flex:1 1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.graph-question-number{flex-shrink:0;font-size:13px;line-height:1.6;color:var(--accent);opacity:.6}.graph-question .status-dot{position:absolute;left:13px;bottom:10px}.graph-question.selected{box-shadow:0 0 0 3px var(--accent-soft);border-color:var(--accent)}.graph-answer{border-style:dashed;background:#fffffe;padding:11px 13px;display:flex;flex-direction:column}.graph-answer-label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--accent);opacity:.8}.graph-answer-label>button{margin-left:auto;color:var(--accent);padding:1px}.graph-answer-content{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#6e7f60;padding:10px 0 0;max-height:80px}.graph-answer-open{margin-top:auto;display:flex;align-items:center;gap:3px;font-size:10px;color:var(--accent);padding:7px 0 0}.graph-bottom{justify-content:space-between;gap:15px;min-height:46px;padding:5px 15px;background:#fdfefa;border-top:1px solid #e3ebdb;flex-shrink:0}.graph-bottom,.graph-guide{display:flex;align-items:center}.graph-guide{gap:5px;font-size:10px;color:#a3b094}.graph-guide>span:first-child{width:5px;height:5px;border-radius:50%;background:#8ca679;margin-right:3px}.graph-guide strong{font-weight:400;color:#91a37e}.graph-zoom{display:flex;align-items:center;gap:4px;color:#97a787}.graph-zoom button{width:29px;height:28px;display:grid;place-items:center;border-radius:5px}.graph-zoom button:hover{background:#eef4e7;color:#4f713a}.graph-zoom>span{font-size:10px;width:37px;text-align:center}.graph-zoom i{width:1px;height:15px;background:#e1e8d8;margin:0 5px}.graph-search-results{position:absolute;right:160px;top:59px;z-index:30;width:340px;background:#fff;padding:12px;border:1px solid #dce6d2;border-radius:8px;box-shadow:0 7px 30px #344d221a;max-height:70dvh;overflow:auto}.graph-search-results>div{font-size:10px;color:#a0af8e;padding:5px 7px 12px}.graph-search-results>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 9px;border-top:1px solid #edf2e7;text-align:left;gap:12px}.graph-search-results>button:hover{background:#f4f8ed}.graph-search-results small{display:block;font-size:10px;color:#a2b091;margin-bottom:6px}.graph-search-results strong{display:block;font-size:13px;font-weight:400}.graph-search-results>p{font-size:11px;color:#a1ae91;line-height:1.8;padding:12px 7px}.detail-dialog-path{font-size:11px;color:#a3b294;margin:-12px 0 20px}.detail-dialog-answer{padding:18px;background:#f4f7ee;border:1px solid #e5ecdb;border-radius:7px;font-size:14px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere;max-height:50dvh;overflow-y:auto;margin:14px 0 18px;color:#627953}.detail-dialog-actions{display:flex;align-items:center;gap:10px;border-top:1px solid #e5ecdc;padding-top:20px;margin-top:20px;flex-wrap:wrap}.detail-dialog-actions>.icon-button{margin-left:auto}.topic-tools-title{font-size:14px;color:#81976f;line-height:1.8}.topic-tools-buttons{display:flex;gap:10px;margin-top:25px}.form-error{color:#a2664e;background:#fff3eb;padding:10px;border-radius:5px;font-size:11px}@media(max-width:760px){.graph-header{padding:0 16px;height:60px;min-height:60px}.graph-brand{gap:8px}.graph-brand strong{font-size:18px}.graph-brand small{display:none}.graph-search input{width:100px;font-size:11px}.graph-header-right{gap:6px}.graph-intro{padding:12px 18px;font-size:10px}.graph-intro .save-status{font-size:9px}.architecture-board{margin:0 10px 10px}.graph-toolbar{padding:10px 11px;flex-wrap:wrap;gap:10px}.graph-path{font-size:10px;gap:5px}.graph-toolbar>div:last-child{gap:12px}.graph-toolbar>div:last-child>button{font-size:10px}.graph-guide{font-size:9px;gap:3px}.graph-bottom{padding:4px 9px;min-height:43px}.graph-zoom{gap:1px}.graph-zoom button{width:26px}.graph-zoom i{margin:0 2px}.graph-search-results{right:10px;top:55px;width:min(340px,calc(100vw - 20px))}}@media(max-width:500px){.graph-header{padding:0 12px;gap:8px;min-height:58px;height:58px}.graph-brand strong{font-size:16px;letter-spacing:.3px}.graph-brand>span{width:27px;height:29px}.graph-brand>span svg{width:18px}.graph-header-right{gap:4px}.graph-header-right .button{padding:6px;width:29px;height:29px;min-height:29px}.graph-header-right .button>span{display:none}.graph-search input{width:75px;font-size:10px}.graph-search{gap:3px}.graph-search>svg{width:13px}.graph-intro{padding:10px 13px;font-size:9px;gap:8px}.graph-intro>span>span{margin:0 4px}.graph-intro .save-status{font-size:8px;white-space:nowrap}.graph-intro>span:first-child>span,.graph-intro>span:first-child>strong{display:none}.architecture-board{margin:0 6px 6px;border-radius:7px}.graph-path{font-size:9px;gap:4px}.graph-path>svg:first-child{width:13px;margin:0}.graph-toolbar{padding:9px;gap:8px}.graph-toolbar>div:last-child{margin-left:auto}.graph-toolbar>div:last-child>button{font-size:9px}.graph-guide{font-size:8px;max-width:170px;line-height:1.6;flex-wrap:wrap;gap:2px}.graph-zoom button{width:23px}.graph-zoom>span{width:28px;font-size:9px}.graph-bottom{gap:4px;padding:5px 7px}.graph-zoom button:last-child{display:none}.detail-dialog-actions .button{font-size:11px;padding:9px 11px}.graph-node-actions>button{opacity:.85}}.detail-dialog-actions+.status-select{margin:0}.graph-guide-touch{display:none}.graph-zoom .graph-scroll-mode{width:auto;min-width:88px;padding:0 8px;font-size:10px;border:1px solid #dce6d3;margin-right:7px}.graph-zoom .graph-scroll-mode[aria-pressed=true]{background:#edf3e6;color:#557346}.graph-answer{padding:0;min-height:92px;display:block}.graph-reference+.graph-reference{border-top:1px solid var(--accent-line)}.graph-reference>summary,.reference-disclosure>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:44px;padding:11px 14px;cursor:pointer;color:var(--accent);font-size:13px;font-weight:500}.graph-reference>summary::-webkit-details-marker,.reference-disclosure>summary::-webkit-details-marker{display:none}.graph-reference>summary>svg:last-child,.reference-disclosure>summary>svg:last-child{margin-left:auto;flex-shrink:0;transition:transform .15s}.graph-reference[open]>summary>svg:last-child,.reference-disclosure[open]>summary>svg:last-child{transform:rotate(180deg)}.graph-reference-body{padding:0 14px 14px;font-size:13px;line-height:1.9;color:#65785a}.graph-reference-text{white-space:pre-wrap;overflow-wrap:anywhere}.graph-reference-body>.text-button{margin-top:12px;font-size:11px}.graph-reference-body .memory-keywords{font-size:13px}.reference-disclosure{border:1px solid #dfe7d5;border-radius:7px;margin:12px 0;background:#fcfef9}.reference-disclosure>.detail-dialog-answer{margin:0 12px 12px}.reference-disclosure-body{padding:0 16px 16px;font-size:13px;line-height:1.9}@media(max-width:760px),(pointer:coarse){.graph-guide-desktop{display:none}.graph-guide-touch{display:inline}.graph-zoom .graph-scroll-mode{display:none}}@media(max-width:500px){.modal{padding:19px;max-height:calc(100dvh - 30px)}.modal-heading{margin-bottom:20px}.practice-mode-tabs{margin-bottom:19px}.practice-prompt h3{font-size:21px}.practice-tools{align-items:flex-start;gap:8px;flex-direction:column}.practice-tools>div{width:100%;justify-content:space-between;margin-top:4px}.self-assessment{flex-direction:column;align-items:flex-start;gap:10px}.self-assessment button{font-size:10px;padding:7px 9px}.practice-footer>div{gap:8px}.practice-footer>.button{padding:9px 10px;font-size:11px}.practice-footer{gap:5px}.practice-writing-label{font-size:10px}.toast{font-size:11px;bottom:17px;padding:10px 12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.graph-node.selected{box-shadow:0 0 0 3px var(--accent-soft);border-color:var(--accent)}.graph-root .graph-node-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:8px}.graph-root .graph-node-main>span{color:#d6e4cc;font-size:11px}.graph-root .graph-node-main>svg{color:#d7e6ce}.canvas-actions{position:relative;z-index:10;gap:16px;flex-wrap:wrap;flex-shrink:0;border-top:1px solid var(--accent-line);background:#fff;padding:10px 16px;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.canvas-actions,.canvas-actions-heading{display:flex;align-items:center;justify-content:space-between}.canvas-actions-heading{gap:12px;color:var(--accent)}.canvas-actions-heading>span{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.canvas-actions-heading .icon-button{width:30px;height:30px;flex-shrink:0}.canvas-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:1}.canvas-action-buttons .button.danger{color:#a26658;border-color:#e6d2cb}.canvas-action-buttons .button{min-height:40px;padding:9px 13px;font-size:12px;gap:7px;border-radius:6px}@media(max-width:760px){.canvas-actions{flex-direction:column;align-items:stretch;gap:6px;padding:8px 12px 10px}.canvas-actions-heading>span{max-width:calc(100% - 42px)}.canvas-action-buttons{justify-content:flex-start}}@media(max-width:500px){.canvas-actions{padding:7px 10px 10px}.canvas-actions-heading{gap:12px;margin-bottom:5px}.canvas-actions-heading>span{max-width:calc(100% - 40px);font-size:11px}.canvas-action-buttons{gap:6px}.canvas-action-buttons .button{flex:1 1;min-height:42px;font-size:11px;padding:9px 8px;gap:5px}.canvas-action-buttons .button svg{width:16px}}.graph-app{position:relative;display:block;isolation:isolate}.architecture-board{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0}.graph-header{position:absolute;z-index:20;top:12px;left:12px;right:12px;height:50px;min-height:50px;padding:0 10px;gap:14px;border:1px solid #dce5d5;border-radius:12px;background:#fdfefaf2;box-shadow:0 3px 18px #33492b0b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.graph-header-left{display:flex;align-items:center;gap:16px;min-width:0}.graph-brand{gap:8px;flex-shrink:0}.graph-brand>span{width:30px;height:30px;border-radius:8px}.graph-brand strong{font-size:18px;white-space:nowrap}.graph-summary{font-size:11px;white-space:nowrap;color:#899780}.graph-sync{white-space:nowrap;gap:6px}.graph-sync>.graph-sync-label{background:none;width:auto;height:auto;border-radius:0;font-size:10px}.graph-sync.sync-conflict>span:first-child,.graph-sync.sync-offline>span:first-child{background:#c29d5a}.graph-sync.sync-connecting>span:first-child,.graph-sync.sync-saving>span:first-child{background:#91a8b9}.graph-header-right{gap:6px}.graph-header-right .button{min-height:36px;padding:7px 10px;font-size:11px;border-radius:7px}.graph-search{gap:6px;width:198px;min-width:0;padding-left:9px;border:1px solid #e4eadf;background:#f5f8f1;border-radius:7px}.graph-search input{width:100%;min-width:0;flex:1 1;font-size:12px;padding:8px 0}.graph-search>button{width:30px;height:34px;padding:0;place-items:center}.graph-focus-button{color:#4c6c49!important}.graph-exit-focus{position:absolute;z-index:20;top:12px;right:12px;min-height:40px;padding:8px 12px;box-shadow:0 2px 12px #33492b10;background:#fdfefaf2}.is-focused .graph-header{display:none}.graph-notices{position:absolute;top:74px;left:12px;right:12px;z-index:25;display:grid;grid-gap:8px;gap:8px;pointer-events:none}.graph-notices>*{pointer-events:auto}.graph-notices .cloud-notice{margin:0;padding:10px 14px;max-width:760px;box-shadow:0 3px 15px #33492b0b}.graph-notices .storage-error{padding:10px 14px;border-radius:8px;max-width:760px;line-height:1.7}.is-focused .graph-notices{top:64px}.graph-search-results{top:70px;right:12px;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 150px)}.graph-bottom{position:absolute;z-index:12;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));min-height:0;padding:5px;gap:0;border:1px solid #dce5d5;border-radius:11px;background:#fdfefaf2;box-shadow:0 3px 18px #33492b10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.graph-zoom{gap:2px;color:#7c9070}.graph-zoom button{width:36px;height:36px;border-radius:7px}.graph-zoom>span{width:40px;font-size:11px}.graph-zoom i{margin:0 4px}.graph-zoom .graph-scroll-mode{min-width:84px;margin:0 2px;padding:0 7px;font-size:11px}.graph-tools{position:static}.graph-tools>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 9px;border-radius:7px;cursor:pointer;font-size:11px;white-space:nowrap}.graph-tools>summary::-webkit-details-marker{display:none}.graph-tools>summary:hover,.graph-tools[open]>summary{background:#edf3e6;color:#4d6d3c}.graph-tools>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.graph-tools-panel{position:absolute;right:0;bottom:calc(100% + 10px);width:264px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 100px);overflow-y:auto;padding:14px;border:1px solid #dce5d5;border-radius:11px;box-shadow:0 8px 32px #33492b20;background:#fdfefa;color:#65775c;cursor:default}.graph-tools-panel>strong{display:block;font-size:12px;margin-bottom:10px}.graph-tools-panel>button{width:100%;height:40px;display:flex;justify-content:flex-start;gap:8px;padding:0 9px;font-size:12px}.graph-tools-panel>p{font-size:11px;line-height:1.9;margin-top:10px;color:#8b9a80}.graph-tools-panel>.graph-guide-touch{display:none}.canvas-actions{position:absolute;z-index:12;left:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:max-content;max-width:calc(100% - 430px);padding:7px 8px 7px 12px;gap:10px;flex-wrap:nowrap;border:1px solid var(--accent-line);border-radius:11px;background:#fffffff5;box-shadow:0 3px 18px #33492b15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.canvas-actions-heading{gap:5px;flex-shrink:0;min-width:0;margin:0}.canvas-actions-heading>span{max-width:140px;font-size:11px}.canvas-actions-heading .icon-button{width:32px;height:36px}.canvas-action-buttons{min-width:0;flex:1 1;gap:6px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d5dfcb transparent;padding:1px 2px 3px}.canvas-action-buttons .button{flex:0 0 auto;min-height:38px;padding:8px 10px;font-size:11px;gap:6px}@media(max-width:1200px){.canvas-actions{bottom:calc(70px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px)}.graph-summary{display:none}}@media(max-width:900px){.graph-sync-label{position:absolute;width:1px!important;height:1px!important;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.graph-header-left{gap:9px}}@media(max-width:760px),(pointer:coarse){.graph-tools-panel>.graph-guide-desktop{display:none}.graph-tools-panel>.graph-guide-touch{display:block}.graph-zoom .graph-scroll-mode{display:none}}@media(max-width:760px){.graph-header{top:8px;left:8px;right:8px;min-height:48px;height:48px;padding:0 7px;gap:8px}.graph-brand strong{font-size:16px;letter-spacing:.3px}.graph-brand>span{width:28px;height:28px}.graph-header-right{gap:4px}.graph-header-right .button{width:36px;height:36px;min-height:36px;padding:0}.graph-header-right .button>span{display:none}.graph-search{width:108px;padding-left:7px;gap:4px}.graph-search input{width:100%;font-size:11px}.graph-search>svg{width:15px}.graph-search>button{width:26px}.graph-search-results{top:64px;right:8px;width:calc(100vw - 16px)}.architecture-board{margin:0;border-radius:0}.graph-bottom{right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));padding:4px}.graph-zoom{gap:1px}.graph-zoom button{width:40px;height:40px}.graph-zoom button:last-child{display:grid}.graph-zoom>span{width:36px}.graph-zoom i{margin:0 2px}.graph-tools>summary{min-height:40px;padding:0 10px}.graph-tools>summary>span{display:none}.graph-tools-panel{right:0;width:248px}.canvas-actions{left:8px;bottom:calc(66px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 16px);padding:6px;gap:4px;flex-direction:row;align-items:center}.canvas-actions-heading{gap:0;margin:0}.canvas-actions-heading>span{display:none}.canvas-actions-heading .icon-button{width:32px;height:42px}.canvas-action-buttons{gap:5px;justify-content:flex-start}.canvas-action-buttons .button{flex:0 0 auto;min-height:42px;font-size:11px;padding:9px 10px}.graph-exit-focus{top:8px;right:8px;min-height:40px}.graph-notices{top:64px;left:8px;right:8px}}@media(max-width:390px){.graph-brand strong{font-size:15px}.graph-brand{gap:5px}.graph-search{width:84px}.graph-header-left{gap:6px}}.graph-branch-toggle{right:-18px;width:36px;height:36px;border:0;background:transparent;box-shadow:none}.graph-branch-toggle:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:18px;height:18px;border:1px solid var(--accent-line);border-radius:50%;background:#fff;pointer-events:none;transition:background .15s,border-color .15s}.graph-branch-toggle svg{position:relative;width:11px;height:11px;stroke-width:1.6;opacity:.8;pointer-events:none}.graph-branch-toggle:hover{background:transparent}.graph-branch-toggle:focus-visible:before,.graph-branch-toggle:hover:before{border-color:var(--accent);background:var(--accent-soft)}.graph-branch-toggle:focus-visible svg,.graph-branch-toggle:hover svg{opacity:1}@media(pointer:coarse){.graph-branch-toggle{right:-22px;width:44px;height:44px}}