:root{color:#24332f;font-synthesis:none;text-rendering:optimizelegibility;--ink:#172a25;--muted:#64736f;--green:#17624f;--green-dark:#104a3c;--green-soft:#e4f1ec;--paper:#fffefa;--canvas:#f3f1eb;--line:#dedbd1;--danger:#a33a32;--shadow:0 18px 46px #22363014;background:#f3f1eb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{background:radial-gradient(circle at 90% 0%, #daeae3a6, transparent 28rem), var(--canvas);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #17624f38}h1,h2,h3,p{margin-top:0}h1{color:var(--ink);letter-spacing:-.04em;margin-bottom:8px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,3.2rem);font-weight:500;line-height:1.02}h2{color:var(--ink);margin-bottom:6px;font-size:1.15rem}h3{color:var(--ink)}.muted{color:var(--muted);line-height:1.55}.eyebrow{color:var(--green);letter-spacing:.13em;text-transform:uppercase;margin:0 0 10px;font-size:.72rem;font-weight:800}.button{cursor:pointer;border:1px solid #0000;border-radius:10px;min-height:42px;padding:10px 16px;font-weight:750;transition:transform .14s,border-color .14s,background .14s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{color:#fff;background:var(--green);box-shadow:0 7px 18px #17624f2e}.button-primary:hover:not(:disabled){background:var(--green-dark)}.button-secondary{border-color:var(--line);background:var(--paper)}.button-secondary:hover:not(:disabled){border-color:#b5c2bd}.button-quiet{color:var(--green-dark);background:0 0;padding-inline:12px}.button-quiet:hover:not(:disabled){background:var(--green-soft)}.button-danger-quiet{color:var(--danger);background:#fff8f6;border-color:#efd3ce}.button-wide{width:100%;margin-top:4px}.button-row{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.brand{color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0;display:inline-flex}.brand-static{cursor:default}.brand strong,.brand small{display:block}.brand strong{letter-spacing:-.02em;font-family:Georgia,Times New Roman,serif;font-size:1.2rem}.brand small{color:var(--muted);letter-spacing:.04em;margin-top:1px;font-size:.69rem;font-weight:650}.brand-mark{color:#f7f4ec;background:var(--green-dark);border-radius:10px 10px 3px;place-items:center;width:38px;height:38px;font-family:Georgia,Times New Roman,serif;font-size:1.25rem;display:grid}.app-loading{min-height:100vh;color:var(--muted);place-content:center;justify-items:center;gap:12px;display:grid}.auth-layout{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);min-height:100vh;display:grid}.auth-story{color:#ecf6f1;background:#173c35;flex-direction:column;justify-content:space-between;min-height:100vh;padding:clamp(34px,6vw,82px);display:flex;position:relative;overflow:hidden}.auth-story:before,.auth-story:after{content:"";border:1px solid #ffffff1f;border-radius:50%;position:absolute}.auth-story:before{width:480px;height:480px;top:-160px;right:-220px}.auth-story:after{width:320px;height:320px;bottom:-150px;left:-170px}.auth-story .brand{z-index:1;color:#fff}.auth-story .brand-mark{color:var(--green-dark);background:#eff6f1}.auth-story .brand small{color:#abc1ba}.story-copy{z-index:1;max-width:650px;position:relative}.story-copy .eyebrow{color:#9cd2c1}.story-copy h1{color:#fffdf7;font-size:clamp(3rem,6vw,5.8rem);line-height:.94}.story-copy>p:last-child{color:#c9dad4;max-width:590px;margin:28px 0 0;font-size:1.15rem;line-height:1.7}.story-proof{z-index:1;flex-wrap:wrap;gap:9px;display:flex;position:relative}.story-proof span{color:#c9dad4;border:1px solid #ffffff24;border-radius:999px;padding:8px 12px;font-size:.78rem}.auth-panel{place-items:center;min-height:100vh;padding:38px;display:grid}.auth-card{width:min(100%,430px)}.auth-card h2{font-family:Georgia,Times New Roman,serif;font-size:2rem;font-weight:500}.auth-tabs{border:1px solid var(--line);background:#ffffff80;border-radius:11px;grid-template-columns:1fr 1fr;margin:28px 0 24px;padding:4px;display:grid}.auth-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px;font-weight:750}.auth-tabs button.active{color:var(--green-dark);background:var(--paper);box-shadow:0 3px 12px #23373014}.form-stack{gap:17px;display:grid}.form-stack label,.share-form label{color:#344942;gap:7px;font-size:.83rem;font-weight:750;display:grid}input,textarea{width:100%;color:var(--ink);background:var(--paper);border:1px solid #cecfc7;border-radius:10px}input{height:46px;padding:0 13px}textarea{resize:vertical;padding:13px;line-height:1.6}input:hover,textarea:hover{border-color:#aebdb7}input:focus,textarea:focus{border-color:var(--green);outline:3px solid #17624f1c}.field-help{color:var(--muted);margin:-7px 0 0;font-size:.78rem;line-height:1.5}.alert{border-radius:10px;margin:16px 0;padding:13px 15px;font-size:.88rem;line-height:1.5}.alert-error{color:#7d2924;background:#fff5f3;border:1px solid #eccbc6}.alert-success{color:#14543f;background:#eff8f4;border:1px solid #c5e1d6}.app-frame{min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffefae3;border-bottom:1px solid #cacac0bf;justify-content:space-between;align-items:center;height:72px;padding:0 30px;display:flex;position:sticky;top:0}.account-area{align-items:center;gap:10px;display:flex}.account-name{font-size:.88rem;font-weight:750}.avatar{color:#fff;background:#79684c;border-radius:50%;place-items:center;width:34px;height:34px;font-size:.78rem;font-weight:800;display:inline-grid}.avatar.small{width:27px;height:27px;margin-right:9px;font-size:.68rem}.workspace{grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 72px);display:grid}.sidebar{border-right:1px solid var(--line);background:#f8f7f2bd;flex-direction:column;justify-content:space-between;height:calc(100vh - 72px);padding:26px 18px;display:flex;position:sticky;top:72px}.sidebar nav{gap:7px;display:grid}.nav-link{color:#52625d;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:11px;width:100%;padding:10px 11px;font-size:.88rem;font-weight:720;display:flex}.nav-link:hover{color:var(--green-dark);background:#ffffffa6}.nav-link.active{color:var(--green-dark);background:var(--green-soft);border-color:#c9ddd5}.nav-marker{border:1px solid;border-radius:8px;place-items:center;width:28px;height:28px;font-size:.65rem;font-weight:850;display:grid}.sidebar-note{border:1px solid var(--line);color:var(--muted);background:#ffffff80;border-radius:11px;padding:14px;font-size:.74rem;line-height:1.5}.sidebar-lower{gap:12px;display:grid}.support-navigation{border-top:1px solid var(--line);padding-top:12px}.status-dot{background:#8d9693;border-radius:50%;width:9px;height:9px;margin-right:7px;display:inline-block}.status-dot.ready{background:#2c8a68;box-shadow:0 0 0 4px #2c8a681f}.status-dot.checking{background:#b88c3e;box-shadow:0 0 0 4px #b88c3e21}.status-dot.attention{background:#bd4b42;box-shadow:0 0 0 4px #bd4b421f}.content{min-width:0;padding:clamp(26px,4vw,54px)}.page-section{width:min(100%,1240px);margin:0 auto}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.page-header .muted{margin-bottom:0}.loading-card{border:1px solid var(--line);color:var(--muted);background:#fff9;border-radius:14px;padding:28px}.empty-state{text-align:center;background:#ffffff61;border:1px dashed #bbbdb5;border-radius:16px;align-content:center;place-items:center;min-height:380px;padding:46px 24px;display:grid}.empty-state.compact{min-height:300px}.empty-state h2{margin:16px 0 7px}.empty-state p{max-width:500px;color:var(--muted);line-height:1.55}.empty-state .button{margin-top:8px}.empty-symbol{width:48px;height:48px;color:var(--green);background:var(--green-soft);border:1px solid #b8ccc4;border-radius:14px;place-items:center;font-family:Georgia,serif;font-weight:700;display:grid}.note-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.note-card{border:1px solid var(--line);text-align:left;background:var(--paper);cursor:pointer;border-radius:14px;flex-direction:column;align-items:stretch;min-height:180px;padding:20px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;box-shadow:0 8px 22px #25342f09}.note-card:hover{box-shadow:var(--shadow);border-color:#b7c9c2;transform:translateY(-3px)}.note-card-top{justify-content:space-between;align-items:center;margin-bottom:auto;display:flex}.note-card strong{color:var(--ink);margin:30px 0 9px;font-family:Georgia,serif;font-size:1.28rem;font-weight:550}.note-card>span:last-child,.note-card>span:nth-last-child(2){color:var(--muted);font-size:.78rem;line-height:1.55}.note-card.shared{background:#fbfaf5}.badge{letter-spacing:.025em;border-radius:999px;align-items:center;width:fit-content;padding:5px 8px;font-size:.67rem;font-weight:800;display:inline-flex}.badge-owned{color:#345d50;background:#e9f2ee}.badge-readonly{color:#765b31;background:#f5ecd9}.badge-grounded{color:#17624f;background:#dcefe8;margin-left:8px}.back-link{color:var(--green);cursor:pointer;background:0 0;border:0;margin-bottom:22px;padding:0;font-size:.83rem;font-weight:750}.note-heading{justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:22px;display:flex}.note-heading h1{overflow-wrap:anywhere;max-width:850px}.note-heading .muted{margin:0}.note-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.note-editor-card,.share-card{border:1px solid var(--line);background:var(--paper);border-radius:15px;box-shadow:0 8px 24px #23332e09}.note-editor-card{min-height:520px;padding:clamp(22px,4vw,38px)}.note-content{color:#293c36;white-space:pre-wrap;overflow-wrap:anywhere;font-family:Georgia,Times New Roman,serif;font-size:1.08rem;line-height:1.9}.editor-title-field{margin-bottom:22px}.structured-note-editor{border-radius:12px;min-height:410px;transition:background .13s,box-shadow .13s;position:relative}.structured-note-editor.accepting-drop{background:#e5f1ec7a;box-shadow:inset 0 0 0 1px #b8d4c9}.structured-note-editor .tiptap{white-space:pre-wrap;outline:none;min-height:410px}.structured-note-editor .tiptap>:first-child{margin-top:0}.structured-note-editor .tiptap>:last-child{margin-bottom:0}.structured-note-editor .tiptap p{min-height:1.9em;margin:0 0 1em}.structured-note-editor .tiptap[contenteditable=true]{background:#fff;border:1px solid #d7d8d1;border-radius:10px;padding:12px 14px}.structured-note-editor .tiptap[contenteditable=true]:focus{border-color:#83aa9c;box-shadow:0 0 0 3px #1f70581a}.direct-excerpt{white-space:normal;margin:15px 0 21px;display:block;position:relative}.direct-excerpt-body{color:#293c36;width:100%;font:inherit;text-align:left;cursor:pointer;background:#f0f7f4;border:0;border-left:3px solid #5d9a84;border-radius:3px 10px 10px 3px;padding:14px 16px 12px 18px;transition:background .13s,box-shadow .13s;display:block}.direct-excerpt-body:hover,.direct-excerpt-body:focus-visible,.direct-excerpt.selected .direct-excerpt-body{background:#e7f3ee;outline:none;box-shadow:0 0 0 2px #2c7c621f}.direct-excerpt-text{white-space:pre-wrap;overflow-wrap:anywhere;display:block}.direct-excerpt-source{color:#477466;margin-top:8px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:.7rem;font-weight:800;line-height:1.45;display:block}.direct-excerpt-state{color:#89653c;margin-top:2px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:.67rem;font-weight:750;line-height:1.4;display:block}.direct-excerpt-popover{z-index:12;background:#fff;border:1px solid #cad8d2;border-radius:10px;gap:4px;min-width:235px;padding:13px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:.75rem;line-height:1.45;display:grid;position:absolute;top:calc(100% - 8px);right:10px;box-shadow:0 14px 32px #1d342c2e}.direct-excerpt-popover span{color:var(--muted)}.direct-excerpt-popover p{color:#795f40;font-size:.7rem;min-height:0!important;margin:7px 0 0!important}.direct-excerpt-popover .button{justify-self:end;min-height:34px;margin-top:8px;padding:6px 9px;font-size:.68rem}.inline-direct-excerpt{white-space:normal;margin:0 .18em;display:inline;position:relative}.inline-direct-excerpt .direct-excerpt-body{background:#eef7f3;border:0;border-bottom:2px solid #5d9a84;border-radius:4px;width:auto;padding:.12em .32em;display:inline}.inline-direct-excerpt .direct-excerpt-text{display:inline}.inline-direct-excerpt .direct-excerpt-source{white-space:nowrap;margin:0 0 0 .45em;font-size:.56rem;display:inline}.inline-direct-excerpt .direct-excerpt-state{margin-left:.4em;font-size:.55rem;display:inline}.inline-direct-excerpt .direct-excerpt-popover{white-space:normal;top:calc(100% + 6px);left:0;right:auto}.ai-integrated{white-space:normal;margin:15px 0 21px;display:block;position:relative}.ai-integrated .direct-excerpt-body{background:#f6f2fa;border-left-color:#9272b8}.ai-integrated .direct-excerpt-body:hover,.ai-integrated .direct-excerpt-body:focus-visible{background:#f0e9f7;box-shadow:0 0 0 2px #784fa51f}.ai-integrated .direct-excerpt-source{color:#6c4f8c}.drop-indicator{z-index:8;pointer-events:none;background:#208064;height:2px;position:absolute;left:8px;right:8px;box-shadow:0 0 0 1px #fffc}.drop-indicator:before{content:"";background:#208064;border-radius:50%;width:10px;height:10px;position:absolute;top:-4px;left:-1px}.drop-indicator span{color:#fff;background:#208064;border-radius:999px;padding:2px 8px;font:700 .62rem/1.5 Inter,ui-sans-serif,system-ui,sans-serif;position:absolute;top:-13px;left:50%;transform:translate(-50%)}.inline-drop-caret{z-index:9;pointer-events:none;background:#208064;width:2px;height:1.65em;position:absolute;transform:translateY(-.08em);box-shadow:0 0 0 1px #ffffffd9}.inline-drop-caret span{color:#fff;white-space:nowrap;background:#208064;border-radius:999px;padding:2px 6px;font:700 .56rem/1.4 Inter,ui-sans-serif,system-ui,sans-serif;position:absolute;top:-18px;left:50%;transform:translate(-50%)}.drop-confirm{z-index:14;background:#fff;border:1px solid #bcd4ca;border-radius:11px;width:min(360px,100% - 28px);padding:14px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;position:absolute;right:14px;transform:translateY(8px);box-shadow:0 16px 38px #1d342c33}.drop-confirm strong{font-size:.8rem}.drop-confirm blockquote{color:#40564e;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:4.6em;margin:9px 0 12px;font:.8rem/1.5 Georgia,serif;display:-webkit-box;overflow:hidden}.drop-context{color:#45635a;overflow-wrap:anywhere;background:#eef5f2;border-radius:7px;margin:8px 0;padding:7px 9px;font:.72rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.drop-confirm>div{justify-content:flex-end;gap:5px;display:flex}::highlight(renote-source-passage){color:inherit;background:#f2d982;-webkit-text-decoration:underline #c09a27;text-decoration:underline #c09a27;text-decoration-thickness:2px}.share-card{padding:21px;position:sticky;top:94px}.note-tools{gap:14px;min-width:0;display:grid}.note-tools .share-card{position:static}.share-card h2{margin-bottom:18px}.share-form{border-bottom:1px solid var(--line);gap:12px;padding-bottom:20px;display:grid}.share-list h3{margin:20px 0 10px;font-size:.82rem}.share-row{border-top:1px solid #ece9e1;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;font-size:.83rem;display:flex}.share-row>span{align-items:center;font-weight:720;display:flex}.share-row small{color:var(--muted);margin-top:2px;font-size:.65rem;font-weight:600;display:block}.share-row.share-recipient{align-items:stretch;gap:10px;display:grid}.share-recipient-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.share-recipient-heading>span{align-items:center;min-width:0;display:flex}.share-permissions{flex-wrap:wrap;gap:7px;padding-left:36px;display:flex}.share-permissions label{color:var(--muted);cursor:pointer;background:#faf9f5;border:1px solid #dedfd8;border-radius:8px;align-items:center;gap:5px;padding:5px 7px;font-size:.65rem;font-weight:720;display:flex}.share-permissions input{width:14px;height:14px;accent-color:var(--green)}.check-row{cursor:pointer;grid-template-columns:none;align-items:flex-start;gap:9px!important;display:flex!important}.check-row input{width:17px;height:17px;accent-color:var(--green);flex:none;margin:2px 0 0}.check-row span,.check-row strong,.check-row small{display:block}.check-row small{color:var(--muted);margin-top:2px;font-size:.7rem;font-weight:550;line-height:1.4}.text-danger{color:var(--danger);cursor:pointer;background:0 0;border:0;padding:5px;font-size:.74rem;font-weight:750}.suggestion-list{border:1px solid var(--line);border-radius:8px;margin-top:9px;display:grid;overflow:hidden}.suggestion-list button{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;padding:9px 11px}.suggestion-list button:last-child{border-bottom:0}.suggestion-list button:hover{background:var(--green-soft)}.selection-save-control{z-index:60;color:#fff;background:var(--green-dark);cursor:pointer;border:1px solid #b7d0c6;border-radius:10px;min-height:38px;padding:8px 12px;font-size:.76rem;font-weight:800;position:fixed;box-shadow:0 10px 28px #173c3540}.selection-save-control:hover{background:var(--green)}.highlight-permission-hint{color:#356054;background:var(--green-soft);border:1px solid #c9ddd5;border-radius:9px;width:fit-content;margin:10px 0 0;padding:7px 10px;font-size:.73rem;font-weight:720}.highlight-permission-hint.disabled{color:#765b31;background:#f8f0df;border-color:#e6d7b9}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1426216b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.save-highlight-modal{border:1px solid var(--line);background:var(--paper);border-radius:17px;width:min(100%,540px);max-height:min(720px,100vh - 40px);padding:24px;overflow:auto;box-shadow:0 24px 70px #14262140}.modal-heading,.drawer-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-heading h2,.drawer-heading h2{margin:0}.icon-button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;flex:none;place-items:center;padding:0;font-size:1.2rem;line-height:1;display:inline-grid}.icon-button:hover{color:var(--ink);background:var(--green-soft);border-color:#adc2ba}.selection-preview{border-left:3px solid var(--green);color:#40534c;-webkit-line-clamp:3;background:#f4f7f4;border-radius:0 10px 10px 0;-webkit-box-orient:vertical;margin:20px 0;padding:14px 16px;font:.92rem/1.6 Georgia,serif;display:-webkit-box;overflow:hidden}.note-search-label{color:#344942;margin-bottom:7px;font-size:.78rem;font-weight:750;display:block}.note-list-label{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin:18px 0 8px;font-size:.69rem;font-weight:850}.destination-note-list{border:1px solid var(--line);border-radius:11px;max-height:250px;display:grid;overflow-y:auto}.destination-note{cursor:pointer;border-bottom:1px solid #ece9e1;align-items:center;gap:10px;min-height:48px;padding:10px 12px;display:flex}.destination-note:last-child{border-bottom:0}.destination-note:hover{background:var(--green-soft)}.destination-note input{width:17px;height:17px;accent-color:var(--green);flex:none}.destination-note span{font-family:Georgia,serif}.compact-empty{color:var(--muted);text-align:center;gap:5px;padding:24px 18px;display:grid}.compact-empty strong{color:var(--ink);font-family:Georgia,serif}.compact-empty span{font-size:.76rem;line-height:1.45}.modal-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.saved-toast{z-index:70;color:#fff;background:var(--green-dark);border:1px solid #ffffff24;border-radius:13px;align-items:center;gap:22px;max-width:calc(100vw - 30px);padding:13px 15px 13px 18px;font-size:.82rem;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 16px 45px #14262147}.saved-toast>span{font-weight:800}.saved-toast>div{gap:4px;display:flex}.saved-toast button{color:#d9eee6;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 8px;font-size:.7rem;font-weight:750}.saved-toast button:hover{color:#fff;background:#ffffff1a}.saved-drawer-trigger{min-height:40px;color:var(--green-dark);background:var(--green-soft);cursor:pointer;border:1px solid #c9ddd5;border-radius:10px;padding:9px 12px;font-size:.75rem;font-weight:800}.saved-drawer-trigger:hover{background:#e3f0eb;border-color:#9dbdaf}.note-layout.highlights-open{grid-template-columns:minmax(500px,1fr) minmax(300px,360px)}.note-layout.highlights-open .note-tools{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.saved-highlights-drawer{border:1px solid var(--line);background:#f9f8f3;border-radius:15px;min-width:0;max-height:calc(100vh - 120px);position:sticky;top:94px;overflow:hidden;box-shadow:0 12px 32px #23332e12}.drawer-heading{padding:18px 18px 14px}.drawer-heading h2{font-size:1.25rem}.highlight-tabs{background:#ebece6;border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin:0 14px 12px;padding:4px;display:grid}.highlight-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:8px;font-size:.72rem;font-weight:800}.highlight-tabs button.active{color:var(--green-dark);background:#fff;box-shadow:0 2px 8px #23332e14}.highlight-tabs span{background:#17624f1a;border-radius:999px;place-items:center;min-width:18px;height:18px;margin-left:3px;font-size:.62rem;display:inline-grid}.highlight-list{max-height:calc(100vh - 235px);padding:0 14px 15px;overflow-y:auto}.highlight-card{background:var(--paper);border:1px solid #dcddd6;border-radius:12px;margin-bottom:11px;padding:14px 13px 12px 35px;position:relative;box-shadow:0 4px 13px #23332e09}.drag-handle{color:#748d84;letter-spacing:-4px;cursor:grab;background:0 0;border:0;width:18px;padding:0;font-size:1rem;position:absolute;top:14px;left:10px}.drag-handle:active{cursor:grabbing}.drag-handle:disabled,.highlight-ai:disabled{opacity:.72}.drag-handle:disabled{cursor:not-allowed}.highlight-card.dragging{opacity:.78;background:#f2f8f5;border-color:#78a795;box-shadow:0 10px 24px #23544321}.highlight-remove{color:#7b827f;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:27px;height:27px;padding:0;font-size:1.05rem;display:grid;position:absolute;top:8px;right:8px}.highlight-remove:hover{color:var(--danger);background:#fff0ed}.highlight-preview{color:#293c36;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:3;cursor:pointer;background:0 0;border:0;-webkit-box-orient:vertical;width:calc(100% - 25px);max-height:4.8em;padding:0;font:.88rem/1.6 Georgia,serif;display:-webkit-box;overflow:hidden}.highlight-preview.expanded{-webkit-line-clamp:unset;width:calc(100% - 25px);max-height:none;display:block}.highlight-footer{color:var(--muted);border-top:1px solid #edede8;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:12px;padding-top:9px;font-size:.65rem;line-height:1.45;display:flex}.highlight-footer>div{min-width:0}.highlight-footer span,.highlight-footer small{overflow-wrap:anywhere;display:block}.highlight-footer small{color:#86643d;margin-top:3px;font-weight:750}.highlight-ai{color:#567268;background:var(--green-soft);cursor:pointer;border:0;border-radius:7px;flex:none;padding:5px 6px;font-size:.66rem;font-weight:800}.highlight-ai:hover:not(:disabled){color:#4f3670;background:#eee6f6}.highlight-ai:disabled{cursor:not-allowed}.remove-confirm{z-index:3;background:#fff;border:1px solid #decfc9;border-radius:10px;width:230px;padding:12px;position:absolute;top:38px;right:8px;box-shadow:0 12px 30px #23332e29}.remove-confirm strong{margin-bottom:10px;font-size:.76rem;display:block}.remove-confirm>div{justify-content:flex-end;gap:4px;display:flex}.remove-confirm .button{min-height:32px;padding:6px 8px;font-size:.67rem}.note-editor-card.ai-processing-card{background:linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(110deg, #6fa993, #a37ac0, #d6a66f, #6fa993) border-box;background-size:100% 100%,240% 240%;border-color:#0000;animation:3.8s ease-in-out infinite ai-border-flow}@keyframes ai-border-flow{0%,to{background-position:0 0,0%}50%{background-position:0 0,100%}}.ai-processing-text{color:#644b7e;background:#f3edf8;border-radius:999px;width:fit-content;margin:0 0 13px;padding:7px 10px;font-size:.74rem;font-weight:750}.ai-failure{justify-content:space-between;align-items:center;gap:14px;display:flex}.ai-failure div,.ai-failure span{display:block}.ai-failure span{margin-top:3px;font-size:.76rem}.ai-review-modal{border:1px solid var(--line);background:var(--paper);border-radius:17px;width:min(900px,100%);max-height:calc(100vh - 40px);padding:24px;overflow:hidden;box-shadow:0 24px 70px #14262147}.ai-review-summary{color:#4c3d5c;background:#f8f4fb;border:1px solid #ded5e7;border-radius:11px;gap:4px;margin:18px 0 14px;padding:14px 16px;font-size:.78rem;display:grid}.ai-review-summary strong{margin-bottom:3px;font:600 1.03rem Georgia,serif}.ai-review-summary small{color:var(--muted);margin-top:4px}.ai-review-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.review-legend{flex-wrap:wrap;gap:11px;font-size:.68rem;font-weight:750;display:flex}.review-legend .unchanged{color:#7d827f}.review-legend .added{color:#25765f}.review-legend .updated{color:#75529a}.review-filter{background:#ecece7;border-radius:8px;gap:3px;padding:3px;display:flex}.review-filter button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 9px;font-size:.66rem;font-weight:800}.review-filter button.active{color:var(--ink);background:#fff;box-shadow:0 2px 6px #23332e17}.ai-review-content{gap:8px;max-height:min(470px,100vh - 345px);padding:2px;display:grid;overflow-y:auto}.review-block{background:#fbfbf8;border:1px solid #e6e6e0;border-radius:9px;padding:11px 13px}.review-block>strong{color:#858a87;letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px;font-size:.63rem;display:block}.review-block p{color:#354942;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:.84rem/1.55 Georgia,serif}.review-block.added{background:#edf6f2;border-left:3px solid #5d9a84}.review-block.added>strong{color:#357562}.review-block.updated{background:#f6f1fa;border-left:3px solid #9272b8;grid-template-columns:1fr 1fr;gap:9px;display:grid}.review-block.updated>strong{color:#725195;grid-column:1/-1}.review-block.updated>div{background:#ffffffad;border-radius:7px;padding:9px}.review-block.updated span{color:#786d80;text-transform:uppercase;margin-bottom:4px;font-size:.61rem;font-weight:850;display:block}.chat-title-row{margin-bottom:22px}.ai-outage{margin-bottom:14px}.rag-status-card{border:1px solid var(--line);background:#ffffffb3;border-radius:12px;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:24px;margin-bottom:16px;padding:13px 16px;display:grid}.rag-status-title{align-items:center;display:flex}.rag-status-title strong,.rag-status-title small{display:block}.rag-status-title small{color:var(--muted);margin-top:2px;font-size:.68rem}.rag-metrics{gap:20px;display:flex}.rag-metrics span{color:var(--muted);text-align:center;font-size:.69rem}.rag-metrics b{color:var(--ink);margin-bottom:2px;font-size:.92rem;display:block}.chat-workspace{border:1px solid var(--line);background:var(--paper);height:min(680px,100vh - 245px);min-height:540px;box-shadow:var(--shadow);border-radius:16px;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);display:grid;overflow:hidden}.chat-panel,.sources-panel{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-panel{border-right:1px solid var(--line)}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:70px;padding:14px 19px;display:flex}.panel-heading h2,.panel-heading p{margin:0}.panel-heading h2{font-size:.94rem}.panel-heading p{color:var(--muted);margin-top:3px;font-size:.67rem}.message-list{background:#fdfcf8;flex:1;min-height:0;padding:22px;overflow-y:auto}.message-list,.sources-list{scrollbar-width:thin;scrollbar-color:#76a493 #e7ebe7;scrollbar-gutter:stable;overscroll-behavior:contain}.message-list::-webkit-scrollbar{width:11px}.sources-list::-webkit-scrollbar{width:11px}.message-list::-webkit-scrollbar-track{background:#e7ebe7;border-radius:999px;margin-block:6px}.sources-list::-webkit-scrollbar-track{background:#e7ebe7;border-radius:999px;margin-block:6px}.message-list::-webkit-scrollbar-thumb{background:#76a493;border:3px solid #e7ebe7;border-radius:999px;min-height:42px}.sources-list::-webkit-scrollbar-thumb{background:#76a493;border:3px solid #e7ebe7;border-radius:999px;min-height:42px}.message-list::-webkit-scrollbar-thumb:hover{background:#4f806f}.sources-list::-webkit-scrollbar-thumb:hover{background:#4f806f}.chat-empty,.sources-empty{height:100%;color:var(--muted);text-align:center;align-content:center;place-items:center;padding:24px;display:grid}.chat-empty h3{margin:14px 0 4px}.chat-empty p,.sources-empty p{max-width:330px;font-size:.84rem;line-height:1.55}.message{max-width:82%;margin-bottom:20px}.message-user{margin-left:auto}.message-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;margin-bottom:7px;font-size:.68rem;font-weight:850;display:flex}.message-user .message-label{justify-content:flex-end}.message-body{border:1px solid var(--line);color:#2b3d37;white-space:pre-wrap;background:#fff;border-radius:4px 14px 14px;padding:13px 15px;font-size:.9rem;line-height:1.65}.message-user .message-body{color:#fff;border-color:var(--green);background:var(--green);border-radius:14px 4px 14px 14px}.message-markdown{white-space:normal;overflow-wrap:anywhere}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p{margin:0 0 .85em}.message-markdown h1,.message-markdown h2,.message-markdown h3,.message-markdown h4{color:var(--ink);margin:1.15em 0 .5em;font-family:Georgia,Times New Roman,serif;line-height:1.3}.message-markdown h1{font-size:1.28rem}.message-markdown h2{font-size:1.14rem}.message-markdown h3,.message-markdown h4{font-size:1rem}.message-markdown ul,.message-markdown ol{margin:.5em 0 .9em;padding-left:1.45rem}.message-markdown li{margin:.25em 0;padding-left:.12rem}.message-markdown li>p{margin:.2em 0}.message-markdown blockquote{color:#52665f;border-left:3px solid #9fc8b8;margin:.85em 0;padding:.35em 0 .35em .9em}.message-markdown code{background:#edf2ef;border-radius:4px;padding:.12em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.84em}.message-markdown pre{color:#f4f7f5;white-space:pre;background:#20332d;border-radius:8px;max-width:100%;margin:.85em 0;padding:.85rem;overflow-x:auto}.message-markdown pre code{color:inherit;background:0 0;padding:0}.message-markdown a{color:var(--green);text-underline-offset:2px;font-weight:700}.message-markdown table{border-collapse:collapse;max-width:100%;margin:.85em 0;display:block;overflow-x:auto}.message-markdown th,.message-markdown td{border:1px solid var(--line);text-align:left;padding:.45rem .6rem}.message-markdown th{background:var(--green-soft)}.typing{color:var(--muted);font-style:italic}.stream-cursor{vertical-align:-.12em;background:var(--green);width:2px;height:1em;margin-left:3px;animation:.85s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.chat-composer{border-top:1px solid var(--line);background:#fff;align-items:flex-end;gap:10px;padding:13px;display:flex}.chat-composer textarea{resize:none;min-height:46px;max-height:130px;padding:10px 12px}.sources-heading{gap:12px}.toggle{color:var(--muted);cursor:pointer;align-items:center;gap:7px;font-size:.68rem;font-weight:700;display:flex}.toggle input{opacity:0;width:1px;height:1px;position:absolute}.toggle span{background:#c9cec9;border-radius:999px;width:30px;height:18px;transition:background .13s;position:relative}.toggle span:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .13s;position:absolute;top:3px;left:3px}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{transform:translate(12px)}.sources-list{background:#f8f7f2;flex:1;min-height:0;padding:13px;overflow-y:auto}.source-card{border:1px solid var(--line);text-align:left;cursor:default;background:#fff;border-radius:11px;width:100%;margin:0 0 11px;padding:15px;display:block}.source-card:last-child{margin-bottom:2px}.source-card-top{justify-content:space-between;align-items:center;display:flex}.source-rank{color:var(--green);font-size:.72rem;font-weight:850}.source-score{color:#356054;background:var(--green-soft);border-radius:999px;padding:4px 7px;font-size:.65rem;font-weight:800}.source-card h3{margin:12px 0 4px;font-family:Georgia,serif;font-size:1.02rem;font-weight:550}.source-owner{color:var(--muted);margin-bottom:11px;font-size:.72rem}.source-card blockquote{color:#40534c;white-space:pre-wrap;border-left:2px solid #bdd5cc;max-height:150px;margin:0;padding-left:11px;font-size:.76rem;line-height:1.55;overflow:hidden}.source-card small{color:#8a6940;margin-top:8px;display:block}.source-details{color:var(--muted);overflow-wrap:anywhere;border-top:1px solid #ece9e1;gap:3px;margin-top:11px;padding-top:9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.62rem;display:grid}.provenance-card,.workflow-card{background:#f8fcfa;border:1px solid #c9ddd5;border-radius:14px;margin-bottom:18px;padding:19px 21px}.provenance-card{justify-content:space-between;align-items:center;gap:20px;display:flex}.provenance-card h2,.provenance-card p{margin-bottom:3px}.source-unavailable{color:#7a6040;margin-top:9px;font-size:.8rem;font-weight:700}.workflow-card{border-color:var(--line);background:var(--paper);box-shadow:0 8px 24px #23332e09}.workflow-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.message-field{color:#344942;gap:7px;margin:16px 0;font-size:.83rem;font-weight:750;display:grid}.change-summary{gap:10px;margin:15px 0;display:grid}.change-summary section{background:#fafaf7;border:1px solid #e4e3dc;border-radius:9px;padding:10px 12px;overflow:hidden}.change-summary strong{text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;font-size:.74rem;display:block}.change-summary p{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.74rem;line-height:1.5}.change-added{color:#17624f}.change-removed{color:#923a34}.compare-grid{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;display:grid}.compare-grid section{min-width:0}.compare-grid strong{margin-bottom:6px;font-size:.76rem;display:block}.compare-grid pre{border:1px solid var(--line);max-height:260px;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f6f1;border-radius:8px;margin:0;padding:11px;font:.72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.tool-card{border:1px solid var(--line);background:var(--paper);border-radius:13px;overflow:hidden}.tool-card summary{color:var(--ink);cursor:pointer;padding:14px 16px;font-size:.83rem;font-weight:780}.tool-card-body{gap:12px;padding:0 14px 14px;display:grid}.count-badge{color:#fff;background:var(--green);border-radius:999px;place-items:center;min-width:20px;height:20px;margin-left:4px;font-size:.65rem;display:inline-grid}.suggestion-item{background:#fbfaf6;border:1px solid #e6e3da;border-radius:9px;padding:12px}.suggestion-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.suggestion-item>p{color:var(--muted);margin:8px 0;font-size:.78rem;line-height:1.5}.suggestion-item .button{min-height:35px;padding:7px 9px;font-size:.7rem}.version-list article{border-top:1px solid #ece9e1;padding-top:10px}.version-list article>strong,.version-list article>span{display:block}.version-list article>span{color:var(--muted);margin-top:2px;font-size:.65rem}.version-list article>p{margin:7px 0 0;font-size:.78rem}.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.guide-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;min-height:230px;padding:22px}.guide-card>span{color:#fff;background:var(--green);border-radius:9px;place-items:center;width:32px;height:32px;margin-bottom:22px;font-weight:850;display:grid}.guide-card p{min-height:76px;color:var(--muted);font-size:.86rem;line-height:1.6}.knowledge-flow{color:#e8f3ef;background:var(--green-dark);border-radius:15px;margin-top:18px;padding:25px}.knowledge-flow h2{color:#fff}.knowledge-flow>div{flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0;display:flex}.knowledge-flow>div span{background:#ffffff12;border:1px solid #fff3;border-radius:8px;padding:9px 12px;font-size:.78rem;font-weight:750}.knowledge-flow p{color:#bfd5cd;max-width:800px;margin-bottom:0;line-height:1.6}@media (width<=1050px){.note-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.note-layout{grid-template-columns:minmax(0,1fr)}.note-layout.highlights-open{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.note-layout.highlights-open .note-tools{grid-template-columns:1fr 1fr}.share-card{position:static}.rag-status-card{grid-template-columns:1fr auto}.rag-metrics{border-top:1px solid var(--line);grid-area:2/1/auto/-1;justify-content:space-around;padding-top:10px}.chat-workspace{grid-template-columns:1fr;height:auto;min-height:0}.chat-panel{border-right:0;border-bottom:1px solid var(--line);min-height:560px}.sources-panel{min-height:400px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:auto;padding:30px 24px 36px}.story-copy{margin:70px 0}.story-copy h1{font-size:3rem}.auth-panel{min-height:auto;padding:48px 24px}.topbar{height:64px;padding:0 16px}.brand small,.account-name{display:none}.workspace{grid-template-columns:1fr}.sidebar{z-index:15;border-right:0;border-bottom:1px solid var(--line);background:#f8f7f2f2;flex-direction:row;width:100%;height:auto;padding:8px 12px;position:sticky;top:64px}.sidebar nav{grid-template-columns:repeat(3,1fr);display:grid}.primary-navigation{flex:1}.sidebar-lower{display:block}.support-navigation{border-top:0;border-left:1px solid var(--line);height:100%;padding:0 0 0 7px}.support-navigation .nav-link{height:100%}.nav-link{justify-content:center;padding:8px 5px;font-size:.69rem}.nav-marker,.sidebar-note{display:none}.content{padding:26px 17px 45px}.page-header,.note-heading{flex-direction:column;align-items:flex-start}.note-grid{grid-template-columns:1fr}.note-card{min-height:150px}.rag-status-card{grid-template-columns:1fr auto;gap:12px}.message{max-width:94%}.chat-panel{min-height:530px}.provenance-card{flex-direction:column;align-items:flex-start}.compare-grid,.guide-grid{grid-template-columns:1fr}.guide-card,.guide-card p{min-height:0}.note-layout.highlights-open{grid-template-columns:minmax(0,1fr)}.note-layout.highlights-open .note-tools{grid-column:auto;grid-template-columns:1fr}.saved-highlights-drawer{z-index:75;border-radius:18px 18px 0 0;max-height:min(76vh,680px);position:fixed;inset:auto 0 0;box-shadow:0 -18px 45px #14262133}.highlight-list{max-height:calc(76vh - 130px)}.saved-toast{flex-direction:column;align-items:stretch;gap:7px;bottom:14px}.saved-toast>div{justify-content:flex-end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.note-editor-card.ai-processing-card{background:linear-gradient(var(--paper), var(--paper)) padding-box, linear-gradient(110deg, #7aa996, #9b7ab5) border-box;animation:none}}
