:root{--paper:#f8f7f4;--white:#fff;--ink:#28262e;--muted:#827d88;--purple:#6f5b99;--purple-dark:#5c487f;--lavender:#eee9f5;--line:#e9e6e1;--soft:#f3f1ed;--green:#5c8872;--danger:#aa5659;--sidebar:212px;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}a{color:inherit;text-underline-offset:4px}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #a38bc4;outline-offset:3px}button,a,summary{touch-action:manipulation}button{border:0}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.35}p{overflow-wrap:anywhere}img{max-width:100%;display:block}[hidden]{display:none!important}fieldset{border:0;padding:0;margin:0}legend{padding:0}input[type=checkbox],input[type=radio]{accent-color:var(--purple);width:17px;height:17px;flex-shrink:0}input[type=text],input[type=password],textarea,select{border:1px solid #dcd7e2;background:#fff;border-radius:8px;color:var(--ink)}input[type=text],input[type=password]{width:100%;padding:11px 12px}textarea{resize:vertical;padding:12px;line-height:1.8;width:100%}input::placeholder,textarea::placeholder{color:#a39ba9}textarea:focus,input:focus,select:focus{border-color:var(--purple)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:20px;top:-80px;background:var(--ink);color:white;padding:12px 20px;z-index:1000;border-radius:8px}.skip:focus{top:10px}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#f3f1ed;border-right:1px solid var(--line);padding:34px 19px 22px;display:flex;flex-direction:column;z-index:30}.brand{background:none;display:flex;align-items:center;gap:11px;padding:0 10px;letter-spacing:-1.2px;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:600}.brand-dot{color:var(--purple)}.moon{position:relative;width:23px;height:23px;display:inline-block;border-radius:50%;background:var(--purple);overflow:hidden;flex-shrink:0}.moon:after{content:"";position:absolute;background:var(--paper);width:23px;height:23px;border-radius:50%;left:9px;top:-5px;transform:rotate(-20deg)}.brand .moon:after{background:#f3f1ed}.sidebar-label{font-size:10px;letter-spacing:1.65px;color:#aaa3a6;padding:0 11px;margin:50px 0 13px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:8px;border:1px solid transparent;background:transparent;font-size:14px;font-weight:550;text-decoration:none;line-height:1.4;transition:background .18s,border-color .18s,color .18s;white-space:nowrap}.button:hover:not(:disabled){background:#ece8e2}.button.primary{background:var(--purple);border-color:var(--purple);color:#fff;box-shadow:0 3px 7px #6f5b9915}.button.primary:hover:not(:disabled){background:var(--purple-dark);border-color:var(--purple-dark)}.button.secondary{background:#fff;border-color:var(--line)}.button.secondary:hover:not(:disabled){border-color:#cbc2d6;background:#fbf9fd}.button.text{color:var(--purple);padding:6px 3px;font-size:13px;font-weight:500}.button.text:hover:not(:disabled){background:transparent;color:var(--purple-dark)}.button.icon-only{padding:9px;border:1px solid var(--line);background:#fff;gap:0}.button.icon-only>span{display:none}.button.icon-only.danger-quiet{color:#9b8c8d}.button.icon-only.danger-quiet:hover{color:var(--danger);border-color:#dfb8b9}.button.compact{padding:7px 11px;font-size:13px}.button.nav-button{justify-content:flex-start;padding:12px 13px;color:#7c7681;font-size:14px;border-radius:8px}.button.nav-button.active{color:var(--purple);background:#e9e3ef;font-weight:650}.button.nav-button:hover:not(:disabled){background:#ebe7e1}.button.nav-button.active:hover{background:#e6dfee}.sidebar-quote{margin-top:auto;padding:45px 12px 34px}.sidebar-quote>span{font-size:30px;color:#b3a2cd}.sidebar-quote p{font-family:Georgia,"Nanum Myeongjo","Batang",serif;font-size:15px;line-height:1.9;color:#7e7389;margin:13px 0}.sidebar-quote small{font-size:10px;color:#aaa1ac;letter-spacing:.3px}.sidebar-bottom{border-top:1px solid #e4e0d9;padding:21px 5px 0;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;border-radius:50%;width:33px;height:33px;background:#e7dfed;color:#816a9a;font:italic 17px Georgia,serif}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom strong{font-size:12px;font-weight:550;color:#726979}.sidebar-bottom small{font-size:10px;color:#a59da8;margin-top:2px}
.shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:72px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:14px 38px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#a19aa5}.breadcrumb strong{font-weight:500;color:#726a7b}.top-actions{display:flex;align-items:center;gap:24px}.local-label{display:flex;align-items:center;gap:7px;color:#a29aa7;font-size:9px;letter-spacing:1px;white-space:nowrap}.local-label>span{width:5px;height:5px;background:#b6b8a2;border-radius:50%}.connection-button{border:1px solid #e5e0ea;display:flex;align-items:center;gap:8px;border-radius:7px;padding:8px 11px;font-size:11px;background:#fdfcfb;color:#7e748a;white-space:nowrap}.connection-button:hover{background:#fff}.status-light{width:6px;height:6px;border-radius:50%;background:#c7b093}.status-light.ready{background:#77a489}.connection-button.connected{color:#688171}.home-main{width:100%;max-width:1180px;margin:0 auto;padding:54px 55px 40px;flex:1}.home-view{animation:arrive .45s ease}.hero{margin:1px 0 42px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;color:#9c8fac;font-weight:550;letter-spacing:1.7px}.tiny-star{font-size:20px;line-height:1;color:#9984b6}.hero h1{font-family:Georgia,"Nanum Myeongjo","Batang",serif;font-weight:500;font-size:43px;line-height:1.48;letter-spacing:-1.9px;margin:18px 0 19px}.highlight-word{color:var(--purple);position:relative}.hero>p{font-size:14px;line-height:1.95;color:#928995;margin:0}.home-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:24px}.upload-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px 26px 18px;box-shadow:0 5px 18px #2c243502}.card-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.card-title h2{font-size:16px;letter-spacing:-.4px;font-weight:600;margin:0;flex:1}.step-badge{font:12px Georgia,serif;letter-spacing:1px;color:#a69bb2}.pill{display:inline-flex;align-items:center;gap:4px;border:1px solid #e5deec;background:#f7f3fb;color:#a08bb5;border-radius:5px;padding:2px 7px;font-size:10px;font-weight:500;line-height:1.6;white-space:nowrap}.dropzone{width:100%;min-height:268px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1.5px dashed #d9cfdf;background:#fcfbfd;border-radius:9px;padding:21px 20px;transition:background .2s,border-color .2s;gap:8px}.dropzone:hover,.dropzone.drag-over{background:#f5f0fa;border-color:#a18abb}.dropzone strong{font-size:15px;font-weight:550;margin-top:3px}.dropzone>span:not(.upload-art):not(.upload-progress){font-size:12px;color:#a096aa}.dropzone small{font-size:10px;color:#b6adbd;letter-spacing:.1px;margin-top:7px}.upload-art{position:relative;width:78px;height:81px;margin:1px 0 9px;display:block}.art-paper{position:absolute;display:flex;align-items:center;justify-content:center;width:51px;height:66px;background:#fff;border:1px solid #e0d8e7;border-radius:7px;color:#b49bc8;box-shadow:0 5px 10px #73598908}.art-paper.back{transform:rotate(-12deg);left:9px;top:4px;background:#f0eaf6}.art-paper.front{transform:rotate(7deg);left:20px;top:9px}.upload-badge{position:absolute;bottom:0;right:0;background:#9b83b8;width:24px;height:24px;display:grid;place-items:center;color:white;border-radius:50%;border:3px solid #fcfbfd}.upload-note{display:flex;align-items:center;gap:6px;justify-content:center;color:#a9a0ad;font-size:10px;line-height:1.7;margin:16px 0 0}.upload-note svg{color:#b9a8c7}.guide-card{position:relative;padding:29px 27px 23px;background:#ede8f1;border:1px solid #e8e0ed;border-radius:13px;overflow:hidden}.guide-card:after{content:"";position:absolute;right:-41px;top:-28px;border:1px solid #ded4e8;width:130px;height:130px;border-radius:50%;pointer-events:none}.guide-icon{color:#9f88b5;display:inline-block;margin-bottom:12px}.guide-card h2{font-size:21px;font-family:Georgia,"Nanum Myeongjo","Batang",serif;font-weight:500;line-height:1.6;letter-spacing:-.6px;margin-bottom:12px;color:#61516f}.guide-card>p{font-size:11px;color:#a092aa;margin-bottom:20px}.guide-card ol{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:15px}.guide-card li{display:flex;gap:10px;align-items:flex-start}.guide-card li>span{display:grid;place-items:center;background:#f8f5fa;border:1px solid #e0d6e9;width:21px;height:21px;border-radius:50%;font:10px Georgia,serif;color:#a58abb;flex-shrink:0;margin-top:2px}.guide-card strong{font-size:11px;color:#7d6c8b;font-weight:550;display:block}.guide-card small{font-size:10px;color:#ab9eb3;display:block;margin-top:2px}.research-note{display:flex;align-items:flex-start;gap:8px;margin-top:27px;color:#b3a7be;max-width:760px}.research-note>svg{margin-top:1px}.research-note p{font-size:10px;line-height:1.9;color:#a79caa;margin:0}.research-note a{white-space:nowrap;color:#9c88ad}.research-note a svg{margin-left:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading h2,.section-heading h3{font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0}.recent-section{margin-top:37px}.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.paper-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 20px;min-width:0;transition:border-color .2s,transform .2s}.paper-card:hover{border-color:#bfaecf;transform:translateY(-2px)}.paper-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;color:#9e8bb1;gap:12px}.paper-card h3{font-size:14px;font-weight:600;line-height:1.6;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:44px}.paper-card>p{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#a49ba8;margin-bottom:23px}.paper-card-bottom{display:flex;justify-content:space-between;align-items:center;color:#a69aaf;font-size:10px;gap:8px}.paper-card-bottom>svg{color:#aa91c0}.library-view{padding-top:12px}.library-heading{align-items:center;margin-bottom:32px}.library-heading h1{font:500 33px/1.5 Georgia,"Batang",serif;letter-spacing:-1px;margin:14px 0 8px}.library-heading p{font-size:13px;color:#9c92a3;margin:0}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.library-note{font-size:11px;color:#a399ac;margin-top:26px}.empty-library{text-align:center;padding:75px 20px;border:1px dashed #d9d0e1;border-radius:12px;background:#fff9}.empty-library>svg{color:#baa8cc;margin-bottom:22px}.empty-library h2{font-size:19px;font-weight:500;margin-bottom:12px}.empty-library p{font-size:13px;color:#9b91a3;margin-bottom:25px}.app-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);margin:20px 38px 0;padding:20px 0 23px;color:#b1a9b4;font-size:10px}.app-footer>span:first-child{font:italic 15px Georgia,serif;color:#a89aaf}
.banner{display:flex;align-items:flex-start;gap:11px;padding:15px 17px;border-radius:9px;margin-bottom:24px;font-size:13px;line-height:1.7;border:1px solid;overflow-wrap:anywhere}.banner>svg{margin-top:3px}.banner>div{flex:1;min-width:0}.banner strong{font-size:13px;font-weight:600}.banner p{margin:3px 0 0;font-size:12px}.connection-banner{background:#f4efe5;border-color:#e8dec9;color:#8d7960}.connection-banner .button{color:#8d7960}.error-banner{background:#fff1f0;border-color:#edd4d2;color:#a65d5b}.error-banner .button{border:0;background:transparent;color:inherit}.upload-progress{display:flex;align-items:center;gap:7px;color:#9884ac;font-size:11px;line-height:1.8;margin-top:7px}.spinner{display:inline-block;width:15px;height:15px;border-radius:50%;border:1.8px solid currentColor;border-right-color:transparent;animation:spin .8s linear infinite;flex-shrink:0}.initial-loading{padding:60px;color:var(--muted)}
.work-main{padding:29px 30px 40px;flex:1;width:100%;max-width:2200px;margin:0 auto}.work-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px}.work-title{min-width:0}.work-title h1{font-size:20px;font-weight:600;margin:8px 0 5px;letter-spacing:-.55px;overflow-wrap:anywhere;max-width:850px}.work-title>p{font-size:11px;color:#a096a8;margin:0}.work-heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.work-heading-actions .button{font-size:12px}.workspace-grid{display:grid;grid-template-columns:190px minmax(360px,1fr) minmax(295px,.8fr);align-items:start;gap:18px}.workspace-grid.source-hidden{grid-template-columns:220px minmax(0,820px);justify-content:center}.outline-panel{padding:16px 0;position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;scrollbar-width:thin}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.panel-heading h2{font-size:14px;margin:0;font-weight:600;letter-spacing:-.3px}.panel-description{font-size:11px;color:#a197a8;line-height:1.85;margin:11px 0 13px}.outline-controls{display:flex;gap:13px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:6px}.outline-controls .button{font-size:10px}.outline-list{display:flex;flex-direction:column;gap:2px}.outline-item{border-bottom:1px solid #eae5e3;border-radius:4px}.outline-item>summary{display:flex;align-items:center;list-style:none;gap:8px;padding:13px 5px 13px 1px;user-select:none}.outline-item>summary::-webkit-details-marker{display:none}.outline-item>summary>svg{color:#aaa0b2;transition:transform .2s}.outline-item[open]>summary>svg{transform:rotate(180deg)}.outline-item.selected .outline-text strong{color:#66517f}.outline-checkbox{align-self:center;line-height:0;padding:5px 1px;cursor:pointer}.outline-checkbox input{margin:0;width:14px;height:14px}.outline-text{min-width:0;flex:1}.outline-text small{display:block;color:#b0a6b7;font-size:9px;margin-bottom:4px;line-height:1.5}.outline-text strong{display:block;font-size:12px;line-height:1.65;font-weight:550;color:#9c919f;overflow-wrap:anywhere}.outline-body{padding:0 5px 14px 23px}.outline-body>p{font-size:11px;line-height:1.9;color:#8d8495;white-space:pre-wrap;max-height:300px;overflow:auto}.page-links{display:flex;flex-wrap:wrap;gap:4px}.writing-panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.writing-tabs{display:flex;gap:24px;padding:0 27px;border-bottom:1px solid var(--line);min-height:57px}.button.tab{border-radius:0;padding:16px 0 14px;background:none;border:0;border-bottom:2px solid transparent;font-size:12px;gap:7px;color:#a49aa9}.button.tab.active{border-bottom-color:var(--purple);color:var(--purple);font-weight:600}.button.tab:hover:not(:disabled){background:none;color:var(--purple)}.plan-view{padding:30px 27px 28px}.plan-intro h2{font-size:23px;font-family:Georgia,"Batang",serif;font-weight:500;letter-spacing:-.7px;margin:11px 0 13px;line-height:1.6}.plan-intro>p{font-size:13px;line-height:1.9;color:#9a90a1;max-width:470px;margin-bottom:18px}.plan-intro .eyebrow{font-size:9px}.selection-summary{display:flex;align-items:center;flex-wrap:wrap;gap:11px;padding:11px 0 20px;border-bottom:1px solid var(--line);margin-bottom:25px;color:#9a85ae;font-size:11px}.selection-summary>span{display:flex;align-items:center;gap:5px}.selection-summary>span:last-child{margin-left:auto;font-size:10px;color:#b0a4b8}.audience-field legend,.length-field legend{font-size:13px;font-weight:600;margin-bottom:11px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 12px;text-align:left}.choice:hover{border-color:#cfc1dd}.choice.selected{background:#f7f3fb;border-color:#bdabd0}.choice>span{display:flex;justify-content:space-between;gap:4px;font-size:12px;font-weight:550}.choice.selected>span{color:var(--purple)}.choice small{font-size:10px;color:#a69aae;display:block;margin-top:6px;line-height:1.7}.length-field{margin-top:22px}.segmented{display:flex;gap:5px;background:#f5f3f7;padding:5px;border-radius:7px}.segmented .button{flex:1;padding:8px;font-size:11px;font-weight:500;white-space:normal;color:#9b8fa5}.segmented .button.selected{background:#fff;color:var(--purple);box-shadow:0 2px 6px #35264108}.figure-selection{margin-top:30px}.figure-selection .section-heading{margin-bottom:7px}.figure-selection h3{font-size:13px}.figure-selection .section-heading>span{font-size:10px;color:#b5aabb}.figure-selection>p{font-size:11px;color:#a49aaa;line-height:1.9;margin-bottom:14px}.figure-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;max-height:550px;overflow:auto;padding:1px;scrollbar-width:thin}.figure-option{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;cursor:pointer;transition:border-color .15s;min-width:0}.figure-option:hover{border-color:#bea8d1}.figure-option.selected{border-color:#b096c8;box-shadow:0 0 0 1px #b096c815}.figure-thumb{height:150px;background:#f3f2f0;position:relative;display:flex;align-items:center;justify-content:center;padding:10px}.figure-thumb img{max-height:100%;object-fit:contain;box-shadow:0 1px 5px #0001}.figure-thumb input{position:absolute;right:8px;top:8px;margin:0;width:17px;height:17px;cursor:pointer}.figure-option-info{padding:10px 11px}.figure-option-info>.pill{font-size:9px;padding:1px 5px}.figure-option-info>span:not(.pill){float:right;font-size:10px;color:#a79caf;padding:2px 0}.figure-option-info p{font-size:10px;color:#9a8da2;line-height:1.7;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.empty-figures{padding:25px 15px;background:#f7f5f8;border:1px dashed #dfd6e6;border-radius:8px;color:#ab9bb7;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.8}.generation-actions{margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.generate-button{width:100%;padding:13px;font-size:13px;gap:9px}.setup-reminder{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin-top:13px;font-size:11px;color:#9f90a9;line-height:1.8}.setup-reminder .button{font-size:11px}.privacy-note{text-align:center;font-size:9px;color:#b6acbd;margin:13px 0 0}.warnings{background:#f5f0e8;border:1px solid #e9dfcf;color:#9b8665;border-radius:8px;font-size:12px;margin:0 0 19px}.warnings summary{display:flex;gap:7px;align-items:center;padding:11px 14px;list-style:none;font-size:11px}.warnings summary::-webkit-details-marker{display:none}.warnings ul{padding:0 20px 0 34px;line-height:1.9;font-size:11px;margin:0 0 13px}.job-banner{padding:17px 20px;background:#f0eaf7;border:1px solid #e0d3eb;border-radius:9px;margin:0 0 20px;color:#7e6498}.job-banner.failed{background:#fff1ef;border-color:#ebd3d1;color:#aa625d}.job-banner.completed{background:#eef4ef;border-color:#d6e6db;color:#72917b}.job-header{display:flex;align-items:center;gap:12px}.job-header>div{flex:1;min-width:0}.job-header strong{font-size:13px;font-weight:550}.job-header p{font-size:11px;margin:5px 0 0;white-space:pre-wrap}.job-header .button{font-size:12px;color:inherit;background:none;border:0}.job-banner progress{width:100%;height:4px;border:0;display:block;margin-top:14px;border-radius:4px;accent-color:var(--purple)}.job-banner progress::-webkit-progress-bar{background:#ddd1e9;border-radius:4px}.job-banner progress::-webkit-progress-value{background:#a08ab6;border-radius:4px}
.article-toolbar{padding:13px 24px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #f0edf3;background:#fefdfd}.draft-label{font-size:10px;color:#b2a3bd}.article-toolbar>div{display:flex;align-items:center;gap:7px}.export-menu{position:relative}.export-menu summary{list-style:none}.export-menu summary::-webkit-details-marker{display:none}.export-menu>div{position:absolute;right:0;top:calc(100% + 7px);width:165px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 9px 25px #2f1d4615;z-index:10;padding:5px}.export-menu a{display:block;padding:10px;text-decoration:none;font-size:12px;color:#8c789d;border-radius:4px}.export-menu a:hover{background:#f2edf7}.blog{padding:40px 35px 30px;overflow-wrap:anywhere}.blog-heading .eyebrow{font-size:8px;letter-spacing:1.4px;gap:10px}.eyebrow-divider{color:#d0c7d6;font-size:12px;font-weight:300}.blog-heading h1{font-family:Georgia,"Nanum Myeongjo","Batang",serif;font-size:31px;font-weight:600;letter-spacing:-1px;line-height:1.6;margin:19px 0 17px;word-break:keep-all;overflow-wrap:anywhere}.blog-subtitle{font-size:14px;line-height:1.9;color:#a495ad;margin-bottom:21px;word-break:keep-all}.blog-meta{display:flex;align-items:center;gap:8px;color:#b8abbf;font-size:9px;margin:25px 0 32px}.blog-meta strong{color:#8d7b9f;font-size:10px;font-weight:500}.mini-moon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#eee7f5;margin-right:1px}.mini-moon .moon{width:13px;height:13px;background:#a58dbb}.mini-moon .moon:after{width:13px;height:13px;left:5px;top:-3px;background:#eee7f5}.summary-box{background:#f7f4f9;border:1px solid #eee7f3;border-radius:9px;padding:20px 22px;margin:0 0 38px}.summary-box h2{display:flex;align-items:center;gap:7px;color:#9980ad;font-size:12px;font-weight:600;margin:0 0 10px}.summary-box>p{font-size:14px;line-height:2;color:#8a7896;margin:0;white-space:pre-wrap}.blog-section{margin:0 0 35px}.section-number{display:inline-block;font:italic 14px Georgia,serif;color:#bda9cd;margin-bottom:9px}.blog-section h2{font-family:Georgia,"Nanum Myeongjo","Batang",serif;font-size:22px;font-weight:600;line-height:1.6;letter-spacing:-.7px;margin-bottom:16px;word-break:keep-all}.blog-section>p{font-size:15px;color:#746c7b;line-height:2.1;white-space:pre-wrap;word-break:keep-all;margin-bottom:19px;overflow-wrap:anywhere}.blog-figure{margin:24px 0 20px;padding:0}.blog-figure button{display:block;background:#f8f7f5;border:1px solid #ede8ed;border-radius:8px;padding:16px;width:100%}.blog-figure img{max-height:600px;object-fit:contain;margin:0 auto}.blog-figure figcaption{font-size:10px;color:#aa9bb5;line-height:1.8;text-align:center;margin-top:10px}.blog-figure figcaption>span{color:#bfb3c7}.citation-list{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin-top:17px}.citation-list>span{font-size:9px;color:#b6a5c0;margin-right:4px}.button.citation{background:#f5f0f9;border:1px solid #ece3f3;color:#aa90bd;padding:3px 7px;border-radius:4px;font-size:10px;font-weight:400;gap:4px}.button.citation>svg{width:11px;height:11px}.button.citation.verified{color:#7e9885;background:#eff5ef;border-color:#e3ece3}.button.citation:hover{border-color:#bda7ce;background:#efe5f6}.glossary-box{border-top:1px solid var(--line);padding-top:24px;margin:34px 0}.glossary-box h2{font-size:15px;color:#8f7a9f;font-weight:550;margin-bottom:17px}.glossary-box dl{display:grid;grid-template-columns:minmax(70px,1fr) 3fr;gap:12px 18px;font-size:12px;margin:0}.glossary-box dt{color:#967fa9;font-weight:600}.glossary-box dd{margin:0;color:#a494ae;line-height:1.9}.limitations-box{background:#f8f5f0;border:1px solid #eee7db;padding:19px 21px;border-radius:8px;margin:28px 0 38px}.limitations-box h2{display:flex;align-items:center;gap:7px;font-size:12px;color:#a08d70;margin-bottom:10px}.limitations-box ul{padding-left:17px;color:#a19683;font-size:12px;line-height:1.95;margin:0}.limitations-box li+li{margin-top:8px}.paper-reference{padding-top:25px;border-top:1px solid var(--line)}.paper-reference .eyebrow{font-size:8px;letter-spacing:1.3px}.paper-reference h3{font-size:12px;line-height:1.8;font-weight:500;color:#9d8ca8;margin:8px 0 5px}.paper-reference>p{font-size:10px;color:#b5a8be;line-height:1.9;margin:0}.paper-reference>small{font-size:9px;color:#baadc5;display:block;margin-top:10px}.article-end{display:flex;justify-content:center;align-items:center;gap:15px;margin:36px 0 25px}.article-end>span:not(.moon){width:45px;height:1px;background:#e5ddea}.article-end .moon{width:15px;height:15px;background:#b6a0c7}.article-end .moon:after{background:#fff;left:6px;top:-3px;width:15px;height:15px}.paper-reference .citation-disclaimer{font-size:9px;text-align:center;color:#b9adbf;line-height:1.9}.empty-article{padding:60px 24px;text-align:center;color:#ac99bc}.empty-article h2{font-size:17px;font-weight:500;margin:18px 0 23px}.editor-field{display:block;margin:15px 0}.editor-field>span{display:block;font-size:10px;font-weight:500;letter-spacing:.2px;color:#ad9abc;margin:0 0 6px}.editor-field textarea{background:#fcfafd;border-color:#e4d8ee;font-size:14px}.editor-field textarea.edit-title{font-size:25px;line-height:1.55;font-family:Georgia,"Batang",serif}.editor-field textarea.edit-subtitle{font-size:14px}.editor-field textarea.edit-section-title{font-size:18px;font-weight:600;line-height:1.7}.editor-field textarea.edit-body{font-size:14px;line-height:2}.summary-box .editor-field{margin-bottom:0}
.source-panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:sticky;top:20px;min-width:0}.source-tabs{display:flex;gap:25px;padding:0 18px;border-bottom:1px solid var(--line);min-height:57px}.source-tabs .button{font-size:12px}.source-controls{padding:11px 12px;display:flex;justify-content:space-between;gap:7px;align-items:center;border-bottom:1px solid var(--line)}.source-toggle{display:flex;background:#f4f1f6;border-radius:5px;padding:3px}.source-toggle .button{font-size:10px;padding:4px 7px;color:#ad9cb8;font-weight:500;border-radius:3px}.source-toggle .button.active{background:#fff;color:#8d739f;box-shadow:0 2px 4px #3c1e4e08}.page-navigation{display:flex;align-items:center;gap:2px}.page-navigation .button{padding:4px;border:0;background:none;color:#9a86aa}.page-navigation .button svg{width:13px;height:13px}.page-navigation select{font-size:10px;border:0;padding:4px;background:#fff;color:#a28eaf;max-width:85px}.pdf-frame{width:100%;height:calc(100vh - 200px);min-height:520px;max-height:850px;border:0;display:block;background:#ebe8e8}.source-open-link{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#ac98ba;padding:11px;text-decoration:none}.source-text{padding:21px 20px;max-height:calc(100vh - 190px);min-height:520px;overflow:auto;scrollbar-width:thin}.source-text h3{font-size:9px;font-weight:550;letter-spacing:1.6px;color:#a58bb7;margin:22px 0 17px}.text-page-thumbnail{max-height:290px;width:100%;object-fit:contain;background:#f1eeeb;border:1px solid #e7e2e9;padding:8px;border-radius:4px}.extracted-text{font-family:Georgia,"Times New Roman","Batang",serif;font-size:13px;line-height:1.95;color:#85798d;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.source-empty{font-size:12px;color:#ac9bb8;line-height:1.9}.selected-quote{background:#f5f0f9;border-left:2px solid #c3a8d6;padding:12px 13px;margin-bottom:19px;border-radius:0 5px 5px 0}.selected-quote strong{display:flex;align-items:center;gap:6px;color:#9a7bae;font-size:10px;font-weight:500}.selected-quote p{font-size:12px;line-height:1.9;color:#9c86ac;white-space:pre-wrap;margin:9px 0}.selected-quote .button{font-size:10px;padding:3px 0}.ask-view{display:flex;flex-direction:column;min-height:620px;max-height:calc(100vh - 100px)}.chat-messages{flex:1;overflow:auto;padding:22px 18px;scrollbar-width:thin;min-height:300px}.chat-empty{text-align:center;padding:19px 3px}.chat-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#f2edf7;color:#b5a0c7;margin:0 auto 20px}.chat-empty h3{font-size:15px;font-weight:500;letter-spacing:-.4px;color:#927b9f;margin-bottom:13px}.chat-empty>p{font-size:11px;color:#ad9ab8;line-height:1.9}.suggested-questions{display:flex;flex-direction:column;gap:8px;margin-top:26px}.button.question-chip{white-space:normal;text-align:left;justify-content:flex-start;background:#fcfafd;border:1px solid #eee5f5;color:#a18ab1;padding:11px 13px;font-size:11px;font-weight:400;line-height:1.8}.button.question-chip:hover{background:#f4edf9;border-color:#d3bfe2}.ask-form{border-top:1px solid var(--line);padding:14px;background:#fcfafd}.ask-form textarea{font-size:12px;line-height:1.8;border-color:#e6dcec;background:#fff;padding:11px;min-height:80px}.ask-form>div{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.ask-form small{font-size:9px;color:#b5a6bf;line-height:1.6}.ask-form .button{font-size:10px;padding:7px 10px}.ask-setup{text-align:center;padding:8px}.ask-setup .button{font-size:12px}.chat-message{margin-bottom:19px}.chat-author{display:block;font-size:10px;color:#b2a0be;margin-bottom:7px;letter-spacing:.3px}.chat-message>p{padding:14px 16px;font-size:13px;line-height:1.9;color:#8f7b9d;background:#f6f1fa;border:1px solid #ece2f2;border-radius:3px 11px 11px;white-space:pre-wrap;margin:0}.chat-message.user{margin-left:15px}.chat-message.user>.chat-author{text-align:right}.chat-message.user>p{background:#f4f2f0;border-color:#ebe7e0;color:#95899b;border-radius:11px 3px 11px 11px}.chat-message .citation-list{margin-top:9px}.chat-thinking{display:flex;gap:8px;font-size:11px;color:#a78db7;align-items:center;margin-top:18px}
.settings-dialog{width:min(500px,calc(100vw - 32px));border:1px solid #ddd3e5;border-radius:15px;padding:28px 30px 24px;color:var(--ink);background:#fff;box-shadow:0 20px 100px #1f102533;max-height:90vh;overflow:auto}.settings-dialog::backdrop{background:#231b2b55;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-header .eyebrow{font-size:9px}.dialog-header h2{font-size:23px;font-family:Georgia,"Batang",serif;font-weight:500;letter-spacing:-.5px;margin:10px 0 15px}.icon-button{display:grid;place-items:center;background:#f5f1f8;color:#9d88ad;font-size:22px;line-height:1;width:30px;height:30px;border-radius:50%;font-weight:300}.dialog-description{font-size:12px;color:#a18daa;line-height:1.8;margin-bottom:22px}.provider-choices{display:flex;flex-direction:column;gap:10px;margin-bottom:23px}.provider-choices>label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e7dfec;border-radius:8px;cursor:pointer}.provider-choices>label:has(input:checked){border-color:#bba4cd;background:#f9f5fc}.provider-choices input{margin:0}.provider-choices strong{display:block;font-size:13px;color:#8d729f;font-weight:550}.provider-choices small{display:block;font-size:10px;color:#ae9cb9;margin-top:4px;line-height:1.7}.field-label{display:block;font-size:12px;color:#977ca7;margin:18px 0 7px;font-weight:550}.field-label>span{font-size:10px;font-weight:400;color:#b8a6c2;margin-left:5px}.settings-dialog input[type=text],.settings-dialog input[type=password]{font-size:13px}.field-hint{font-size:10px;color:#ae9bb9;line-height:1.8;margin:7px 0 0}.settings-information{margin-top:23px;background:#f7f4fa;border:1px solid #ede6f2;padding:13px 15px;border-radius:7px}.settings-information strong{font-size:11px;color:#9b7fac;font-weight:550}.settings-information p{font-size:10px;line-height:1.9;color:#b09abd;margin:5px 0 0}.inline-error{font-size:12px;line-height:1.8;color:#b36464;margin:15px 0 0;white-space:pre-wrap}.inline-error:empty{display:none}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.dialog-footer .button{font-size:12px}.toast{position:fixed;left:calc(50% + var(--sidebar)/2);bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:14px 20px;color:#fff;background:#69517c;box-shadow:0 8px 30px #32204133;border-radius:9px;font-size:13px;max-width:calc(100vw - 40px);z-index:100;animation:arrive .25s ease}.toast svg{color:#d9cee5}.noscript{padding:25px;background:#fff0e0;position:fixed;bottom:0;left:0;right:0;margin:0;z-index:100}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1650px){.workspace-grid{grid-template-columns:220px minmax(440px,1.15fr) minmax(380px,.85fr);gap:24px}.work-main{padding:34px 40px 45px}.blog{padding:48px 48px 40px}.blog-heading h1{font-size:37px}.blog-section>p{font-size:16px}.plan-view{padding:35px 35px 32px}.figure-thumb{height:185px}.source-text{padding:25px}.outline-text strong{font-size:13px}.home-main{max-width:1300px;padding-top:68px}.hero h1{font-size:48px}.home-grid{gap:28px}.dropzone{min-height:300px}.guide-card{padding:30px 32px}.guide-card h2{font-size:24px}.guide-card ol{gap:18px}.guide-card strong{font-size:12px}.guide-card small{font-size:11px}}
@media(max-width:1350px){:root{--sidebar:190px}.sidebar{padding-left:14px;padding-right:14px}.brand{font-size:25px;gap:8px}.topbar{padding-left:28px;padding-right:28px}.home-main{padding:40px 35px}.work-main{padding:24px 20px 30px}.workspace-grid{grid-template-columns:160px minmax(320px,1fr) minmax(270px,.8fr);gap:13px}.blog{padding:33px 25px 28px}.blog-heading h1{font-size:28px}.plan-view{padding:27px 23px}.writing-tabs{padding:0 23px}.outline-text strong{font-size:11px}.outline-text small{font-size:8px}.panel-heading h2{font-size:12px}.panel-description{font-size:10px}.source-tabs{gap:18px}.choice-grid{grid-template-columns:1fr}.choice{padding:11px 12px}.choice small{margin-top:3px}.hero h1{font-size:40px}.home-grid{gap:19px}.upload-card{padding:23px 22px 17px}.guide-card{padding:26px 23px}.work-title h1{font-size:18px}.figure-thumb{height:130px}.source-controls{padding:10px 8px}.article-toolbar{padding:12px 17px}.draft-label{font-size:9px}.article-toolbar .button{font-size:11px}}
@media(max-width:1150px){.workspace-grid{grid-template-columns:190px minmax(350px,1fr)}.writing-panel{grid-column:2;grid-row:1 / span 2}.source-panel{grid-column:1;grid-row:2;position:static}.outline-panel{grid-column:1;grid-row:1;position:static;max-height:480px;margin-bottom:12px}.source-controls{flex-direction:column;gap:8px}.source-tabs{gap:14px;padding:0 12px;justify-content:center}.source-tabs .button{font-size:10px;gap:4px}.source-tabs .button svg{width:13px}.source-text{padding:15px;max-height:650px;min-height:400px}.extracted-text{font-size:12px}.pdf-frame{min-height:500px;height:600px}.source-open-link{font-size:8px;gap:4px;padding:10px 8px;text-align:center}.source-toggle{width:100%}.source-toggle .button{flex:1}.source-hidden .writing-panel{grid-column:2}.workspace-grid.source-hidden{grid-template-columns:190px minmax(350px,1fr)}.ask-form{padding:10px}.ask-form>div{flex-wrap:wrap;justify-content:flex-end}.chat-messages{padding:15px 10px}.chat-message>p{padding:10px;font-size:11px}.chat-empty{padding:10px 0}.chat-empty h3{font-size:12px}.chat-empty>p{font-size:10px}.suggested-questions .button{font-size:10px;padding:8px}.ask-view{max-height:800px}.chat-message.user{margin-left:5px}.chat-message .citation-list{gap:4px}.work-heading{gap:15px}.work-heading-actions .button{padding:8px}.work-heading-actions .button>span{font-size:10px}.work-title h1{font-size:17px}.work-title .eyebrow{font-size:8px}.home-main{padding:37px 32px}.home-grid{grid-template-columns:1.65fr 1fr}.card-title h2{font-size:14px}.guide-card{padding:25px 21px}.guide-card h2{font-size:20px}.guide-card ol{gap:13px}.guide-card strong{font-size:10px}.guide-card small{font-size:9px}.guide-card>p{font-size:10px}.dropzone strong{font-size:13px}.upload-note{font-size:9px;align-items:flex-start}.upload-note svg{margin-top:2px}.recent-grid,.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recent-grid>.paper-card:nth-child(3){display:none}.library-grid .paper-card{display:block}.blog{padding:35px 30px}.blog-heading h1{font-size:31px}.choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){:root{--sidebar:166px}.sidebar{padding:30px 11px 20px}.brand{font-size:22px;gap:7px;padding:0 4px}.brand .moon{width:20px;height:20px}.brand .moon:after{width:20px;height:20px;left:8px;top:-4px}.sidebar-label{font-size:8px;padding:0 8px;letter-spacing:1.3px}.button.nav-button{font-size:12px;padding:11px 9px;gap:8px}.sidebar-quote{padding:35px 8px}.sidebar-quote p{font-size:13px}.sidebar-quote small{font-size:8px}.sidebar-bottom{gap:7px;padding-left:0;padding-right:0}.avatar{width:27px;height:27px;font-size:14px}.sidebar-bottom strong{font-size:10px}.sidebar-bottom small{font-size:8px}.topbar{padding:13px 22px;min-height:65px}.local-label{display:none}.breadcrumb{font-size:10px;gap:8px}.connection-button{font-size:10px}.home-main{padding:36px 25px}.hero h1{font-size:37px}.hero>p{font-size:12px}.home-grid{grid-template-columns:1fr}.guide-card{display:none}.hero{margin-bottom:30px}.research-note{margin-top:22px}.recent-section{margin-top:29px}.work-main{padding:23px 18px}.workspace-grid,.workspace-grid.source-hidden{grid-template-columns:155px minmax(300px,1fr);gap:12px}.work-heading-actions .button>span{display:none}.work-heading-actions .button{padding:8px}.work-title h1{font-size:16px}.work-title>p{font-size:10px}.blog{padding:29px 22px}.blog-heading h1{font-size:28px}.blog-section h2{font-size:20px}.blog-section>p{font-size:14px;line-height:2}.summary-box{padding:17px}.summary-box>p{font-size:13px}.plan-view{padding:25px 19px}.plan-intro h2{font-size:21px}.plan-intro>p{font-size:12px}.choice-grid{grid-template-columns:1fr}.figure-grid{gap:8px}.figure-thumb{height:120px;padding:8px}.figure-option-info{padding:8px}.figure-option-info>.pill{font-size:8px;padding:1px 3px}.figure-option-info>span:not(.pill){font-size:8px}.figure-option-info p{font-size:9px}.panel-heading h2{font-size:11px}.panel-heading .pill{font-size:9px}.outline-controls{gap:10px}.outline-controls .button{font-size:9px}.outline-text strong{font-size:10px}.outline-item>summary{gap:6px}.outline-body{padding-left:18px}.source-tabs{gap:10px;padding:0 8px}.source-tabs .button{font-size:9px}.source-tabs .button>svg{display:none}.article-toolbar{padding:11px 12px}.article-toolbar .button{padding:6px 8px;font-size:10px;gap:5px}.article-toolbar .button svg{width:12px}.draft-label{font-size:8px}.app-footer{margin-left:25px;margin-right:25px}.source-text{padding:12px}.extracted-text{font-size:11px}.source-text h3{font-size:8px}.source-open-link svg{display:none}}
@media(max-width:720px){:root{--sidebar:0px}.sidebar{position:relative;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;background:var(--paper)}.brand{font-size:25px;padding:0}.brand .moon:after{background:var(--paper)}.sidebar-label,.sidebar-quote,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:5px;flex-wrap:wrap;margin-left:auto}.button.nav-button{font-size:11px;padding:8px 10px;border-radius:6px}.button.nav-button svg{width:14px;height:14px}.shell{margin-left:0}.topbar{border-bottom:0;min-height:56px;padding:12px 20px}.connection-button{font-size:10px;padding:6px 8px}.breadcrumb{font-size:9px}.top-actions{gap:10px}.home-main{padding:24px 22px 33px}.hero{margin-bottom:31px}.hero h1{font-size:36px;line-height:1.5;margin-top:16px;margin-bottom:16px}.hero .eyebrow{font-size:8px;letter-spacing:1.1px}.hero>p{font-size:12px;line-height:1.95}.upload-card{padding:22px 21px 17px}.card-title h2{font-size:15px}.dropzone{min-height:265px}.dropzone strong{font-size:14px}.dropzone>span:not(.upload-art):not(.upload-progress){font-size:12px}.dropzone small{font-size:10px}.upload-note{font-size:9px}.research-note{font-size:9px}.recent-grid{gap:13px}.paper-card{padding:16px}.paper-card h3{font-size:13px}.paper-card>p{font-size:9px}.paper-card-top{margin-bottom:16px}.recent-section .section-heading h2{font-size:14px}.library-heading h1{font-size:29px}.library-heading .button{font-size:11px;padding:10px}.library-heading p{font-size:11px}.library-grid{gap:13px}.library-note{font-size:10px;line-height:1.9}.library-view{padding-top:10px}.library-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.app-footer{margin:0 22px;padding:19px 0 22px;font-size:9px}.app-footer>span:first-child{font-size:14px}.work-main{padding:20px 15px 30px}.work-heading{margin-bottom:19px}.work-title h1{font-size:18px;line-height:1.7}.work-title>p{font-size:10px}.workspace-grid,.workspace-grid.source-hidden{display:flex;flex-direction:column;gap:18px}.outline-panel{width:100%;max-height:265px;padding:6px 0 0;border:1px solid var(--line);border-radius:9px;background:#fff;margin:0}.panel-heading{padding:12px 16px 0}.panel-heading h2{font-size:13px}.panel-description{padding:0 16px;font-size:11px;margin:6px 0}.outline-controls{padding:0 16px 10px;margin:0;gap:16px}.outline-controls .button{font-size:11px}.outline-list{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:0 14px 8px}.outline-item>summary{padding:12px 0;gap:8px}.outline-checkbox input{width:15px;height:15px}.outline-text strong{font-size:11px}.outline-text small{font-size:9px}.outline-body{padding-left:22px}.writing-panel{width:100%}.writing-tabs{padding:0 24px;gap:28px}.writing-tabs .button{font-size:12px}.plan-view{padding:30px 25px}.plan-intro h2{font-size:25px}.plan-intro>p{font-size:13px}.choice-grid{grid-template-columns:1fr 1fr}.choice{padding:14px}.choice>span{font-size:12px}.choice small{font-size:10px;margin-top:5px}.figure-thumb{height:180px}.figure-option-info{padding:12px}.figure-option-info>.pill{font-size:10px;padding:2px 6px}.figure-option-info>span:not(.pill){font-size:10px}.figure-option-info p{font-size:11px;margin-top:8px}.figure-selection h3{font-size:14px}.figure-selection>p{font-size:12px}.figure-grid{gap:13px}.generation-actions{margin-top:25px}.privacy-note{font-size:10px}.source-panel{width:100%;scroll-margin-top:16px}.source-tabs{justify-content:flex-start;padding:0 23px;gap:26px}.source-tabs .button{font-size:12px}.source-tabs .button>svg{display:block;width:16px;height:16px}.source-controls{flex-direction:row;padding:12px 18px}.source-toggle{width:auto}.source-toggle .button{font-size:11px;padding:5px 10px}.page-navigation{gap:7px}.page-navigation select{font-size:12px;max-width:100px}.page-navigation .button svg{width:16px;height:16px}.pdf-frame{height:650px;min-height:450px}.source-open-link{font-size:10px;padding:13px}.source-open-link svg{display:block}.source-text{padding:24px;max-height:700px;min-height:400px}.source-text h3{font-size:10px}.extracted-text{font-size:14px;line-height:2}.text-page-thumbnail{max-height:350px}.selected-quote strong{font-size:12px}.selected-quote p{font-size:14px}.selected-quote .button{font-size:11px}.ask-view{max-height:750px;min-height:550px}.chat-messages{padding:25px 22px}.chat-empty{padding:20px 0}.chat-empty h3{font-size:17px}.chat-empty>p{font-size:13px}.suggested-questions{max-width:320px;margin:25px auto 0}.suggested-questions .button{font-size:12px;padding:12px 15px}.ask-form{padding:18px}.ask-form textarea{font-size:14px}.ask-form>div{flex-wrap:nowrap;justify-content:space-between}.ask-form small{font-size:10px}.ask-form .button{font-size:12px;padding:9px 13px}.chat-message>p{font-size:14px;padding:15px}.chat-message.user{margin-left:25px}.chat-author{font-size:11px}.chat-thinking{font-size:12px}.blog{padding:36px 27px 30px}.blog-heading h1{font-size:33px}.blog-heading .eyebrow{font-size:9px}.blog-subtitle{font-size:14px}.blog-meta{font-size:10px}.blog-meta strong{font-size:11px}.summary-box{padding:21px}.summary-box>p{font-size:14px}.summary-box h2{font-size:13px}.blog-section h2{font-size:23px}.blog-section>p{font-size:16px}.article-toolbar{padding:13px 20px}.draft-label{font-size:10px}.article-toolbar .button{font-size:12px;padding:8px 11px;gap:6px}.article-toolbar .button svg{width:14px}.blog-figure figcaption{font-size:11px}.citation-list>span{font-size:10px}.button.citation{font-size:11px;padding:4px 8px}.glossary-box h2{font-size:16px}.glossary-box dl{font-size:13px;line-height:1.9}.limitations-box h2{font-size:13px}.limitations-box ul{font-size:13px}.paper-reference h3{font-size:13px}.paper-reference>p{font-size:11px}.paper-reference>small{font-size:10px}.paper-reference .citation-disclaimer{font-size:10px}.work-heading-actions{gap:5px}.banner{font-size:12px;padding:13px;gap:9px;flex-wrap:wrap}.banner>.button.text{margin-left:28px}.banner strong{font-size:12px}.banner p{font-size:11px}.banner>.icon-only{margin-left:auto}.toast{left:50%;width:max-content;max-width:calc(100vw - 30px);font-size:12px;padding:13px 16px;bottom:17px}.settings-dialog{padding:24px}.sidebar nav .button.nav-button:nth-child(3){display:none}}
@media(max-width:420px){.sidebar{padding:17px 16px 0;gap:10px}.brand{font-size:24px}.button.nav-button{font-size:10px;padding:8px;gap:6px}.sidebar nav{gap:2px}.topbar{padding:12px 16px}.breadcrumb{font-size:9px;gap:6px}.connection-button{font-size:9px;gap:6px}.connection-button svg{width:13px}.home-main{padding:23px 18px 30px}.hero h1{font-size:33px}.hero>p{font-size:11px}.upload-card{padding:21px 16px 16px}.card-title h2{font-size:13px}.card-title{gap:8px}.dropzone{min-height:260px;padding:22px 11px}.dropzone strong{font-size:13px}.dropzone>span:not(.upload-art):not(.upload-progress){font-size:11px}.upload-note{font-size:8px}.recent-grid,.library-grid{grid-template-columns:1fr}.recent-grid>.paper-card:nth-child(3){display:block}.paper-card h3{min-height:auto}.paper-card-top{margin-bottom:13px}.paper-card>p{margin-bottom:15px}.library-heading{align-items:flex-start;gap:10px}.library-heading .button{font-size:10px;padding:9px}.library-heading h1{font-size:25px;margin-top:12px}.library-heading p{font-size:10px}.library-heading .eyebrow{font-size:7px}.work-main{padding:17px 12px 25px}.work-title h1{font-size:16px}.work-title>p{font-size:9px}.work-heading-actions .button{padding:7px}.work-heading-actions .button svg{width:15px}.outline-list{grid-template-columns:1fr}.outline-panel{max-height:245px}.plan-view{padding:26px 20px}.plan-intro h2{font-size:23px}.plan-intro>p{font-size:12px}.choice-grid{gap:8px}.choice{padding:12px 10px}.choice>span{font-size:11px}.choice small{font-size:9px}.segmented .button{font-size:10px}.figure-grid{gap:10px}.figure-thumb{height:145px}.figure-option-info{padding:9px}.figure-option-info>.pill{font-size:8px;padding:2px 4px}.figure-option-info>span:not(.pill){font-size:9px}.figure-option-info p{font-size:10px}.figure-selection>p{font-size:11px}.generation-actions .button{font-size:12px}.privacy-note{font-size:9px}.blog{padding:31px 21px 26px}.blog-heading h1{font-size:29px}.blog-subtitle{font-size:13px}.blog-section>p{font-size:15px}.summary-box{padding:17px}.blog-section h2{font-size:21px}.article-toolbar{padding:12px 14px}.draft-label{font-size:9px}.article-toolbar .button{font-size:11px;padding:7px 9px}.writing-tabs{padding:0 20px}.blog-heading .eyebrow{font-size:8px;gap:7px;letter-spacing:1px}.glossary-box dl{grid-template-columns:1fr;gap:4px}.glossary-box dd{margin-bottom:10px}.pdf-frame{height:550px}.source-text{padding:20px}.chat-messages{padding:20px 16px}.settings-dialog{padding:23px 20px}.dialog-header h2{font-size:22px}.settings-dialog input[type=text],.settings-dialog input[type=password]{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep controls and reading text comfortable at normal browser zoom. */
.hero>p{font-size:15px}.card-title h2{font-size:17px}.dropzone strong{font-size:16px}.dropzone>span:not(.upload-art):not(.upload-progress){font-size:14px}.dropzone small,.upload-note{font-size:12px}.guide-card>p,.guide-card small{font-size:12px}.guide-card strong{font-size:13px}.research-note p{font-size:12px}.guide-card ol{gap:17px}.guide-card{min-width:0}.paper-card h3{font-size:15px}.paper-card>p,.paper-card-bottom{font-size:12px}.pill{font-size:11px}.connection-button,.breadcrumb{font-size:12px}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{font-size:11px}.sidebar-quote small{font-size:11px}.library-note{font-size:12px}.library-heading p{font-size:14px}.app-footer{font-size:11px}.panel-description,.outline-controls .button{font-size:12px}.outline-text strong{font-size:13px}.outline-text small{font-size:11px}.outline-body>p{font-size:13px}.outline-item>summary{padding-top:15px;padding-bottom:15px}.writing-tabs .button,.source-tabs .button{font-size:13px}.plan-intro>p{font-size:14px}.selection-summary{font-size:12px}.selection-summary>span:last-child{font-size:11px}.audience-field legend,.length-field legend{font-size:14px}.choice>span{font-size:14px}.choice small{font-size:12px}.segmented .button{font-size:13px}.figure-selection h3{font-size:15px}.figure-selection>p{font-size:12px}.figure-selection .section-heading>span{font-size:11px}.figure-option-info>.pill,.figure-option-info>span:not(.pill){font-size:11px}.figure-option-info p{font-size:12px}.privacy-note{font-size:11px}.setup-reminder{font-size:12px}.generate-button{font-size:14px}.work-title>p,.work-heading-actions .button{font-size:12px}.blog-heading .eyebrow{font-size:10px}.blog-subtitle{font-size:15px}.blog-meta,.blog-meta strong{font-size:12px}.summary-box>p{font-size:15px}.summary-box h2{font-size:14px}.blog-section>p{font-size:16px}.blog-figure figcaption{font-size:12px}.citation-list>span{font-size:11px}.button.citation{font-size:12px}.glossary-box dl,.limitations-box ul{font-size:14px}.limitations-box h2{font-size:14px}.paper-reference h3{font-size:14px}.paper-reference>p,.paper-reference>small,.paper-reference .citation-disclaimer{font-size:12px}.paper-reference .eyebrow{font-size:10px}.draft-label{font-size:11px}.article-toolbar .button{font-size:12px}.editor-field>span{font-size:12px}.source-toggle .button,.page-navigation select{font-size:12px}.source-open-link{font-size:11px}.source-text h3{font-size:11px}.extracted-text{font-size:14px}.selected-quote p{font-size:14px}.selected-quote strong{font-size:12px}.chat-empty h3{font-size:16px}.chat-empty>p,.button.question-chip{font-size:13px}.chat-author,.chat-thinking{font-size:12px}.chat-message>p,.ask-form textarea{font-size:14px}.ask-form small{font-size:11px}.ask-form .button{font-size:12px}.settings-dialog .dialog-description{font-size:14px}.provider-choices strong{font-size:14px}.provider-choices small,.field-hint,.settings-information p{font-size:12px}.field-label,.settings-information strong{font-size:13px}.settings-dialog input[type=text],.settings-dialog input[type=password]{font-size:14px}.dialog-footer .button{font-size:13px}.warnings summary,.warnings ul{font-size:12px}.banner p{font-size:12px}.guide-card{padding-bottom:28px}
@media(max-width:1350px) and (min-width:1151px){.choice>span{font-size:13px}.choice small{font-size:11px}.segmented .button{font-size:11px}.outline-text strong{font-size:12px}.outline-text small{font-size:10px}.panel-description,.outline-controls .button{font-size:11px}.figure-option-info>.pill,.figure-option-info>span:not(.pill){font-size:10px}.article-toolbar .button{font-size:11px}.draft-label{font-size:10px}.source-tabs .button{font-size:12px}}
@media(max-width:1150px) and (min-width:721px){.outline-text strong{font-size:12px}.outline-text small{font-size:10px}.panel-description,.outline-controls .button{font-size:11px}.source-tabs{gap:12px}.source-tabs .button{font-size:11px}.source-tabs .button>svg{display:none}.source-open-link{font-size:10px}.source-toggle .button,.page-navigation select{font-size:12px}.extracted-text{font-size:13px}.chat-message>p{font-size:12px}.chat-empty h3{font-size:14px}.chat-empty>p,.button.question-chip{font-size:11px}.ask-form textarea{font-size:12px}.ask-form small{font-size:10px}.chat-author{font-size:10px}.guide-card h2{font-size:23px}.home-grid{grid-template-columns:1fr}.guide-card{display:none}}
@media(max-width:720px){.sidebar-bottom{display:none}.connection-button,.breadcrumb{font-size:11px}.hero>p{font-size:14px}.dropzone strong{font-size:15px}.upload-note{font-size:11px}.research-note p{font-size:11px}.choice>span{font-size:13px}.choice small{font-size:11px}.segmented .button{font-size:12px}.figure-option-info>.pill,.figure-option-info>span:not(.pill){font-size:10px}.work-title>p{font-size:11px}.outline-text strong{font-size:13px}.outline-text small{font-size:11px}.blog-subtitle{font-size:14px}.blog-section>p{font-size:16px}.article-toolbar .button{font-size:12px}.draft-label{font-size:10px}.source-open-link{font-size:11px}.blog-heading .eyebrow{font-size:9px}.paper-reference>p,.paper-reference>small,.paper-reference .citation-disclaimer{font-size:11px}.app-footer{font-size:10px}}
@media(max-width:420px){.hero>p{font-size:13px}.card-title h2{font-size:15px}.dropzone strong{font-size:14px}.dropzone>span:not(.upload-art):not(.upload-progress){font-size:13px}.dropzone small{font-size:11px}.upload-note{font-size:10px}.choice-grid{grid-template-columns:1fr}.choice>span{font-size:14px}.choice small{font-size:12px}.blog-section>p{font-size:15px}.blog-meta,.blog-meta strong{font-size:11px}.article-toolbar .button{font-size:11px}.connection-button{font-size:10px}.breadcrumb{font-size:10px}.figure-option-info p{font-size:11px}.section-heading .button{font-size:12px}}
.figure-option:has(input:disabled):not(.selected){opacity:.48;cursor:not-allowed}
/* Secondary text remains legible against the warm paper background. */
.hero>p,.dropzone>span:not(.upload-art):not(.upload-progress),.dropzone small,.upload-note,.guide-card>p,.guide-card small,.research-note p,.paper-card>p,.paper-card-bottom,.library-note,.library-heading p,.panel-description,.outline-text small,.outline-body>p,.plan-intro>p,.selection-summary>span:last-child,.choice small,.figure-selection>p,.figure-option-info p,.figure-option-info>span:not(.pill),.privacy-note,.setup-reminder,.work-title>p,.blog-subtitle,.blog-meta,.draft-label,.blog-figure figcaption,.paper-reference>p,.paper-reference>small,.paper-reference .citation-disclaimer,.chat-empty>p,.ask-form small,.dialog-description,.provider-choices small,.field-hint,.field-label>span,.settings-information p,.app-footer,.sidebar-bottom small,.sidebar-quote small{color:#82718e}.guide-card strong,.research-note a,.outline-text strong,.button.text,.paper-reference h3,.chat-empty h3,.field-label,.provider-choices strong{color:#756183}.figure-option-info>.pill,.pill{color:#8a6b9f}.blog-figure figcaption>span,.citation-list>span,.selection-summary,.blog-meta strong{color:#927aa3}.summary-box>p,.limitations-box ul,.glossary-box dd,.chat-message>p,.extracted-text{color:#75637f}.breadcrumb{color:#9b8fa2}.breadcrumb strong{color:#72617e}.sidebar-label,.eyebrow,.source-text h3{color:#9a82ad}.guide-card li>span{color:#9473ac}.sidebar-bottom strong{color:#756581}

/* Original-PDF figure extraction and source comparison. */
.figure-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}.figure-actions .button{font-size:12px}.figure-extraction-status{display:flex;align-items:center;gap:9px;color:var(--purple)!important;background:var(--lavender);padding:11px 13px;border-radius:7px}.figure-extraction-note{background:#f8f4ec;border-left:3px solid #cdbb98;padding:10px 12px;color:#75654b!important;border-radius:4px}.figure-option{cursor:default}.figure-thumb{cursor:pointer}.figure-thumb img{width:100%;height:100%;object-fit:contain;box-shadow:none}.figure-option.selection-disabled .figure-thumb{cursor:not-allowed}.figure-option-info .figure-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.figure-badges .pill{padding:2px 6px;font-size:10px}.figure-badges>span:not(.pill){margin-left:auto;font-size:11px;color:#85738f}.figure-badges .overview-pill{background:#e8f2ec;color:#4d7c62}.figure-option-info p{display:block;max-height:6.8em;overflow:auto;margin:9px 0 0;font-size:12px;line-height:1.7;scrollbar-width:thin;overflow-wrap:anywhere}.figure-boundary-note{display:block;font-size:10px;color:#87788e;margin-top:7px;line-height:1.6}.figure-source-button{font-size:11px!important;white-space:normal;margin-top:8px;text-align:left}.figure-source-button svg{width:13px;height:13px}.figure-option:has(input:disabled):not(.selected){opacity:.65}.source-figure-preview{margin:0;padding:15px;border-bottom:1px solid var(--line);background:#fcfbfd}.source-figure-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.source-figure-heading strong{font-size:13px;color:var(--purple)}.source-figure-heading .button{border:0;padding:4px;background:none}.source-figure-heading .button svg{width:14px;height:14px}.source-figure-preview img{width:100%;max-height:280px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:5px}.source-figure-preview figcaption{font-size:12px;color:#796785;line-height:1.75;margin-top:9px;max-height:7em;overflow:auto;white-space:pre-wrap;scrollbar-width:thin}.source-figure-preview figcaption span{color:#8c7b98}.figure-full-size{display:inline-flex;align-items:center;gap:5px;color:var(--purple);font-size:11px;margin-top:8px}.source-panel:has(.source-figure-preview){position:static}.source-panel:has(.source-figure-preview) .pdf-frame{height:440px}@media(max-width:720px){.figure-grid{grid-template-columns:1fr 1fr}.figure-thumb{height:170px}.figure-option-info{padding:10px}.figure-actions{gap:8px}.figure-badges>span:not(.pill){font-size:10px}.figure-boundary-note{font-size:10px}}@media(max-width:420px){.figure-grid{grid-template-columns:1fr}.figure-thumb{height:205px}.figure-option-info p{max-height:none}.figure-source-button{font-size:12px!important}.figure-badges .pill{font-size:11px}.figure-boundary-note{font-size:11px}}
