@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/20aee433927f7d4b-s.157oer57eo50s.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/256e1f7f180674ba-s.0lzyohd.mq-zj.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/be3bf58b83159894-s.0k50~bcr4_n6n.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/753b6407f468151f-s.0ld551rg41h9m.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/292081311a6a8abc-s.0kzsaos0rt4.l.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(../media/68d403cf9f2c68c5-s.p.0nhx~dwif.9~q.woff2?dpl=dpl_5zuSWL4L2xFRQtuHiDFM7kNDPN3X)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Serif 4 Fallback";src:local(Times New Roman);ascent-override:87.87%;descent-override:28.41%;line-gap-override:0.0%;size-adjust:117.91%}.source_serif_4_846fac10-module__iUxBdG__className{font-family:"Source Serif 4","Source Serif 4 Fallback";font-style:normal}.source_serif_4_846fac10-module__iUxBdG__variable{--font-source-serif:"Source Serif 4", "Source Serif 4 Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root,[data-theme=light]{--bg-primary:#fafaf8;--bg-secondary:#f0ede6;--bg-surface:#fff;--text-primary:#1a1a1a;--text-secondary:#4a4a4a;--text-muted:#8a8a8a;--border:#e0ddd6;--border-light:#eae7e0;--accent:#8b6914;--accent-hover:#a47d1a;--highlight-yellow:#ffeb7866;--highlight-blue:#78b4ff4d;--highlight-green:#78e6a04d;--highlight-pink:#ff96b44d;--scholarly-warmth:#b48c500f;--shadow:0 1px 3px #00000014;--page-surface:#fffef9}[data-theme=dark]{--bg-primary:#1a1a1e;--bg-secondary:#242428;--bg-surface:#2a2a2e;--text-primary:#e0ddd6;--text-secondary:#b0ada6;--text-muted:#6a6a6a;--border:#3a3a3e;--border-light:#333336;--accent:#c4a24a;--accent-hover:#d4b25a;--highlight-yellow:#ffeb7833;--highlight-blue:#78b4ff26;--highlight-green:#78e6a026;--highlight-pink:#ff96b426;--scholarly-warmth:#b48c5014;--shadow:0 1px 3px #0000004d;--page-surface:#232328}[data-theme=sepia]{--bg-primary:#f4ead5;--bg-secondary:#e8dcc3;--bg-surface:#f8f0dd;--text-primary:#3b2e1a;--text-secondary:#5a4a30;--text-muted:#8a7a60;--border:#d4c4a8;--border-light:#e0d0b8;--accent:#8b6914;--accent-hover:#a47d1a;--highlight-yellow:#ffe66459;--highlight-blue:#78aaf040;--highlight-green:#78d29640;--highlight-pink:#f08caa40;--scholarly-warmth:#a0783c14;--shadow:0 1px 3px #3c280a1a;--page-surface:#faf3e0}body{background:var(--bg-primary);color:var(--text-primary);font-family:var(--font-source-serif), "Source Serif 4", Georgia, "Times New Roman", serif;transition:background-color .2s,color .2s}.header{z-index:50;background:var(--bg-surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;padding:.75rem 1.5rem;display:flex}.header-logo{color:var(--text-primary);white-space:nowrap;font-family:"Source Serif 4",Georgia,serif;font-size:1.125rem;font-weight:600;text-decoration:none}.header-nav{gap:1.5rem;display:flex}.header-link{color:var(--text-secondary);font-family:system-ui,-apple-system,sans-serif;font-size:.875rem;text-decoration:none;transition:color .15s}.header-link:hover{color:var(--accent)}.header-controls{align-items:center;gap:.75rem;display:flex}.header-btn{border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;border-radius:4px;padding:.25rem .5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;transition:background-color .15s,color .15s}.header-btn:hover{background:var(--border);color:var(--text-primary)}.font-controls{align-items:center;gap:.25rem;display:flex}.font-size-display{color:var(--text-muted);text-align:center;min-width:1.5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.reader-text{max-width:38rem;line-height:1.65;font-size:var(--reader-font-size,19px);-webkit-user-select:text;user-select:text;cursor:text;margin:0 auto;padding:1.5rem 3rem 3rem}.reader-text p{margin-bottom:1.2em}.reader-text h1,.reader-text h2,.reader-text h3,.reader-text h4{margin-top:2em;margin-bottom:.75em;font-weight:600;line-height:1.3}.reader-text h1{font-size:1.75em}.reader-text h2{font-size:1.4em}.reader-text h3{font-size:1.2em}.reader-text blockquote{border-left:3px solid var(--border);color:var(--text-secondary);margin-left:0;padding-left:1.5em;font-style:italic}.reader-text em{font-style:italic}.reader-text strong{font-weight:600}.annotation-highlight{background:var(--highlight-yellow);cursor:pointer;border-radius:2px;transition:background-color .15s}.annotation-highlight:hover{background:#ffeb7899}.annotation-highlight[data-color=blue]{background:var(--highlight-blue)}.annotation-highlight[data-color=green]{background:var(--highlight-green)}.annotation-highlight[data-color=pink]{background:var(--highlight-pink)}.annotation-highlight[data-annotation-type=underline]{border-bottom:2px solid var(--accent);background:0 0;border-radius:0;padding-bottom:1px}.annotation-highlight[data-annotation-type=underline]:hover{background:#8b69140f}.annotation-highlight-fuzzy{border-bottom:1px dashed var(--text-muted)}.reader-text ::selection{background:var(--highlight-yellow)}.scholarly-warmth{background:var(--scholarly-warmth);transition:background-color .3s}.margin-dot{background:var(--accent);opacity:.5;cursor:pointer;border-radius:50%;width:6px;height:6px;transition:opacity .15s}.margin-dot:hover{opacity:1}.library-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.text-card{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:8px;padding:1.25rem;transition:border-color .15s,box-shadow .15s}.text-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.text-card-title{color:var(--text-primary);margin-bottom:.25rem;font-family:"Source Serif 4",Georgia,serif;font-size:1.05rem;font-weight:600}.text-card-author{color:var(--text-secondary);font-family:system-ui,-apple-system,sans-serif;font-size:.85rem}.text-card-meta{color:var(--text-muted);margin-top:.5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.search-bar{border:1px solid var(--border);background:var(--bg-surface);width:100%;max-width:32rem;color:var(--text-primary);border-radius:6px;outline:none;padding:.6rem 1rem;font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;transition:border-color .15s}.search-bar:focus{border-color:var(--accent)}.search-bar::placeholder{color:var(--text-muted)}.verified-badge{background:var(--accent);color:#fff;vertical-align:middle;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;margin-left:4px;font-size:10px;display:inline-flex}.reader-view{background:var(--bg-primary);min-height:calc(100vh - 52px);display:flex}.reader-main{flex:1;transition:margin-right .25s}.reader-main.sidebar-open{margin-right:380px}.reader-content-wrapper{position:relative}.reader-page{background:var(--page-surface);border-left:1px solid #0000000a;border-radius:3px 12px 12px 3px;max-width:44rem;margin:2rem auto 3rem;position:relative;overflow:visible;box-shadow:0 1px 4px #0000000f,0 4px 16px #0000000a,-3px 0 8px -2px #00000014}.reader-page:before{content:"";pointer-events:none;z-index:0;background-image:url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");position:absolute;inset:0}.reader-page:after{content:"";pointer-events:none;z-index:0;background:linear-gradient(270deg,#00000005,#0000);width:20px;height:100%;position:absolute;top:0;right:0}.reader-page>*{z-index:1;position:relative}.reader-header-block{border-bottom:1px solid var(--border-light);max-width:38rem;margin:0 auto .5rem;padding:2.5rem 3rem 0}.reader-title{margin-bottom:.25rem;font-size:1.75rem;font-weight:600;line-height:1.3}.reader-author{color:var(--text-secondary);margin-bottom:1.5rem;font-size:1rem}.annotation-toolbar{background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;gap:2px;padding:4px;animation:.1s ease-out toolbar-appear;display:flex;box-shadow:0 4px 12px #00000026}@keyframes toolbar-appear{0%{opacity:0;transform:translate(-50%)translateY(4px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.annotation-toolbar-btn{width:32px;height:28px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem;font-weight:600;transition:background-color .1s,color .1s;display:flex}.annotation-toolbar-btn:hover{background:var(--bg-secondary);color:var(--accent)}.annotation-highlight[data-annotation-type=highlight].has-note{border-bottom:2px solid var(--accent)}.annotation-highlight[data-annotation-type=margin_note]{border-bottom:2px dotted var(--accent);background:0 0;border-radius:0;padding-bottom:1px}.annotation-highlight[data-annotation-type=margin_note]:hover{background:#8b69140f}.annotation-highlight[data-annotation-type=expanded_note]{border-bottom:2px solid var(--accent);background:#8b691414;border-radius:0;padding-bottom:1px}.annotation-highlight[data-annotation-type=expanded_note]:hover{background:#8b691424}.sticky-note-tab{background:var(--accent);vertical-align:middle;cursor:pointer;opacity:.65;border-radius:2px 2px 0 0;flex-shrink:0;width:14px;height:14px;margin-left:6px;transition:opacity .15s,transform .15s;display:inline-block;position:relative;top:-1px}.sticky-note-tab:after{content:"";background:#00000026;border-radius:0 0 2px 2px;width:100%;height:3px;position:absolute;bottom:-3px;left:0}.sticky-note-tab:hover{opacity:1;transform:translateY(-1px)}.annotation-sidebar{background:var(--bg-surface);border-left:1px solid var(--border);z-index:40;width:380px;height:calc(100vh - 52px);animation:.2s ease-out sidebar-slide;position:fixed;top:52px;right:0;overflow-y:auto}@keyframes sidebar-slide{0%{transform:translate(100%)}to{transform:translate(0)}}.sidebar-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:1rem 1.25rem;display:flex}.sidebar-title{color:var(--text-primary);font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;font-weight:600}.sidebar-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:.25rem .5rem;font-family:system-ui,-apple-system,sans-serif;font-size:1rem}.sidebar-close:hover{color:var(--text-primary)}.sidebar-content{padding:1rem 1.25rem}.sidebar-empty{color:var(--text-muted);text-align:center;padding:2rem 0;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem}.annotation-card{border-bottom:1px solid var(--border-light);padding:.75rem 0}.annotation-card:last-child{border-bottom:none}.annotation-quote{font-family:var(--font-source-serif), Georgia, serif;color:var(--text-secondary);border-left:2px solid var(--border);margin-bottom:.5rem;padding-left:.75rem;font-size:.85rem;font-style:italic;line-height:1.5}.annotation-body{color:var(--text-primary);margin-bottom:.5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem;line-height:1.6}.annotation-meta{gap:.5rem;margin-bottom:.4rem;display:flex}.annotation-type-badge,.annotation-visibility-badge,.annotation-seed-badge{text-transform:uppercase;letter-spacing:.05em;background:var(--bg-secondary);color:var(--text-muted);border-radius:3px;padding:2px 6px;font-family:system-ui,-apple-system,sans-serif;font-size:.65rem}.annotation-seed-badge{background:var(--highlight-blue);color:var(--text-secondary)}.annotation-actions{gap:.5rem;display:flex}.annotation-action-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.annotation-action-btn:hover{color:var(--accent)}.annotation-action-delete:hover{color:#c44}.annotation-textarea{border:1px solid var(--border);background:var(--bg-primary);width:100%;color:var(--text-primary);resize:vertical;border-radius:4px;outline:none;margin-bottom:.5rem;padding:.5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem}.annotation-textarea:focus{border-color:var(--accent)}.annotation-edit-controls{align-items:center;gap:.5rem;display:flex}.annotation-visibility-select{border:1px solid var(--border);background:var(--bg-primary);color:var(--text-primary);border-radius:4px;padding:.25rem .5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.annotation-btn-save,.annotation-btn-cancel{border:1px solid var(--border);cursor:pointer;border-radius:4px;padding:.25rem .75rem;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.annotation-btn-save{background:var(--accent);color:#fff;border-color:var(--accent)}.annotation-btn-cancel{background:var(--bg-secondary);color:var(--text-secondary)}.note-editor-overlay{z-index:60;pointer-events:none;justify-content:center;padding:1rem;display:flex;position:fixed;bottom:0;left:0;right:0}.note-editor{background:var(--bg-surface);border:1px solid var(--border);pointer-events:auto;border-radius:8px;width:100%;max-width:500px;animation:.2s ease-out editor-slide-up;box-shadow:0 -4px 20px #00000026}@keyframes editor-slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.note-editor-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.note-editor-type{color:var(--accent);text-transform:uppercase;letter-spacing:.05em;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;font-weight:600}.note-editor-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;font-family:system-ui,-apple-system,sans-serif;font-size:1rem}.note-editor-quote{font-family:var(--font-source-serif), Georgia, serif;color:var(--text-secondary);border-bottom:1px solid var(--border-light);max-height:4rem;padding:.75rem 1rem;font-size:.85rem;font-style:italic;line-height:1.5;overflow-y:auto}.note-editor-textarea{width:100%;color:var(--text-primary);resize:none;background:0 0;border:none;outline:none;padding:.75rem 1rem;font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;line-height:1.6}.note-editor-footer{border-top:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:.5rem 1rem;display:flex}.note-editor-visibility{border:1px solid var(--border);background:var(--bg-primary);color:var(--text-secondary);border-radius:4px;padding:.25rem .5rem;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.note-editor-actions{gap:.5rem;display:flex}.note-editor-cancel{border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;border-radius:4px;padding:.35rem .75rem;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem}.note-editor-save{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:4px;padding:.35rem 1rem;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;font-weight:500}.note-editor-save:hover{background:var(--accent-hover)}.chat-panel{background:var(--bg-surface);border-left:1px solid var(--border);border-top:1px solid var(--border);z-index:50;border-radius:8px 0 0;flex-direction:column;width:400px;height:60vh;animation:.2s ease-out sidebar-slide;display:flex;position:fixed;bottom:0;right:0}.chat-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.chat-title{color:var(--accent);font-family:system-ui,-apple-system,sans-serif;font-size:.85rem;font-weight:600}.chat-passage-context{font-family:var(--font-source-serif), Georgia, serif;color:var(--text-secondary);border-bottom:1px solid var(--border-light);max-height:3.5rem;padding:.6rem 1rem;font-size:.8rem;font-style:italic;line-height:1.4;overflow-y:auto}.chat-messages{flex-direction:column;flex:1;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.chat-empty{color:var(--text-muted);text-align:center;padding:2rem 1rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem;line-height:1.6}.chat-message{max-width:90%}.chat-message-user{align-self:flex-end}.chat-message-assistant{align-self:flex-start}.chat-message-content{border-radius:12px;padding:.6rem .85rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem;line-height:1.6}.chat-message-user .chat-message-content{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.chat-message-assistant .chat-message-content{background:var(--bg-secondary);color:var(--text-primary);border-bottom-left-radius:4px}.chat-typing{color:var(--text-muted);font-style:italic}.chat-error{color:#c44;text-align:center;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem}.chat-input-area{border-top:1px solid var(--border-light);gap:.5rem;padding:.75rem 1rem;display:flex}.chat-input{border:1px solid var(--border);background:var(--bg-primary);color:var(--text-primary);resize:none;border-radius:8px;outline:none;flex:1;padding:.5rem .75rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem}.chat-input:focus{border-color:var(--accent)}.chat-send{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;align-self:flex-end;padding:.5rem 1rem;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;font-weight:500}.chat-send:disabled{opacity:.5;cursor:not-allowed}.auth-container{max-width:24rem;margin:4rem auto;padding:0 1.5rem}.auth-title{font-family:var(--font-source-serif), Georgia, serif;color:var(--text-primary);margin-bottom:1.5rem;font-size:1.5rem;font-weight:600}.auth-form{flex-direction:column;gap:.75rem;display:flex}.auth-input{border:1px solid var(--border);background:var(--bg-surface);color:var(--text-primary);border-radius:6px;outline:none;padding:.6rem .75rem;font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;transition:border-color .15s}.auth-input:focus{border-color:var(--accent)}.auth-input::placeholder{color:var(--text-muted)}.auth-submit{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:6px;margin-top:.25rem;padding:.6rem;font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;font-weight:500;transition:background-color .15s}.auth-submit:hover{background:var(--accent-hover)}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-error{color:#c44;margin:0;font-family:system-ui,-apple-system,sans-serif;font-size:.8rem}.auth-link-text{color:var(--text-secondary);margin-top:1.25rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem}.auth-link{color:var(--accent);text-decoration:none}.auth-link:hover{text-decoration:underline}.auth-divider{align-items:center;gap:.75rem;margin:1.25rem 0;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-divider span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-family:system-ui,-apple-system,sans-serif;font-size:.75rem}.oauth-buttons{flex-direction:column;gap:.5rem;display:flex}.oauth-btn{border:1px solid var(--border);background:var(--bg-surface);width:100%;color:var(--text-primary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:.6rem;padding:.6rem;font-family:system-ui,-apple-system,sans-serif;font-size:.85rem;font-weight:500;transition:background-color .15s,border-color .15s;display:flex}.oauth-btn:hover{background:var(--bg-secondary);border-color:var(--text-muted)}.auth-message{color:var(--text-secondary);font-family:system-ui,-apple-system,sans-serif;font-size:.9rem;line-height:1.6}@media (max-width:768px){.header-inner{padding:.5rem 1rem}.header-nav{display:none}.reader-text{padding:1.5rem 1rem}.reader-page{box-shadow:none;border-left:none;border-radius:0;margin:0}.reader-header-block{padding:1.5rem 1rem 0}.font-controls{display:none}.reader-main.sidebar-open{margin-right:0}.annotation-sidebar{border-left:none;border-top:1px solid var(--border);border-radius:12px 12px 0 0;width:100%;height:50vh;top:auto;bottom:0}.note-editor{border-radius:12px 12px 0 0;max-width:100%}.chat-panel{border-left:none;border-radius:12px 12px 0 0;width:100%}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
