:root{color-scheme:light dark;--text: #191c23;--bg: #fbfbfd;--surface: #fff;--button-line: #cfd4e2;--link: #3d6fd4;--chip-text: #314056;--chip-hover: rgba(18, 30, 53, .1);--strong: #132033;--line: #e3e6ef;--subtle: #8a91a3;--hover: #f5f6fa;--selected: #eaf0fc;--muted: #596070;--shadow: rgba(10, 12, 18, .16);--group: #223247;--on-strong: #fff}@media(prefers-color-scheme:dark){:root{--bg: #13161c;--surface: #1c2029;--text: #edf0f7;--button-line: #485267;--link: #9dbaff;--chip-text: #c3cddd;--chip-hover: #282f40;--strong: #e2e9f5;--on-strong: #132033;--line: #353c4b;--subtle: #99a5bb;--hover: #202631;--selected: #263651;--muted: #b0b9cb;--shadow: #0008;--group: #d5e2f5}}*{box-sizing:border-box}body{margin:0;font:15px/1.7 PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;color:var(--text);background:var(--bg)}.shell{max-width:760px;margin:0 auto;padding:24px 18px 96px}body.drawer-open .shell{max-width:none;margin:0;padding-left:24px;padding-right:calc(min(var(--drawer-w, 460px),calc(100vw - 320px)) + 24px)}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.toolbar h1{font-size:20px;font-weight:600;margin:0;flex:1;min-width:150px}.btn{background:var(--surface);color:var(--text);border:1px solid var(--button-line);border-radius:10px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}.btn:hover{border-color:var(--link);color:var(--link)}.btn:disabled{opacity:.45;cursor:default}.filters{display:flex;gap:4px;margin-top:14px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;padding:6px 10px;border-radius:12px;border:0;background:transparent;color:var(--chip-text);cursor:pointer;font-family:inherit}.chip svg{width:14px;height:14px}.chip:hover{background:var(--chip-hover)}.chip[aria-pressed=true]{background:var(--strong);color:var(--on-strong);font-weight:600}.list{margin-top:10px;border-top:1px solid var(--line)}.list-section{font-size:12px;font-weight:600;color:var(--subtle);padding:16px 12px 6px}.list-section:first-child{padding-top:8px}.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:center;grid-template-areas:"head meta" "note note";width:100%;text-align:left;font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid var(--line);padding:13px 12px;cursor:pointer}.row:hover{background:var(--hover)}.row:focus-visible{outline:2px solid var(--link);outline-offset:-2px}.row.active{background:var(--selected)}.badge{width:24px;height:24px;flex:0 0 auto;overflow:hidden;border-radius:6px;display:grid;place-items:center;font-weight:700;font-size:12px}.badge img{width:100%;height:100%;display:block;object-fit:contain}.badge.fallback{color:#fff}.badge.fallback.site-chatgpt{background:#10a37f}.badge.fallback.site-gemini{background:#4285f4}.badge.fallback.site-wechat{background:#07c160}.badge.fallback.site-generic{background:#6b7280}.row-head{grid-area:head;display:flex;align-items:center;gap:8px;min-width:0}.row-title{font-weight:600;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-count{font-size:12px;color:var(--subtle);font-weight:400;flex:0 0 auto}.row-meta{grid-area:meta;font-size:12px;color:var(--subtle);white-space:nowrap}.row-note{grid-area:note;font-size:13px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-note.empty{color:var(--subtle);font-style:italic}.state-msg{padding:60px 20px;text-align:center;color:var(--muted)}.state-msg .big{font-size:32px;margin-bottom:8px}.drawer{position:fixed;top:0;right:0;height:100%;width:min(var(--drawer-w, 460px),calc(100vw - 320px));max-width:100%;background:var(--bg);border-left:1px solid var(--line);box-shadow:-14px 0 40px var(--shadow);display:flex;flex-direction:column;z-index:10;animation:slidein .18s ease}.drawer.drawer-static{animation:none}.drawer-resizer{position:absolute;top:0;left:-4px;width:9px;height:100%;cursor:col-resize;z-index:11;touch-action:none}.drawer-resizer:after{content:"";position:absolute;top:0;left:4px;width:1px;height:100%;background:transparent;transition:background .12s}.drawer-resizer:hover:after,body.drawer-resizing .drawer-resizer:after{background:var(--link)}body.drawer-resizing{cursor:col-resize;user-select:none}@keyframes slidein{0%{transform:translate(24px);opacity:.4}to{transform:none;opacity:1}}.drawer-head{display:flex;align-items:center;gap:8px;padding:10px 10px 10px 14px;border-bottom:1px solid var(--line);flex:0 0 auto}.drawer-title{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.drawer-title .badge{width:22px;height:22px;border-radius:5px}.drawer-title h2{font-size:15px;font-weight:600;margin:0;line-height:1.4;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iconbtn{width:30px;height:30px;border-radius:8px;border:0;background:transparent;color:var(--muted);font-size:14px;line-height:1;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.iconbtn:hover{background:var(--chip-hover);color:var(--strong)}.drawer-body{overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.page-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:13px 15px}a.page-url{display:inline-block;font-size:12.5px;color:var(--link);word-break:break-all;margin:0 0 8px;text-decoration:none}a.page-url:hover{text-decoration:underline}.page-stats{font-size:12px;color:var(--subtle)}.note-sort{display:flex;gap:2px;align-items:center;margin-bottom:2px}.note-sort .lbl{font-size:12px;color:var(--subtle);margin-right:4px}.note-group{font:700 17px/1.3 ui-sans-serif,system-ui,sans-serif;color:var(--group);letter-spacing:.02em;margin:16px 0 2px}.note-group:first-of-type{margin-top:2px}body{overflow-x:clip}.toolbar h1{min-width:0}.version,.updated,.status,.total,.muted,.note-meta{font-size:12px;color:var(--muted)}.updated{white-space:nowrap;margin-left:auto}.status:has(span:empty){display:none}.controls{position:sticky;top:0;z-index:5;background:var(--bg);padding:10px 0;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}.controls .filters{margin:0}.total{margin:0 0 8px}.list-section{margin:0}.row-meta{max-width:140px;overflow:hidden;text-overflow:ellipsis}.row-count{white-space:nowrap}.error{color:var(--text);background:var(--hover);border-left:3px solid var(--link);padding:10px 12px;overflow-wrap:anywhere}.error:empty{display:none}button:focus-visible,a:focus-visible{outline:2px solid var(--link);outline-offset:2px}button,a{-webkit-tap-highlight-color:transparent}.drawer-body{min-height:0;overscroll-behavior:contain;overflow-wrap:anywhere}.notes{display:flex;flex-direction:column;gap:12px;min-width:0}.note-card{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.note-card .quote-row{color:var(--strong);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}.note-card .quote-text,.note-card .note-preview{color:var(--strong)}.note-card .note-preview{border:1.5px solid transparent;border-radius:12px;padding:6px 11px;min-height:20px}.quote-text p{margin:0}pre{max-width:100%;overflow-x:auto}@media(max-width:700px){.shell,body.drawer-open .shell{max-width:760px;margin:0 auto;padding:18px 12px 64px}.drawer{width:100%;max-width:100%;border-left:0}.drawer-resizer{display:none}body.drawer-open{overflow:hidden}.toolbar{gap:8px}.version{font-size:11px}.row{grid-template-areas:"head head" "note meta";padding-inline:8px}.row-meta{font-size:11px}}@media(prefers-reduced-motion:reduce){.drawer{animation:none}}
/*# sourceMappingURL=main.css.map */
