:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{scrollbar-color:var(--scroll-thumb) transparent}*{scrollbar-width:thin}.icon-inline{vertical-align:-2px;margin-right:var(--space-1)}.icon-solo{vertical-align:middle}body{font:var(--text-body)/1.5 var(--font-sans);background:var(--page-bg);color:var(--ink);margin:0}html,body{overflow-x:clip}input,select,textarea{font-family:inherit}::placeholder{color:var(--mut);opacity:1}.logo{font-weight:800;font-size:var(--text-lg);margin-right:var(--space-2);color:var(--ink);text-decoration:none}a.logo,button.logo{align-items:center;gap:var(--space-2);cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;display:flex}.logo .ver{color:var(--mut);font-size:var(--text-xs);font-weight:600}.search{align-items:center;gap:var(--space-2);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);min-width:220px;max-width:520px;padding:var(--space-2) var(--space-3-5);color:var(--mut);flex:1;display:flex}.search input{color:var(--ink);width:100%;font-size:var(--text-body);background:0 0;border:0}.btn{background:var(--acc);color:var(--acc-fg);padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);cursor:pointer;font-weight:700;font-size:var(--text-body);border:1px solid #0000;font-family:inherit}.btn.ghost{background:var(--panel);border:1px solid var(--line);color:var(--ink);font-weight:600}.btn.grn{background:var(--grn);color:var(--grn-fg)}.btn.red{border:1px solid var(--red);color:var(--red);background:0 0}.btn,.field input{min-height:36px}.btn.sm{min-height:28px}@media (pointer:coarse){.btn,.field input{min-height:44px}.btn.sm{min-height:36px}}.btn:not(:disabled):not([aria-disabled=true]):hover{filter:brightness(1.08)}.btn.ghost:not(:disabled):not([aria-disabled=true]):hover{filter:none;background:var(--panel2);border-color:var(--table-line)}.btn:not(:disabled):not([aria-disabled=true]):active{transform:translateY(1px)}.btn:disabled,.btn[aria-disabled=true]:not([aria-busy=true]){background:var(--panel2);color:var(--mut);border-color:var(--line);cursor:not-allowed}.btn[aria-busy=true]{opacity:1;cursor:progress}.filters{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-6) var(--space-1);flex-wrap:wrap;display:flex}.chip{border:1px solid var(--line);background:var(--panel);color:var(--mut);border-radius:var(--radius-xl);padding:var(--space-1) var(--space-3);font-size:var(--text-sm);cursor:pointer;font-family:inherit}.chip.on{background:var(--accent-soft-bg);border-color:var(--acc);color:var(--accent-soft-fg)}.chip-active{align-items:center;gap:var(--space-1);min-width:0;max-width:100%;padding-inline:var(--space-2);font-weight:600;display:inline-flex;position:relative}.chip-active:after{content:"";position:absolute;inset:-6px 0}.chip-active .chip-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.chip-active svg{flex:none}.filters .chip-active{margin-inline-end:var(--space-2)}.filters>span+.btn{margin-inline-start:auto}.grid{padding:var(--space-4) var(--space-6) var(--space-10);gap:var(--space-3-5);grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.nb-tiles{padding:var(--space-4) var(--space-6) 0;gap:var(--space-2-5);grid-template-columns:repeat(auto-fill,minmax(180px,1fr));display:grid}.nb-tiles+.grid{padding-top:var(--space-3)}.nb-tile{align-items:center;gap:var(--space-2-5);min-height:44px;padding:var(--space-2) var(--space-3);text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);cursor:pointer;font:inherit;min-width:0;transition:border-color .15s,background .15s;display:flex}.nb-tile:hover{border-color:var(--acc);background:var(--accent-soft-bg)}.nb-tile:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.nb-tile[aria-disabled=true]{cursor:default;opacity:.6}.nb-tile[aria-disabled=true]:hover{border-color:var(--line);background:var(--panel)}.nb-tile-icon{color:var(--ico-notebook);flex:none}.nb-tile-text{flex-direction:column;min-width:0;display:flex}.nb-tile-name{font-size:var(--text-body);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.nb-tile-count{font-size:var(--text-sm);color:var(--mut);min-height:1.2em}.nb-tile-more{font-size:var(--text-ui);color:var(--acc);justify-content:center;font-weight:600}@media (max-width:640px){.nb-tiles{padding:var(--space-3) var(--space-3) 0;grid-template-columns:repeat(2,minmax(0,1fr))}}.cardi{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);transition:all .15s;position:relative;overflow:hidden}.cardi:hover{border-color:var(--acc);transform:translateY(-2px)}.thumb{height:130px;font-size:var(--text-display);background:linear-gradient(135deg,var(--panel2),var(--line));background-position:top;background-size:cover;justify-content:center;align-items:center;display:flex}.cardi-open{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:block}.note-cover{height:130px;padding:var(--space-6) var(--space-4) 0;background:var(--cover-text-bg);align-items:flex-start;display:flex;overflow:hidden}.ncv-t-check{background:var(--cover-check-bg)}.ncv-t-table{background:var(--cover-table-bg)}.ncv-t-code{background:var(--cover-code-bg)}.ncv-t-file{background:var(--cover-file-bg)}.ncv-t-empty{background:var(--cover-empty-bg)}.ncv-image{background-color:var(--panel2);background-position:top;background-size:cover;padding:0}.ncv-sheet{background:var(--cover-paper);border:1px solid var(--cover-paper-edge);width:100%;height:100%;color:var(--cover-paper-ink);box-shadow:var(--shadow-cover-sheet);border-bottom:0;border-radius:6px 6px 0 0;padding:16px 12px 0;font-size:10.5px;line-height:1.5;overflow:hidden;-webkit-mask-image:linear-gradient(#000 78%,#0000);mask-image:linear-gradient(#000 78%,#0000)}.ncv-sheet-empty{border:1.5px dashed var(--cover-empty-mid);box-shadow:none;color:var(--cover-empty-fg);background:0 0;border-bottom:0;justify-content:center;align-items:center;gap:6px;padding-bottom:10px;font-size:11.5px;font-weight:500;display:flex;-webkit-mask-image:none;mask-image:none}.ncv-p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.ncv-b{font-weight:650}.ncv-link{color:var(--cover-link);text-underline-offset:2px;text-decoration:underline}.ncv-li{gap:5px;display:flex}.ncv-li>i{color:var(--cover-paper-mut);flex:none;font-style:normal}.ncv-task{align-items:center;gap:6px;display:flex}.ncv-task>i{border:1.4px solid var(--cover-paper-mut);border-radius:3px;flex:none;width:10px;height:10px}.ncv-task.done>i{background:var(--cover-check-fg);border-color:var(--cover-check-fg)}.ncv-task.done span{color:var(--cover-paper-mut);text-decoration:line-through}.ncv-table{border-collapse:collapse;table-layout:fixed;width:100%;margin-top:3px}.ncv-table th,.ncv-table td{border:1px solid var(--cover-paper-edge);text-align:left;white-space:nowrap;text-overflow:ellipsis;height:14px;padding:0 4px;font-size:9.5px;overflow:hidden}.ncv-table th{background:var(--cover-table-bg);font-weight:650}.ncv-code{background:var(--cover-code);color:var(--cover-code-fg);font:10px/1.55 var(--font-mono);white-space:pre;border-radius:4px;margin:0;padding:4px 6px;overflow:hidden}.ncv-file{border:1px solid var(--cover-paper-edge);white-space:nowrap;border-radius:5px;align-items:center;gap:6px;margin-top:3px;padding:3px 6px;font-weight:500;display:flex;overflow:hidden}.ncv-file b{background:var(--cover-file-fg);color:var(--cover-paper);border-radius:3px;padding:1px 4px;font-size:8px;font-weight:800}.job-cover{justify-content:flex-end;align-items:flex-start;gap:var(--space-2);height:130px;padding:var(--space-3);background:var(--panel2);flex-direction:column;display:flex}.job-org{align-items:center;gap:var(--space-2);min-width:0;max-width:100%;display:flex}.job-mono{border-radius:var(--radius-md);background:var(--accent-soft-bg);width:36px;height:36px;color:var(--accent-soft-fg);font-size:var(--text-lg);flex:none;justify-content:center;align-items:center;font-weight:700;display:flex}.job-co{min-width:0;font-weight:650;font-size:var(--text-body);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.job-headline{margin:calc(-1 * var(--space-1)) 0 var(--space-3);color:var(--mut);font-size:var(--text-body)}.job-work{color:var(--mut);font-size:var(--text-sm)}.thumb.thumb-person{background:var(--panel2);container-type:inline-size}.thumb-avatar{border-radius:var(--radius-round);object-fit:cover;object-position:center 30%;border:3px solid var(--panel);width:88px;height:88px;box-shadow:var(--shadow-chip);background:var(--line)}@container (max-width:255px){.thumb-avatar{width:80px;height:80px;margin-top:var(--space-8)}}.person-head{align-items:flex-start;gap:var(--space-3);display:flex}.person-avatar{border-radius:var(--radius-round);object-fit:cover;object-position:center 30%;background:var(--line);width:40px;height:40px;box-shadow:0 0 0 1px var(--line);margin:var(--space-1) 0 var(--space-2-5);flex:none}.person-head h3{min-width:0}@media (max-width:600px){.person-avatar{width:32px;height:32px}}.kv-asof{color:var(--mut);font-size:var(--text-sm);margin-top:calc(-1 * var(--space-1))}.meta{padding:var(--space-3) var(--space-3) var(--space-3)}.title{font-weight:650;font-size:var(--text-body);max-height:2.8em;line-height:1.35;overflow:hidden}.sub{gap:var(--space-2);color:var(--mut);font-size:var(--text-sm);margin-top:var(--space-2);align-items:center;display:flex}.ocr-hit{gap:var(--space-1);color:var(--mut);font-size:var(--text-sm);margin-top:var(--space-1);align-items:flex-start;display:flex}.ocr-hit>svg{margin-top:var(--space-1);flex:none}.ocr-hit>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ocr-hit-label{color:var(--ink);font-weight:600}.badge{background:var(--badge-bg);color:var(--badge-fg);border-radius:var(--radius-md);font-size:var(--text-xs);letter-spacing:.04em;padding:var(--space-1) var(--space-2);font-weight:800;position:absolute;top:9px;right:9px}.card-flags{gap:var(--space-1);align-items:center;display:flex;position:absolute;top:9px;left:9px}.clip-badge{background:var(--acc);color:var(--acc-fg);border-radius:var(--radius-md);padding:var(--space-1);justify-content:center;align-items:center;display:flex}.warn-badge{background:var(--warn-soft-bg);color:var(--warn-soft-fg);border-radius:var(--radius-md);padding:var(--space-1) var(--space-2);align-items:center;gap:var(--space-1);font-size:var(--text-xs);font-weight:800;line-height:1;display:flex}.tags{margin-top:var(--space-2);gap:var(--space-1);flex-wrap:nowrap;display:flex;overflow:hidden}.cardi-tags{padding:0 var(--space-3) var(--space-3);margin-top:calc(-1 * var(--space-1))}.cardi-tags .tg:not(.more){text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.cardi-tags .tg.more{flex:none}.cardi{flex-direction:column;display:flex;container:card/inline-size}.cardi-open{flex:none}.meta{padding:var(--space-3) var(--space-3) 0;box-sizing:border-box;height:84px;overflow:hidden}.title{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:none;display:-webkit-box;overflow:hidden}.sub{gap:var(--space-1-5);white-space:nowrap;min-width:0;margin-top:var(--space-1-5);flex-wrap:nowrap;height:1.4em}.sub-src{text-overflow:ellipsis;min-width:0;color:var(--ink);font-weight:600;overflow:hidden}.sub-when{flex:none}.sub-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.cardi-foot{align-items:center;gap:var(--space-1-5);height:32px;min-height:0;padding:0 var(--space-3) var(--space-3);box-sizing:content-box;margin-top:auto;display:flex;overflow:hidden}.cardi-foot .cardi-tags{flex:0 auto;min-width:0;margin:0;padding:0}.cardi-tags .tg{box-sizing:border-box;height:22px;padding-block:0;line-height:22px;display:inline-block}.tg>i{color:var(--mut);font-style:normal;font-weight:700}.cardi-tags .tg.more{background:var(--panel2);color:var(--ink);border:0;font-weight:600}.cardi-tags .tg-count{cursor:pointer;color:var(--ink);border:0;flex:none;font-family:inherit;display:none}.cardi-tags .tg-count svg{color:var(--mut);vertical-align:-1px;margin-right:var(--space-0-5)}@container card (max-width:300px){.cardi-foot:has(.nb-chip) .cardi-tags>:not(.tg-count){display:none}.cardi-foot:has(.nb-chip) .cardi-tags .tg-count{display:inline-block}}.nb-chip{min-width:0;font-size:var(--text-xs);box-sizing:border-box;align-items:center;gap:var(--space-1);max-width:55%;height:24px;padding:0 var(--space-2) 0 var(--space-1);background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-chip);font-family:var(--font-mono);letter-spacing:-.01em;flex:none;font-weight:500;display:inline-flex}.nb-chip .k-ico{flex:none;width:16px;height:16px}.k-notebook,.k-move-to-notebook{color:var(--ico-notebook)}.k-tone.k-note,.k-tone.k-note-new{color:var(--ico-note)}.k-tone.k-article,.k-tone.k-web-page,.k-tone.k-smartphone{color:var(--ico-web)}.k-tone.k-post{color:var(--ico-post)}.k-tone.k-document{color:var(--ico-document)}.k-tone.k-pdf{color:var(--ico-pdf)}.k-tone.k-image,.k-tone.k-images{color:var(--ico-image)}.k-tone.k-library{color:var(--ico-library)}.type-tile{width:var(--space-12);height:var(--space-12);border-radius:var(--radius-lg);flex:none;justify-content:center;align-items:center;display:inline-flex}.type-tile.t-note{background:var(--ico-note-soft);color:var(--ico-note)}.type-tile.t-web{background:var(--ico-web-soft);color:var(--ico-web)}.type-tile.t-post{background:var(--ico-post-soft);color:var(--ico-post)}.type-tile.t-document{background:var(--ico-document-soft);color:var(--ico-document)}.type-tile.t-pdf{background:var(--ico-pdf-soft);color:var(--ico-pdf)}.type-tile.t-image{background:var(--ico-image-soft);color:var(--ico-image)}.type-tile.t-library{background:var(--ico-library-soft);color:var(--ico-library)}.type-tile.t-notebook{background:var(--ico-notebook-soft);color:var(--ico-notebook)}.nb-chip-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cardi-move{cursor:pointer;font:inherit;padding:var(--space-1-5) var(--space-1-5);border-radius:var(--radius-md);background:var(--panel2);color:var(--ico-notebook);border:1px solid #0000;flex:none;justify-content:center;align-items:center;margin-left:auto;transition:all .15s;display:inline-flex}.cardi:hover .cardi-move,.cardi:focus-within .cardi-move,.cardi-move:focus-visible{color:var(--ico-notebook)}.cardi-move:hover{background:var(--coral-soft-bg);color:var(--ico-notebook);box-shadow:inset 0 0 0 1px var(--ico-notebook)}.cardi-move:disabled{cursor:progress}@media (hover:none){.cardi-move{min-width:44px;min-height:44px;padding:0}.cardi-foot{min-height:44px}.delbtn{width:44px;height:44px}}.clip-badge svg,.warn-badge svg,.cardi-tags .tg-count svg{fill:currentColor;fill-opacity:.18}.nb-tile{box-shadow:var(--shadow-chip)}.nb-tile-icon{width:32px;height:32px;color:var(--ico-notebook);flex:none;justify-content:center;align-items:center;display:inline-flex}.nb-tile-icon .k-ico{width:28px;height:28px}.nb-tile-name{font-family:var(--font-mono);font-weight:500}.cardi-job{cursor:default}.cardi-job:hover{transform:none}.cardi-job-saving:hover{border-color:var(--acc)}.cardi-job-failed,.cardi-job-failed:hover{border-color:var(--red)}.cardi-job-stalled:hover{border-color:var(--line)}.job-thumb{color:var(--mut)}.cardi-job .meta{height:auto;padding-bottom:var(--space-3);min-height:calc(84px + 32px + var(--space-3));overflow:visible}.cardi-job-failed .job-thumb{color:var(--red)}.badge-saving,.badge-adding{box-shadow:0 0 0 1.5px var(--acc)}.badge-failed{box-shadow:0 0 0 1.5px var(--red)}.badge-stalled{box-shadow:0 0 0 1.5px var(--mut)}.jobprog{margin-top:var(--space-2-5)}.jobbar{background:var(--panel2);height:6px;box-shadow:inset 0 0 0 1px var(--line);border-radius:999px;overflow:hidden}.jobbar-fill{background:var(--acc);border-radius:999px;width:0;height:100%;transition:width .3s}.jobbar.indeterminate .jobbar-fill{width:40%;animation:1.2s ease-in-out infinite jobbar-slide}@keyframes jobbar-slide{0%{margin-left:-40%}to{margin-left:100%}}@media (prefers-reduced-motion:reduce){.jobbar-fill{transition:none}.jobbar.indeterminate .jobbar-fill{opacity:.45;width:100%;animation:none}}.jobprog-row{justify-content:space-between;align-items:center;gap:var(--space-2);margin-top:var(--space-1-5);font-size:var(--text-sm);color:var(--mut);display:flex}.joberr{margin:var(--space-2) 0 0;font-size:var(--text-sm);color:var(--mut);-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.45;display:-webkit-box;overflow:hidden}.cardi-job-failed .joberr{color:var(--red)}.jobnote{background:var(--warn-soft-bg);color:var(--warn-soft-fg);border-radius:var(--radius-md);padding:var(--space-1-5) var(--space-2);margin:var(--space-2) 0 0;font-size:var(--text-sm);line-height:1.45}.job-actions{gap:var(--space-2);margin-top:var(--space-3);display:flex}.job-actions .btn{justify-content:center;align-items:center;gap:var(--space-1);flex:1;display:flex}.tg{font-size:var(--text-xs);background:var(--panel2);border-radius:var(--radius-sm);padding:var(--space-0-5) var(--space-2);color:var(--mut);white-space:nowrap;flex:none}.tg.more{cursor:pointer;color:var(--acc);border:1px solid var(--line);background:0 0;font-family:inherit}.tagedit{gap:var(--space-1);flex-wrap:wrap;align-items:center;display:flex}.tagedit .tg{align-items:center;gap:var(--space-1);display:flex}.tglist{gap:var(--space-1);flex-wrap:wrap;align-items:center;display:flex}.tgx{color:var(--mut);cursor:pointer;font-size:var(--text-xs);padding:var(--space-2);margin:calc(-1 * var(--space-2));background:0 0;border:0;line-height:1}.tgx:hover{color:var(--red)}.tginput{background:var(--panel2);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-0-5) var(--space-2);color:var(--ink);font-size:var(--text-xs);flex:90px;min-width:90px}.tginput::placeholder{color:var(--mut)}@media (pointer:coarse){.tginput{font-size:var(--text-lg);min-height:32px}.tgx{padding:var(--space-2-5);margin:calc(-1 * var(--space-2-5))}}.tagspin{border-color:var(--line);border-top-color:var(--acc);width:10px;height:10px;margin-right:0}.tagpop{z-index:20;background:var(--side);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2);gap:var(--space-1);max-width:220px;box-shadow:var(--pop-shadow);flex-wrap:wrap;display:flex;position:fixed}.tagpop:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.ov{background:var(--scrim);z-index:12;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--side);border:1px solid var(--line);border-radius:var(--radius-xl);width:520px;max-width:92vw;padding:var(--space-6) var(--space-7);max-height:90dvh;overflow-y:auto}.modal h3{margin:0 0 var(--space-1);font-size:var(--text-xl);overflow-wrap:anywhere;min-width:0}.hint{color:var(--mut);font-size:var(--text-ui);margin:0 0 var(--space-3-5)}.hint.err{color:var(--red)}.field{margin:var(--space-3) 0}.field label{font-size:var(--text-sm);color:var(--mut);margin-bottom:var(--space-1-5);font-weight:600;display:block}.field input{background:var(--panel);border:1px solid var(--table-line);border-radius:var(--radius-md);width:100%;color:var(--ink);padding:var(--space-2-5) var(--space-3);font-size:var(--text-body);font-family:inherit}@media (pointer:coarse){.field input{font-size:var(--text-lg)}}.cbx-input:disabled{opacity:.6;cursor:not-allowed}.cbx-input::placeholder{color:var(--mut)}.cbx-input[aria-invalid=true]{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}.cbx-pop{top:var(--cbx-pop-top);left:var(--cbx-pop-left);width:var(--cbx-pop-width);z-index:3;background:var(--panel);border:1px solid var(--table-line);border-radius:var(--radius-md);box-shadow:var(--pop-shadow);position:fixed;overflow:hidden}.cbx-pop[data-placement=above]{transform:translateY(-100%)}.cbx-list{padding:var(--space-1);max-height:var(--cbx-list-max,min(280px,45vh));margin:0;list-style:none;overflow-y:auto}.cbx-opt{align-items:baseline;column-gap:var(--space-2);min-height:32px;padding:var(--space-1-5) var(--space-2-5);border-radius:var(--radius-md);cursor:pointer;color:var(--ink);font-size:var(--text-body);flex-wrap:wrap;line-height:1.5;display:flex}.cbx-opt:hover{background:var(--panel2)}.cbx-opt.on{background:var(--accent-soft-bg);box-shadow:inset 0 0 0 2px var(--acc)}.cbx-leaf{font-weight:400}.cbx-anc{color:var(--mut);font-size:var(--text-sm)}.cbx-foot{padding:var(--space-2) var(--space-3-5);border-top:1px solid var(--line);color:var(--mut);font-size:var(--text-sm)}@media (hover:none){.cbx-opt{align-content:center;min-height:44px}}@media (pointer:coarse){.cbx-opt{font-size:var(--text-lg)}}.row{justify-content:flex-end;gap:var(--space-2-5);margin-top:var(--space-5);display:flex}.token-scope{justify-content:flex-start;gap:var(--space-4);margin:var(--space-2) 0 0;border:0;flex-wrap:wrap;padding:0}.token-scope legend{margin-bottom:var(--space-1);padding:0}.token-scope label{align-items:center;gap:var(--space-2);cursor:pointer;min-height:24px;display:inline-flex}.token-scope input[type=radio]{width:18px;height:18px;accent-color:var(--acc);margin:0}@media (pointer:coarse){.token-scope label{min-height:44px}}.modal .row a.btn{align-items:center;text-decoration:none;display:inline-flex}.drawer{background:var(--side);border-left:1px solid var(--line);z-index:11;width:560px;max-width:96vw;height:100vh;padding:var(--space-6) var(--space-7);position:fixed;top:0;right:0;overflow-y:auto}.x{color:var(--mut);font-size:var(--text-2xl);cursor:pointer;background:0 0;border:0;position:absolute;top:14px;right:16px}.kv{gap:var(--space-2) var(--space-3);font-size:var(--text-body);margin:var(--space-4) 0;grid-template-columns:110px 1fr;display:grid}.kv b{color:var(--mut);font-weight:600}.kv a{color:var(--acc)}.kv-warn{color:var(--warn);gap:var(--space-1-5);align-items:flex-start;line-height:1.45;display:flex}.kv-warn svg{margin-top:var(--space-0-5);flex:none}.share-note{gap:var(--space-2);background:var(--warn-soft-bg);color:var(--warn-soft-fg);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);margin:0 0 var(--space-3);font-size:var(--text-sm);flex-wrap:wrap;align-items:flex-start;line-height:1.45;display:flex}.share-note>svg{margin-top:var(--space-0-5);flex:none}.share-note>span:not(.spin){flex:16rem;min-width:0}.share-note-quiet{background:var(--panel2);color:var(--mut)}.share-badge{margin-bottom:var(--space-1-5);display:inline-flex}.acts{gap:var(--space-1);margin-top:var(--space-3);flex-wrap:wrap;align-items:center;display:flex}.act-ibtn{box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-md);width:32px;height:32px;color:var(--ink);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.act-ibtn:hover{background:var(--panel2)}.act-ibtn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.act-ibtn:has(.act-file:focus-visible){outline:2px solid var(--acc);outline-offset:2px}.act-ibtn:disabled{cursor:progress;opacity:.7}.act-file{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.acts .tagedit{min-width:160px;max-width:360px;margin-left:var(--space-2);flex:200px}.act-trash{color:var(--red);border-color:#0000;margin-left:auto}@media (pointer:coarse){.act-ibtn{width:44px;height:44px}}.item-meta{align-items:center;gap:var(--space-1) var(--space-2);margin-top:var(--space-2);font-size:var(--text-sm);color:var(--mut);flex-wrap:wrap;line-height:1.5;display:flex}.item-meta>*+:before{content:"·";margin-right:var(--space-2)}.item-meta .nb-crumbs{align-items:center;display:flex}.item-notes{margin-top:var(--space-2);font-size:var(--text-sm);color:var(--warn)}.item-notes summary{align-items:center;gap:var(--space-1-5);cursor:pointer;font-weight:600;list-style:none;display:inline-flex}.item-notes summary::-webkit-details-marker{display:none}.item-notes summary:focus-visible{outline:2px solid var(--acc);outline-offset:2px;border-radius:var(--radius-sm)}.item-note{margin:var(--space-1) 0 0 var(--space-5);line-height:1.45}.item-note .btn{margin-left:var(--space-2)}.pre{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3-5);font-size:var(--text-ui);white-space:pre-wrap;max-height:260px;color:var(--ink);overflow-y:auto}.pre a{color:var(--acc)}.pre.full[tabindex]:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.drawer.wide{width:720px}.note-drawer{flex-direction:column;display:flex}.note-drawer .note-autosave{flex-direction:column;flex:1;min-height:0;display:flex}.tabs{gap:var(--space-1-5);margin:var(--space-1) 0 var(--space-2-5);flex-wrap:wrap;display:flex}.tabbtn{background:var(--panel);border:1px solid var(--line);color:var(--mut);border-radius:var(--radius-md);padding:var(--space-1-5) var(--space-3-5);font-size:var(--text-ui);cursor:pointer;font-weight:600}.tabbtn.on{background:var(--accent-soft-bg);border-color:var(--acc);color:var(--accent-soft-fg)}.preview{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--viewer-stage);height:56vh;overflow:hidden}.preview iframe{background:var(--viewer-page);border:0;width:100%;height:100%}.preview.center{color:var(--mut);padding:var(--space-5);justify-content:center;align-items:center;display:flex}.preview.slides{padding:var(--space-3-5);text-align:center;overflow-y:auto}.preview.slides img{border-radius:var(--radius-md);width:min(380px,92%);margin:0 0 var(--space-3-5);display:inline-block}.preview .pimg{object-fit:contain;max-width:100%;max-height:100%}.preview.shotfit{width:100%;height:auto;max-height:80vh}.preview.shotfit img{object-fit:contain;width:100%;height:100%;display:block}.preview.textview{padding:0;overflow:hidden}.preview.pagegate{justify-content:center;align-items:center;display:flex;position:relative}.pagegate-shot{object-fit:cover;object-position:top center;width:100%;height:100%;position:absolute;inset:0}.preview.pagegate:after{content:"";background:var(--page-bg);opacity:.72;position:absolute;inset:0}.preview.pagegate.is-ready:after{content:none}.pagegate-frame{z-index:2;position:relative}.pagegate-panel,.pagegate-loading{z-index:3;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);max-width:min(420px,88%);padding:var(--space-4) var(--space-5);box-shadow:var(--shadow-panel);position:relative}.pagegate-title{margin:0 0 var(--space-1-5);font-size:var(--text-body);color:var(--ink);font-weight:700}.pagegate-note{margin:0 0 var(--space-3-5);font-size:var(--text-ui);color:var(--mut);line-height:1.55}.pagegate-btn{background:var(--acc);color:var(--acc-fg);border-radius:var(--radius-md);padding:var(--space-2) var(--space-4);font-size:var(--text-body);cursor:pointer;border:0;font-weight:700}.pagegate-btn:hover{filter:brightness(1.08)}.pagegate-btn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.pagegate-why{margin:var(--space-3) 0 0;font-size:var(--text-sm);color:var(--mut);line-height:1.5}.pagegate-remember{margin:var(--space-2) 0 0;font-size:var(--text-sm);color:var(--mut)}.pagegate-back{z-index:4;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-1) var(--space-3);font-size:var(--text-sm);cursor:pointer;opacity:.82;font-weight:600;position:absolute;top:8px;right:8px}.pagegate-back:hover{opacity:1}.pagegate-back:focus-visible{outline:2px solid var(--acc);outline-offset:2px;opacity:1}.pagegate-loading .pagegate-title:after{content:"";width:11px;height:11px;margin-left:var(--space-2);vertical-align:-1px;border:2px solid var(--acc);border-right-color:#0000;border-radius:50%;animation:.8s linear infinite pagegateSpin;display:inline-block}@keyframes pagegateSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pagegate-loading .pagegate-title:after{animation:none}}.preview.pagecopy{position:relative}.vcover{aspect-ratio:16/9;border-radius:var(--radius-lg);background:var(--viewer-stage) center/cover no-repeat;width:min(100%,81.7778vh);margin:var(--space-1) 0 var(--space-2);position:relative;overflow:hidden}.vframe{aspect-ratio:16/9;border-radius:var(--radius-lg);background:var(--viewer-stage);width:min(100%,81.7778vh);margin:var(--space-1) 0 var(--space-2);border:0;display:block}.vcover-play{width:calc(var(--space-16) + var(--space-2));height:calc(var(--space-16) + var(--space-2));border-radius:var(--radius-round);background:var(--media-control-bg);color:var(--media-control-fg);cursor:pointer;box-shadow:0 0 0 var(--space-0-5) var(--scrim),var(--shadow-chip);border:0;place-items:center;transition:transform .12s ease-out;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.vcover-play:hover{transform:translate(-50%,-50%)scale(1.06)}.vcover-play:focus-visible{outline:3px solid var(--media-control-bg);outline-offset:3px;box-shadow:0 0 0 var(--space-0-5) var(--scrim),0 0 0 9px var(--media-control-fg)}.vcover-play .k-play{margin-left:var(--space-1)}.vcover-open{align-items:center;gap:var(--space-1-5);padding:var(--space-2-5) var(--space-4);border-radius:var(--radius-md);background:var(--badge-bg);color:var(--badge-fg);font-weight:600;text-decoration:none;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.vcover-open:hover{text-decoration:underline}.vcover-open:focus-visible{outline:3px solid var(--badge-fg);outline-offset:3px}.vcover .vdur{right:var(--space-3);bottom:var(--space-2-5)}.vdur{right:var(--space-2);bottom:var(--space-2);padding:var(--space-0-5) var(--space-1-5);border-radius:var(--radius-sm);background:var(--badge-bg);color:var(--badge-fg);font-size:var(--text-xs);font-variant-numeric:tabular-nums;font-weight:600;line-height:1.4;position:absolute}.vnote{margin:0 0 var(--space-2);font-size:var(--text-sm);color:var(--mut)}.vnote a{color:var(--acc);white-space:nowrap}.vnote a .k-ico,.vcover-open .k-ico{vertical-align:-.15em;margin-left:var(--space-1)}.vfacts{gap:var(--space-1);font-size:var(--text-sm);color:var(--mut);margin:0 0 var(--space-3);flex-wrap:wrap;display:flex}.vfacts b{color:var(--ink);font-weight:600}.vdesc{white-space:pre-wrap;max-width:72ch;margin:0 0 var(--space-4);color:var(--ink);line-height:1.6}.vdesc a{color:var(--acc)}.vchap h4{margin:0 0 var(--space-1-5);font-size:var(--text-sm);color:var(--mut);font-weight:600}.vchap ol{margin:0 0 var(--space-4);max-width:72ch;padding:0;list-style:none}.vchap button,.vchap a{gap:var(--space-3);width:100%;min-height:calc(var(--space-8) + var(--space-1));padding:var(--space-1-5) var(--space-2);border-radius:var(--radius-md);color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:baseline;display:flex}.vchap button:hover,.vchap a:hover{background:var(--panel2)}.vchap button:focus-visible,.vchap a:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.vchap a{text-decoration:none}.vchap .t{color:var(--acc);font-variant-numeric:tabular-nums;min-width:4.5ch;font-weight:600}@media (pointer:coarse){.vchap button,.vchap a{min-height:44px}}@media (max-width:600px){.vcover-play{width:var(--space-16);height:var(--space-16)}}@media (prefers-reduced-motion:reduce){.vcover-play{transition:none}.vcover-play:hover{transform:translate(-50%,-50%)}}.cardi .thumb.vthumb{background-position:50%;position:relative}.peek-hints .peek-hint-arrows{display:none}.peek:has([data-player-loaded]) .peek-hints .peek-hint-jk{display:none}.peek:has([data-player-loaded]) .peek-hints .peek-hint-arrows{display:inline-flex}.pagecopy-shot{z-index:1;object-fit:cover;object-position:top center;width:100%;height:100%;position:absolute;inset:0}.preview.pagecopy.is-loading:after{content:"";z-index:2;background:var(--page-bg);opacity:.72;position:absolute;inset:0}.pagecopy-loading{z-index:3;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);max-width:88%;padding:var(--space-3) var(--space-4);font-size:var(--text-body);color:var(--ink);box-shadow:var(--shadow-panel);margin:0;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width:600px){.drawer>.preview.pagecopy{height:48vh}}.pre.full{height:100%;max-height:none;font-size:var(--text-body);padding:var(--space-4) var(--space-5);border:0;border-radius:0;line-height:1.7;overflow-y:auto}.pre.full.blocks{white-space:normal}.block-heading{margin:0 0 var(--space-3-5);font-size:1.2em;font-weight:700;line-height:1.4}.block-paragraph{margin:0 0 var(--space-3-5);white-space:pre-wrap}.block-paragraph:last-child{margin-bottom:0}.block-divider{margin:var(--space-5) 0 var(--space-4)}.block-divider-label{margin-bottom:var(--space-2);color:var(--mut);font-size:var(--text-sm);text-transform:uppercase;letter-spacing:.05em;font-weight:700;display:block}.block-divider hr{border:0;border-top:1px solid var(--line);margin:0}.block-comment{margin:0 0 var(--space-4) var(--space-6);padding-left:var(--space-3-5);border-left:2px solid var(--line)}.block-comment:last-child{margin-bottom:0}.block-comment-author{margin-bottom:var(--space-1);font-weight:700}.block-comment-text{white-space:pre-wrap}.btn.sm{padding:var(--space-1) var(--space-3);font-size:var(--text-sm);border-radius:var(--radius-md);font-weight:600}.tmenu-stack{align-items:stretch;gap:var(--space-0-5);flex-direction:column;min-width:172px}.theme-opt{align-items:center;gap:var(--space-1-5);width:100%;color:var(--ink);font:600 var(--text-body)/1.2 inherit;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);cursor:pointer;text-align:left;background:0 0;border:0;font-family:inherit;display:flex}.theme-opt:hover{background:var(--panel2)}.theme-opt.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg)}.theme-opt:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.theme-opt-check{flex:none;margin-left:auto}.extchip{background:var(--ext-chip-bg);border:1px solid var(--grn);color:var(--ext-chip-fg);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);font-size:var(--text-ui);font-weight:700}.fsov{background:var(--fullscreen-bg);z-index:30;flex-direction:column;display:flex;position:fixed;inset:0}.fsbar{align-items:center;gap:var(--space-2-5);padding:var(--space-2) var(--space-4);background:var(--side);border-bottom:1px solid var(--line);flex:none;display:flex}.fstitle{min-width:0;font-weight:600;font-size:var(--text-body);color:var(--mut);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.fsclose{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:var(--radius-md);font-size:var(--text-lg);padding:var(--space-1) var(--space-3);cursor:pointer}.fsclose:hover{border-color:var(--red);color:var(--red)}.tabbtn.sm{padding:var(--space-1) var(--space-3);font-size:var(--text-sm)}.fsbody{flex:1;width:100%;min-height:0}.fsbody .preview{border:0;border-radius:0;height:100%}.okbox{background:var(--ok-bg);border:1px solid var(--grn);color:var(--ok-fg);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3-5);font-size:var(--text-body);margin:var(--space-2-5) 0}.steps{margin:var(--space-1) 0 var(--space-2);padding-left:var(--space-5);font-size:var(--text-body);color:var(--ink);line-height:1.8}.steps code{background:var(--code-block-bg);border:1px solid var(--line);padding:1px var(--space-1-5);border-radius:var(--radius-xs);font-size:var(--text-sm);color:var(--code-block-fg)}.codebox{background:var(--code-block-bg);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2-5) var(--space-3);font-family:var(--font-mono);font-size:var(--text-sm);color:var(--code-block-fg);word-break:break-all;-webkit-user-select:all;user-select:all}.delbtn{z-index:2;background:var(--panel);border-radius:var(--radius-md);width:28px;height:28px;box-shadow:var(--shadow-chip);color:var(--table-line);font-size:var(--text-ui);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;padding:0;transition:all .15s;display:inline-flex;position:absolute;top:9px;left:9px}.cardi:hover .delbtn,.delbtn:focus-visible{color:var(--mut)}.delbtn:hover{color:var(--red);border-color:var(--red)}.selchk{z-index:2;border-radius:var(--radius-md);border:2px solid var(--table-line);background:var(--panel);width:24px;height:24px;color:var(--ink);font-size:var(--text-body);pointer-events:none;justify-content:center;align-items:center;font-weight:800;display:flex;position:absolute;top:9px;left:9px}.selchk.on{background:var(--acc);border-color:var(--acc);color:var(--acc-fg)}.cardi.selon{border-color:var(--acc);box-shadow:0 0 0 2px var(--acc)}.uploadrow{margin:var(--space-3-5) 0 var(--space-0-5);align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.uplabel{background:var(--panel);border:1px dashed var(--line);color:var(--ink);border-radius:var(--radius-md);padding:var(--space-2-5) var(--space-3-5);font-size:var(--text-ui);cursor:pointer;font-weight:600;display:inline-block}.uplabel:hover{border-color:var(--acc)}.uphint{font-size:var(--text-sm);color:var(--mut)}.pwrap{margin:var(--space-4) 0 var(--space-1)}.pbar{background:var(--panel2);border-radius:var(--radius-sm);height:8px;overflow:hidden}.pbar i{background:linear-gradient(90deg,var(--acc),var(--grn));border-radius:var(--radius-sm);height:8px;transition:width .35s;display:block}.pmsg{margin-top:var(--space-2);font-size:var(--text-ui);color:var(--ink)}.pmsg b{color:var(--acc);margin-left:var(--space-1)}.pcost{margin-top:var(--space-1);font-size:var(--text-sm);color:var(--grn)}.perr{border:1px solid var(--red);background:var(--coral-soft-bg);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3-5);font-size:var(--text-ui);margin:var(--space-3-5) 0 var(--space-1);color:var(--coral-soft-fg)}.perr.pwarn{border-color:var(--warn);background:var(--warn-soft-bg);color:var(--warn-soft-fg)}.perr.pwarn .phint{color:var(--warn-soft-fg)}.phint{margin-top:var(--space-2);color:var(--coral-soft-fg);font-size:var(--text-sm);line-height:1.5}.phint-link{font:inherit;color:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.toast{background:var(--toast-bg);border:1px solid var(--grn);color:var(--toast-fg);padding:var(--space-3) var(--space-6);border-radius:var(--radius-lg);z-index:20;font-weight:600;position:fixed;bottom:26px;left:50%;transform:translate(-50%)}.toast.err{background:var(--toast-err-bg);border-color:var(--red);color:var(--toast-err-fg)}.empty{color:var(--mut);text-align:center;padding:var(--space-16) var(--space-5);font-size:var(--text-lg)}.empty-action{margin-top:var(--space-3-5);display:block}.spin{border:2px solid var(--spinner-track);border-top-color:var(--spinner-head);vertical-align:-2px;width:14px;height:14px;margin-right:var(--space-2);border-radius:50%;animation:1s linear infinite sp;display:inline-block}@keyframes sp{to{transform:rotate(360deg)}}.orgpage{max-width:860px;padding:var(--space-6) var(--space-6) var(--space-16);margin:0 auto}.orgtop{align-items:center;gap:var(--space-3-5);padding:var(--space-3-5) var(--space-6);border-bottom:1px solid var(--line);background:var(--side);border-radius:inherit;border-bottom-right-radius:0;border-bottom-left-radius:0;display:flex;position:sticky;top:0}.orgtop h1{font-size:var(--text-lg);align-items:center;margin:0;font-weight:700;display:flex}.sectionhead{font-size:var(--text-sm);margin:var(--space-6) 0 var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--line);color:var(--mut);text-transform:uppercase;letter-spacing:.05em;font-weight:700}.subhead{font-size:var(--text-sm);margin:var(--space-3-5) 0 var(--space-2);color:var(--mut);font-weight:600}.inline-form{gap:var(--space-2);margin-bottom:var(--space-3-5);flex-wrap:wrap;display:flex}.inline-form input[type=text],.inline-form input[type=email],.inline-form input[type=number]{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);min-width:160px;color:var(--ink);padding:var(--space-2) var(--space-3);font-size:var(--text-body);flex:1}.inline-form input:focus{border-color:var(--acc)}.inline-form select{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);padding:var(--space-2) var(--space-2-5);font-size:var(--text-body)}.orglist{margin:0 0 var(--space-1);padding:0;list-style:none}.orgrow{text-align:left;background:var(--panel);border:1px solid var(--line);width:100%;color:var(--ink);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-2);font-size:var(--text-body);cursor:pointer;font-weight:650;transition:all .15s;display:block}.orgrow:hover{border-color:var(--acc);transform:translateY(-1px)}.entity-list{margin:0 0 var(--space-1-5);padding:0;list-style:none}.entity-list.nested{margin:var(--space-0-5) 0 var(--space-2-5) var(--space-4);padding-left:var(--space-3-5);border-left:1px solid var(--line)}.entity-row{align-items:center;gap:var(--space-1-5);padding:var(--space-2) var(--space-1);flex-wrap:wrap;display:flex}.entity-name{margin-right:auto;font-weight:650}.expand-btn{color:var(--mut);cursor:pointer;font-size:var(--text-sm);padding:var(--space-2) var(--space-2-5);margin:calc(-1 * var(--space-1-5)) calc(-1 * var(--space-1));background:0 0;border:0}.member-row{align-items:center;gap:var(--space-2);padding:var(--space-1-5) var(--space-0-5);display:flex}.member-row code{background:var(--panel2);border-radius:var(--radius-xs);padding:var(--space-0-5) var(--space-2);font-size:var(--text-sm);color:var(--mut)}.member-row select{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);padding:var(--space-1) var(--space-2);font-size:var(--text-sm)}.invite-row{align-items:center;gap:var(--space-2);padding:var(--space-1-5) var(--space-0-5);color:var(--mut);font-size:var(--text-ui);display:flex}.banner{background:var(--info-bg);color:var(--info-fg);border:1px solid var(--acc);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4);gap:var(--space-2);flex-direction:column;display:flex}.banner-row{align-items:center;gap:var(--space-2-5);flex-wrap:wrap;display:flex}.rename-form{gap:var(--space-2);margin-bottom:var(--space-1);display:flex}.rename-form input{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);padding:var(--space-2) var(--space-3);font-size:var(--text-body);flex:1}.app-shell{background:var(--bg);box-shadow:var(--shadow-shell);overflow-y:auto}@media (min-width:1024px){.app-shell{margin:var(--space-10);border-radius:var(--radius-xl);height:calc(100dvh - 80px)}}@media (min-width:600px) and (max-width:1023px){.app-shell{margin:var(--space-4);border-radius:var(--radius-xl);height:calc(100dvh - 36px)}}@media (max-width:599px){.app-shell{margin:var(--space-2);border-radius:var(--radius-lg);height:calc(100dvh - 18px)}}@media (min-width:901px){.app-shell{height:100dvh;box-shadow:none;background:var(--panel);border-radius:0;margin:0}}.app-shell>header{display:contents}:is(button,a,input,select,[role=button],[tabindex]):focus-visible{outline:2px solid var(--acc);outline-offset:2px}.cardi-open:focus-visible{outline-offset:-3px}.workspace>main[tabindex="-1"]:focus-visible{outline:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.cardi,.spin,.pbar i{transition:none!important;animation:none!important}.cardi:hover{transform:none!important}}.note-editor{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--panel);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.note-toolbar{gap:var(--space-1-5);padding:var(--space-2) var(--space-2-5);border-bottom:1px solid var(--line);background:var(--panel2);flex-wrap:wrap;display:flex}.tbtn{color:var(--mut);border-radius:var(--radius-md);padding:var(--space-1-5) var(--space-2-5);font-size:var(--text-ui);cursor:pointer;background:0 0;border:1px solid #0000;min-width:32px;font-family:inherit}.tbtn:hover{background:var(--panel);color:var(--ink)}.tbtn.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);border-color:var(--acc)}.tbtn:disabled{opacity:.5;cursor:default}.note-content{padding:var(--space-4) var(--space-4);color:var(--ink);font-size:var(--text-body);flex-direction:column;flex:1;min-height:0;line-height:1.6;display:flex;overflow-y:auto}.note-content .ProseMirror{outline:none;flex:1 0 auto;min-height:160px}.note-content .ProseMirror:focus-visible{outline:none}.note-content .ProseMirror h1{margin:.6em 0 .3em;font-size:1.5em;line-height:1.3}.note-content .ProseMirror h2{margin:.6em 0 .3em;font-size:1.25em;line-height:1.3}.note-content .ProseMirror h3{margin:.6em 0 .3em;font-size:1.1em;line-height:1.3}.note-content .ProseMirror p{margin:0 0 .6em}.note-content .ProseMirror ul,.note-content .ProseMirror ol{margin:0 0 .6em;padding-left:1.4em}.note-content .ProseMirror ul[data-type=taskList]{padding-left:0;list-style:none}.note-content .ProseMirror li[data-checked]{align-items:flex-start;gap:.3em;display:flex}.note-content .ProseMirror li[data-checked]>label{cursor:pointer;flex:none;justify-content:center;align-items:center;min-width:24px;min-height:24px;display:inline-flex}.note-content .ProseMirror li[data-checked]>label>input{width:16px;height:16px;accent-color:var(--acc);cursor:pointer;margin:0}.note-content .ProseMirror li[data-checked]>div{flex:1;min-width:0}.note-content .ProseMirror li[data-checked]>div>p{margin:0}.note-content .ProseMirror h4{margin:.6em 0 .3em;font-size:1em;font-weight:700;line-height:1.35}.note-content .ProseMirror h5{color:var(--mut);margin:.6em 0 .3em;font-size:1em;font-weight:600;line-height:1.35}.note-content .ProseMirror h6{color:var(--mut);text-transform:uppercase;letter-spacing:.04em;margin:.6em 0 .3em;font-size:1em;font-weight:600;line-height:1.35}.note-content .ProseMirror sup,.note-content .ProseMirror sub{font-size:.75em;line-height:0}.note-content .ProseMirror pre{background:var(--panel2);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);white-space:pre;font:var(--text-sm)/1.6 var(--font-mono);color:var(--ink);margin:0 0 .8em;overflow-x:auto}.note-content .ProseMirror pre code{font:inherit;background:0 0;padding:0}.note-content .ProseMirror hr{border:0;border-top:2px solid var(--table-line);margin:1.4em 0}.note-content .ProseMirror blockquote{padding:0 0 0 var(--space-4);border-left:3px solid var(--table-line);margin:0 0 .8em}.note-content .ProseMirror hr.ProseMirror-selectednode{outline:2px solid var(--acc);outline-offset:var(--space-1)}.modal:has(>.kbd-sheet){width:680px}.kbd-sheet{columns:2 260px;column-gap:var(--space-8);margin-top:var(--space-3)}.kbd-table{border-collapse:collapse;break-inside:avoid;width:100%;margin:0 0 var(--space-4)}.kbd-table caption{text-align:left;font-weight:600;font-size:var(--text-sm);color:var(--ink);padding-bottom:var(--space-1)}.kbd-table th{text-align:left;padding:var(--space-1) var(--space-2) var(--space-1) 0;font-weight:400}.kbd-table td{text-align:right;padding:var(--space-1) 0;white-space:nowrap}.kbd-table kbd,.kbd-sheet-note kbd{padding:var(--space-0-5) var(--space-1);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--panel);font:var(--text-xs)/1 var(--font-sans);color:var(--mut)}.kbd-sheet-head{justify-content:space-between;align-items:center;gap:var(--space-3)}.kbd-sheet-head h3{margin:0}.kbd-sheet-note{margin:var(--space-2) 0 0}.ov:has(>.modal>.fmt-sheet){align-items:flex-end}.modal:has(>.fmt-sheet){border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;width:100%;max-width:none;max-height:85dvh;padding:var(--space-2) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));border-bottom:0;flex-direction:column;display:flex}.fmt-drag{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex-direction:column;display:flex}.fmt-drag .btn{cursor:pointer}.fmt-grab{border-radius:var(--radius-pill);background:var(--table-line);width:36px;height:5px;margin-bottom:var(--space-2);align-self:center}.fmt-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-2)}.fmt-head h3{margin:0}.btn.fmt-done{min-width:64px;min-height:44px}.fmt-sheet{flex-direction:column;display:flex}.fmt-sheet .tmenu-chip,.fmt-sheet .tmenu-item{min-height:44px}.fmt-sheet .tmenu-chip{min-width:44px}.fmt-sheet .swatch{width:44px;height:44px}.fmt-sheet .tmenu-row{gap:var(--space-1-5)}.fmt-sheet .tmenu-item:focus-visible,.fmt-sheet .tmenu-chip:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.note-content .ProseMirror [data-note-literal-color]{color:oklch(from var(--note-literal-fg) min(l, .48) c h)!important}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .note-content .ProseMirror [data-note-literal-color]{color:oklch(from var(--note-literal-fg) max(l, .74) c h)!important}}:root[data-theme=dark] .note-content .ProseMirror [data-note-literal-color]{color:oklch(from var(--note-literal-fg) max(l, .74) c h)!important}.note-save-status{margin-top:var(--space-1-5);font-size:var(--text-sm);color:var(--mut);min-height:16px}.note-save-status.warn{color:var(--red)}.note-title-input{width:100%;color:var(--ink);font-size:var(--text-xl);padding:var(--space-0-5) 0;margin-bottom:var(--space-2-5);border-radius:var(--radius-xs);background:0 0;border:0;font-family:inherit;font-weight:700;display:block}.note-title-input::placeholder{color:var(--mut);font-weight:600}.note-image{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel2);margin:1em 0;display:block;position:relative;overflow:hidden}.note-image.uploading{border-color:var(--acc)}.note-image img{max-width:100%;height:auto;display:block}.note-image-placeholder{min-height:120px;color:var(--mut);font-size:var(--text-ui);justify-content:center;align-items:center;display:flex}.note-image.is-picture{background:0 0;border:0;border-radius:0;width:fit-content;min-width:min(100%,240px);max-width:100%;overflow:visible}.note-image.is-picture img{border:1px solid var(--line);border-radius:var(--radius-sm)}.note-image.is-picture.uploading img{border-color:var(--acc)}.note-image.is-picture .note-media-uploading-overlay{border-radius:var(--radius-sm)}.note-image.is-picture .note-image-placeholder{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel2);min-width:240px}.note-imgbar{top:var(--space-2);right:var(--space-2);z-index:2;gap:var(--space-0-5);padding:var(--space-0-5);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-menu);opacity:0;pointer-events:none;transition:opacity .12s;display:flex;position:absolute}.note-image:hover .note-imgbar,.note-image:focus-within .note-imgbar,.note-image.ProseMirror-selectednode .note-imgbar,.note-image.alt-open .note-imgbar{opacity:1;pointer-events:auto}.note-imgbar button{height:28px;padding:0 var(--space-2-5);border-radius:var(--radius-sm);color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;display:inline-flex}.note-imgbar button:hover,.note-imgbar button[aria-expanded=true]{background:var(--panel2)}.note-imgbar button:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.note-imgbar button:disabled{cursor:default;color:var(--mut)}@media (pointer:coarse){.note-imgbar button{height:44px}}@media (prefers-reduced-motion:reduce){.note-imgbar{transition:none}}.note-image-alt-input{border:0;border-top:1px solid var(--line);background:var(--panel);width:100%;color:var(--mut);font-size:var(--text-sm);padding:var(--space-1-5) var(--space-2-5);font-family:inherit;display:block}.note-image.is-picture .note-image-alt-input{margin-top:var(--space-1-5);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink)}.note-image-alt-input::placeholder{color:var(--mut)}.note-image-alt-input:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.note-pdf{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);margin:1em 0;display:block;overflow:hidden}.note-pdf.uploading{border-color:var(--acc)}.note-pdf-head{align-items:center;gap:var(--space-2);min-height:44px;padding:var(--space-1) var(--space-2) var(--space-1) var(--space-3);color:var(--ink);font-size:var(--text-ui);display:flex}.note-pdf:not(.is-collapsed) .note-pdf-head{border-bottom:1px solid var(--line)}.note-pdf-glyph{color:var(--mut);flex:none;display:inline-flex}.note-pdf-name{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;font-weight:600;overflow:hidden}.note-pdf-detail{color:var(--mut);font-size:var(--text-sm);white-space:nowrap;flex:none}.note-pdf-gap{flex:1}.note-pdf-mode{border:1px solid var(--line);border-radius:var(--radius-sm);flex:none;display:inline-flex;overflow:hidden}.note-pdf-mode button{height:28px;padding:0 var(--space-2);color:var(--mut);font:inherit;font-size:var(--text-sm);cursor:pointer;white-space:nowrap;background:0 0;border:0}.note-pdf-mode button+button{border-left:1px solid var(--line)}.note-pdf-mode button[aria-pressed=true]{background:var(--panel2);color:var(--ink)}.note-pdf-mode button:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.note-pdf-btn{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--ink);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.note-pdf-btn:hover{background:var(--panel2)}.note-pdf-btn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}@media (pointer:coarse){.note-pdf-btn{width:44px;height:44px}.note-pdf-mode button{height:44px}}.note-pdf-pages{gap:var(--space-4);padding:var(--space-4);background:var(--panel2);flex-direction:column;display:flex}.note-pdf-page{background:var(--viewer-page);border:1px solid var(--line);width:100%;height:auto;box-shadow:var(--shadow-chip);display:block}.note-pdf-loading{justify-content:center;align-items:center;min-height:160px;display:flex}.note-pdf-note{color:var(--ink);font-size:var(--text-sm);margin:0}.note-pdf-note a,.note-pdf-link{color:var(--acc)}.note-pdf-link{font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.note-html-body{box-sizing:border-box;height:min(480px,55vh);min-height:240px;max-height:85vh;padding:var(--space-4);background:var(--panel2);overflow:hidden}.note-html-grip{background:var(--panel2);border-top:1px solid var(--line);cursor:row-resize;touch-action:none;outline:none;height:20px;position:relative}.note-html-grip:after{content:"";border-radius:var(--radius-xs);background:var(--mut);width:36px;height:4px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.note-html-grip:hover:after,.note-html-grip.dragging:after{background:var(--acc)}.note-html-grip:focus-visible{box-shadow:inset 0 0 0 2px var(--acc)}.note-html-grip:focus-visible:after{background:var(--acc)}@media (pointer:coarse){.note-html-grip{height:28px}}.note-html-frame{border:1px solid var(--line);width:100%;height:100%;box-shadow:var(--shadow-chip);background:var(--viewer-page);display:block}@media (max-width:600px){.note-html-body{height:min(360px,50vh);padding:var(--space-2)}}@media (max-width:520px){.note-pdf-head{flex-wrap:wrap}.note-pdf-head:after{content:"";flex-basis:100%;order:2;height:0}.note-pdf-glyph,.note-pdf-name,.note-pdf-head>button.note-pdf-btn{order:1}.note-pdf-name{flex:1 1 0}.note-pdf-detail,.note-pdf-gap,.note-pdf-mode,.note-pdf-head>a.note-pdf-btn{order:3}}.note-attachment{padding:var(--space-2-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel2);margin:1em 0;display:block;position:relative}.note-media-refused-wrap.is-refused{border-color:var(--red);padding:0}.note-media-refused{align-items:center;gap:var(--space-2-5);padding:var(--space-2-5) var(--space-3);display:flex}.note-media-refused-icon{color:var(--red);flex:none}.note-media-refused-text{font-size:var(--text-sm);color:var(--ink);flex:1;margin:0;line-height:1.4}.note-media-refused-remove{flex:none}@media (max-width:480px){.note-media-refused{flex-wrap:wrap}.note-media-refused-remove{margin-left:auto}}.note-attachment.is-missing{border-style:dashed}.note-attachment.is-missing .note-attachment-icon{background:var(--panel);color:var(--mut);border:1px solid var(--line)}.note-attachment.uploading{border-color:var(--acc)}.note-attachment audio,.note-attachment video{width:100%;display:block}.note-attachment video{border-radius:var(--radius-sm);background:var(--video-bg);max-height:320px}.note-attachment-placeholder{min-height:48px;color:var(--mut);font-size:var(--text-ui);justify-content:center;align-items:center;display:flex}.note-attachment-filename{margin-top:var(--space-1-5);font-size:var(--text-sm);color:var(--mut);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.note-attachment.is-file{padding:var(--space-2-5) var(--space-3);display:block}.note-attachment-row{align-items:center;gap:var(--space-2-5);display:flex}.note-attachment-icon{border-radius:var(--radius-sm);background:var(--accent-soft-bg);width:34px;height:34px;color:var(--accent-soft-fg);flex:none;justify-content:center;align-items:center;display:flex}.note-attachment-meta{gap:var(--space-0-5);flex-direction:column;flex:auto;min-width:0;display:flex}.note-attachment-name{font-size:var(--text-ui);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.note-attachment-detail{font-size:var(--text-sm);color:var(--mut)}.item-file-card{margin:0 0 var(--space-3)}.item-file-card .btn{align-items:center;gap:var(--space-1);flex:none;text-decoration:none;display:inline-flex}.item-file-card-note{white-space:normal;margin-bottom:0}.note-attachment-open{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2-5);border:1px solid var(--line);border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--acc);background:var(--panel);flex:none;text-decoration:none;display:inline-flex}.note-attachment-open:hover{background:var(--accent-soft-bg);border-color:var(--acc)}.note-attachment-open:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.note-attachment.is-file .note-media-remove{flex:none;position:static}@media (max-width:520px){.note-attachment-row{flex-wrap:wrap}.note-attachment-meta{flex-basis:100%;order:2}.note-attachment-open{order:3}}.note-media-body{position:relative}.note-media-uploading-overlay{background:var(--media-busy-scrim);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.note-media-remove{z-index:1;background:var(--media-btn-bg);width:26px;height:26px;color:var(--media-btn-fg);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:6px;right:6px}.note-media-remove:hover{background:var(--media-btn-bg-hover)}.note-media-remove:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.note-spin{border:2px solid var(--line);border-top-color:var(--acc);border-radius:50%;width:20px;height:20px;animation:1s linear infinite sp;display:inline-block}.note-media-uploading-overlay .note-spin{border-color:var(--spinner-track);border-top-color:var(--spinner-head)}.app-shell{flex-direction:column;display:flex;position:relative;overflow:hidden}.workspace{flex:1;grid-template-columns:236px minmax(0,1fr);min-height:0;display:grid}.workspace>main{min-width:0;overflow-y:auto}.workspace>main.file-over{box-shadow:inset 0 0 0 2px var(--acc)}.drop-banner{z-index:3;pointer-events:none;height:0;position:sticky;top:0}.drop-banner-inner{top:var(--space-2);left:var(--space-6);right:var(--space-6);align-items:center;gap:var(--space-2);padding:var(--space-2-5) var(--space-3);border-radius:var(--radius-md);background:var(--accent-soft-bg);color:var(--accent-soft-fg);font-size:var(--text-ui);border:1px solid var(--acc);box-shadow:var(--shadow-menu);font-weight:400;display:flex;position:absolute}.drop-banner .drop-where{align-items:center;gap:var(--space-1);font-weight:600;display:inline-flex}.notebooks{background:var(--side);border-right:1px solid var(--line);--trash-strip:53px;min-height:0;scroll-padding-block:48px calc(var(--trash-strip) + 4px);flex-direction:column;display:flex;overflow-y:auto}@media (pointer:coarse){.notebooks{--trash-strip:67px}}.nb-head{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-2) var(--space-2) var(--space-3-5);background:var(--side);z-index:1;display:flex;position:sticky;top:0}.nb-head h2{font-size:var(--text-xs);letter-spacing:.09em;text-transform:uppercase;color:var(--mut);flex:1;margin:0;font-weight:600}.nb-head svg{color:var(--mut)}.nb-head .k-notebook{color:var(--ico-notebook)}.nb-add,.nb-close{border-radius:var(--radius-md);width:24px;height:24px;color:var(--mut);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.nb-add:hover,.nb-close:hover{background:var(--panel2);color:var(--ink)}.nb-add:disabled{opacity:.5;cursor:default}.nb-close{display:none}.nb-empty{align-items:flex-start;gap:var(--space-2);margin:var(--space-1) var(--space-3-5) var(--space-3-5);font-size:var(--text-ui);color:var(--mut);flex-direction:column;line-height:1.5;display:flex}.nb-error{color:var(--coral-soft-fg)}.nb-error svg{color:var(--red);flex:none}.nb-tree{padding:0 var(--space-1-5) var(--space-4);flex-direction:column;gap:1px;display:flex}.nb-row{align-items:center;gap:var(--space-1-5);min-height:30px;padding-right:var(--space-1);border-radius:var(--radius-md);cursor:pointer;color:var(--ink);font-size:var(--text-body);-webkit-user-select:none;user-select:none;display:flex}.nb-row:hover{background:var(--panel2)}.nb-row.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);font-weight:500}.nb-row.dragging{opacity:.45}.nb-row.drop{box-shadow:inset 0 0 0 2px var(--acc);background:var(--accent-soft-bg)}.nb-row[aria-busy=true]{opacity:.6;cursor:progress}.nb-row.candrop{box-shadow:inset 0 0 0 1px var(--acc)}.nb-row.nodrop{opacity:.45;cursor:not-allowed}.nb-twist{width:18px;height:18px;color:var(--mut);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;transition:transform .12s;display:grid}.nb-twist.open{transform:rotate(90deg)}.nb-icon{color:var(--ico-notebook);flex:none}.nb-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.nb-rename{min-width:0;font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--acc);border-radius:var(--radius-sm);padding:var(--space-0-5) var(--space-1-5);flex:1}.nb-actions{flex:none;gap:1px;display:none}.nb-row:hover .nb-actions,.nb-row:focus-within .nb-actions{display:flex}.nb-actions button{border-radius:var(--radius-sm);width:22px;height:22px;color:var(--mut);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.nb-actions button:hover{background:var(--panel);color:var(--ink)}.nb-subhead{justify-content:flex-end;padding-top:0}.nb-subtree{align-items:center;gap:var(--space-1-5);min-width:0;min-height:24px;font-size:var(--text-sm);color:var(--ink);cursor:pointer;flex:1;line-height:1.3;display:inline-flex}.nb-subtree input{width:16px;height:16px;accent-color:var(--acc);cursor:pointer;flex:none;margin:0}.nb-moving{align-items:center;gap:var(--space-1-5);margin:0 var(--space-2-5) var(--space-2);padding:var(--space-2) var(--space-2);border-radius:var(--radius-md);background:var(--accent-soft-bg);color:var(--accent-soft-fg);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.nb-moving svg{flex:none}.nb-moving-msg{flex:1;min-width:120px;line-height:1.35}.nb-panel{flex-direction:column;flex:none;display:flex}.tg-panel{border-top:1px solid var(--line);flex-direction:column;flex:none;display:flex}.tg-clear{font-size:var(--text-xs);padding:var(--space-0-5) var(--space-2);flex:none}.tg-list{padding:0 var(--space-1-5) var(--space-4);flex-direction:column;gap:1px;display:flex}.tg-row{align-items:center;gap:var(--space-1-5);min-height:28px;padding:0 var(--space-1) 0 var(--space-2);border-radius:var(--radius-md);cursor:pointer;color:var(--ink);font-size:var(--text-ui);-webkit-user-select:none;user-select:none;display:flex}.tg-row:hover{background:var(--panel2)}.tg-row.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);font-weight:500}.tg-row.dragging{opacity:.45}.tg-row.drop{box-shadow:inset 0 0 0 2px var(--acc);background:var(--accent-soft-bg)}.tg-row[aria-busy=true]{opacity:.6;cursor:progress}.tg-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tg-count{font-size:var(--text-xs);color:var(--mut);font-variant-numeric:tabular-nums;padding:0 var(--space-1);flex:none}.tg-row.on .tg-count{color:currentColor;opacity:.75}.tg-actions{flex:none;gap:1px;display:none}.tg-row:hover .tg-actions,.tg-row:focus-within .tg-actions{display:flex}.tg-row:hover .tg-count,.tg-row:focus-within .tg-count{display:none}.tg-actions button{border-radius:var(--radius-sm);width:22px;height:22px;color:var(--mut);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.tg-actions button:hover{background:var(--panel);color:var(--ink)}.nb-scrim,.nb-toggle{display:none}@media (max-width:900px){.workspace{grid-template-columns:minmax(0,1fr)}.notebooks{z-index:7;width:min(280px,82vw);box-shadow:var(--shadow-drawer);visibility:hidden;transition:transform .18s,visibility 0s linear .18s;position:absolute;inset:0 auto 0 0;transform:translate(-100%)}.notebooks.open{visibility:visible;transition:transform .18s,visibility;transform:none}.nb-close{display:grid}.nb-toggle{display:inline-flex}.nb-scrim{z-index:6;background:var(--drawer-scrim);opacity:0;pointer-events:none;transition:opacity .18s;display:block;position:absolute;inset:0}.nb-scrim.on{opacity:1;pointer-events:auto}.workspace{position:relative}}@media (prefers-reduced-motion:reduce){.notebooks,.nb-scrim,.nb-twist{transition:none!important}}.trash-entry{z-index:1;background:var(--side);border-top:1px solid var(--line);padding:var(--space-2) var(--space-1-5) var(--space-3-5);margin-top:auto;position:sticky;bottom:0}.trash-open{align-items:center;gap:var(--space-2);width:100%;min-height:30px;padding:0 var(--space-2);border-radius:var(--radius-md);color:var(--ink);font-size:var(--text-ui);cursor:pointer;text-align:left;background:0 0;border:0;font-weight:500;display:flex}@media (pointer:coarse){.trash-open{min-height:44px}}.trash-open:hover{background:var(--panel2)}.trash-open.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg)}.trash-open svg{color:var(--mut);flex:none}.trash-open.on svg{color:currentColor}.trashview{display:block}.trash-head{align-items:baseline;gap:var(--space-2-5) var(--space-3-5);padding-bottom:var(--space-3-5);margin-bottom:var(--space-3-5);border-bottom:1px solid var(--line);flex-wrap:wrap;display:flex}.trash-head h2{font-size:var(--text-lg);align-items:center;margin:0;font-weight:700;display:flex}.trash-note{color:var(--mut);font-size:var(--text-sm);margin:0}.trash-actions{gap:var(--space-2);flex-wrap:wrap;margin-left:auto;display:flex}.trash-page-note{margin:0 0 var(--space-1-5);color:var(--mut);font-size:var(--text-sm)}.trash-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.trash-row{align-items:center;gap:var(--space-3);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3-5);display:flex}.trash-kind{color:var(--mut);flex:none;place-items:center;display:grid}.trash-title{gap:var(--space-0-5);flex-direction:column;flex:1;min-width:0;display:flex}.trash-title strong{font-size:var(--text-body);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.trash-meta{font-size:var(--text-sm);color:var(--mut)}.trash-row-actions{gap:var(--space-1-5);flex:none;display:flex}.btn.ghost.danger{color:var(--red);border-color:var(--red)}.btn.ghost.danger:hover:not(:disabled){background:var(--red);color:var(--on-danger)}.btn.ghost.danger:disabled,.btn.ghost.danger[aria-disabled=true]:not([aria-busy=true]){color:var(--mut);border-color:var(--line)}.toast-action{margin-left:var(--space-3-5);padding:var(--space-1) var(--space-3);border-radius:var(--radius-md);cursor:pointer;color:inherit;font:inherit;font-size:var(--text-ui);background:0 0;border:1px solid;font-weight:700}.toast-action:hover{background:var(--toast-action-hover)}.toast-action:focus-visible{outline-offset:2px;outline:2px solid}@media (max-width:600px){.trash-row{flex-wrap:wrap}.trash-row-actions{justify-content:flex-end;width:100%}}.note-content .tableWrapper{max-width:100%;margin:0 0 .8em;overflow-x:auto}.note-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.note-content .ProseMirror td,.note-content .ProseMirror th{border:1px solid var(--table-line);padding:var(--space-1-5) var(--space-2);vertical-align:top;box-sizing:border-box;min-width:1em;position:relative}.note-content .ProseMirror th{background:var(--panel2);text-align:left;font-weight:650}.note-content .ProseMirror td>p:last-child,.note-content .ProseMirror th>p:last-child{margin-bottom:0}.note-content .ProseMirror .selectedCell:after{content:"";background:var(--accent-soft-bg);opacity:.55;pointer-events:none;position:absolute;inset:0}.note-content .ProseMirror .column-resize-handle{background:var(--acc);pointer-events:none;z-index:2;width:4px;position:absolute;top:0;bottom:0;right:-2px}.note-content .ProseMirror.resize-cursor{cursor:col-resize}.note-toolbar-table{border-top:0;border-bottom:1px solid var(--line);background:var(--bg);padding-top:var(--space-1-5);padding-bottom:var(--space-1-5)}.version-list{margin:var(--space-2-5) 0 0;max-height:min(52vh,420px);padding:0;list-style:none;overflow-y:auto}.version-row{gap:var(--space-3);padding:var(--space-2) var(--space-0-5);border-top:1px solid var(--line);justify-content:space-between;align-items:flex-start;display:flex}.version-row:first-child{border-top:0}.version-meta{gap:var(--space-0-5);flex-direction:column;min-width:0;display:flex}.version-when{font-size:var(--text-ui);color:var(--ink);font-weight:650}.version-title{font-size:var(--text-sm);color:var(--mut)}.version-excerpt{font-size:var(--text-sm);color:var(--mut);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.version-row .btn{flex:none}@media (max-width:520px){.version-row{gap:var(--space-1-5);flex-direction:column}.version-row .btn{align-self:flex-start}}.note-raw-html,.note-locked{padding:var(--space-2-5) var(--space-3);border-radius:var(--radius-md);background:var(--panel2);border-left:3px solid var(--table-line);margin:1em 0}.note-opaque-label{font-size:var(--text-sm);letter-spacing:.03em;color:var(--mut);margin-bottom:var(--space-1-5);font-weight:700}.note-opaque-body{color:var(--ink);font-size:var(--text-body);line-height:1.55;overflow-x:auto}.note-opaque-body>:first-child{margin-top:0}.note-opaque-body>:last-child{margin-bottom:0}.note-opaque-body table{border-collapse:collapse}.note-opaque-body td,.note-opaque-body th{border:1px solid var(--table-line);padding:var(--space-1) var(--space-2)}.note-opaque-caveat{margin-top:var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm);background:var(--warn-soft-bg);color:var(--warn-soft-fg)}.note-math{color:var(--ink);border-radius:var(--radius-xs)}.note-math-block{margin:var(--space-2) 0;padding:var(--space-1) 0;text-align:center;display:block;overflow:auto hidden}.note-math-body[data-state=loading],.note-math-body[data-state=error],.note-math-body[data-state=too-long]{font-family:var(--font-mono);background:var(--code-block-bg);color:var(--code-block-fg);padding:var(--space-0-5) var(--space-1);border-radius:var(--radius-xs);white-space:pre-wrap;overflow-wrap:anywhere;font-size:.92em}.note-math-body[data-state=error]{-webkit-text-decoration:underline wavy var(--red);text-decoration:underline wavy var(--red);text-decoration-skip-ink:none}.note-math.ProseMirror-selectednode{outline:2px solid var(--acc);outline-offset:1px}.formula-latex{box-sizing:border-box;resize:vertical;background:var(--panel);border:1px solid var(--table-line);border-radius:var(--radius-md);width:100%;min-height:64px;color:var(--ink);padding:var(--space-2) var(--space-2-5);font:var(--text-body)/1.5 var(--font-mono)}.formula-label{font-size:var(--text-sm);color:var(--mut);margin:var(--space-3) 0 var(--space-1-5);font-weight:600;display:block}.formula-preview{min-height:56px;padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--ink);justify-content:center;align-items:center;display:flex;overflow-x:auto}.formula-preview[data-state=error],.formula-preview[data-state=too-long],.formula-preview[data-state=loading]{font-family:var(--font-mono);font-size:var(--text-ui);color:var(--mut)}.formula-error{color:var(--red);font-size:var(--text-sm);margin:var(--space-1-5) 0 0}.formula-spoken{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.note-math-block .katex-display{margin:0}.note-math-block[data-overflow=more]{-webkit-mask-image:linear-gradient(to right,var(--ink) calc(100% - 40px),transparent);-webkit-mask-image:linear-gradient(to right,var(--ink) calc(100% - 40px),transparent);mask-image:linear-gradient(to right,var(--ink) calc(100% - 40px),transparent)}.note-locked-hint{margin-top:var(--space-1-5);font-size:var(--text-sm);color:var(--ink)}.note-locked-cipher{margin-top:var(--space-1);max-height:5.5em;font-family:var(--font-mono);font-size:var(--text-sm);color:var(--mut);word-break:break-all;display:block;overflow:auto}.tmenu-wrap{display:inline-flex;position:relative}.tmenu{z-index:41;gap:var(--space-1);padding:var(--space-1-5);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-menu);color:var(--ink);overscroll-behavior:contain;margin:0;display:flex;position:fixed;bottom:auto;right:auto;overflow:auto}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .tmenu{border-color:var(--table-line)}}:root[data-theme=dark] .tmenu{border-color:var(--table-line)}.tmenu-stack>*{flex-shrink:0}.tsep{width:1px;height:var(--space-5);background:var(--line);margin-inline:var(--space-0-5);flex:none;align-self:center}.tbtn-u{text-decoration:underline}.tmenu-trigger{align-items:center;gap:var(--space-1);display:inline-flex}.tmenu-trigger svg{display:block}.tmenu-chev{opacity:.7}.tmenu-face{font-size:var(--text-ui)}.tmenu-style{min-width:var(--space-12);text-align:left}.tmenu-aa{box-shadow:inset 0 calc(-1 * var(--space-0-5)) 0 var(--aa-bar,var(--ink));font-weight:600}.tmenu-stack.tmenu-panel{min-width:240px}.tmenu-item{align-items:center;gap:var(--space-2);text-align:left;border-radius:var(--radius-md);width:100%;padding:var(--space-1-5) var(--space-2-5);color:var(--ink);font:inherit;font-size:var(--text-ui);cursor:pointer;background:0 0;border:0;display:flex}.tmenu-item:hover{background:var(--panel2)}.tmenu-item.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg)}.tmenu-item:focus-visible,.tmenu-chip:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.tmenu-item:disabled{opacity:.5;cursor:default;background:0 0}.tmenu-ck,.tmenu-ig{width:var(--space-4);flex:none;display:inline-flex}@media (hover:none) and (pointer:coarse){.tmenu-item kbd{display:none}}.tmenu-it{flex:1}.tmenu-item kbd{font:var(--text-sm)/1 var(--font-sans);color:var(--mut);white-space:nowrap}.tmenu-item.on kbd{color:inherit}.tmenu-sample{color:var(--mut);margin-left:var(--space-1-5)}.tmenu-h1{font-weight:700;font-size:var(--text-xl)}.tmenu-h2{font-weight:700;font-size:var(--text-lg)}.tmenu-h3,.tmenu-h4{font-weight:700}.tmenu-head{font-size:var(--text-sm);color:var(--mut);padding:var(--space-1) var(--space-2-5) 0;font-weight:600}.tmenu-note{font-weight:400}.tmenu-rule{background:var(--line);height:1px;margin:var(--space-1) 0}.tmenu-col{gap:var(--space-0-5);flex-direction:column;display:flex}.tmenu-row{gap:var(--space-1);padding:0 var(--space-1-5) var(--space-1);flex-wrap:wrap;display:flex}.tmenu-chip{min-width:var(--space-8);padding:var(--space-1-5) var(--space-2);border-radius:var(--radius-md);color:var(--ink);font:inherit;font-size:var(--text-ui);cursor:pointer;background:0 0;border:0}.tmenu-chip:hover{background:var(--panel2)}.tmenu-chip.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);box-shadow:inset 0 calc(-1 * var(--space-0-5)) 0 var(--acc);font-weight:700}@media (max-width:520px){.tmenu{flex-wrap:wrap;max-width:min(70vw,240px)}}.swatch{border:1px solid var(--line);border-radius:var(--radius-md);cursor:pointer;width:26px;height:26px;font-weight:800;font-size:var(--text-ui);background:var(--panel);justify-content:center;align-items:center;padding:0;font-family:inherit;display:flex}.swatch:hover{border-color:var(--acc)}.swatch:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.swatch.none{background:linear-gradient(to top right,transparent calc(50% - 1px),var(--mut),transparent calc(50% + 1px));color:var(--mut)}.swatch span{border-radius:var(--radius-sm);width:100%;height:100%;display:block}.swatch.on{border-color:var(--acc);box-shadow:inset 0 0 0 2px var(--acc)}.note-content .ProseMirror mark{border-radius:var(--radius-xs);padding:0 var(--space-0-5);color:var(--mark-fg)}.import-main{flex:1;min-height:0;overflow-y:auto}.importpage{max-width:920px;padding:var(--space-6) var(--space-6) var(--space-16);margin:0 auto}.importpage h2{font-size:var(--text-xl);margin:0 0 var(--space-2)}.importpage h3{font-size:var(--text-lg);margin:var(--space-7) 0 var(--space-1-5)}.import-lede{color:var(--ink);font-size:var(--text-body);margin:0 0 var(--space-4);max-width:68ch;line-height:1.55}.import-drop{border:2px dashed var(--line);border-radius:var(--radius-xl);background:var(--panel);padding:var(--space-8) var(--space-5);align-items:center;gap:var(--space-2-5);text-align:center;flex-direction:column;display:flex}.import-drop.is-over{border-color:var(--acc);background:var(--accent-soft-bg)}.import-drop-icon{color:var(--mut)}.import-drop-title{color:var(--ink);margin:0;font-weight:700}.import-drop-sub{color:var(--mut);font-size:var(--text-ui);margin:0}.import-drop-actions{gap:var(--space-2);flex-wrap:wrap;justify-content:center;display:flex}.import-drop-actions .btn{align-items:center;gap:var(--space-1-5);display:inline-flex}.import-resume{gap:var(--space-2);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-4) var(--space-5);margin:0 0 var(--space-6);display:grid}.import-resume p{margin:0}.import-resume-title{color:var(--ink);gap:var(--space-2);align-items:center;font-weight:700;display:flex}.import-resume progress{width:100%;height:8px;accent-color:var(--acc)}.import-resume-meta{color:var(--mut);font-size:var(--text-sm)}.import-resume a{color:var(--acc);font-weight:600}.import-receipt-head{gap:var(--space-2) var(--space-3);flex-wrap:wrap;justify-content:space-between;align-items:baseline;display:flex}.import-receipt-eq{margin:var(--space-3) 0 var(--space-1);font-size:var(--text-2xl);color:var(--ink);font-variant-numeric:tabular-nums;text-wrap:balance;font-weight:800}.import-status-chip{gap:var(--space-1-5);border-radius:var(--radius-md);padding:var(--space-1) var(--space-2-5);font-size:var(--text-sm);align-items:center;font-weight:700;display:inline-flex}.import-status-chip.tone-ok{background:var(--ok-bg);color:var(--ok-fg)}.import-status-chip.tone-caveat{background:var(--warn-soft-bg);color:var(--warn-soft-fg)}.import-status-chip.tone-info{background:var(--info-bg);color:var(--info-fg)}.import-receipt-actions{gap:var(--space-2);margin-top:var(--space-6);flex-wrap:wrap;display:flex}.import-receipt-actions .btn{align-items:center;gap:var(--space-1-5);text-decoration:none;display:inline-flex}.import-run a{color:var(--acc);font-weight:600}.import-done{gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.import-run a.btn{color:var(--acc-fg);border:1px solid #0000;font-weight:700;line-height:normal;text-decoration:none;display:inline-block}.import-done+.hint,.import-run>button+.hint{margin-top:var(--space-2)}.import-guide{margin-top:var(--space-4);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2-5) var(--space-3-5)}.import-guide summary{cursor:pointer;min-height:24px;font-weight:600}.import-guide ol{margin:var(--space-2-5) 0;padding-left:var(--space-5);line-height:1.6}.import-guide-intro{margin:var(--space-2-5) 0 0}.import-guide .import-guide-steps{gap:var(--space-3);display:grid}.import-guide-shot{margin-top:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);max-width:min(100%,360px);height:auto;display:block}.import-guide .import-line p{margin:0}.import-guide-foot{margin:var(--space-2) 0 0}.import-routes{margin:0 0 var(--space-7)}.import-routes .import-lede{margin-bottom:var(--space-3)}.import-routes .import-guide{margin-top:0}.import-route-grid{gap:var(--space-3);margin:var(--space-3) 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));padding:0;list-style:none;display:grid}.import-route{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-4) var(--space-5);gap:var(--space-1-5);align-content:start;display:grid}.import-route p{margin:0;line-height:1.55}.importpage .import-route h3{font-size:var(--text-body);margin:0}.import-cmd{gap:var(--space-2);background:var(--code-block-bg);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-1-5) var(--space-1-5) var(--space-1-5) var(--space-3);margin:var(--space-2) 0;align-items:center;display:flex}.import-cmd code{overflow-wrap:anywhere;min-width:0;font-size:var(--text-sm);color:var(--code-block-fg);padding:var(--space-1) 0;-webkit-user-select:all;user-select:all;flex:1}.import-cmd .btn{justify-content:center;align-items:center;gap:var(--space-1-5);display:inline-flex}@media (max-width:480px){.import-cmd{padding:var(--space-2-5) var(--space-3);flex-direction:column;align-items:stretch}.import-cmd .btn{min-height:44px}}.import-routes .hint{max-width:68ch;margin:0;line-height:1.55}.import-routes a{color:var(--acc)}.import-run>.import-safe{margin:var(--space-2) 0 0;color:var(--ink);font-size:var(--text-ui);max-width:68ch}.import-run-progress{gap:var(--space-1-5);margin:var(--space-3) 0 var(--space-1);display:grid}.import-progress-row{justify-content:space-between;gap:var(--space-3);font-size:var(--text-ui);flex-wrap:wrap;display:flex}.import-progress-row span:first-child{color:var(--ink);overflow-wrap:anywhere;font-weight:600}.import-progress-row span:last-child{color:var(--mut);font-variant-numeric:tabular-nums}.import-run-progress progress{width:100%;height:8px;accent-color:var(--acc)}.import-progress-now{color:var(--mut);font-size:var(--text-ui);overflow-wrap:anywhere;margin:0}.import-progress-eta{color:var(--mut);font-size:var(--text-ui);font-variant-numeric:tabular-nums;margin:0}.export-scope{gap:var(--space-3);margin:var(--space-7) 0 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));display:grid}.importpage .export-scope h3{font-size:var(--text-body);margin:0}.export-list{gap:var(--space-1-5);margin:0;padding:0;line-height:1.5;list-style:none;display:grid}.export-list li{gap:var(--space-2);grid-template-columns:auto minmax(0,1fr);align-items:start;display:grid}.export-list .export-yes{color:var(--ok-fg);margin-top:var(--space-0-5)}.export-list-out li{margin-left:var(--space-4);color:var(--mut);list-style:outside;display:list-item}.export-formats{margin:var(--space-1-5) 0 var(--space-3);gap:var(--space-1-5);padding:0;list-style:none;display:grid}.export-formats li{gap:0 var(--space-2);flex-wrap:wrap;line-height:1.5;display:flex}.export-formats span{color:var(--mut)}.export-option{gap:var(--space-3);background:var(--panel);border:1px solid var(--table-line);border-radius:var(--radius-lg);max-width:68ch;padding:var(--space-3-5) var(--space-4);cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;line-height:1.5;display:grid}.export-option:has(input:checked){border-color:var(--acc);background:var(--accent-soft-bg)}.export-option:has(input:focus-visible){outline:2px solid var(--acc);outline-offset:2px}.export-page :is(h2,h3)[tabindex="-1"]:focus-visible{outline:none}.importpage .export-refused-head{margin:0 0 var(--space-1-5);font-size:var(--text-body)}.export-option input{width:20px;height:20px;margin:var(--space-0-5) 0 0;accent-color:var(--acc)}.export-option>span{gap:var(--space-0-5);display:grid}.export-option-hint{color:var(--mut);font-size:var(--text-ui)}.export-go{margin-top:var(--space-5);gap:var(--space-2);justify-items:start;display:grid}.export-size{font-size:var(--text-lg);color:var(--ink);font-variant-numeric:tabular-nums;margin:0;font-weight:700}.importpage .export-go-hint{margin:0}.export-start{align-items:center;gap:var(--space-1-5);min-height:44px;display:inline-flex}.export-refused{max-width:68ch;margin:0}.importpage .export-app{font-size:var(--text-body);margin:0}.export-scope .import-route{border-color:var(--table-line)}.export-refused-actions{margin-top:var(--space-2-5)}.export-refused-alt{margin:var(--space-2) 0 0}.export-stop-confirm{max-width:68ch}.export-saved-as{margin:0 0 var(--space-0-5);color:var(--ink);font-weight:600}.export-page .export-open-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}@media (prefers-reduced-motion:reduce){.export-page progress:indeterminate{appearance:none;border-radius:var(--radius-sm);background:var(--table-line);border:0}}.import-files{margin:var(--space-3-5) 0;gap:var(--space-2-5);flex-direction:column;padding:0;list-style:none;display:flex}.import-files li{gap:var(--space-1) var(--space-3);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.import-files progress{width:100%;height:8px;accent-color:var(--acc);grid-column:1/-1}.import-file-name{overflow-wrap:anywhere;font-weight:600}.import-file-meta{color:var(--mut);font-size:var(--text-sm);white-space:nowrap}.import-results-head{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.import-totals{gap:var(--space-2-5);margin:var(--space-3-5) 0;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.import-totals div{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2-5) var(--space-3-5)}.import-totals dt{color:var(--mut);font-size:var(--text-sm);font-weight:600}.import-totals dd{margin:var(--space-0-5) 0 0;font-size:var(--text-2xl);color:var(--ink);font-variant-numeric:tabular-nums;font-weight:800}.import-line{border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);margin:var(--space-2) 0;font-size:var(--text-body);line-height:1.5}.import-line p{margin:0}.import-line:empty{background:0 0;margin:0;padding:0}.import-line.tone-caveat{background:var(--warn-soft-bg);color:var(--warn-soft-fg)}.import-line.tone-info{background:var(--info-bg);color:var(--info-fg)}.import-line.tone-ok{background:var(--ok-bg);color:var(--ok-fg)}.import-line details{margin-top:var(--space-1-5)}.import-line summary{cursor:pointer;min-height:24px;font-weight:600}.import-line details ul{margin:var(--space-1-5) 0 0;padding-left:var(--space-4)}.import-line .hint{color:inherit;opacity:.8;margin:0}.import-caveats{margin:0;padding:0;list-style:none}.import-table-wrap{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);overflow-x:auto}.import-table{border-collapse:collapse;width:100%;font-size:var(--text-body)}.import-table th{text-align:left;font-size:var(--text-sm);color:var(--mut);padding:var(--space-2) var(--space-2-5);border-bottom:1px solid var(--line);font-weight:600}.import-table td{padding:var(--space-1-5) var(--space-2-5);border-bottom:1px solid var(--line);vertical-align:middle}.import-table tr:last-child td{border-bottom:0}.import-table .num{font-variant-numeric:tabular-nums;white-space:nowrap}.import-table .hint{margin:0}.import-from{font-size:var(--text-sm);overflow-wrap:anywhere;min-width:160px}.import-input{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-md);width:100%;min-width:140px;min-height:32px;color:var(--ink);padding:var(--space-1) var(--space-2);font:inherit}.load-more{align-items:center;gap:var(--space-2-5);padding:0 var(--space-6) var(--space-10);flex-direction:column;display:flex}.load-more-btn{justify-content:center;align-items:center;min-width:180px;min-height:40px;display:inline-flex}@media (pointer:coarse){.load-more-btn,.empty-actions .btn{min-height:44px}}.btn.ghost.load-more-btn{border-color:var(--table-line)}.empty-question{align-items:center;gap:var(--space-3);flex-direction:column;display:flex}.empty-actions{justify-content:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.empty-question>span{text-wrap:balance;overflow-wrap:anywhere;max-width:60ch}.load-more-btn[aria-busy=true]{opacity:1;cursor:progress;color:var(--mut)}.load-more-btn .spin{border-color:var(--line);border-top-color:var(--ink)}.load-more-error{color:var(--red);font-size:var(--text-ui);text-align:center;max-width:60ch;margin:0}.load-more-end{color:var(--mut);font-size:var(--text-ui);margin:0}.load-more-end:focus-visible{outline:2px solid var(--acc);outline-offset:4px;border-radius:var(--radius-xs)}.load-more-sentinel{width:100%;height:1px}.nb-crumbs ol{align-items:center;gap:0 var(--space-0-5);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.nb-crumbs li{align-items:center;min-width:0;display:inline-flex}.nb-crumbs li:first-child .nb-crumb{margin-left:calc(-1 * var(--space-1))}.nb-crumb{min-width:24px;min-height:24px;padding:var(--space-0-5) var(--space-1);border-radius:var(--radius-xs);font:inherit;text-align:left;overflow-wrap:anywhere;color:var(--acc);cursor:pointer;background:0 0;border:0;line-height:1.35}.nb-crumb:hover{text-decoration:underline}.nb-crumb[aria-current=page]{color:var(--ink);font-weight:600}.nb-crumb-hidden{color:var(--mut);cursor:default;font-style:italic}.nb-crumb-hidden:hover{text-decoration:none}.nb-crumb-sep{color:var(--mut);padding:0 var(--space-0-5)}.note-kv{margin:0 var(--space-10) var(--space-4) 0}@media (max-width:520px){.note-kv{grid-template-columns:auto 1fr}}.legal-page{background:var(--bg);min-height:100vh;color:var(--ink);flex-direction:column;display:flex}.legal-doc{width:100%;max-width:760px;padding:var(--space-10) var(--space-5) var(--space-6);line-height:1.6;font-size:var(--text-lg);flex:1;margin:0 auto}.legal-doc h1{font-size:clamp(var(--text-2xl),5vw,var(--text-display));margin:0 0 var(--space-4);overflow-wrap:anywhere;min-width:0;line-height:1.15}.legal-body{max-width:68ch}.legal-body h2{font-size:var(--text-xl);margin:var(--space-8) 0 var(--space-2)}.legal-body h3{font-size:var(--text-lg);margin:var(--space-6) 0 var(--space-1-5)}.legal-body a{color:var(--acc)}.legal-body table{border-collapse:collapse;margin:var(--space-3) 0;font-size:var(--text-body);display:block;overflow-x:auto}.legal-body th,.legal-body td{border:1px solid var(--line);padding:var(--space-1-5) var(--space-2-5);text-align:left;vertical-align:top}.legal-body th{background:var(--panel2)}.legal-body code{background:var(--panel2);padding:var(--space-0-5) var(--space-1);border-radius:var(--radius-xs);font-size:.92em}.legal-body pre{background:var(--panel2);padding:var(--space-3);border-radius:var(--radius-md);overflow-x:auto}.legal-body blockquote{margin:var(--space-3) 0;padding:var(--space-1) var(--space-3-5);border-left:3px solid var(--line);color:var(--mut)}.signin-page{background:var(--bg);min-height:100vh;color:var(--ink);flex-direction:column;display:flex}.signin-main{padding:clamp(var(--space-8),14vh,var(--space-16)) var(--space-4) var(--space-8);flex:1;justify-content:center;align-items:flex-start;display:flex}.signin-card{background:var(--side);border:1px solid var(--line);border-radius:var(--radius-xl);width:100%;max-width:420px;padding:var(--space-7) var(--space-7) var(--space-6);box-sizing:border-box}.signin-brand{align-items:center;gap:var(--space-2);margin:0 0 var(--space-5);font-weight:700;font-size:var(--text-lg);color:var(--ink);display:flex}.signin-card h1{font-size:var(--text-2xl);margin:0 0 var(--space-2);overflow-wrap:anywhere;line-height:1.25}.signin-what{color:var(--mut);margin:0 0 var(--space-5);font-size:var(--text-ui)}.signin-what a{color:var(--acc)}.signin-full{box-sizing:border-box;width:100%;min-height:44px}.signin-or{align-items:center;gap:var(--space-3);color:var(--mut);font-size:var(--text-sm);margin:var(--space-4) 0;display:flex}.signin-or:before,.signin-or:after{content:"";border-top:1px solid var(--line);flex:1}.signin-form{margin:0}.signin-form input{box-sizing:border-box;min-height:44px;margin-bottom:var(--space-2-5)}@media (max-width:480px){.signin-card{padding:var(--space-6) var(--space-5) var(--space-5)}}.linkbtn{min-height:44px;font:inherit;font-size:var(--text-ui);color:var(--acc);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.linkbtn:hover{filter:brightness(1.1)}.join-hint{margin:calc(-1 * var(--space-1-5)) 0 var(--space-3)}.join-alt{margin:var(--space-3) 0 0;color:var(--mut);font-size:var(--text-ui);text-align:center}.join-alt-stack{flex-direction:column;align-items:center;gap:0;display:flex}.signin-invite{margin:var(--space-4) 0 0;text-align:center;color:var(--mut);font-size:var(--text-ui)}.signin-invite a{color:var(--acc);min-height:var(--space-6);align-items:center;display:inline-flex}.signin-card h1{text-wrap:balance}.signin-card h1[tabindex="-1"]:focus-visible{outline:none}.join-done{color:var(--ink)}.admin-page{max-width:880px;padding:var(--space-6) var(--space-5) var(--space-8);box-sizing:border-box;margin:0 auto}.admin-page h1{font-size:var(--text-2xl);margin:0 0 var(--space-2)}.admin-page h2{font-size:var(--text-lg);margin:var(--space-6) 0 var(--space-3)}.admin-panel{background:var(--side);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-2) var(--space-5) var(--space-5);margin-top:var(--space-5)}.admin-panel h2{margin-top:var(--space-4)}.admin-create{gap:var(--space-3);grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;display:grid}.admin-create .field{margin:0}.admin-create .btn{min-height:40px}.admin-result{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--line)}.admin-result:focus{outline:2px solid var(--acc);outline-offset:4px}.admin-code{align-items:baseline;gap:var(--space-3);margin:0 0 var(--space-2);flex-wrap:wrap;font-weight:600;display:flex}.admin-code code{font-family:var(--font-mono);font-size:var(--text-xl);letter-spacing:.06em}.admin-once{margin:0 0 var(--space-3)}.admin-message{-webkit-user-select:all;user-select:all;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3);font-family:inherit;font-size:var(--text-ui);margin:0 0 var(--space-3)}.takedown-form{grid-template-columns:minmax(0,1.6fr) minmax(0,1.2fr) minmax(14rem,1.2fr) auto;align-items:start}.takedown-form .btn{margin-top:calc(var(--text-sm) * 1.5 + var(--space-1-5))}.takedown-err{color:var(--red);font-size:var(--text-sm);margin:var(--space-1-5) 0 0}.takedown-preview{min-height:1.45em;margin:var(--space-3) 0 0;color:var(--mut);font-size:var(--text-ui)}.takedown-preview.bad{color:var(--red)}.admin-page .field input::placeholder,.admin-page .field textarea::placeholder{color:var(--mut)}.takedown-owner{overflow-wrap:anywhere}.takedown-fullid{display:none}.takedown-form input,.takedown-form .btn{box-sizing:border-box;min-height:44px}.admin-page input.mono,.takedown-list code{font-family:var(--font-mono);font-size:var(--text-ui)}.takedown-kind{text-transform:capitalize}.takedown-lede{color:var(--ink)}@media (pointer:coarse){.takedown-list .btn.sm{min-height:44px}}.admin-page .field textarea{box-sizing:border-box;background:var(--panel);border:1px solid var(--table-line);border-radius:var(--radius-md);width:100%;color:var(--ink);padding:var(--space-2-5) var(--space-3);font:inherit;font-size:var(--text-body);resize:vertical;line-height:1.45}.takedown-sub{color:var(--mut);font-size:var(--text-sm);display:block}.takedown-done{align-items:baseline;gap:var(--space-3);flex-wrap:wrap;margin:0;font-weight:600;display:flex}.takedown-clock{align-items:center;gap:var(--space-1-5);white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500;display:inline-flex}.takedown-clock:before{content:"";background:var(--grn);border-radius:50%;flex:none;width:8px;height:8px}.takedown-clock.warn:before{background:var(--warn)}.takedown-clock.late:before{background:var(--red)}.takedown-clock-note{color:var(--mut);font-weight:400;font-size:var(--text-sm)}@media (max-width:640px){.admin-page{padding-left:var(--space-4);padding-right:var(--space-4)}.admin-create{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-create .field:first-child,.admin-create .btn{grid-column:1/-1}.takedown-form{grid-template-columns:minmax(0,1fr)}.takedown-form .field,.takedown-form .btn{grid-column:1/-1}.takedown-form .btn{margin-top:0}.takedown-list .takedown-shortid{display:none}.takedown-list .takedown-fullid{font-weight:400;font-size:var(--text-sm);overflow-wrap:anywhere;color:var(--mut);display:block}.admin-codes thead{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.admin-codes tr{column-gap:var(--space-3);padding:var(--space-2-5) var(--space-3);border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;display:grid}.admin-codes tr:last-child{border-bottom:0}.admin-codes td{padding:var(--space-0-5) 0;border:0;display:block}.admin-codes .admin-label{grid-column:1;font-weight:600}.admin-codes .admin-state{color:var(--mut);grid-area:1/2}.admin-codes td[data-label]{color:var(--mut);font-size:var(--text-ui);grid-column:1}.admin-codes td[data-label]:before{content:attr(data-label) " "}.admin-codes td:last-child{grid-area:2/2/span 3;align-self:center}}.legal-mast{width:100%;max-width:760px;padding:var(--space-4) var(--space-5) 0;box-sizing:border-box;align-items:center;margin:0 auto;display:flex}.legal-mast a{align-items:center;gap:var(--space-2);color:var(--ink);font-weight:700;font-size:var(--text-lg);min-height:44px;text-decoration:none;display:inline-flex}.legal-mast a:hover{color:var(--acc)}.site-footer{padding:var(--space-4) var(--space-5) var(--space-6);text-align:center;font-size:var(--text-ui);color:var(--mut)}.site-footer a{color:var(--mut);text-underline-offset:2px;white-space:nowrap;min-height:var(--space-6);align-items:center;text-decoration:underline;display:inline-flex}.site-footer a:hover{color:var(--ink)}.site-footer nav{grid-template-columns:minmax(var(--space-12),max-content) minmax(0,1fr);column-gap:var(--space-4);row-gap:var(--space-1);max-width:calc(760px - 2 * var(--space-5));text-align:left;align-items:start;margin:0 auto;display:grid}@media (min-width:1000px){.site-footer nav{max-width:calc(760px - 2 * var(--space-5) + var(--space-16));transform:translateX(calc(var(--space-16) / -2))}}.signin-page .site-footer nav{width:fit-content;transform:none}.site-footer-row{display:contents}.site-footer-label{color:var(--ink);min-height:var(--space-6);align-items:center;font-weight:600;display:inline-flex}.site-footer ul{align-items:center;column-gap:var(--space-4);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}@media (max-width:600px){.site-footer nav{grid-template-columns:minmax(0,1fr)}.site-footer-row:not(:last-child) ul{margin-bottom:var(--space-4)}}.ktip{z-index:1000;max-width:260px;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);background:var(--badge-bg);color:var(--badge-fg);font-size:var(--text-xs);border:1px solid var(--line);box-shadow:var(--shadow-chip);pointer-events:none;opacity:0;font-weight:600;line-height:1.35;transition:opacity .12s;position:fixed}.ktip.on{opacity:1}@media (prefers-reduced-motion:reduce){.ktip{transition:none}}.workspace.has-rail{--nav-w:clamp(180px, var(--pane-side,248px), 360px);grid-template-columns:var(--nav-w,248px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.workspace.has-rail>.notebooks{grid-area:1/1/3}.workspace.has-rail>.lib-head{grid-area:1/2}.workspace.has-rail>main{grid-area:2/2}.acct-btn:focus-visible{outline:2px solid var(--acc);outline-offset:2px}.notebooks>.nav-top,.notebooks>.nav-flyrows,.notebooks>.nav-foot{display:none}.nav-scroll{display:contents}@media (min-width:901px){.workspace.has-rail>.notebooks{background:var(--nav);padding:0;overflow:hidden}.notebooks>.nav-top,.notebooks>.nav-foot{padding:var(--space-1-5);flex-direction:column;flex:none;display:flex}.notebooks>.nav-top{gap:var(--space-1)}.notebooks>.nav-foot{border-top:1px solid var(--line);gap:1px;margin-top:auto}.nav-scroll{overscroll-behavior:contain;min-height:0;scroll-padding-block:48px var(--space-2);flex-direction:column;flex:1;display:flex;overflow-y:auto}.notebooks .nb-head{background:var(--nav)}.notebooks .nb-row:hover,.notebooks .tg-row:hover{background:var(--nav-hover);color:var(--ink)}.notebooks .nb-row:hover .nb-count,.notebooks .tg-row:hover .tg-count{color:var(--ink)}.notebooks .nb-row.on:hover,.notebooks .tg-row.on:hover{background:var(--accent-soft-bg);color:var(--accent-soft-fg)}.notebooks .trash-entry{display:none}}.nav-brand{align-items:center;gap:var(--space-2);min-height:36px;padding:0 var(--space-1) 0 var(--space-1-5);display:flex}.nav-logo{flex:none;display:inline-flex}.nav-ws{min-width:0;font:600 var(--text-ui)/1.2 var(--font-sans);color:var(--ink);flex:1}.nav-ib{border-radius:var(--radius-md);width:28px;height:28px;color:var(--mut);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:inline-grid}.nav-ib:hover{background:var(--nav-hover);color:var(--ink)}.nav-row{align-items:center;gap:var(--space-2-5);width:100%;min-height:32px;padding:0 var(--space-2);border-radius:var(--radius-md);color:var(--ink);font:400 var(--text-ui)/1.2 var(--font-sans);text-align:left;cursor:pointer;background:0 0;border:0;text-decoration:none;display:flex;position:relative}.nav-row svg{color:var(--mut);flex:none}.nav-row:hover{background:var(--nav-hover);color:var(--ink)}.nav-row:hover svg,.nav-row:hover .nav-n{color:var(--ink)}.nav-row.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);font-weight:500}.nav-row.on svg,.nav-row.on .nav-n{color:var(--accent-soft-fg)}.nav-row.attn svg{color:var(--acc)}.nav-t{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-row>.nav-t:first-of-type{flex:1}.nav-n{font-size:var(--text-sm);color:var(--mut);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.nav-kbd{padding:var(--space-0-5) var(--space-1);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--panel);font:var(--text-xs)/1 var(--font-sans);color:var(--mut);flex:none;margin-left:auto}.nav-search{border:1px solid var(--line);background:var(--panel);color:var(--mut)}.nav-search:hover{background:var(--panel);border-color:var(--table-line)}.nav-primary{gap:var(--space-1-5);margin:var(--space-1) 0;display:flex}.nav-btn{justify-content:center;align-items:center;gap:var(--space-1-5);min-height:32px;padding:0 var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);color:var(--ink);font:600 var(--text-ui)/1 var(--font-sans);cursor:pointer;flex:1 1 0;display:inline-flex}.nav-btn:hover{border-color:var(--table-line)}.nav-btn.nav-main{background:var(--acc);color:var(--acc-fg);border-color:var(--acc)}.nav-btn.nav-main:hover{filter:brightness(1.08)}.nav-btn:disabled{cursor:progress;opacity:.7}.nav-dot{border-radius:var(--radius-round);background:var(--acc);width:8px;height:8px;box-shadow:0 0 0 2px var(--nav);position:absolute;top:6px;left:24px}.nav-row:focus-visible,.nav-btn:focus-visible,.nav-ib:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.nav-foot .acct{display:flex}.nav-foot .acct-btn{justify-content:flex-start;gap:var(--space-2-5);width:100%;min-height:36px;padding:0 var(--space-1-5);color:var(--ink);font:400 var(--text-ui)/1.2 var(--font-sans);flex-direction:row}.nav-foot .acct-btn:hover,.nav-foot .acct-btn[aria-expanded=true]{background:var(--nav-hover)}.acct-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.acct-menu.acct-menu-nav{left:calc(var(--nav-w,248px) + var(--space-2));bottom:var(--space-2);position:fixed;top:auto;right:auto}.nav-flyrows{align-items:center;gap:var(--space-1);padding:0 var(--space-1-5);flex-direction:column}.nav-fly{display:flex;position:relative}.nav-flyout{left:calc(var(--nav-w,248px) + var(--space-1-5));z-index:30;width:240px;max-height:min(480px, calc(100dvh - var(--space-6)));overscroll-behavior:contain;padding:var(--space-1-5);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-menu);position:fixed;overflow-y:auto}.nav-flyout-h{margin:var(--space-1) var(--space-2) var(--space-1-5);font-size:var(--text-xs);letter-spacing:.09em;text-transform:uppercase;color:var(--mut);font-weight:600}.nav-flyout-empty{margin:var(--space-2);font-size:var(--text-ui);color:var(--mut)}.nav-flyout .nav-row:hover{background:var(--panel2)}.nav-fly-row .nav-t{flex:1}@media (min-width:1100px){.workspace.has-rail.nav-folded:not(.nav-moving){--nav-w:56px}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>:is(.nav-top,.nav-foot) .nav-t,.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>.nav-scroll,.workspace.has-rail.nav-folded:not(.nav-moving)>.pane-handle-side{display:none}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>.nav-flyrows{display:flex}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>.nav-top,.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>.nav-foot{align-items:center}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks .nav-brand{gap:var(--space-1);padding:var(--space-1) 0;flex-direction:column}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks>:is(.nav-top,.nav-foot) :is(.nav-row,.nav-btn,.acct-btn),.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks .nav-fly>.nav-row{flex:none;justify-content:center;width:40px;min-height:36px;padding:0}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks .nav-search{background:0 0;border-color:#0000}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks .nav-primary{flex-direction:column;margin:0}.workspace.has-rail.nav-folded:not(.nav-moving)>.notebooks .nav-dot{left:22px}}@media (min-width:901px) and (max-width:1099px){.workspace.has-rail:not(.nav-unfolded):not(.nav-moving){--nav-w:56px}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>:is(.nav-top,.nav-foot) .nav-t,.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>.nav-scroll,.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.pane-handle-side{display:none}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>.nav-flyrows{display:flex}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>.nav-top,.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>.nav-foot{align-items:center}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks .nav-brand{gap:var(--space-1);padding:var(--space-1) 0;flex-direction:column}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks>:is(.nav-top,.nav-foot) :is(.nav-row,.nav-btn,.acct-btn),.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks .nav-fly>.nav-row{flex:none;justify-content:center;width:40px;min-height:36px;padding:0}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks .nav-search{background:0 0;border-color:#0000}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks .nav-primary{flex-direction:column;margin:0}.workspace.has-rail:not(.nav-unfolded):not(.nav-moving)>.notebooks .nav-dot{left:22px}}.ov:has(>.modal>.sw-body){padding-top:calc(var(--space-16) + var(--space-8));align-items:flex-start}.modal:has(>.sw-body){width:min(680px, calc(100% - var(--space-12)));background:var(--panel);border-radius:var(--radius-lg);max-width:none;max-height:min(640px,100dvh - 128px);box-shadow:var(--shadow-menu);flex-direction:column;padding:0;display:flex;overflow:hidden}.sw-body{flex-direction:column;flex:1;min-height:0;display:flex}.sw-in{align-items:center;gap:var(--space-2-5);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line);flex:none;display:flex}.sw-in svg{color:var(--mut);flex:none}.sw-in input{min-width:0;color:var(--ink);font:400 var(--text-lg)/1.4 var(--font-sans);background:0 0;border:0;outline:0;flex:1}.sw-in input::placeholder{color:var(--mut)}.sw-in input:focus-visible{outline:none}.sw-in:focus-within{box-shadow:inset 0 -2px 0 var(--acc)}.sw-esc{padding:var(--space-0-5) var(--space-1);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--panel);font:var(--text-xs)/1 var(--font-sans);color:var(--mut);flex:none}.sw-f{align-items:center;gap:var(--space-1-5);padding:var(--space-2-5) var(--space-4);border-bottom:1px solid var(--line);flex-wrap:wrap;flex:none;display:flex}.sw-chip{min-height:28px;padding:0 var(--space-2-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);color:var(--ink);font:400 var(--text-sm)/1 var(--font-sans);cursor:pointer}.sw-chip:hover{border-color:var(--table-line)}.sw-chip.on{background:var(--accent-soft-bg);color:var(--accent-soft-fg);border-color:#0000;font-weight:500}.sw-chip:focus-visible,.sw-in-nb select:focus-visible{outline:2px solid var(--acc);outline-offset:1px}.sw-in-nb{align-items:center;gap:var(--space-1);font-size:var(--text-sm);color:var(--ink);display:inline-flex}.sw-in-nb select{max-width:220px;min-height:28px;padding:0 var(--space-1-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--panel);color:var(--ink);font:400 var(--text-sm)/1 var(--font-sans)}.sw-h{padding:var(--space-3) var(--space-4) var(--space-1);font-size:var(--text-xs);letter-spacing:.09em;text-transform:uppercase;color:var(--mut);flex:none;font-weight:600}.sw-list{overscroll-behavior:contain;min-height:0;padding-bottom:var(--space-1);flex:1;overflow-y:auto}.sw-r{align-items:flex-start;gap:var(--space-3);padding:var(--space-2) var(--space-4);cursor:pointer;color:var(--ink);display:flex}.sw-r svg{margin-top:var(--space-0-5);color:var(--mut);flex:none}.sw-r>span{gap:var(--space-0-5);flex-direction:column;min-width:0;display:flex}.sw-r b{font-weight:600;font-size:var(--text-ui);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sw-r small{font-size:var(--text-sm);color:var(--mut);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sw-r.on{background:var(--panel2);box-shadow:inset 3px 0 0 var(--acc)}.sw-r mark{color:inherit;text-underline-offset:2px;background:0 0;font-weight:700;text-decoration:underline}.sw-empty,.sw-err{margin:var(--space-2) var(--space-4);font-size:var(--text-ui);color:var(--mut)}.sw-err{color:var(--red)}.sw-k{gap:var(--space-4);padding:var(--space-2) var(--space-4);border-top:1px solid var(--line);font-size:var(--text-sm);color:var(--mut);flex:none;display:flex}@media (min-width:901px){.lib-head .search-landmark{display:none}}.lib-title{display:none}@media (min-width:901px){.workspace.has-rail>.lib-head{align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-6);flex-direction:row;min-height:68px}.workspace.has-rail>.lib-head>.lib-head-bar{display:none}.lib-title{align-items:baseline;gap:var(--space-3);flex:1;min-width:0;display:flex}.lib-title h2{font:700 var(--text-2xl)/1.2 var(--font-sans);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.lib-count{font-size:var(--text-ui);color:var(--mut);flex:none}.workspace.has-rail>.lib-head .filters{flex:none;padding:0}.lib-head .filters>.chip:not(.chip-active),.workspace.has-rail.desk-open>.lib-head{display:none}.workspace.has-rail:not(.desk-open):has(>.peek)>.lib-head{display:none}}.nb-count{padding-left:var(--space-1);font-size:var(--text-sm);color:var(--mut);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.nb-row:focus-within .nb-count,.nb-row:hover .nb-count,.nb-row.file-drop .nb-count,.nb-row.file-drop .nb-actions{display:none}.nb-file-drop{align-items:center;gap:var(--space-1);font-size:var(--text-sm);color:var(--accent-soft-fg);flex:none;margin-left:auto;font-weight:600;display:inline-flex}.lib-head{gap:var(--space-2);padding:var(--space-3) var(--space-6) 0;border-bottom:1px solid var(--line);flex-direction:column;min-width:0;display:flex}.lib-head .filters{padding:0 0 var(--space-2)}.lib-head-bar{align-items:center;gap:var(--space-2);min-width:0;display:flex}.lib-head-actions{display:none}.search-landmark{flex:1;min-width:0;display:flex}.lib-head .search{border-color:var(--table-line);min-width:0;max-width:720px;min-height:40px;padding-block:var(--space-1);flex:1}.lib-head .search input{font-size:var(--text-lg);min-width:0;line-height:1.5}.lib-head .search input::placeholder{color:var(--mut)}.lib-head .search input:focus-visible{outline:none}.lib-head .search:focus-within{border-color:var(--acc);box-shadow:0 0 0 1px var(--acc)}.search input::-webkit-search-cancel-button{display:none}.search-count{font-size:var(--text-sm);color:var(--mut);white-space:nowrap;flex:none}.search-count:empty{display:none}.search-clear{border-radius:var(--radius-sm);min-width:32px;min-height:32px;color:var(--mut);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;display:inline-flex}.search-clear:hover{background:var(--panel2);color:var(--ink)}.search-clear:focus-visible{outline:2px solid var(--acc);outline-offset:1px}@media (pointer:coarse){.search-clear{min-width:44px;min-height:44px}}.acct{display:inline-flex;position:relative}.acct-bar{display:none}.acct-btn{align-items:center;gap:var(--space-1);padding:var(--space-1);border-radius:var(--radius-md);color:var(--mut);font:600 var(--text-xs)/1 var(--font-sans);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;min-width:44px;min-height:44px;display:inline-flex}.acct-rail .acct-btn{min-width:52px;min-height:52px}.acct-btn:hover,.acct-btn[aria-expanded=true]{background:var(--panel2)}.ava{--ava:32px;width:var(--ava);height:var(--ava);border-radius:var(--radius-round);background:var(--accent-soft-bg);color:var(--accent-soft-fg);font:800 calc(var(--ava) * .38)/1 var(--font-sans);letter-spacing:.02em;box-shadow:inset 0 0 0 1px var(--acc);flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.ava-dot{border-radius:var(--radius-round);background:var(--acc);width:10px;height:10px;box-shadow:0 0 0 2px var(--side);position:absolute;top:-1px;right:-1px}.acct-scrim{z-index:59;position:fixed;inset:0}.acct-menu{z-index:60;width:296px;max-width:calc(100vw - var(--space-4));max-height:calc(100dvh - var(--space-6));overscroll-behavior:contain;padding:var(--space-1-5);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-panel);position:absolute;overflow-y:auto}.acct-menu-rail{left:calc(100% + var(--space-2));bottom:0}.acct-menu-bar{right:0;top:calc(100% + var(--space-1-5))}.acct-who{align-items:center;gap:var(--space-3);padding:var(--space-2-5) var(--space-2-5) var(--space-3);margin-bottom:var(--space-1);border-bottom:1px solid var(--line);display:flex}.acct-who div{gap:var(--space-0-5);flex-direction:column;min-width:0;display:flex}.acct-who b{font-size:var(--text-body);color:var(--ink);overflow-wrap:anywhere;font-weight:700}.acct-who span{font-size:var(--text-sm);color:var(--mut);overflow-wrap:anywhere}.acct-who .acct-ver{font-size:var(--text-xs)}.acct-g{padding:var(--space-1) 0;border-bottom:1px solid var(--line)}.acct-g:last-child{border-bottom:0}.acct-h{padding:var(--space-1-5) var(--space-2-5) var(--space-1);font-size:var(--text-xs);color:var(--mut);font-weight:700;display:block}.acct-mi{align-items:center;gap:var(--space-2-5);width:100%;min-height:36px;padding:0 var(--space-2-5);border-radius:var(--radius-md);color:var(--ink);font:500 var(--text-body)/1.2 var(--font-sans);text-align:left;cursor:pointer;background:0 0;border:0;text-decoration:none;display:flex}.acct-mi svg{color:var(--mut);flex:none}.acct-mi:hover,.acct-mi:focus-visible{background:var(--panel2)}.acct-mi:focus-visible,.acct-seg:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.acct-signout svg{color:var(--red)}.acct-segs{gap:var(--space-0-5);margin:var(--space-0-5) var(--space-2-5) var(--space-1-5);padding:var(--space-0-5);border-radius:var(--radius-md);background:var(--panel2);display:flex}.acct-seg{justify-content:center;align-items:center;gap:var(--space-1);min-height:32px;padding:0 var(--space-2);border-radius:var(--radius-sm);color:var(--mut);font:600 var(--text-sm)/1 var(--font-sans);cursor:pointer;background:0 0;border:0;flex:1 1 0;display:inline-flex}.acct-seg.on{background:var(--panel);color:var(--ink);box-shadow:var(--shadow-chip)}@media (pointer:coarse){.acct-mi,.acct-seg{min-height:44px}}@media (max-width:900px){.workspace.has-rail{grid-template-columns:minmax(0,1fr)}.workspace.has-rail>.lib-head,.workspace.has-rail>main{grid-column:1}.workspace.has-rail>.notebooks{grid-area:1/1/-1}.lib-head{padding:var(--space-3) var(--space-4) 0}.lib-head .search{max-width:none}.acct-bar{display:inline-flex}.lib-head-actions{gap:var(--space-2);display:flex}.lib-head-actions .btn{white-space:nowrap;flex:auto}}@media (max-width:600px){.lib-head .nb-toggle{justify-content:center;align-items:center;width:44px;padding:0;font-size:0}.lib-head .nb-toggle svg{margin:0}.acct-scrim{background:var(--drawer-scrim)}.acct-menu.acct-menu-sheet{border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;width:auto;max-width:none;max-height:85dvh;padding:0 var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom));border-bottom:0;position:fixed;inset:auto 0 0}.acct-grab{padding:var(--space-2) 0 var(--space-1);justify-content:center;display:flex}.acct-grab i{border-radius:var(--radius-pill);background:var(--table-line);width:36px;height:5px;display:block}}@media (max-width:600px) and (pointer:coarse){.lib-head-bar:has(.search:focus-within) .acct-bar{display:none}.lib-head .search:focus-within .search-count{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.workspace.has-rail:not(.desk-open):has(>.peek){grid-template-columns:var(--nav-w,248px) minmax(0,1fr) min(calc(700px + 2 * var(--space-3)), calc(100% - var(--nav-w,248px)))}.workspace.has-rail:not(.desk-open):has(>.peek)>.lib-head{grid-column:2/-1}.drawer.peek{height:auto;min-height:0;margin:var(--space-3);overscroll-behavior:contain;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-xl);width:auto;max-width:none;box-shadow:var(--shadow-panel);z-index:5;flex-direction:column;grid-area:2/3;padding:0;display:flex;position:relative;inset:auto;overflow-y:auto}.drawer.peek:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}@media (min-width:1260px){.workspace.has-rail:not(.desk-open):has(>.peek){grid-template-columns:var(--nav-w,248px) clamp(288px, var(--pane-grid,300px), calc(100% - var(--nav-w,248px) - 480px)) minmax(0,1fr)}}@media (min-width:901px) and (max-width:1259px){.workspace.has-rail:not(.desk-open):has(>.peek){grid-template-columns:var(--nav-w,248px) 0 minmax(0,1fr)}.workspace.has-rail:not(.desk-open):has(>.peek)>main{opacity:0}}@media (max-width:900px){.workspace.has-rail:not(.desk-open):has(>.peek){grid-template-columns:0 minmax(0,1fr)}.workspace.has-rail:not(.desk-open):has(>.peek)>.lib-head{grid-column:1/-1}.workspace.has-rail:not(.desk-open):has(>.peek)>main{opacity:0}.drawer.peek{grid-column:2}}.pane-handle{z-index:6;width:var(--space-2);margin-right:calc(-1 * var(--space-1));cursor:col-resize;touch-action:none;outline:none;place-self:stretch end;position:relative}.pane-handle:after{content:"";background:0 0;width:2px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.pane-handle:hover:after,.pane-handle.dragging:after{background:var(--acc)}.pane-handle:focus-visible:after{background:var(--acc);box-shadow:0 0 0 2px var(--panel)}.workspace.has-rail>.pane-handle-side{grid-area:1/1/3}.workspace.has-rail>.pane-handle-grid{grid-area:2/2}@media (max-width:1259px){.pane-handle-grid{display:none}}@media (max-width:900px){.pane-handle{display:none}}.cardi.peek-on{border-color:var(--acc);box-shadow:0 0 0 2px var(--acc)}.cardi.peek-on .title{color:var(--accent-soft-fg)}.peek-bar{z-index:4;align-items:center;gap:var(--space-2);height:var(--space-12);box-sizing:border-box;padding:0 var(--space-3);background:var(--panel);border-bottom:1px solid var(--line);flex:none;display:flex;position:sticky;top:0}.peek-bar-lead,.peek-bar-trail,.peek-slot{align-items:center;gap:var(--space-1);flex:none;display:flex}.peek-bar-trail{margin-left:auto}.peek-ibtn{justify-content:center;align-items:center;gap:var(--space-1-5);min-width:32px;height:32px;padding:0 var(--space-2);border-radius:var(--radius-md);color:var(--mut);font:600 var(--text-ui)/1 var(--font-sans);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;display:inline-flex}.peek-ibtn:hover:not([aria-disabled=true]){background:var(--panel2);color:var(--ink)}.peek-ibtn[aria-disabled=true]{opacity:.45;cursor:default}.peek-ibtn:focus-visible{outline:2px solid var(--acc);outline-offset:1px}.peek-pos{color:var(--mut);font-size:var(--text-sm);margin:0 var(--space-1);white-space:nowrap;font-weight:600}.peek-edited{color:var(--mut);font-size:var(--text-sm);margin-right:var(--space-1);white-space:nowrap}.peek-menu{display:inline-flex;position:relative}.peek-menu-list{top:calc(100% + var(--space-1));z-index:6;gap:var(--space-0-5);min-width:200px;padding:var(--space-1);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-panel);display:grid;position:absolute;right:0}.peek-mi{align-items:center;gap:var(--space-2);min-height:32px;padding:0 var(--space-2-5);border-radius:var(--radius-sm);color:var(--ink);font:500 var(--text-ui)/1 var(--font-sans);text-align:left;cursor:pointer;background:0 0;border:0;display:flex}.peek-mi:hover,.peek-mi:focus-visible{background:var(--panel2)}.peek-mi:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.peek-mi.danger{color:var(--red)}.peek-mi.danger:hover,.peek-mi.danger:focus-visible{background:var(--toast-err-bg);color:var(--toast-err-fg)}.peek-dock{z-index:4;background:var(--panel);flex:none;margin-top:auto;position:sticky;bottom:0}.peek-hints{justify-content:center;align-items:center;gap:var(--space-5);padding:var(--space-2) var(--space-4);background:var(--panel);border-top:1px solid var(--line);color:var(--mut);font-size:var(--text-sm);flex:none;display:flex}.peek-hints span{align-items:center;gap:var(--space-1-5);display:inline-flex}.peek-hints kbd{min-width:20px;height:20px;padding:0 var(--space-1);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--panel2);color:var(--ink);font:600 var(--text-xs)/1 var(--font-sans);border-bottom-width:2px;justify-content:center;align-items:center;display:inline-flex}.peek-note .note-autosave{flex:none;display:block}.peek-note .note-editor{background:0 0;border:0;border-radius:0;flex:none;display:block;overflow:visible}.peek-note .note-toolbar{top:var(--space-12);z-index:3;justify-content:safe center;gap:var(--space-1);padding:var(--space-1-5) var(--space-4);background:var(--panel);border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;position:sticky;overflow-x:auto}.peek-note .note-toolbar>*{flex:none}.peek-note .note-toolbar::-webkit-scrollbar{display:none}.peek-note .note-toolbar:after{content:"";right:calc(-1 * var(--space-4));width:var(--space-10);margin:calc(-1 * var(--space-1-5)) calc(-1 * var(--space-4)) calc(-1 * var(--space-1-5)) calc(-1 * var(--space-10));background:linear-gradient(to right, transparent, var(--panel) 70%);pointer-events:none;opacity:0;flex:none;align-self:stretch;position:sticky}.peek-note .note-toolbar[data-more]:after{opacity:1}.peek-note .peek-head{padding-top:var(--space-8);width:min(864px, calc(100% - 2 * var(--space-8)));box-sizing:border-box;margin-inline:auto}.peek-note .note-title-input{font-size:var(--text-3xl);letter-spacing:-.01em;margin:0 0 var(--space-3);background:0 0;border:0;width:100%;padding:0;font-weight:700;line-height:1.2}.peek-note .note-title-input:focus-visible{outline:none}.peek-note .note-kv{align-items:center;gap:var(--space-2);padding-bottom:var(--space-5);border-bottom:1px solid var(--line);font-size:var(--text-sm);flex-wrap:wrap;margin:0;display:flex}.peek-note .note-kv>b{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.peek-note .note-content{padding:var(--space-5) 0 var(--space-16);width:min(864px, calc(100% - 2 * var(--space-8)));box-sizing:border-box;font-size:var(--text-lg);flex:none;margin-inline:auto;line-height:1.65;display:block;overflow:visible}.peek-note .note-content .ProseMirror{min-height:240px}.peek-note .note-content .tableWrapper{width:auto;max-width:100%;margin-inline:0;overflow-x:auto}.peek-note .note-content .note-image{max-width:100%}.peek-note .note-save-status,.peek-note>.hint{width:min(864px, calc(100% - 2 * var(--space-8)));box-sizing:border-box;margin-inline:auto}.sheet-foot{align-items:center;gap:var(--space-3);box-sizing:border-box;height:44px;padding:0 var(--space-4);background:var(--panel);border-top:1px solid var(--line);font-size:var(--text-sm);color:var(--mut);display:flex}.sheet-foot-start{align-items:center;gap:var(--space-1);scrollbar-width:none;flex:auto;min-width:0;display:flex;overflow-x:auto}.sheet-foot-start>*{flex:none}.sheet-foot-end{white-space:nowrap;flex:none}.peek-note .sheet-foot .note-save-status{width:auto;min-height:0;margin:0}.sheet-foot-ibtn,.sheet-foot .act-ibtn{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--mut);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.sheet-foot-ibtn:hover,.sheet-foot .act-ibtn:hover{background:var(--panel2);color:var(--ink)}.sheet-foot-ibtn:focus-visible{outline:2px solid var(--acc);outline-offset:1px}.sheet-foot-div{background:var(--line);width:1px;height:20px;margin:0 var(--space-1)}.sheet-chip{align-items:center;gap:var(--space-1-5);height:26px;padding:0 var(--space-2);border-radius:var(--radius-sm);background:var(--panel2);color:var(--ink);font:inherit;white-space:nowrap;border:0;max-width:240px;display:inline-flex}.sheet-chip>span{text-overflow:ellipsis;overflow:hidden}.sheet-chip>svg{color:var(--mut);flex:none}button.sheet-chip{cursor:pointer}button.sheet-chip:focus-visible{outline:2px solid var(--acc);outline-offset:1px}.sheet-chip-none{color:var(--mut);background:0 0}.sheet-foot .tagedit{gap:var(--space-1);flex-wrap:nowrap}.sheet-foot .tglist{flex-wrap:nowrap}.sheet-foot .tagedit .tg{box-sizing:border-box;height:26px;padding:0 0 0 var(--space-2);font-size:var(--text-sm);color:var(--ink);gap:0}.sheet-foot .tgx{width:var(--space-6);height:var(--space-6);border-radius:var(--radius-xs);place-items:center;margin:0;padding:0;display:inline-grid}.sheet-foot .tgx:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.sheet-foot .tginput{width:96px;min-width:0;font-size:var(--text-sm);color:var(--ink);background:0 0;border-color:#0000;flex:none}.sheet-foot .tginput:focus{border-color:var(--line)}.sheet-foot .tg.tg-more{box-sizing:border-box;height:26px;padding:0 var(--space-2);border-radius:var(--radius-sm);background:var(--panel2);color:var(--ink);font:inherit;font-size:var(--text-sm);cursor:pointer;border:0;flex:none;align-items:center;font-weight:600;display:inline-flex}.sheet-foot .tg.tg-more:hover{background:var(--line)}.sheet-foot .tg.tg-more:focus-visible{outline:2px solid var(--acc);outline-offset:1px}.tagpop.tagpop-foot{max-width:320px}.tagpop-foot .tglist{flex-wrap:wrap}.tagpop-foot .tg{box-sizing:border-box;height:26px;padding:0 0 0 var(--space-2);font-size:var(--text-sm);color:var(--ink);align-items:center;gap:0;display:inline-flex}.tagpop-foot .tgx{width:var(--space-6);height:var(--space-6);border-radius:var(--radius-xs);place-items:center;margin:0;padding:0;display:inline-grid}.tagpop-foot .tgx:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}.peek-item>.peek-body{padding:var(--space-4) var(--space-7) var(--space-6);width:min(calc(720px + 2 * var(--space-7)), 100%);box-sizing:border-box;margin-inline:auto}.peek-scrim{background:var(--drawer-scrim);z-index:20;touch-action:none;position:fixed;inset:0}.peek-grab{z-index:5;box-sizing:border-box;background:var(--panel);touch-action:none;cursor:grab;flex:none;justify-content:center;align-items:center;min-height:44px;padding:0;display:flex;position:sticky;top:0}.peek-grab i{border-radius:var(--radius-pill);background:var(--table-line);width:36px;height:5px;display:block}@media (max-width:600px){.workspace.has-rail:not(.desk-open):has(>.peek){grid-template-columns:minmax(0,1fr)}.workspace.has-rail:not(.desk-open):has(>.peek)>main{opacity:1}.drawer.peek{z-index:21;border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;border-bottom:0;width:auto;margin:0;position:fixed;inset:10dvh 0 0}.peek-bar{padding:0 var(--space-1);top:44px}.peek-ibtn{min-width:44px;height:44px}.peek-edited{display:none}.peek-mi{min-height:44px}.peek-note .peek-head,.peek-note .note-content,.peek-note .note-save-status,.peek-note>.hint{width:calc(100% - 2 * var(--space-4))}.peek-note .note-title-input{font-size:var(--text-2xl)}.peek-note .peek-head{padding-top:var(--space-4)}.peek-note .note-toolbar{top:calc(var(--space-12) + 44px)}.peek-note .note-toolbar .tbtn{min-width:44px;min-height:44px}.peek-note .note-toolbar .tmenu-item,.peek-note .note-toolbar .tmenu-chip{min-height:44px}.peek-note .note-toolbar .tmenu-chip{justify-content:center;align-items:center;min-width:44px;display:inline-flex}.peek-note .note-toolbar.tb-phone{justify-content:flex-start;scroll-padding-inline-end:56px}.peek-note .note-toolbar.tb-phone:after,.note-toolbar.tb-phone .tmenu-trigger>.tmenu-face:not(.tmenu-aa){display:none}.tb-end{right:calc(-1 * var(--space-4));z-index:1;background:var(--panel);border-left:1px solid var(--line);box-shadow:calc(-1 * var(--space-3)) 0 var(--space-3) var(--panel);color:var(--ink);opacity:0;pointer-events:none;border-radius:0;flex:none;margin-left:auto;position:sticky}.note-toolbar[data-more] .tb-end{opacity:1;pointer-events:auto}.note-toolbar:not([data-overflows]) .tb-end{display:none}.peek-item>.peek-body{padding:var(--space-3) var(--space-4) var(--space-6)}}@media (prefers-reduced-motion:reduce){.drawer.peek{transition:none}}.peek-ibtn-text{padding:0 var(--space-2-5) 0 var(--space-1-5);color:var(--ink)}.peek-ibtn[aria-pressed=true]{background:var(--accent-soft-bg);color:var(--accent-soft-fg);border-color:var(--acc)}.peek-ibtn[aria-pressed=true]:focus-visible{outline-offset:3px}.workspace.has-rail.desk-open{grid-template-columns:var(--nav-w,248px) minmax(0,1fr)}.workspace.has-rail.desk-open>.lib-head{grid-column:2/-1}.workspace.has-rail.desk-open>.lib-head .filters,.workspace.has-rail.desk-open>.lib-head .nb-toggle,.workspace.has-rail.desk-open>.nb-scrim{display:none}.workspace.has-rail.desk-open>main{opacity:0}.workspace.has-rail.desk-full>.notebooks{display:none}@media (max-width:900px){.workspace.has-rail.desk-open>.notebooks:not(.open){display:none}}.drawer.peek.desk{box-shadow:none;border:0;border-radius:0;grid-area:2/2/auto/-1;margin:0}.drawer.peek.desk[tabindex="-1"]:focus-visible{outline:none}.item-title-head{font:inherit;margin:0}.item-title-input{box-sizing:border-box;width:100%;min-width:0;margin:var(--space-1) 0 var(--space-4);color:var(--ink);font-family:inherit;font-size:var(--text-display);letter-spacing:-.01em;border-radius:var(--radius-xs);background:0 0;border:0;padding:0;font-weight:700;line-height:1.2;display:block}.item-title-input::placeholder{color:var(--mut);font-weight:600}.item-title-input:focus-visible{outline:2px solid var(--acc);outline-offset:4px}.item-title-input[readonly]{cursor:default}.note-title-input,.item-title-input{resize:none;overflow-wrap:anywhere;white-space:pre-wrap;overflow:hidden}.person-head .item-title-head{flex:1;min-width:0}.person-head .item-title-input{margin:0}.preview.textview.on-page{background:0 0;border:0;border-radius:0;height:auto;overflow:visible}.preview.textview.on-page .pre.full{height:auto;font-size:var(--text-lg);background:0 0;padding:0;line-height:1.65;overflow:visible}.item-noteview{color:var(--ink);font-size:var(--text-lg);padding-top:var(--space-2);line-height:1.65}.item-noteview-body{overflow-wrap:anywhere}.item-noteview-body p{white-space:pre-wrap;margin:0 0 .6em}.item-noteview-body h4{margin:.6em 0 .3em;font-size:1.25em;line-height:1.3}.item-noteview-body h4:first-child{margin-top:0}@media (max-width:600px){.item-noteview-body h4{font-size:1em}.item-head-title{font-size:var(--text-2xl);font-weight:700;line-height:1.2}}.item-noteview-body hr{border:0;border-top:2px solid var(--table-line);margin:0 0 1.4em}.item-noteview-divider{margin-top:1.4em}.item-noteview-body .item-noteview-label{margin:0 0 var(--space-2);color:var(--mut);font-size:var(--text-sm);text-transform:uppercase;letter-spacing:.05em;font-weight:700}.item-noteview-body blockquote{padding:0 0 0 var(--space-4);border-left:3px solid var(--table-line);margin:0 0 .8em}.item-noteview-body .item-noteview-author{margin:0 0 var(--space-1);font-weight:700}.item-noteview-body .item-noteview-empty{color:var(--mut)}.item-noteview>.item-pdf{font-size:var(--text-ui);margin-top:1.4em;line-height:normal}.fsbody .item-pdf-tab{height:100%;padding:var(--space-4);overflow-y:auto}.fsbody .item-pdf-tab .item-pdf{max-width:960px;margin:0 auto}.app-shell.desk-full{height:100dvh;box-shadow:none;border-radius:0;margin:0}.drawer.peek.desk.desk-full{grid-area:1/1/-1/-1}.workspace.has-rail.desk-open.list-open{grid-template-columns:var(--nav-w,248px) clamp(288px, var(--pane-grid,300px), calc(100% - var(--nav-w,248px) - 480px)) minmax(0,1fr)}.workspace.has-rail.desk-open.list-open>.drawer.peek.desk{grid-column:3}.workspace.has-rail.desk-open.list-open>main{opacity:1}.peek-ibtn-text.peek-ibtn-after{padding:0 var(--space-1-5) 0 var(--space-2-5)}@media (max-width:900px){.workspace.has-rail.desk-open{grid-template-columns:minmax(0,1fr)}.workspace.has-rail.desk-open>.lib-head,.drawer.peek.desk{grid-column:1}}@media (max-width:600px){.drawer.peek.desk{border-radius:0;inset:0}.desk .peek-bar{top:0}.desk.peek-note .note-toolbar{top:var(--space-12)}.desk .peek-back{font-size:var(--text-lg);padding:0 var(--space-3) 0 var(--space-1);gap:var(--space-0-5)}}
