body.notebook-active{background:#f6f7f9}body.notebook-active>.topbar{display:none}#nbChrome{background:#fafafa;border-bottom:1px solid #dfe2e6;color:#20252d;position:relative;z-index:30}.nb-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 22px 8px}.nb-left,.nb-right{display:flex;align-items:center;gap:8px;min-width:0}.nb-title{display:grid;gap:3px;min-width:0;padding-left:10px}.nb-title strong{font-size:16px;color:#2353a4}.nb-title>span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}.nb-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:48px;min-height:48px;padding:6px 10px;background:transparent;color:#40464d;border:0;border-radius:10px;cursor:pointer;text-decoration:none;font:inherit;flex:none;list-style:none}.nb-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nb-button span{font-size:12px;white-space:nowrap}.nb-button:hover{background:#eaf0f8}.nb-button[aria-pressed=true]{background:#e4ecfa;color:#164da2;box-shadow:inset 0 -2px #2458b4}.nb-button:focus-visible{outline:3px solid #2458b4;outline-offset:1px}.nb-button:disabled{opacity:.35;cursor:default}.nb-penbar{display:flex;align-items:center;justify-content:center;gap:8px;overflow-x:auto;padding:8px 18px;scrollbar-width:thin}.nb-divider{width:1px;height:30px;background:#d8dce2;flex:none;margin:0 5px}.nb-penbar label{font-size:12px;color:#4b5564;display:flex;flex-direction:column;align-items:center;gap:3px;flex:none}.nb-penbar input[type=color]{padding:2px;width:35px;height:30px;border:1px solid #c9cfd8;border-radius:7px;background:#fff}.nb-penbar select{font:inherit;font-size:14px;background:white;border:1px solid #c9cfd8;color:#283443;border-radius:6px;min-height:30px}#nbSaveStatus{font-size:12px;color:#546175;text-align:center;margin:0;padding:0 14px 7px}#nbChrome>.reader-basic{justify-content:center;padding-bottom:8px}#nbChrome>.reader-basic .btn{min-height:32px;height:32px;font-size:13px;padding:4px 12px}#nbChrome>.reader-basic input{min-height:32px;height:32px;padding:4px}#nbChrome>.reader-basic label{font-size:13px}.nb-popover{position:absolute;right:20px;top:74px;width:340px;max-width:calc(100vw - 32px);max-height:65dvh;overflow:auto;background:#fff;border:1px solid #e0e4ea;border-radius:18px;padding:20px;box-shadow:0 16px 36px #1a293322;display:grid;gap:16px;z-index:50}.nb-popover .btn{min-height:44px}.nb-popover select,.nb-popover input,.nb-popover textarea{font:inherit;font-size:16px;max-width:100%;color:#182230;background:white;border:1px solid #b7c1cf;border-radius:6px;padding:8px}.nb-popover label{display:grid;gap:8px;font-size:14px}.nb-popover .pdf-options{display:grid;gap:12px}.nb-popover .pdf-options label{display:grid;justify-content:stretch}.nb-popover .reader-disclosure{min-width:0}.nb-popover .reader-disclosure[open]{border:0}.nb-popover .pdf-toolbar{display:flex;flex-wrap:wrap}.nb-settings-group{display:grid;gap:18px}.nb-settings-group fieldset{border:1px solid #e0e4ea;padding:12px;font-size:14px}.nb-settings-group .nb-check{display:inline-flex;align-items:center;margin-right:12px}.nb-popover summary{cursor:pointer;min-height:44px;align-content:center}.nb-popover output{display:block;padding:10px 0;font-size:18px}.nb-popover textarea{width:100%;resize:vertical}.notebook-active .studio{height:calc(100dvh - 215px);grid-template-columns:0 minmax(0,1fr) 0;background:#f4f5f7}.notebook-active .studio.ai-open{grid-template-columns:0 minmax(0,1fr) 340px}.notebook-active .studio.nb-outline-open{grid-template-columns:210px minmax(0,1fr) 0}.notebook-active .studio.nb-outline-open.ai-open{grid-template-columns:210px minmax(0,1fr) 340px}.notebook-active .outline{padding:0;visibility:hidden;background:#fafafa}.notebook-active .nb-outline-open .outline{padding:16px 10px;visibility:visible}.notebook-active .reader-shell{padding:0 0 30px;background:#f4f5f7}.notebook-active .reader-head,.notebook-active #readingTools{display:none}.notebook-active #pdfStatus{font-size:12px;color:#5e6878;text-align:center;margin:8px 0}.notebook-active .pdf-viewport.modes{height:calc(100dvh - 265px);min-height:220px;background:#f4f5f7;padding:18px 24px 50px;scrollbar-gutter:auto}.notebook-active .pdf-sheet{box-shadow:0 4px 14px #20273320}.nb-ink{position:absolute;left:0;top:0;z-index:4}.nb-masks{position:absolute;inset:0;pointer-events:none;z-index:5}.nb-mask-toggle{position:absolute;pointer-events:auto;border:1px dashed #4b72a3;background:transparent;color:#24466f;font-size:12px;overflow:hidden;padding:0;cursor:pointer}.notebook-active #readerContent>details{padding:16px 24px}.notebook-active #readerContent>.status-note,.notebook-active #noteStatus,.notebook-active #noteRevision{margin:12px 24px}.notebook-active .text-note-layout{max-width:1100px;margin:24px auto;padding:0 24px}.notebook-active .text-body{box-shadow:0 4px 14px #20273316;min-height:60vh}.notebook-active .note-ink-panel{margin:20px 24px}.notebook-active .note-format-panel{margin:0}.notebook-active #noteEditor{margin:20px}.nb-comparing #readerContent{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.nb-comparing #pdfStatus{grid-column:1/-1}.nb-comparing #pdfViewport{grid-column:1;grid-row:2}.nb-comparing #nbSecond{grid-column:2;grid-row:2/4;min-width:0;padding:8px;background:#eef1f5;overflow:auto;max-height:calc(100dvh - 250px)}.nb-second-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.nb-second-tools select{max-width:100%;width:100%;font:inherit;background:white;color:#1e2e43;padding:8px}.nb-second-tools .btn{padding:6px;font-size:12px;min-height:36px}#nbSecondPaper{overflow:auto;min-height:150px}#nbSecondPaper canvas{max-width:100%;height:auto;display:block;margin:auto}.notebook-active .ai-panel{min-width:0}.notebook-active .ai-head,.notebook-active .messages,.notebook-active .composer{min-width:0}
@media(max-width:1100px){.nb-penbar{justify-content:flex-start;gap:4px}.nb-title>span{max-width:30vw}.nb-top{padding-inline:12px}}
@media(max-width:720px){.nb-title strong{font-size:14px}.nb-title>span{max-width:24vw;font-size:12px}.nb-top{gap:4px;padding-inline:6px}.nb-left,.nb-right{gap:0}.nb-button{padding:6px;min-width:44px}.nb-right .nb-button span{display:none}.notebook-active .studio.nb-outline-open{grid-template-columns:155px minmax(0,1fr)}.notebook-active .nb-outline-open .outline{display:block}.notebook-active .studio{height:calc(100dvh - 205px)}.notebook-active .pdf-viewport.modes{padding:12px 8px;height:calc(100dvh - 260px)}.nb-popover{right:8px}.nb-comparing #readerContent{grid-template-columns:1fr}.nb-comparing #nbSecond{grid-column:1;grid-row:4;max-height:70vh}.notebook-active .text-note-layout{padding:0 12px}.notebook-active .studio.ai-open{display:flex;flex-direction:column;height:calc(100dvh - 200px);overflow:auto}.notebook-active .studio.ai-open .reader-shell{flex:none;min-height:45vh;max-height:60vh}.notebook-active .studio.ai-open .ai-panel{position:static!important;transform:none;height:50vh!important;min-height:300px}.notebook-active .studio.ai-open .outline{display:none}}
