:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Noto Sans CJK KR","Apple SD Gothic Neo",Arial,sans-serif;color:#292837;background:#f7f8fb;font-synthesis:none;font-size:13px;--accent:#7761cf;--accent-dark:#6350b0;--ink:#292837;--muted:#9694a6;--line:#ecebf2;--bg:#f7f8fb;--purple-bg:#f0ecfa;--teal:#4f9b92;--amber:#c29956;--shadow:0 14px 40px #24203b0c}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible{outline:2px solid #8b76dd;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#ae9ee4;box-shadow:0 0 0 3px #7761cf10}a{text-decoration:none;color:inherit}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,h4,p{margin:0}button{transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}::selection{background:#e3daf9}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#dbd9e4;border-radius:10px}::-webkit-scrollbar-track{background:transparent}kbd{font-size:10px;font-family:inherit;background:#f7f6fa;padding:3px 5px;border:1px solid #e9e7ee;border-radius:4px;color:#9692a4}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.92em;background:#f0eef6;padding:2px 5px;border-radius:4px}.desktop-shell{height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr) 304px;grid-template-rows:43px 1fr;overflow:hidden}.desktop-shell.wide{grid-template-columns:230px minmax(0,1fr)}.titlebar{grid-column:1/-1;display:flex;align-items:center;justify-content:center;background:#f6f6f9;border-bottom:1px solid var(--line);font-size:10.5px;color:#92909e;letter-spacing:.2px;-webkit-app-region:drag;position:relative;user-select:none}.titlebar-sep{padding:0 10px;color:#c7c4d0}.titlebar-left{position:absolute;left:19px;top:15px}.titlebar-right{position:absolute;right:20px;font-size:8px;letter-spacing:1.5px;color:#b2afbc}.traffic-dots{display:flex;gap:8px}.traffic-dots i{width:10px;height:10px;border-radius:50%;background:#f5a5a0}.traffic-dots i:nth-child(2){background:#edcc8b}.traffic-dots i:nth-child(3){background:#a8ccb0}.sidebar{background:#fcfcfd;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;padding:25px 15px 0;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-size:22px;letter-spacing:-.8px;font-weight:720;padding:0 12px 24px}.brand-mark{width:34px;height:34px;background:#7c65d4;border-radius:10px;display:grid;place-items:center;color:white;box-shadow:0 3px 7px #7560c724}.brand-light{font-weight:400;color:#a9a1ba}.workspace-switch{display:flex;align-items:center;gap:9px;padding:10px 9px;border:1px solid #e9e7ef;border-radius:9px;text-align:left;width:100%;background:#fff}.workspace-switch:hover{border-color:#c8bfdf}.workspace-avatar{display:grid;place-items:center;background:#eae5f8;color:#7a62c7;width:30px;height:30px;border-radius:7px;font-size:14px;font-weight:650;flex-shrink:0}.workspace-switch>span:nth-child(2){flex:1;min-width:0}.workspace-switch strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:550}.workspace-switch small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.workspace-switch>svg{color:#aaa5b7}.quick-search{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;margin:13px 0 15px;color:#aaa5b3;font-size:11px}.quick-search kbd{margin-left:auto}.quick-search:hover{color:var(--accent)}nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:7px;text-align:left;font-size:12px;width:100%;color:#777280;position:relative}.nav-item:hover{background:#f3f1f8}.nav-item.active{color:#755dc7;background:#eee9f8;font-weight:620}.nav-item.active:before{content:"";height:16px;width:3px;background:#856ed5;position:absolute;left:-15px;border-radius:0 3px 3px 0}.nav-count{margin-left:auto;font-size:10px;color:#aaa4b6}.nav-item.active .nav-count{color:#8b76c8}.nav-dot{height:5px;width:5px;border-radius:50%;background:#b8a5e5;margin-left:auto}.sidebar-divider{height:1px;background:var(--line);margin:20px 9px 17px;flex-shrink:0}.section-label{display:flex;align-items:center;justify-content:space-between;color:#aaa5b4;font-size:10px;letter-spacing:.25px;margin:0 9px 8px}.section-label .icon-btn{width:20px;height:20px}.project-item{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 12px;font-size:11px;color:#8c869a;width:100%;border-radius:6px}.project-item:hover,.project-item.selected{background:#f3f0f8;color:#65517f}.project-item>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-dot{width:6px;height:6px;border-radius:2px;background:#b29cd9;flex-shrink:0}.project-dot.p1{background:#8cb8af}.project-dot.p2{background:#d9b995}.sidebar-empty{font-size:10px;color:#aaa;padding:12px}.sidebar-bottom{margin-top:auto;padding-top:20px}.vault-box{padding:17px 14px;border:1px solid #e7e3ef;border-radius:9px;background:#f9f7fc;margin:0 4px 14px}.vault-box>svg{color:#9381b5;display:block;margin-bottom:9px}.vault-box>strong{font-size:11px;font-weight:600}.vault-box p{font-size:10px;color:#a29bad;line-height:1.8;margin-top:6px;margin-bottom:12px}.local-status{padding:17px 8px;display:flex;align-items:center;gap:6px;font-size:9px;color:#aaa4b3;border-top:1px solid var(--line);margin-top:12px}.local-status>span:last-child{margin-left:auto}.live-dot{width:5px;height:5px;border-radius:50%;background:#91b8a5}.workspace-main{display:flex;flex-direction:column;min-width:0;min-height:0}.toolbar{height:65px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 29px;background:#fdfdfe}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:10.5px;min-width:0}.breadcrumbs>svg{color:#b4adbe}.breadcrumbs>span{color:#a49dad;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.breadcrumbs>strong{font-weight:500;color:#787084;white-space:nowrap}.toolbar-actions{display:flex;align-items:center;gap:12px}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#fff;border:1px solid #e5e1ec;border-radius:7px;padding:10px 14px;font-size:11px;font-weight:520;white-space:nowrap;line-height:1.3}.btn:hover{border-color:#b6a6d5;background:#faf8ff}.btn-primary{background:#7a63cc;border-color:#7a63cc;color:#fff;box-shadow:0 3px 6px #6350b514}.btn-primary:hover{background:#6b54bb;border-color:#6b54bb}.btn-small{padding:8px 12px;font-size:10.5px}.btn-small svg{width:15px;height:15px}.btn-block{width:100%}.btn-soft{background:#f3effb;border-color:#e9e2f6;color:#7a5fbc}.text-btn{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#9990a8;padding:4px}.text-btn:hover{color:var(--accent)}.text-btn svg{width:13px;height:13px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:6px;color:#aca5b7}.icon-btn:hover{background:#efebf6;color:#775aba}.main-scroll{overflow:auto;flex:1;padding:32px 30px 26px;scroll-behavior:smooth}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px}.page-heading h1{font-weight:680;font-size:25px;letter-spacing:-1px;color:#342f43;line-height:1.3}.page-heading p{font-size:11px;color:#a29baa;margin-top:9px;line-height:1.8}.quiet-label{font-size:9px;color:#b0a8bb;white-space:nowrap}.research-banner{background:#f0ecf9;border:1px solid #eae4f6;border-radius:11px;min-height:239px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.banner-text{position:relative;z-index:2}.banner-project{display:flex;gap:7px;align-items:center;color:#9c8dbe;font-size:9px;font-weight:500;margin-bottom:16px}.research-banner h2{font-size:26px;letter-spacing:-1px;line-height:1.5;font-weight:650;color:#4b3d68}.research-banner p{font-size:10px;color:#a092b2;margin-top:9px;margin-bottom:19px}.banner-btn{flex-direction:row-reverse;border:0;color:#8870b4;font-size:10px;padding:9px 13px;box-shadow:0 2px 6px #5b40850a;gap:12px}.banner-btn:hover{background:#fff;box-shadow:0 3px 10px #76509914}.banner-btn svg{width:14px;height:14px}.paper-art{width:225px;min-height:211px;position:relative;margin-right:5px;flex-shrink:0;user-select:none}.mini-paper{position:absolute;width:136px;height:175px;background:#fff;border-radius:6px;border:1px solid #ede7f3;box-shadow:0 8px 18px #6e5c8911;padding:19px 15px}.back-paper{right:3px;top:9px;transform:rotate(12deg);background:#fcfaff}.front-paper{left:12px;top:24px;transform:rotate(-10deg)}.mini-paper>span{font-size:5.5px;letter-spacing:1.2px;color:#b5a7c5}.mini-paper>b{display:block;font-size:12px;letter-spacing:-.3px;line-height:1.5;color:#776886;margin-top:10px;font-weight:550}.art-paper-icon{color:#c6b7e1;margin-top:11px}.front-paper>b{margin-top:4px}.art-rule{height:3px;background:#efebf4;width:85%;margin-top:9px;border-radius:2px}.art-rule.short{width:57%;margin-top:5px}.mini-paper i{font-style:normal;font-size:7px;display:block;color:#c8bed3;margin-top:20px}.art-tag{color:#a89bb8;background:#f6f2fa;border-radius:3px;font-size:6px;padding:4px 6px;margin-top:10px;display:inline-flex;gap:4px;align-items:center}.art-tag svg{width:8px;height:8px}.art-spark{position:absolute;right:-8px;top:10px;color:#b5a2d5;transform:rotate(9deg)}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0 27px;border-bottom:1px solid #e9e6ee;margin-bottom:26px}.stat{display:flex;align-items:center;gap:12px;padding:0 16px;border-left:1px solid #e8e4ee}.stat:first-child{border-left:0;padding-left:3px}.stat-icon{height:36px;width:36px;border-radius:10px;background:#efebf8;color:#9a85c9;display:grid;place-items:center}.stat-icon.concept{background:#eaf2f0;color:#85aea6}.stat-icon.question{background:#f6f1e9;color:#c4ac83}.stat-icon.links{background:#eeedf7;color:#a09abc}.stat>div>span{font-size:9px;display:block;color:#a69bad;white-space:nowrap}.stat strong{display:block;font-size:23px;font-weight:600;margin-top:5px;line-height:1;color:#4c425b;letter-spacing:-.5px}.stat strong small{font-size:9px;color:#aca3b7;font-weight:400;margin-left:7px}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.section-header h2{font-size:12px;font-weight:640;color:#655773;display:flex;align-items:center;gap:8px}.section-header h2>span{font-size:10px;color:#b2a9bd;font-weight:400}.paper-list{background:#fff;border:1px solid #e8e4ef;border-radius:9px;overflow:hidden}.paper-row{display:flex;width:100%;align-items:center;gap:15px;padding:16px 18px;border-bottom:1px solid #f0edf5;text-align:left;min-width:0;background:#fff}.paper-row:last-child{border-bottom:0}.paper-row:hover{background:#fcfaff}.paper-thumbnail{width:43px;height:57px;background:#faf9fc;border:1px solid #eee9f3;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#b8aeca;flex-shrink:0}.paper-thumbnail>span{font-size:6px;letter-spacing:1px;color:#b1a6bf}.paper-thumbnail.tinted{background:#f5f0fc;color:#b09ad3;border-color:#e7def3}.paper-info{display:block;min-width:0;flex:1}.paper-info>strong{font-size:11px;font-weight:590;color:#574b68;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;max-width:100%}.paper-info>span:nth-child(2){display:block;font-size:9px;color:#a59aaf;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.paper-info>span:nth-child(2)>i{font-style:normal;padding:0 6px;color:#c5bbc9}.paper-tags{display:flex;gap:5px;margin-top:8px}.paper-tags>em{font-style:normal;font-size:7px;line-height:1.2;padding:3px 5px;background:#f6f4f9;color:#a498b1;border-radius:3px}.paper-right{display:flex;align-items:center;gap:17px;color:#c2b8cc}.status{display:inline-flex;gap:5px;align-items:center;font-size:8px;padding:5px 7px;border-radius:4px;white-space:nowrap;background:#f5f4f7;color:#a49aae;font-weight:400}.status>span{width:4px;height:4px;border-radius:50%;background:currentColor}.status-reading{color:#a188c7;background:#f3eefb}.status-reviewed{color:#80a79b;background:#eff6f2}.home-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin-top:24px}.small-panel{background:#fff;border:1px solid #e8e5ee;border-radius:9px;overflow:hidden;min-width:0}.small-panel>.section-header{padding:15px 17px 0;margin-bottom:1px}.small-panel>.section-header h2{font-size:11px}.knowledge-graph{display:block;width:100%;height:auto;overflow:visible}.graph-edge{stroke:#dbd2e8;stroke-width:1;opacity:.75}.graph-edge.active{stroke:#8961c2;stroke-width:2}.graph-node{cursor:pointer;outline:none}.graph-node>circle{fill:#bcabe0;stroke:#fff;stroke-width:3;transition:fill .15s,stroke .15s}.graph-node>circle.halo{fill:#efebf8;stroke:transparent}.graph-node.node-concept>circle{fill:#93bcb4}.graph-node.node-question>circle{fill:#d8bd8e}.graph-node.node-note>circle{fill:#c6c4d6}.graph-node>text{font-size:10px;fill:#a092b2;pointer-events:none;font-weight:400}.knowledge-graph.compact .graph-node>text{font-size:9px}.graph-node:hover>circle,.graph-node:focus>circle{stroke:#9876d8;stroke-width:4}.graph-node:hover>text{fill:#705395}.graph-node>circle.halo{fill:#f0ebf8;stroke:transparent}.graph-legend{display:flex;align-items:center;gap:13px;font-size:8px;color:#aa9db7;padding:11px 17px}.graph-legend>span{display:flex;align-items:center;gap:5px}.graph-legend i{display:inline-block;width:5px;height:5px;border-radius:50%}.graph-legend .paper{background:#bba5de}.graph-legend .concept{background:#91bdb3}.graph-legend .question{background:#d6b884}.graph-legend .note{background:#b7b3ce}.graph-legend>small{margin-left:auto;font-size:7px;color:#c3b7ce}.question-panel{padding-bottom:12px}.question-panel>.section-header{margin-bottom:12px}.question-card{display:block;margin:0 14px 9px;background:#fcfbfd;border:1px solid #f0ecf5;border-radius:6px;width:calc(100% - 28px);text-align:left;padding:12px 13px}.question-card:hover{background:#f6f1fc;border-color:#e4dbee}.q-index{display:block;color:#b4a0cb;font-size:7px;letter-spacing:1px;margin-bottom:7px}.question-card strong{display:block;font-size:10px;line-height:1.65;font-weight:500;color:#95859f}.question-bottom{display:flex;align-items:center;font-size:7px;color:#bdadc8;gap:4px;margin-top:11px}.question-bottom>svg:last-child{margin-left:auto}.continue-note{display:flex;align-items:center;gap:8px;font-size:8px;color:#b8a9c5;margin-top:20px}.continue-note>button{font-size:8px;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#a191b0}.continue-note>svg:last-child{margin-left:auto}.companion{background:#fdfcfe;border-left:1px solid var(--line);display:flex;flex-direction:column;min-width:0;min-height:0}.companion-header{height:65px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px;gap:9px}.companion-mark{width:27px;height:27px;border-radius:7px;background:#f0eaf9;color:#a286c7;display:grid;place-items:center}.companion-header strong{font-size:11px;font-weight:570;color:#857292}.beta{font-size:6px;letter-spacing:.5px;background:#f5f0fa;padding:3px 4px;color:#b19bc5;border-radius:3px;font-weight:400;display:inline-block;vertical-align:middle}.companion-header .beta{margin-left:auto}.companion-scroll{flex:1;overflow:auto;padding:30px 22px 18px}.companion-intro h2{font-size:21px;line-height:1.6;letter-spacing:-.8px;color:#847092;font-weight:510}.companion-intro p{font-size:10px;line-height:1.85;color:#b0a0bb;margin-top:12px}.companion-mode{margin-top:22px;display:flex;background:#f3eff8;padding:3px;border-radius:7px;gap:3px}.companion-mode button{display:flex;gap:6px;align-items:center;justify-content:center;flex:1;padding:8px 4px;font-size:9px;color:#b1a1bf;border-radius:5px}.companion-mode button.selected{background:#fff;box-shadow:0 1px 3px #56406909;color:#9b80b7}.companion-prompts{margin-top:27px}.tiny-title{font-size:8px;color:#b5a4c2;letter-spacing:.3px}.companion-prompts>button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 10px;font-size:9px;color:#a694b6;border:1px solid #ebe5f2;background:#fdfcfe;border-radius:6px;margin-top:9px;text-align:left}.companion-prompts>button:hover{background:#f4eef9;border-color:#ddd0ec}.companion-prompts>button>svg{color:#c7b8d3;width:13px}.source-explainer{padding:18px 14px;border:1px solid #eee6f4;border-radius:7px;margin-top:30px;background:#faf7fd}.source-explainer>div{display:flex;gap:7px;align-items:center;color:#b29ac3}.source-explainer strong{font-size:10px;font-weight:500}.source-explainer p{font-size:9px;color:#bdabc9;line-height:1.85;margin-top:10px}.companion-bottom{padding:12px 17px 15px;border-top:1px solid #f4eff8}.companion-bottom form{border:1px solid #e7deef;background:#fff;border-radius:9px;padding:13px 12px}.companion-bottom form:focus-within{border-color:#b7a2d3;box-shadow:0 0 0 3px #bba0d00c}.companion-bottom textarea{background:transparent;border:0;box-shadow:none!important;resize:none;width:100%;font-size:10px;line-height:1.6;color:#8b779c;min-height:48px}.companion-bottom textarea::placeholder{color:#c1b0ce}.companion-bottom form>div{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.companion-bottom form>div>span{font-size:7px;color:#bbabc9;display:flex;align-items:center;gap:4px}.send-btn{width:27px;height:27px;border-radius:6px;background:#c4b2d7;color:white;display:grid;place-items:center}.send-btn:hover{background:#a78ac5}.companion-bottom>p{display:flex;align-items:center;justify-content:center;gap:5px;font-size:7px;color:#c1b3ca;margin-top:12px}.ai-note{font-size:10px;color:#9984ac;background:#f5f0fa;padding:12px;border-radius:6px;margin-top:12px}.ai-note small{display:block;font-size:8px;line-height:1.8;margin-top:5px;color:#b5a6bf}.evidence-heading{display:flex;gap:6px;align-items:center;font-size:10px;color:#9a85aa;margin:23px 0 12px}.evidence-card{display:block;text-align:left;background:#fff;border:1px solid #e9e0f2;padding:13px 12px;border-radius:7px;margin-bottom:11px;width:100%}.evidence-card:hover{background:#faf7fe}.source-label{display:flex;align-items:center;gap:8px;font-size:8px;color:#9473b5}.source-label>span{font-size:7px;color:#bdafca}.evidence-card h4{font-size:10px;color:#8a719f;line-height:1.65;font-weight:550;margin-top:9px}.evidence-card p{font-size:9px;line-height:1.8;color:#b2a0bf;margin-top:8px}.evidence-open{font-size:8px;color:#a284ba;display:flex;gap:6px;align-items:center;margin-top:10px}.ai-answer{padding-top:22px;font-size:11px;line-height:1.8;color:#8f799f}.ai-answer p{margin:10px 0}.ai-answer h3{font-size:12px}.ai-answer li{margin:7px 0}.companion-loading{display:flex;gap:9px;align-items:center;font-size:10px;color:#a78cba;padding:24px 0}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e8e1f0;padding-bottom:15px;margin-bottom:20px;flex-wrap:wrap}.tabs{display:flex;align-items:center;gap:5px}.tab{padding:8px 11px;color:#aa99b8;font-size:10px;border-radius:6px}.tab:hover{background:#f1ebf8}.tab.selected{color:#8c6aae;background:#eee6f7;font-weight:550}.input-with-icon{display:flex;align-items:center;background:#fff;border:1px solid #e8dfef;border-radius:7px;gap:7px;padding:0 10px;color:#b8a7c6}.input-with-icon input{border:0;box-shadow:none;background:transparent;width:160px;font-size:10px;padding:9px 0;color:#967da8}.input-with-icon input::placeholder{color:#b7a5c5}.library-caption{display:flex;justify-content:space-between;font-size:8px;color:#b8a2c9;margin-bottom:10px;padding:0 21px}.library-caption span:last-child{padding-right:28px}.library-list .paper-row{padding:19px}.note-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.note-card{background:#fff;border:1px solid #e8dfef;border-radius:9px;text-align:left;padding:19px;display:flex;flex-direction:column;min-height:225px}.note-card:hover{border-color:#cbb9dd;box-shadow:var(--shadow)}.note-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.type-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;background:#f1eafb;color:#b798d7}.type-icon.concept{background:#eaf5f1;color:#88b4a6}.type-icon.question{background:#f8f2e9;color:#c5a77d}.note-card h3{font-size:14px;font-weight:580;line-height:1.6;color:#8c719f}.note-card>p{font-size:10px;line-height:1.85;color:#b4a2c2;margin-top:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.note-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:20px}.note-card-footer>span:first-child{display:flex;align-items:center;gap:5px;font-size:8px;color:#bba6cd}.load-more{display:flex;margin:20px auto}.graph-counter{font-size:10px;color:#ac94be;white-space:nowrap}.graph-counter span{margin:0 10px}.graph-full{background:white;border:1px solid #e7deef;border-radius:10px;overflow:hidden}.graph-topline{display:flex;align-items:center;justify-content:space-between;padding:10px 6px}.graph-topline>.muted{font-size:9px;margin-right:14px}.graph-topline .graph-legend{font-size:10px}.graph-full .graph-node>text{font-size:10px;fill:#a78bbc}.graph-full .knowledge-graph{max-height:610px}.graph-foot{display:flex;gap:7px;align-items:center;padding:17px 21px;border-top:1px solid #f0e9f5;font-size:10px;color:#b19bc2}.notice{display:flex;gap:9px;align-items:flex-start;font-size:10px;color:#a187b5;background:#f3eef9;border:1px solid #e9e1f1;border-radius:7px;padding:13px 15px;line-height:1.8;margin:18px 0}.notice>svg{margin-top:1px}.notice.warning{background:#fdf7ed;color:#b89966;border-color:#f0e0c7}.paper-search-box{display:flex;gap:13px;align-items:center;padding:9px 11px 9px 19px;background:#fff;border:1px solid #d9cce9;border-radius:10px;box-shadow:0 4px 18px #8868a708;color:#b4a0c7}.paper-search-box:focus-within{border-color:#ad8dcb;box-shadow:0 0 0 3px #b8a0d012}.paper-search-box input{font-size:12px;flex:1;border:0;background:transparent;box-shadow:none;color:#9675ae;min-width:0;padding:7px 0}.paper-search-box input::placeholder{color:#bba9c9}.paper-search-box .btn{padding:12px 18px}.search-provider{display:flex;align-items:center;gap:8px;margin:15px 5px 30px;font-size:9px;color:#b49bc8}.provider-logo{font-size:11px;font-weight:700;color:#ad99b7;background:#ede4d7;display:grid;place-items:center;width:18px;height:18px;border-radius:3px}.search-provider>strong{font-size:9px;font-weight:600;color:#ae93bf}.privacy-search{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:8px}.search-intro{text-align:center;padding:65px 10px 40px}.large-search-icon{height:76px;width:76px;border-radius:24px;background:#f0e8f8;color:#b498ce;display:grid;place-items:center;margin:auto auto 26px}.search-intro h2{font-size:22px;font-weight:530;letter-spacing:-.7px;color:#aa8dbd}.search-intro p{font-size:12px;line-height:2;color:#bea7cf;margin-top:14px}.suggestion-row{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:28px}.suggestion{display:flex;gap:12px;align-items:center;border:1px solid #e8dcf1;border-radius:6px;padding:10px 13px;color:#b69ccc;font-size:10px;background:#fff}.suggestion:hover{background:#f5edfc}.search-footnote{color:#b6a1c5;font-size:9px;line-height:1.9;margin-top:38px}.result-card{display:flex;gap:20px;background:#fff;padding:25px;border:1px solid #e7dbee;border-radius:9px;margin-bottom:14px}.result-number{font-size:12px;color:#c7afd9;padding-top:2px}.result-body{min-width:0;flex:1}.result-meta{font-size:9px;color:#b396c7;margin-bottom:8px}.result-meta i{font-style:normal;margin:0 6px;color:#d0bddb}.result-card h3{font-size:16px;line-height:1.6;font-weight:550;color:#9470aa}.result-author{font-size:10px;color:#b897ca;line-height:1.7;margin-top:7px}.result-abstract{font-size:11px;color:#b494c5;line-height:1.9;margin-top:13px}.result-bottom{display:flex;align-items:center;gap:17px;margin-top:20px}.result-bottom .doi{font-size:9px;color:#c3abd3;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-section{padding:26px;background:#fff;border:1px solid #e6d9ef;border-radius:10px;margin-bottom:21px}.settings-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:23px;color:#b18ecc}.settings-title h2{font-size:15px;font-weight:570;color:#a07eb7}.settings-title p{font-size:11px;color:#bda3cf;line-height:1.8;margin-top:7px}.path-field{display:flex;gap:12px;align-items:center;padding:13px;background:#faf7fd;border:1px solid #ece2f3;border-radius:6px;font-size:11px;color:#b89acc;overflow-wrap:anywhere}.setting-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:17px}.settings-detail{border-top:1px solid #eee3f6;margin-top:23px;padding-top:20px;display:flex;flex-direction:column;gap:11px;color:#b498c7;font-size:10px}.settings-detail>div{display:flex;gap:8px;align-items:flex-start;line-height:1.7}.settings-detail svg{color:#a6bbae}.setting-line{display:flex;align-items:center;justify-content:space-between;gap:25px}.setting-line strong{font-size:12px;color:#a985bc;font-weight:520}.setting-line p{font-size:10px;color:#c1a6d2;margin-top:7px}.settings-small{font-size:9px;line-height:1.9;margin-top:20px}.obsidian-gem{font-size:28px;line-height:1;color:#9e7ab9}.settings-section.subtle{background:#faf7fd;font-size:11px;color:#b69dc7;line-height:1.9}.settings-section.subtle h2{font-size:13px;font-weight:500;margin-bottom:12px;color:#a687b8}.settings-section.subtle p+p{margin-top:8px}.consent{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#b394c6;line-height:1.9;margin-top:18px}.consent input{accent-color:#9e79bf;margin-top:3px}.setting-actions select{min-width:200px}.muted{color:#aa95bb;font-size:10px}.p-16{padding:16px;line-height:1.9}.empty-state{text-align:center;padding:55px 24px;color:#c1aad2;grid-column:1/-1}.empty-state>svg{color:#b3a0c9;margin-bottom:13px}.empty-state h3{font-size:14px;font-weight:500;color:#a686ba;margin-bottom:11px}.empty-state p{font-size:11px;color:#baa2cc;line-height:1.9}.empty-state .btn{margin-top:18px}.empty-graph{min-height:220px;display:flex;justify-content:center;align-items:center;text-align:center;font-size:10px;line-height:2;color:#baa2cc}.loading-results{display:flex;align-items:center;justify-content:center;gap:13px;padding:60px 20px;color:#bda1d1;font-size:12px}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #ba9dd640;border-top-color:currentColor;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;font-size:27px;color:#8c73b0;gap:17px}.boot span,.boot p{font-size:12px;color:#a893bc}.modal-backdrop{position:fixed;inset:0;background:#20152e35;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:50;animation:fade-in .15s ease}.modal{width:600px;max-width:calc(100vw - 32px);max-height:calc(100vh - 70px);overflow:auto;border:1px solid #e3d5ef;border-radius:14px;box-shadow:0 25px 90px #27123733;background:#fff;padding:29px;color:#9e78b9;animation:rise .18s ease}.modal-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:23px}.modal-title h2{font-size:22px;font-weight:560;letter-spacing:-.5px;margin-top:7px;color:#9973b1}.modal form>label{display:block;margin:15px 0;font-size:11px;color:#b28ac8}.modal form label input,.modal form label select,.modal form label textarea{width:100%;margin-top:8px}.modal form label>.muted{font-size:9px;float:right;color:#c3a8d5}input,textarea,select{border:1px solid #e6d9ef;border-radius:6px;background:#fff;color:#9c76b1;padding:10px 12px}input::placeholder,textarea::placeholder{color:#c9b4d9}textarea{resize:vertical;line-height:1.9}.form-row{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}.form-row label{display:block;font-size:11px;color:#b192c7}.form-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee4f4;padding-top:20px;margin-top:18px}.form-footer>span{display:flex;gap:5px;align-items:center;font-size:9px;color:#c0a6d2}.drawer-backdrop{align-items:stretch;justify-content:flex-end;backdrop-filter:blur(2px);background:#25173324}.note-drawer{width:620px;max-width:100%;background:#fff;box-shadow:-12px 0 60px #30154224;display:flex;flex-direction:column;animation:drawer-in .2s ease;overflow:hidden;min-height:0;border-left:1px solid #e6d8ef}.drawer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid #eee4f4}.drawer-toolbar>div{display:flex;gap:9px}.type-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#a383b7}.type-label.concept{color:#7aa796}.type-label.question{color:#b99b70}.drawer-heading{padding:25px 29px 19px}.drawer-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.readonly-tag{font-size:8px;color:#b596c8;background:#f7f1fb;padding:5px 7px;border-radius:4px}.drawer-heading h2{font-size:23px;line-height:1.5;font-weight:580;letter-spacing:-.4px;color:#8d65a9;margin-top:17px}.drawer-heading>p{font-size:10px;color:#b590ca;margin-top:12px;line-height:1.8}.drawer-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.drawer-tags>span{font-size:8px;color:#b399c6;background:#f5effa;padding:5px 7px;border-radius:4px}.doi-row{display:flex;gap:9px;align-items:center;font-size:9px;color:#bea0d1;margin-top:16px}.doi-row>span{font-size:8px;color:#bca5cb}.doi-row>button{padding:0;display:flex;align-items:center;gap:6px;font-size:9px;color:#b28dc9}.drawer-tabs{display:flex;align-items:center;justify-content:space-between;padding:12px 27px;border-top:1px solid #f0e7f6;border-bottom:1px solid #eee4f5}.drawer-tabs select{font-size:9px;padding:7px 9px;color:#b28fc7}.drawer-body{overflow:auto;flex:1;min-height:0;padding:23px 30px 35px}.markdown-content{font-size:12px;color:#a17db7;line-height:1.95;overflow-wrap:anywhere}.markdown-content h2{font-size:21px;font-weight:550;color:#906ba8;margin:22px 0 12px}.markdown-content h3{font-size:14px;font-weight:570;color:#a07cb7;margin:26px 0 12px}.markdown-content h4{font-size:12px;font-weight:600;margin:19px 0 9px}.markdown-content p{margin:10px 0}.markdown-content>h3:first-child{margin-top:0}.markdown-content ul{padding-left:20px}.markdown-content li{margin:8px 0}.markdown-content strong{font-weight:600;color:#a482b8}.markdown-content blockquote{margin:0 0 22px;border-left:3px solid #d1bde1;background:#f8f3fc;border-radius:0 5px 5px 0;padding:12px 14px;font-size:10px;line-height:1.9;color:#b99dcd}.markdown-content pre,.source-code{font-size:10px;line-height:1.9;padding:17px;background:#f9f4fc;border:1px solid #eadef1;border-radius:6px;color:#ae8ac2;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}.wiki-link{font-size:inherit;color:#a27cbe;border-radius:4px;background:#f2eaf9;display:inline;padding:2px 5px;text-align:left}.wiki-link:hover{background:#e7d8f4;color:#9065b0}.edit-hint{display:flex;gap:7px;align-items:center;font-size:9px;line-height:1.8;color:#b69cc9;margin-bottom:14px}.note-editor{width:100%;min-height:410px;font:12px/2 ui-monospace,SFMono-Regular,"Noto Sans KR",monospace;background:#fefcff;border:1px solid #e8ddef;padding:16px;resize:vertical;color:#9f7cb4}.backlinks-section{border-top:1px solid #ebdff2;padding-top:24px;margin-top:32px}.backlinks-section h3{display:flex;align-items:center;gap:7px;font-size:11px;color:#b292c6;font-weight:500;margin-bottom:12px}.backlinks-section h3>span{color:#c9b2d9;font-size:9px}.backlink{display:flex;gap:10px;align-items:center;padding:11px 7px;text-align:left;border-bottom:1px solid #f2e9f7;color:#baa0cc;width:100%;font-size:10px;line-height:1.6}.backlink>span{flex:1}.backlink:hover{background:#fcf8ff;color:#a882be}.drawer-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#fdfaff;border-top:1px solid #eadff2;gap:10px}.drawer-footer>span{font-size:8px;color:#c3aad4;display:flex;gap:6px;align-items:center;min-width:0}.command-input{display:flex;align-items:center;gap:12px;color:#c1a3d5;padding-bottom:20px;border-bottom:1px solid #ecdef5}.command-input input{border:0;box-shadow:none;flex:1;font-size:14px;padding:5px 0;min-width:0}.command-results{padding-top:12px}.command-result{display:flex;gap:13px;align-items:center;width:100%;padding:13px 9px;border-radius:7px;text-align:left;color:#bda0d0}.command-result:hover{background:#f7effd}.command-result>span{flex:1;min-width:0}.command-result strong{display:block;font-size:12px;font-weight:500;line-height:1.7;color:#a986bf}.command-result small{display:block;font-size:9px;color:#c1a4d2;margin-top:3px}.command-footer{font-size:9px;color:#c1a6d0;margin-top:16px;padding-top:17px;border-top:1px solid #eadff2}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:600px;padding:15px 21px;background:#fff;border:1px solid #ddd0e9;border-radius:9px;box-shadow:0 12px 40px #42254b23;color:#a185b5;font-size:11px;line-height:1.8;z-index:100;animation:fade-in .15s ease}.toast>svg{color:#82a799}.toast-error{background:#fffaf4;border-color:#edd7be;color:#b49671}.toast-error>svg{color:#bd9b67}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-in{from{transform:translateX(28px);opacity:.5}to{transform:translateX(0);opacity:1}}
/* Contrast pass: retain the quiet research aesthetic without sacrificing legibility. */
.main-scroll,.companion,.sidebar{--muted:#91889c}.paper-info>strong{color:#5a4b68}.paper-info>span:nth-child(2){color:#9686a1}.companion-intro h2{color:#7d648d}.companion-intro p{color:#9e87af}.companion-prompts>button{color:#967ba9}.source-explainer p{color:#aa91ba}.markdown-content{color:#80648e}.markdown-content h3{color:#745882}.markdown-content strong{color:#785687}.drawer-heading h2{color:#725082}.note-card h3{color:#796087}.note-card>p{color:#9b86a8}.note-editor{color:#785889}.result-card h3{color:#785786}.result-abstract{color:#92769f}.settings-title h2{color:#80608f}.settings-title p,.setting-line p,.settings-detail,.settings-section.subtle{color:#9b7eac}

/* Readability: a research tool must be comfortable beyond a visual mockup. */
.nav-item{font-size:12.5px;color:#77707f}.workspace-switch strong{font-size:11.5px}.workspace-switch small{font-size:10px;color:#88808f}.quick-search{font-size:11.5px;color:#8d8497}.section-label{font-size:10px;color:#908797}.project-item{font-size:11px;color:#82778e}.vault-box>strong{font-size:11.5px;color:#74677f}.vault-box p{font-size:10.5px;color:#94849f}.local-status{color:#978b9f}.breadcrumbs{font-size:11px}.breadcrumbs>span{color:#92869e}.breadcrumbs>strong{color:#75657f}.btn{font-size:12px}.btn-small{font-size:11px}.text-btn{font-size:11px;color:#92819f}.page-heading h1{font-size:27px}.page-heading p{font-size:12px;color:#96899f}.quiet-label{font-size:10px;color:#a497ae}.research-banner{min-height:225px;padding:23px 30px}.research-banner h2{font-size:27px;font-weight:610;line-height:1.5}.banner-project{font-size:10px;color:#9b86b3;margin-bottom:12px}.research-banner p{font-size:11px;color:#9c87af;margin-top:8px;margin-bottom:16px}.banner-btn{font-size:11px}.paper-art{min-height:200px}.stats-row{padding:22px 0 25px}.stat>div>span{font-size:10px;color:#9b8ba7}.stat strong{font-size:25px}.stat strong small{font-size:10px;color:#a495ae}.section-header h2{font-size:13px;color:#6e567f}.section-header h2>span{font-size:11px}.paper-info>strong{font-size:12px;font-weight:580;color:#5c466e;line-height:1.6}.paper-info>span:nth-child(2){font-size:10px;color:#97819f;margin-top:5px}.paper-tags>em{font-size:8px;color:#ac95b9}.paper-row{min-height:93px}.paper-right{gap:14px}.status{font-size:9px;padding:6px 7px}.status-inbox{color:#97889e}.status-reading{color:#9473b2}.status-reviewed{color:#6e9886}.small-panel>.section-header h2{font-size:12px}.question-card strong{font-size:11px;color:#92739f}.q-index{font-size:8px;color:#ac8ebe}.question-bottom{font-size:8px;color:#ac92bc}.graph-legend{font-size:9px;color:#a58bb5}.graph-legend>small{font-size:8px}.graph-node>text{fill:#9475a5}.companion-header strong{font-size:12px;color:#82618f}.companion-header .beta{font-size:7px}.companion-intro h2{font-size:22px;line-height:1.6;font-weight:500;color:#7f5b92}.companion-intro p{font-size:11px;color:#a484b4}.companion-mode button{font-size:10px;padding:9px 4px;color:#aa8dbb}.companion-mode button.selected{color:#9d79b4}.tiny-title{font-size:9px;color:#ab8ebd}.companion-prompts>button{font-size:10px;color:#9d7ab0;padding:14px 11px;line-height:1.6}.source-explainer strong{font-size:11px;color:#a585b7}.source-explainer p{font-size:10px;color:#ad91be}.companion-bottom textarea{font-size:11px;color:#9369aa}.companion-bottom textarea::placeholder{color:#b899ca}.companion-bottom form>div>span{font-size:8px}.companion-bottom>p{font-size:8px;color:#b294c2}.evidence-card h4{font-size:11px;color:#9065a5}.evidence-card p{font-size:10px;color:#a889ba}.evidence-open{font-size:9px}.evidence-heading{font-size:11px}.source-label{font-size:9px}.source-label>span{font-size:8px}.ai-note{font-size:11px}.ai-note small{font-size:9px}.note-card h3{font-size:15px;color:#8f669f}.note-card>p{font-size:11px;color:#a285b2}.note-card-footer>span:first-child{font-size:9px}.readonly-tag{font-size:9px}.input-with-icon input{font-size:11px;color:#9c74b2}.tab{font-size:11px;color:#a281b5}.tab.selected{color:#986bb0}.library-caption{font-size:10px;color:#aa8cbf}.graph-counter{font-size:11px}.notice{font-size:11px;color:#a17db5}.notice.warning{color:#b08c52;font-size:10px}.graph-foot{font-size:11px;color:#a084b2}.search-provider{font-size:10px}.search-provider>strong{font-size:10px}.privacy-search{font-size:9px}.search-intro h2{color:#9e75b4}.search-intro p{color:#b090c5}.search-footnote{font-size:10px;color:#b094c2}.result-card h3{font-size:17px;color:#895c9e}.result-abstract{font-size:12px;color:#9d79b0}.result-author{font-size:11px;color:#aa88bd}.result-meta{font-size:10px}.result-bottom .doi{font-size:10px}.settings-title h2{font-size:16px;color:#9162a8}.settings-title p{font-size:12px;color:#ac88be}.path-field{font-size:12px;color:#ab80bf}.settings-detail{font-size:11px;color:#ab85bd}.setting-line strong{font-size:13px;color:#a278b7}.setting-line p{font-size:11px}.settings-small{font-size:10px;color:#ae8bc2}.consent{font-size:11px;color:#a27ab7}.settings-section.subtle{font-size:12px;color:#ac8abd}.modal form>label,.form-row label{font-size:12px;color:#a27eb7}.modal form label>.muted{font-size:10px}.form-footer>span{font-size:10px}.modal input,.modal textarea,.modal select{font-size:13px;color:#8d659f}.drawer-heading h2{font-size:24px;color:#835896}.drawer-heading>p{font-size:11px;color:#a67cbb}.drawer-tags>span{font-size:9px}.type-label{font-size:12px}.doi-row,.doi-row>button{font-size:10px}.drawer-tabs select{font-size:10px}.markdown-content{font-size:13px;line-height:1.95;color:#8b689b}.markdown-content h3{font-size:15px;color:#84558f}.markdown-content blockquote{font-size:11px;color:#a280b8}.backlinks-section h3{font-size:12px}.backlink{font-size:11px;color:#a482b8}.note-editor{font-size:13px;color:#885e9b}.source-code{font-size:11px}.drawer-footer>span{font-size:9px}.command-result strong{font-size:13px;color:#9a6faf}.command-result small{font-size:10px}.command-footer{font-size:10px}.muted{font-size:11px;color:#ab8dbc}.toast{font-size:12px;color:#9971ad}.empty-state h3{font-size:15px}.empty-state p{font-size:12px}

@media(min-width:1650px){.desktop-shell{grid-template-columns:246px minmax(0,1fr) 335px}.desktop-shell.wide{grid-template-columns:246px minmax(0,1fr)}.main-scroll{padding:38px 45px}.research-banner{min-height:260px}.home-bottom{grid-template-columns:1.2fr 1fr}.paper-info>strong{font-size:12px}.paper-row{padding:20px}.stat strong{font-size:26px}}
@media(max-width:1300px){.desktop-shell{grid-template-columns:210px minmax(0,1fr) 270px}.desktop-shell.wide{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:22px 12px 0}.brand{font-size:20px;padding-left:9px}.brand-mark{width:30px;height:30px}.main-scroll{padding:27px 22px}.toolbar{padding:0 22px}.research-banner{padding:25px 23px}.research-banner h2{font-size:23px}.paper-art{width:190px;transform:scale(.91);transform-origin:right center;margin-left:-15px}.stats-row{gap:2px}.stat{gap:8px;padding:0 9px}.stat-icon{width:30px;height:30px}.stat>div>span{font-size:8px}.stat strong{font-size:22px}.paper-right{gap:8px}.paper-right>svg{display:none}.paper-row{gap:12px;padding:14px}.paper-info>strong{font-size:10px}.quiet-label{display:none}.companion-header{padding:0 18px}.companion-scroll{padding:25px 18px}.companion-intro h2{font-size:19px}.home-bottom{gap:13px}.graph-legend{gap:9px;padding:9px 12px}.graph-legend>small{display:none}.research-banner p{font-size:9px}}
@media(max-width:1100px){.desktop-shell,.desktop-shell.wide{grid-template-columns:205px minmax(0,1fr)}.companion{display:none}.main-scroll{padding:28px}.research-banner{padding:27px 28px}.paper-art{width:230px;transform:none;margin-left:0}.research-banner h2{font-size:26px}.paper-info>strong{font-size:12px}.paper-info>span:nth-child(2){font-size:10px}.home-bottom{gap:18px}.sidebar-bottom{padding-top:12px}.graph-full .graph-node>text{font-size:12px}}
@media(max-width:760px){.desktop-shell,.desktop-shell.wide{grid-template-columns:66px minmax(0,1fr)}.sidebar{padding:17px 7px 0}.brand{padding:0 10px 24px;justify-content:center}.brand>span:last-child,.workspace-switch,.quick-search,.nav-item>span,.section-label,.projects,.sidebar-divider,.vault-box,.local-status{display:none}.brand-mark{width:32px;min-width:32px}.nav-item{justify-content:center;padding:13px 0;gap:0}.nav-item.active:before{left:-7px}.nav-item.active{background:#eee7f8}.nav-item svg{width:20px;height:20px}.sidebar-bottom .nav-item{margin-bottom:20px}.titlebar>span:not(.titlebar-right){font-size:8px}.titlebar-right{display:none}.titlebar-left{left:14px}.traffic-dots{gap:5px}.traffic-dots i{width:7px;height:7px}.toolbar{padding:0 16px;height:58px}.breadcrumbs{font-size:9px;gap:6px}.breadcrumbs>span,.breadcrumbs>svg:first-child{display:none}.toolbar-actions{gap:6px}.main-scroll{padding:24px 18px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px}.research-banner{padding:22px;min-height:220px}.research-banner h2{font-size:23px}.research-banner p{max-width:180px;font-size:9px;line-height:1.8}.paper-art{width:150px;transform:scale(.8);transform-origin:center;right:-24px;margin-left:-40px}.stats-row{grid-template-columns:repeat(2,1fr);row-gap:22px;padding:22px 0}.stat:nth-child(3){border-left:0;padding-left:3px}.stat>div>span{font-size:9px}.stat strong{font-size:23px}.home-bottom{grid-template-columns:1fr}.paper-row{padding:15px 11px;gap:9px}.paper-thumbnail{width:35px;height:47px}.paper-info>strong{font-size:10px}.paper-info>span:nth-child(2){font-size:8px}.paper-right{display:none}.paper-tags>em{font-size:6px}.section-header h2{font-size:11px}.continue-note{font-size:7px}.note-grid{grid-template-columns:1fr}.library-toolbar{gap:15px;align-items:stretch}.tabs{gap:1px}.tab{font-size:9px;padding:8px 9px}.input-with-icon{width:100%}.input-with-icon input{width:100%}.page-heading>.btn{font-size:9px;padding:7px}.graph-counter{font-size:8px}.graph-topline{flex-direction:column;align-items:flex-start;gap:4px}.graph-topline>.muted{padding-left:17px}.graph-full .knowledge-graph{min-height:380px}.graph-full .graph-node>text{font-size:16px}.graph-foot{font-size:9px;line-height:1.8;padding:12px}.paper-search-box{gap:8px;padding:8px 9px}.paper-search-box>svg{width:18px}.paper-search-box input{font-size:10px}.paper-search-box .btn{font-size:9px;padding:10px}.paper-search-box .btn svg{display:none}.search-provider{font-size:7px;gap:5px;flex-wrap:wrap}.privacy-search{display:none}.search-intro{padding:40px 0}.search-intro h2{font-size:19px}.search-intro p{font-size:10px}.suggestion{font-size:9px}.result-card{padding:17px 14px;gap:10px}.result-number{font-size:9px}.result-card h3{font-size:13px}.result-abstract{font-size:10px}.result-bottom{gap:8px;flex-wrap:wrap}.result-bottom .doi{flex-basis:100%;white-space:normal}.settings-section{padding:20px 16px}.settings-title h2{font-size:13px}.settings-title p{font-size:10px}.setting-line{flex-direction:column;align-items:flex-start;gap:18px}.setting-actions .btn{font-size:9px}.setting-actions select{width:100%}.consent{font-size:9px}.modal{padding:23px 20px}.modal-title h2{font-size:20px}.form-row{grid-template-columns:1fr;gap:15px}.form-footer{gap:12px}.form-footer>span{font-size:8px}.drawer-heading{padding:21px}.drawer-heading h2{font-size:20px}.drawer-body{padding:23px 21px}.drawer-tabs{padding:10px 17px}.drawer-footer{padding:16px}.drawer-footer>span{font-size:7px;max-width:50%;overflow:hidden}.toast{width:calc(100% - 30px);font-size:10px;padding:13px 16px}.graph-legend>small{display:inline}.note-drawer{width:100%}}
@media(max-width:430px){.paper-art{display:none}.research-banner{min-height:225px}.research-banner p{max-width:none}.page-heading p{font-size:9px}.titlebar-left{display:none}.brand{padding:0 0 20px}.main-scroll{padding:22px 14px}.toolbar{padding:0 12px}.toolbar-actions .icon-btn{display:none}.banner-project{font-size:8px}.form-footer>span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0.001ms!important;transition:none!important;scroll-behavior:auto!important}}

/* Leave room for native Windows caption controls. */
[data-platform="win32"] .titlebar-right{right:150px}

/* Reading evidence and comparing literature */
.paper-tools{display:flex;gap:8px;padding:0 28px 18px;flex-wrap:wrap}.comparison-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.comparison-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;margin-top:20px;align-items:start}.comparison-picker{background:white;border:1px solid var(--line);border-radius:10px;padding:16px;max-height:65vh;overflow:auto}.comparison-picker h3{font-size:13px;margin-bottom:12px}.comparison-picker h3 span{color:var(--accent);float:right}.comparison-picker>input{width:100%;border:1px solid var(--line);border-radius:6px;padding:9px;margin-bottom:10px}.comparison-choice{display:flex;gap:9px;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.7;cursor:pointer}.comparison-choice>input{accent-color:var(--accent);flex-shrink:0;align-self:flex-start;margin-top:5px}.comparison-choice>span{min-width:0;overflow-wrap:anywhere}.comparison-choice small{display:block;color:#81788d;margin-top:4px}.comparison-table-scroll{overflow:auto;border:1px solid var(--line);border-radius:10px;background:white;max-height:72vh;min-width:0}.comparison-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.comparison-table th,.comparison-table td{padding:18px;vertical-align:top;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;min-width:210px;max-width:340px;line-height:1.8}.comparison-table thead th{position:sticky;top:0;background:#f3effa;z-index:1;color:#695583;font-size:12px}.comparison-table tbody th{font-weight:normal;background:#fcfbfe;min-width:240px}.comparison-table th .text-btn{font-size:13px;font-weight:650;text-align:left;color:var(--ink);white-space:normal}.comparison-table th p{font-size:11px;color:#81788d;margin:10px 0}.comparison-table th small{display:block;overflow-wrap:anywhere;font-size:10px;color:#81788d}.comparison-cell{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}.comparison-table-scroll>.empty-state{min-width:0;padding:65px 24px}.comparison-layout+.notice{margin-top:16px}
.pdf-overlay{position:fixed;inset:0;background:#25203688;z-index:150;display:flex;align-items:center;justify-content:center;padding:20px}.pdf-dialog{width:min(1420px,100%);height:calc(100dvh - 40px);background:#faf9fc;border-radius:14px;overflow:hidden;box-shadow:0 24px 90px #15112444;display:flex;flex-direction:column}.pdf-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:white;border-bottom:1px solid var(--line)}.pdf-header h2{font-size:19px;margin-top:4px}.pdf-toolbar{display:flex;align-items:center;gap:14px;padding:10px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap;background:white}.pdf-toolbar .btn{position:relative;overflow:hidden;cursor:pointer}.pdf-toolbar input[type=file]{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.pdf-toolbar .btn:focus-within{outline:2px solid var(--accent);outline-offset:2px}.pdf-toolbar>span{font-size:11px;color:#81788d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.pdf-paging{display:flex;align-items:center;gap:10px;margin-left:auto}.pdf-paging label{display:flex;align-items:center;gap:8px;font-size:11px;color:#81788d}.pdf-paging input{width:55px;padding:7px;border:1px solid var(--line);border-radius:5px}.pdf-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;flex:1;min-height:0}.pdf-document-scroll{overflow:auto;background:#e9e7ed;padding:24px;min-width:0}.pdf-page{position:relative;margin:0 auto;background:white;box-shadow:0 3px 14px #24203822}.pdf-page canvas{display:block}.pdf-page .textLayer{opacity:1}.pdf-page .textLayer ::selection{background:#a48add66}.pdf-evidence-panel{overflow:auto;padding:20px;background:white;border-left:1px solid var(--line)}.pdf-evidence-panel h3{font-size:13px;margin-bottom:12px}.pdf-evidence-panel .notice{font-size:11px;line-height:1.8;margin-bottom:20px;padding:12px}.pdf-evidence-panel label{display:flex;flex-direction:column;gap:7px;font-size:11px;margin-bottom:12px}.pdf-evidence-panel input,.pdf-evidence-panel textarea,.pdf-evidence-panel select{width:100%;border:1px solid #e5e1ec;border-radius:6px;padding:9px;background:white;color:var(--ink)}.pdf-evidence-panel textarea{resize:vertical;line-height:1.8}.pdf-evidence-panel input[readonly]{background:#f8f7fb;color:#81788d}.pdf-evidence-panel [hidden]{display:none!important}.pdf-quote-form,.pdf-annotations{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.pdf-quote-form .muted,.pdf-annotations .muted{font-size:11px;line-height:1.8;margin-bottom:12px}.pdf-annotation{display:block;width:100%;padding:12px;background:#faf7ec;border:1px solid #eee5cb;border-radius:6px;text-align:left;line-height:1.8;font-size:11px;margin:8px 0;overflow-wrap:anywhere}#pdf-annotations-list{font-size:11px;color:#81788d;line-height:1.8}
@media(max-width:1000px){.comparison-layout{grid-template-columns:190px minmax(0,1fr)}.pdf-layout{grid-template-columns:minmax(0,1fr) 300px}.pdf-overlay{padding:8px}.pdf-dialog{height:calc(100dvh - 16px)}.pdf-toolbar>span{max-width:180px}}
@media(max-width:700px){.comparison-layout{grid-template-columns:1fr}.comparison-picker{max-height:230px}.comparison-table-scroll{max-height:60vh}.comparison-table th,.comparison-table td{min-width:200px;padding:14px}.page-heading:has(.comparison-actions){align-items:flex-start;flex-direction:column}.pdf-layout{display:block;overflow:auto}.pdf-document-scroll{min-height:260px;max-height:55vh;padding:14px}.pdf-evidence-panel{overflow:visible;border-left:0;padding:20px}.pdf-toolbar{padding:10px 14px;gap:9px}.pdf-toolbar>span{max-width:140px}.pdf-paging{margin-left:0}.pdf-header{padding:14px}.pdf-header h2{font-size:17px}}
.comparison-cell.markdown-content{white-space:normal;font-size:12px;line-height:1.8}.comparison-cell.markdown-content h2,.comparison-cell.markdown-content h3{font-size:12px;margin:10px 0}.comparison-cell.markdown-content p{font-size:12px;margin:0 0 8px;color:inherit}.comparison-cell.markdown-content blockquote{padding:8px 12px;margin:8px 0}.comparison-cell .wiki-link{white-space:normal;text-align:left}
/* Guided topic → outline → tags workflow. */
#process-view{max-width:1120px;margin:0 auto;min-width:0}#process-view button:disabled{opacity:.5;cursor:default}#process-view h2{font-size:21px;letter-spacing:-.5px}#process-view .page-heading{gap:16px}#process-view .notice{display:block}#process-view .notice[hidden]{display:none}
.process-welcome{text-align:center;padding:70px 24px;background:#fff;border:1px solid var(--line);border-radius:16px}.process-welcome p{line-height:1.9;color:var(--muted);margin:15px 0 25px}.large-search-icon{display:inline-flex;color:var(--accent);padding:16px;background:#f2efff;border-radius:18px;margin-bottom:14px}
.process-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.process-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;color:var(--ink);cursor:pointer;position:relative;overflow-wrap:anywhere}.process-card:hover{border-color:#ada3dd}.process-card>span,.process-card p{color:var(--muted);font-size:12px}.process-card h2{margin:12px 0}.process-card>svg{position:absolute;right:20px;bottom:22px;color:var(--accent)}
.process-steps{display:flex;gap:24px;flex-wrap:wrap;margin:28px 0 18px}.process-steps>span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.process-steps b{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;background:#fff}.process-steps .active{color:var(--accent);font-weight:700}.process-steps .active b{color:#fff;background:var(--accent)}.process-steps .done b{background:#e9f2ed;color:#38815c}
.process-storage{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:11px;color:var(--muted);margin-bottom:15px}.process-storage>span:first-child{color:#438061;flex-shrink:0}.process-storage>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65%}
.process-wizard,.process-review,.process-inline-panel{padding:30px;background:#fff;border:1px solid var(--line);border-radius:16px}.process-wizard{max-width:820px;margin:0 auto}.process-wizard h2{margin:12px 0 24px}.process-wizard label,.process-inline-panel form>label{display:flex;flex-direction:column;gap:9px;margin:20px 0;font-size:13px}.process-wizard input,.process-inline-panel input:not([type=checkbox]),.process-inline-panel select{width:100%;padding:12px 14px;border:1px solid #dcdce5;background:#fff;border-radius:8px;color:var(--ink);font:inherit;min-width:0}.process-wizard input:focus,.process-inline-panel input:focus{outline:2px solid #bcb0ed;outline-offset:2px}.process-wizard-footer{display:flex;justify-content:space-between;gap:12px;margin-top:36px;padding-top:20px;border-top:1px solid var(--line)}
.process-outline{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.process-outline-row{display:flex;align-items:center;gap:8px}.process-outline-row>span{width:20px;color:var(--muted);font-size:13px}.process-outline-row>input{flex:1}.process-outline-row .icon-btn{flex:0 0 30px}.process-tag-row{padding:4px 0 14px}.process-tag-row strong{font-size:14px}.process-summary{display:flex;flex-direction:column;gap:12px;margin:24px 0}.process-summary>div{display:flex;flex-wrap:wrap;gap:12px}.process-summary strong{font-size:13px;min-width:160px}.process-summary span{display:flex;gap:6px;flex-wrap:wrap}.process-summary em{font-size:11px;font-style:normal;padding:3px 8px;background:#f1eefb;color:#6d5ba3;border-radius:5px}.process-run-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.process-privacy{font-size:11px!important;color:var(--muted);line-height:1.8;margin:14px 0 0}.process-review>p{color:var(--muted);font-size:13px}
.process-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:32px 0 10px}.process-result-heading h2 span{font-size:14px;color:var(--accent);margin-left:8px}.process-result-heading>span{font-size:11px;color:var(--muted)}.process-summary-text{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.process-section-results{background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:22px;overflow:hidden}.process-section-results>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;background:#fcfbfe;border-bottom:1px solid var(--line)}.process-section-results>header>div:last-child{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.process-section-results h3{font-size:17px;margin:6px 0 0}.process-section-results h3 small{font-size:12px;color:var(--muted);margin-left:8px}.process-paper{padding:24px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.process-paper:last-child{border-bottom:0}.process-paper-meta{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.process-paper-meta>span{color:#657668}.process-paper h4{font-size:16px;line-height:1.6;margin:12px 0 8px}.process-authors{color:var(--muted);font-size:12px;line-height:1.7}.process-reason{background:#f7f6fa;padding:12px 14px;border-radius:8px;line-height:1.8;font-size:13px;margin:14px 0}.process-paper-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:16px}.process-paper-actions .text-btn{font-size:12px}.process-empty{padding:24px;color:var(--muted);font-size:13px}
.process-inline-panel{margin-top:26px;border-color:#bfb3df}.process-panel-title{display:flex;align-items:center;justify-content:space-between}.process-inline-panel>p,.process-inline-panel form>p{font-size:13px;line-height:1.8;color:var(--muted)}.process-inline-panel .form-row{display:grid;grid-template-columns:2fr 1fr;gap:16px}.process-inline-panel .form-row label{display:flex;flex-direction:column;gap:8px;font-size:13px}.process-assignment{display:flex;gap:10px;align-items:center;font-size:13px;margin:16px 0}.process-inline-panel details{margin-top:24px}.process-query-details{margin:24px 0;font-size:12px;color:var(--muted)}.process-query-details summary,.process-inline-panel summary{cursor:pointer;padding:10px 0}.process-query-details li,.process-query-log li{margin:8px 0;overflow-wrap:anywhere}.process-query-log{font-size:12px;color:var(--muted);max-height:150px;overflow:auto}.process-existing-papers{max-height:280px;overflow:auto;display:flex;flex-direction:column;gap:8px;margin-top:12px}.process-existing-paper{background:#faf9fc;border:1px solid var(--line);padding:12px;border-radius:8px;text-align:left;cursor:pointer;font:inherit;font-size:13px;display:flex;justify-content:space-between;gap:10px}
@media(max-width:700px){.process-cards{grid-template-columns:1fr}.process-wizard,.process-review,.process-inline-panel{padding:20px 16px}.process-steps{gap:12px 15px}.process-steps>span{font-size:11px}.process-steps b{width:24px;height:24px}.process-result-heading,.process-section-results>header{align-items:flex-start;flex-direction:column}.process-section-results>header{padding:18px}.process-paper{padding:18px}.process-paper-meta{flex-direction:column;gap:5px}.process-paper-actions{gap:12px}.process-storage{align-items:flex-start;flex-direction:column;gap:5px}.process-storage>span:nth-child(2){max-width:100%}.process-outline-row{gap:4px}.process-outline-row .icon-btn{flex-basis:24px;width:24px}.process-outline-row>span{width:12px}.process-outline-row input{padding:10px 8px}.process-welcome{padding:40px 18px}.process-summary>div{gap:8px}#process-view .page-heading{align-items:flex-start;flex-direction:column}.process-summary strong{min-width:0;width:100%}}
.process-reference-export{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:24px}.process-reference-export strong{font-size:14px}.process-reference-export label{display:flex;gap:8px;align-items:center;font-size:12px}.process-reference-export select{max-width:360px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.process-reference-export>p,.process-reference-export>[role=status]{width:100%;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.process-lookup{background:#f7f5fd;padding:16px;border-radius:10px;margin:18px 0 24px}.process-lookup label,.process-bib-details label{display:flex;flex-direction:column;gap:8px;margin-bottom:12px;font-size:12px}.process-lookup p{font-size:12px;line-height:1.8;color:#776791;margin-top:12px}.process-bib-details[open]{padding-bottom:12px}.process-bib-details label{margin:12px 0}.process-reference-export>[role=status]{max-height:160px;overflow:auto}
@media(max-width:700px){.process-reference-export label{width:100%;align-items:flex-start;flex-direction:column}.process-reference-export select{width:100%;max-width:100%}.process-reference-export{padding:16px}.process-lookup{padding:12px}}

/* Plain-language navigation and the first-paper flow. */
.desktop-shell,.desktop-shell.wide{grid-template-columns:248px minmax(0,1fr)}
.desktop-shell:not(.wide){grid-template-columns:248px minmax(0,1fr) 300px}
.sidebar{overflow-y:auto;padding:22px 14px 0}
.nav-group-label,.nav-more summary{font-size:12px;color:#655c75;font-weight:600;padding:12px 10px}
.nav-more summary{cursor:pointer;min-height:42px}
.nav-item{min-height:62px;gap:12px;padding:10px;border-radius:9px}
.nav-copy{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left}
.nav-copy strong{font-size:14px;font-weight:600;color:#42364f}
.nav-copy small{font-size:11px;color:#71667d;line-height:1.4}
.nav-item.active .nav-copy strong{color:#6745ae}
.nav-count{margin-left:auto}
.sidebar-bottom{margin-top:auto}.vault-box{margin-top:16px;padding:14px}.vault-box p{font-size:12px;color:#71667d}
.main-scroll{max-width:1320px;width:100%;margin:0 auto}
.page-heading p{font-size:14px;color:#71667d;line-height:1.7}
.start-guide{border:1px solid #e4ddec;border-radius:18px;background:#fff;overflow:hidden;margin-bottom:20px}
.start-intro{padding:26px 28px;background:#f5f1fc}.start-intro .tiny-title{font-size:11px;color:#72559c}
.start-intro h2{font-size:25px;color:#3e3053;margin:9px 0}.start-intro p{font-size:14px;line-height:1.8;color:#6d5d7d}
.start-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.start-step{padding:24px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:12px}.start-step:last-child{border:0}
.step-number{display:grid;place-items:center;background:#f0eafa;color:#6b4b9f;width:30px;height:30px;border-radius:50%;font-weight:700}
.start-step h3{font-size:17px;color:#45334e}.start-step p{font-size:13px;line-height:1.8;color:#71667d;min-height:47px}.start-step>.btn{margin-top:6px;font-size:13px;min-height:42px}.start-step .text-btn{font-size:12px;color:#6b4b9f;text-align:left;white-space:normal;line-height:1.6}
.setup-reminder,.home-plan{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:20px 0 26px;border:1px solid var(--line);border-radius:12px;background:#fff}
.setup-reminder strong,.home-plan strong{font-size:13px;color:#50405f}.setup-reminder p,.home-plan p{font-size:12px;color:#71667d;line-height:1.7;margin-top:5px}
.paper-entry{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-right:16px}.paper-entry:last-child{border-bottom:0}.paper-entry .paper-row{flex:1;min-width:0;border-bottom:0}.paper-entry .paper-info{min-width:0}.paper-read{flex-shrink:0;min-height:40px;color:#644692;background:#f3eefb;border-color:#e4d9f4}
.paper-info>strong{font-size:14px;color:#493653}.paper-info>span:nth-child(2){font-size:12px;color:#786584}
.paper-tools{padding-top:8px}.paper-tools .btn-primary{min-height:44px;font-size:14px}
/* Give the document the screen; show the writing panel on demand. */
.pdf-overlay{padding:0;background:#f4f3f6}
.pdf-dialog{width:100%;height:100dvh;max-width:none;border-radius:0}
.pdf-dialog [hidden]{display:none!important}
.pdf-header{padding:12px 22px;gap:12px}.pdf-header>div{min-width:0}.pdf-header h2{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80vw}
.pdf-header .icon-btn{width:44px;height:44px}
.pdf-status.notice{margin:0;border-radius:0;padding:9px 22px;font-size:12px;line-height:1.6;color:#665377;background:#f5f1fb;display:block}
.pdf-status.notice.warning{color:#815725;background:#fff4df}
.pdf-toolbar{padding:10px 22px;gap:12px}.pdf-toolbar>span{max-width:240px;font-size:12px}.pdf-toolbar .btn{min-height:38px;font-size:12px}
.pdf-zoom-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#62556e}.pdf-zoom-label select{padding:8px;border:1px solid #ddd5e7;border-radius:6px;background:white;color:#44334e}
.pdf-paging label{font-size:13px}.pdf-paging input{width:66px;font-size:14px}.pdf-layout{grid-template-columns:minmax(0,1fr) 320px}
.pdf-dialog.reading-only .pdf-layout{grid-template-columns:minmax(0,1fr)}
.pdf-document-scroll{overscroll-behavior:contain}.pdf-page{flex-shrink:0}
.pdf-evidence-panel{padding:20px}.pdf-evidence-panel label{font-size:13px;color:#554260}.pdf-evidence-panel input,.pdf-evidence-panel textarea,.pdf-evidence-panel select{font-size:13px;color:#493653}.pdf-evidence-panel h3{font-size:15px;color:#493653}.pdf-evidence-panel .muted{font-size:12px;color:#786584}
.pdf-info summary{cursor:pointer;font-size:13px;color:#62556e;padding-bottom:12px}.pdf-info form h3{display:none}.pdf-quote-form{margin-top:10px;padding-top:18px}
@media(max-width:1100px){.desktop-shell:not(.wide){grid-template-columns:225px minmax(0,1fr)}.desktop-shell,.desktop-shell.wide{grid-template-columns:225px minmax(0,1fr)}.companion-toggle{display:none}.start-step{padding:18px}.start-step h3{font-size:16px}}
@media(max-width:760px){.desktop-shell,.desktop-shell.wide,.desktop-shell:not(.wide){grid-template-columns:126px minmax(0,1fr)}.sidebar{padding:14px 7px 0}.nav-item{padding:10px 6px;justify-content:flex-start;gap:7px;min-height:48px}.nav-item>svg{width:16px;height:16px}.nav-item>.nav-copy{display:flex}.nav-copy strong{font-size:11px}.nav-copy small,.nav-count{display:none}.nav-more summary,.nav-group-label{font-size:10px;padding:12px 4px}.sidebar-bottom .nav-item>span{display:inline;font-size:10px}.start-steps{grid-template-columns:1fr}.start-step{border-right:0;border-bottom:1px solid var(--line);gap:9px}.start-step p{min-height:0}.start-step p br{display:none}.start-intro{padding:20px}.start-intro h2{font-size:21px}.start-intro p,.page-heading p{font-size:12px}.setup-reminder,.home-plan{align-items:flex-start;flex-direction:column}.paper-entry{align-items:stretch;flex-direction:column;gap:0;padding:0 0 12px}.paper-read{align-self:flex-start;margin-left:12px}.paper-info>strong{font-size:12px}.paper-info>span:nth-child(2){font-size:10px}.pdf-toolbar{padding:8px 12px;gap:8px}.pdf-toolbar>span{display:none}.pdf-paging{margin-left:0}.pdf-layout{display:flex;flex-direction:column;overflow:hidden}.pdf-document-scroll{flex:1;min-height:140px;max-height:none;padding:24px}.pdf-evidence-panel{flex:0 0 42%;min-height:0;overflow:auto;border-top:1px solid var(--line)}.pdf-dialog.reading-only .pdf-document-scroll{flex:1}.pdf-header{padding:8px 12px}.pdf-header h2{font-size:14px}.pdf-status.notice{padding:7px 12px;font-size:11px}}
[data-platform="win32"] .pdf-overlay,[data-platform="darwin"] .pdf-overlay,[data-platform="linux"] .pdf-overlay{top:43px}
[data-platform="win32"] .pdf-dialog,[data-platform="darwin"] .pdf-dialog,[data-platform="linux"] .pdf-dialog{height:calc(100dvh - 43px)}
.pdf-remote{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;padding:14px 22px;border-bottom:1px solid var(--line)}
.pdf-remote>label{font-size:12px;color:#62556e}.pdf-remote>input{flex:1;min-width:180px;border:1px solid #ddd5e7;padding:10px;border-radius:6px}.pdf-remote>p{flex-basis:100%;font-size:12px;color:#786584;line-height:1.6}.pdf-origin{font-size:11px;color:#675875;padding:7px 22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid var(--line)}
@media(max-width:760px){.pdf-remote{padding:10px 12px;gap:8px}.pdf-remote>label{flex-basis:100%}.pdf-remote .btn{font-size:11px}.pdf-remote>p{font-size:10px}.pdf-origin{padding:6px 12px}}
.pdf-availability{display:inline-flex!important;align-self:flex-start;font-size:11px!important;margin-top:7px;padding:3px 8px;border-radius:5px;background:#f1eef4;color:#6a6073!important;line-height:1.6}
.pdf-availability.saved{color:#246b49!important;background:#e8f4ed}.pdf-availability.failed{color:#895c24!important;background:#fff2df}.pdf-availability.searching,.pdf-availability.preview{color:#674799!important;background:#f0e8ff}
.pdf-state{display:flex;align-items:center;gap:14px;padding:13px 22px;background:#f4f1f8;border-bottom:1px solid #e3dceb;flex-shrink:0}.pdf-state>div{flex:1;min-width:0}.pdf-state strong{font-size:14px;color:#564568}.pdf-state p{font-size:12px;line-height:1.7;color:#6f607e;margin-top:3px}.pdf-state[data-state="saved"]{background:#edf6f0;border-color:#d6e7dc}.pdf-state[data-state="saved"] strong{color:#286643}.pdf-state[data-state="preview"]{background:#fff7e9;border-color:#efdfc3}.pdf-state[data-state="preview"] strong{color:#845b24}.pdf-state[data-state="searching"]{background:#eee8fa}.pdf-state #pdf-memo-state{color:#89521b;font-weight:600}.pdf-state #pdf-storage-path{overflow-wrap:anywhere;color:#54645c;font-size:11px}.pdf-state .btn{flex-shrink:0;min-height:40px}
.pdf-recovery{padding:14px 22px;background:#fff5e7;border-bottom:1px solid #ead9bf;flex-shrink:0}.pdf-recovery strong{color:#775020;font-size:14px}.pdf-recovery p{font-size:12px;line-height:1.7;color:#755f43;margin-top:5px}.recovery-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.recovery-actions .btn{font-size:12px;min-height:36px}
@media(max-width:760px){.pdf-state{padding:10px 12px;gap:8px;flex-wrap:wrap}.pdf-state>div{flex-basis:100%}.pdf-state strong{font-size:12px}.pdf-state p{font-size:11px}.pdf-state #pdf-storage-path{max-height:38px;overflow:auto}.pdf-recovery{padding:10px 12px}.pdf-recovery strong{font-size:12px}.pdf-recovery p{font-size:11px}.pdf-state .btn,.recovery-actions .btn{font-size:11px}}

/* Keep the application identity flat with square corners. */
.brand-mark{display:block;object-fit:contain;flex-shrink:0;border-radius:0;box-shadow:none;background:none}

/* FGI follow-up: continuous reading and explicit destinations. */
#pdf-page-host{display:flex;flex-direction:column;gap:20px;min-width:max-content}
.pdf-page:empty::after{content:attr(aria-label);position:absolute;inset:24px;color:#81788d;font-size:12px}
.pdf-find{background:white;border-bottom:1px solid var(--line);padding:8px 20px;flex-shrink:0}
.pdf-find summary{cursor:pointer;font-size:12px;font-weight:600}
.pdf-find form{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.pdf-find input{flex:1;min-width:120px;border:1px solid var(--line);padding:8px;border-radius:6px}
#pdf-search-status{font-size:11px;margin:8px 0;color:#655c75}
#pdf-search-results{max-height:120px;overflow:auto}
.pdf-search-result{display:block;text-align:left;width:100%;padding:10px;border:0;border-bottom:1px solid var(--line);background:#f8f7fb;color:var(--ink);cursor:pointer;font-size:12px}
.pdf-search-result:hover,.pdf-search-result:focus-visible{background:#eae4fa}
.pdf-destinations{border:0;padding:0;margin:18px 0}
.pdf-destinations legend{font-size:12px;font-weight:600;margin-bottom:10px}
.pdf-destinations label{display:flex;flex-direction:row;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:10px;cursor:pointer;margin-bottom:6px}
.pdf-destinations label:has(input:checked){border-color:var(--accent);background:#f3effc}
.pdf-destinations input{width:16px;height:16px;flex-shrink:0;accent-color:var(--accent)}
.pdf-destinations span{display:flex;flex-direction:column;gap:4px}.pdf-destinations small{color:#655c75;font-size:10px}
[data-pdf="view-comparison"]{margin-top:8px}
.nav-pinnable{display:flex;align-items:center;min-width:0}.nav-pinnable>.nav-item{flex:1;min-width:0}
.nav-pin{border:0;background:transparent;color:#81788d;cursor:pointer;flex:0 0 28px;min-height:36px;font-size:18px;border-radius:6px}
.nav-pin[aria-pressed="true"]{color:#7150ae}.nav-pin:hover,.nav-pin:focus-visible{background:#eae4fa}
@media(max-width:760px){.nav-pinnable .nav-item>svg{display:none}.nav-pin{flex-basis:23px}.pdf-find{padding:8px 12px}.pdf-find[open] #pdf-search-results{max-height:80px}}

.update-notes{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:16px;background:var(--bg,#f7f8fb)}
.setup-command{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#f4f3f8}.setup-command code{overflow-wrap:anywhere}.codex-setup{margin-top:20px}.codex-setup summary{cursor:pointer;font-weight:600}.codex-setup h3{margin-top:20px}.codex-setup p{line-height:1.7}.browser-limit{padding:8px 20px;background:#eee9ff;color:#514180;font-size:12px}#app-update-panel progress{width:70%;accent-color:#7761cf}

.research-source-links{padding:16px;margin:14px 0;background:#f7f5fb;border:1px solid #e2daee}.research-source-links p{margin:8px 0;font-size:12px;line-height:1.6}
