/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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-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{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.contents{display:contents}.hidden{display:none}.table{display:table}.underline{text-decoration-line:underline}}:root{--paper:#f3f0e8;--paper-deep:#e9e4d8;--card:#fffdf8;--ink:#18231f;--muted:#6c746f;--quiet:#959b96;--line:#d9d4c8;--green:#2d684f;--green-deep:#1d4736;--green-soft:#dce9df;--amber:#ba7436;--danger:#a43c32;--serif:"Iowan Old Style", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;--sans:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{background:var(--paper);min-width:320px;color:var(--ink);font-family:var(--sans);text-rendering:optimizelegibility;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent;color:inherit}:focus-visible{outline:3px solid var(--amber)}@supports (color:color-mix(in lab, red, red)){:focus-visible{outline:3px solid color-mix(in srgb, var(--amber) 72%, white)}}:focus-visible{outline-offset:3px}.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}.wordmark{color:var(--ink);letter-spacing:-.02em;align-items:center;gap:12px;font-size:21px;font-weight:720;line-height:1;text-decoration:none;display:inline-flex}.wordmark-mark{background:var(--green);width:40px;height:40px;color:var(--card);border-radius:12px;flex:0 0 40px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #ffffff29,0 6px 16px #1d47362e}.wordmark-symbol{width:30px;height:30px;overflow:visible}.wordmark-book,.wordmark-spine,.wordmark-page-lines{stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.wordmark-book{fill:#ffffff14;stroke-width:2.15px}.wordmark-spine{stroke-width:2.15px}.wordmark-page-lines{stroke-width:1.65px;opacity:.72}.connect-page{background:linear-gradient(90deg, transparent 49.93%, #2d684f1c 50%, transparent 50.07%), var(--paper);flex-direction:column;min-height:100dvh;display:flex;overflow:hidden}.brand-bar{border-bottom:1px solid #18231f1f;justify-content:space-between;align-items:center;width:100%;max-width:1440px;min-height:76px;margin:0 auto;padding:0 54px;display:flex}.brand-meta{color:var(--muted);letter-spacing:.12em;font-size:12px}.connect-layout{flex:1;grid-template-columns:minmax(0,1fr) minmax(480px,.92fr);width:100%;max-width:1440px;min-height:calc(100dvh - 126px);margin:0 auto;display:grid}.connect-copy{flex-direction:column;justify-content:center;padding:72px 8vw 72px 54px;display:flex}.eyebrow,.section-index,.step-kicker{color:var(--green);letter-spacing:.18em;text-transform:uppercase;font-size:12px;font-weight:800}.connect-copy>h1{max-width:700px;font-family:var(--serif);letter-spacing:-.055em;margin:22px 0 24px;font-size:clamp(46px,5.3vw,82px);font-weight:500;line-height:1.06}.connect-copy>h1 span{color:var(--green);font-style:italic}.connect-lead{max-width:610px;color:var(--muted);margin:0 0 42px;font-size:16px;line-height:1.9}.connect-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf8d1;border-radius:20px;max-width:650px;padding:28px;box-shadow:0 24px 70px #1e2c2517}.connect-card-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;display:flex}.connect-card h2{font-family:var(--serif);letter-spacing:-.02em;margin:6px 0 0;font-size:25px;font-weight:600}.status-pill{background:var(--green-soft);color:var(--green-deep);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.connect-card label{margin-bottom:9px;font-size:12px;font-weight:700;display:block}.key-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"key submit""remember.";align-items:start;gap:10px;display:grid}.key-row>input,.book-search input{border:1px solid var(--line);min-width:0;color:var(--ink);background:#fff;transition:border-color .18s,box-shadow .18s}.key-row>input{border-radius:11px;grid-area:key;height:50px;padding:0 16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.key-row>input:focus,.book-search input:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 3px #2d684f1f}.key-row button,.primary-action{border:1px solid var(--green);background:var(--green);color:#fff;cursor:pointer;border-radius:11px;font-weight:700;transition:background .18s,transform .18s}.key-row button{grid-area:submit;min-width:128px;height:50px;padding:0 20px}.connect-card .remember-key-option{min-height:32px;color:var(--ink);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;grid-area:remember;align-items:center;gap:8px;margin:0;padding:0 2px;font-size:13px;font-weight:650;line-height:1.25;display:inline-flex}.remember-key-option:hover{color:var(--green-deep)}.remember-key-option input{width:18px;height:18px;accent-color:var(--green);flex:none;margin:0}.remember-key-option:has(input:focus-visible){outline:3px solid var(--amber)}@supports (color:color-mix(in lab, red, red)){.remember-key-option:has(input:focus-visible){outline:3px solid color-mix(in srgb, var(--amber) 72%, white)}}.remember-key-option:has(input:focus-visible){outline-offset:3px}.remember-key-option input:focus-visible{outline:none}.key-security-warning{border:1px solid var(--amber);align-items:flex-start;gap:9px;margin:12px 0 0;padding:10px 12px;display:flex}@supports (color:color-mix(in lab, red, red)){.key-security-warning{border:1px solid color-mix(in srgb, var(--amber) 38%, var(--line))}}.key-security-warning{background:var(--amber);border-radius:10px}@supports (color:color-mix(in lab, red, red)){.key-security-warning{background:color-mix(in srgb, var(--amber) 8%, var(--card))}}.key-security-warning{color:#74451f;font-size:13px;line-height:1.55}.key-security-warning svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;flex:none;width:18px;height:18px;margin-top:1px}.key-row button:hover,.primary-action:hover{background:var(--green-deep)}.key-row button:active,.primary-action:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.5}.key-help{color:var(--muted);justify-content:space-between;gap:20px;margin-top:12px;font-size:13px;line-height:1.5;display:flex}.key-help a{color:var(--green);text-underline-offset:3px;flex:none;font-weight:700}.form-error{min-height:18px;color:var(--danger);margin:10px 0 -8px;font-size:12px}.product-preview{background:var(--green-deep);color:#fff;isolation:isolate;flex-direction:column;justify-content:center;min-width:0;padding:70px 7vw;display:flex;position:relative}.product-preview:before{z-index:-1;content:"";border:1px solid #ffffff26;border-radius:24px;position:absolute;inset:24px}.product-preview:after{z-index:-2;content:"";border:1px solid #ffffff14;border-radius:50%;width:520px;height:520px;position:absolute;top:-12%;right:-18%}.preview-topline{color:#ffffffa3;letter-spacing:.16em;text-transform:uppercase;justify-content:space-between;font-size:12px;font-weight:800;display:flex}.preview-stat{grid-template-columns:auto auto 1fr auto auto;align-items:baseline;gap:10px;margin:28px 0 34px;display:grid}.preview-stat strong{font-family:var(--serif);font-size:clamp(32px,4vw,56px);font-weight:500}.preview-stat span{color:#ffffff9e;font-size:12px}.preview-rule{background:#fff3;align-self:center;height:1px;margin:0 12px}.preview-quote-card{background:#ffffff14;border:1px solid #ffffff26;border-radius:16px;padding:28px}.preview-book-label{color:#b6d7c6;letter-spacing:.12em;font-size:12px;font-weight:800}.preview-quote-card blockquote{font-family:var(--serif);margin:22px 0;font-size:clamp(20px,2.1vw,29px);line-height:1.6}.preview-quote-card p{color:#ffffffa6;border-top:1px solid #ffffff21;margin:0;padding-top:16px;font-size:12px;line-height:1.7}.preview-books{align-items:flex-end;gap:11px;margin-top:28px;display:flex}.sample-cover{width:56px;height:78px;font-family:var(--serif);text-align:center;border-radius:3px 7px 7px 3px;place-items:center;padding:6px;font-size:12px;line-height:1.25;display:grid;box-shadow:0 12px 22px #0003}.cover-one{color:#27352d;background:#e7dcc6}.cover-two{color:#fff;background:#c87a48;transform:translateY(-8px)}.cover-three{color:#203129;background:#b7c9c0}.cover-four{color:#442e1e;background:#f0b96e;transform:translateY(-3px)}.preview-caption{color:#ffffff87;font-family:var(--serif);margin:22px 0 0;font-size:13px;font-style:italic}.developer-footer{width:100%;max-width:1440px;min-height:50px;color:var(--muted);border-top:1px solid #18231f1f;justify-content:space-between;align-items:center;gap:24px;margin:0 auto;padding:0 54px;font-size:12px;display:flex}.developer-footer-links{align-items:center;gap:18px;display:flex}.developer-footer a,.developer-footer button{color:var(--green-deep);cursor:pointer;background:0 0;border:0;padding:5px 0;font-size:12px;font-weight:750;text-decoration:none}.developer-footer a:hover,.developer-footer button:hover{text-underline-offset:4px;text-decoration:underline}.developer-dialog{border:1px solid var(--line);background:var(--card);width:min(680px,100vw - 36px);max-width:none;color:var(--ink);border-radius:24px;padding:0;overflow:visible;box-shadow:0 30px 90px #12201940}.developer-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#18231f85}.developer-dialog-card{grid-template-columns:minmax(0,1fr) 210px;gap:30px;padding:34px;display:grid;position:relative}.developer-dialog-close{z-index:1;border:1px solid var(--line);width:36px;height:36px;color:var(--muted);cursor:pointer;background:#fffdf8eb;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:16px;right:16px}.developer-dialog-close:hover{color:var(--green-deep);border-color:#2d684f57}.developer-dialog-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:18px;height:18px}.developer-dialog-copy{min-width:0}.developer-dialog-brand{align-items:center;gap:14px;padding-right:28px;display:flex}.developer-dialog-brand h2{font-family:var(--serif);letter-spacing:-.025em;margin:5px 0 0;font-size:26px;font-weight:600}.developer-dialog-copy>p{color:var(--muted);text-wrap:pretty;margin:24px 0;font-size:14px;line-height:1.8}.developer-profile-links{gap:8px;display:grid}.developer-profile-links a{border:1px solid var(--line);min-height:43px;color:var(--ink);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:0 13px;font-size:13px;text-decoration:none;transition:border-color .16s,background .16s;display:flex}.developer-profile-links a:hover{background:var(--green-soft);border-color:#2d684f57}.developer-profile-links span{color:var(--muted);font-weight:700}.developer-profile-links strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.developer-qr-card{border:1px solid var(--line);background:#fff;border-radius:16px;align-self:center;margin:0;padding:10px;box-shadow:0 12px 30px #1e2c2514}.developer-qr-card img{border-radius:8px;width:100%;height:auto;display:block}.developer-qr-card figcaption{text-align:center;flex-direction:column;gap:3px;padding:10px 4px 3px;display:flex}.developer-qr-card strong{font-size:13px}.developer-qr-card span{color:var(--muted);font-size:12px}.workspace-page{background:var(--paper);height:100dvh;overflow:hidden}.workspace-header{z-index:10;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f3f0e8f0;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;padding:0 30px;display:grid;position:relative}.wordmark-button{cursor:pointer;background:0 0;border:0;width:max-content;padding:0}.workspace-nav{border:1px solid var(--line);background:#ffffff8c;border-radius:999px;align-items:center;gap:4px;padding:4px;display:flex}.workspace-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:8px 16px;font-size:12px;font-weight:700}.workspace-nav button.active{background:var(--ink);color:#fff}.workspace-account{justify-content:flex-end;align-items:center;gap:12px;font-size:12px;display:flex}.workspace-account .about-button{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:12px;font-weight:700}.workspace-account .about-button:hover{color:var(--green-deep)}.workspace-account .connection-badge{color:var(--green);flex:none;font-weight:700}.workspace-account .connection-badge i{background:#45a46f;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block;box-shadow:0 0 0 4px #45a46f1f}.sync-control{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.workspace-account .sync-button{min-height:34px;color:var(--green-deep);cursor:pointer;background:#ffffff94;border:1px solid #2d684f3d;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:750;display:inline-flex}.workspace-account .sync-button:hover:not(:disabled){background:var(--card);border-color:#2d684f80}.workspace-account .sync-button:disabled,.workspace-account .disconnect-button:disabled{cursor:wait;opacity:.58}.sync-glyph{font-size:15px;line-height:1}.sync-button.syncing .sync-glyph{animation:.8s linear infinite spin}.workspace-account .sync-message{max-width:150px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.workspace-account .sync-message.success{color:var(--green)}.workspace-account .sync-message.warning{color:var(--amber)}.workspace-account .sync-message.error{color:var(--danger)}.workspace-account .disconnect-button,.section-heading-row button{color:var(--muted);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:700;text-decoration:underline}.workspace-shell{grid-template-columns:300px minmax(0,1fr);height:calc(100dvh - 72px);display:grid}.library-panel{border-right:1px solid var(--line);background:#ede9df;flex-direction:column;min-width:0;padding:28px 18px 20px;display:flex;overflow:hidden}.library-heading{justify-content:space-between;align-items:flex-end;padding:0 8px 18px;display:flex}.library-heading h2{font-family:var(--serif);margin:5px 0 0;font-size:21px;font-weight:600}.library-heading>strong{color:var(--quiet);font-family:var(--serif);font-size:28px;font-weight:500}.library-scope-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 8px 14px;display:grid}.library-scope-controls button{min-height:36px;color:var(--muted);cursor:pointer;background:#fffdf880;border:1px solid #37413b1a;border-radius:9px;justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;font-weight:750;transition:border-color .16s,background .16s,color .16s;display:flex}.library-scope-controls button:hover{background:#fffdf8d1;border-color:#2d684f47}.library-scope-controls button.active{border-color:var(--green);background:var(--green);color:#fff}.library-scope-controls small{font-variant-numeric:tabular-nums;opacity:.78;font-size:12px;font-weight:800}.book-search{padding:0 8px 14px;display:block}.book-search input{border-radius:9px;width:100%;height:38px;padding:0 12px;font-size:12px}.book-sort-controls{background:#fffdf894;border-radius:999px;grid-template-columns:repeat(3,1fr);gap:4px;margin:0 8px 14px;padding:4px;display:grid}.book-sort-controls button{min-height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 5px;font-size:12px;font-weight:700}.book-sort-controls button.active{background:var(--ink);color:#fff}.book-sort-controls button:disabled{color:var(--quiet);cursor:not-allowed;opacity:.5}.book-list{scrollbar-width:thin;scrollbar-color:#c4beb1 transparent;flex:1;min-height:0;padding:0 4px 30px;overflow:auto}.book-list-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;padding:10px;transition:border-color .16s,background .16s,transform .16s;display:grid}.book-list-item:hover{background:#fffdf899;border-color:#2d684f29}.book-list-item.selected{background:var(--card);border-color:#2d684f40;box-shadow:0 10px 24px #2e383212}.book-list-item-static{cursor:default}.book-cover{background:#d7dfd6;border-radius:3px 9px 9px 3px;flex:none;place-items:center;width:92px;height:132px;display:inline-grid;position:relative;overflow:hidden;box-shadow:0 14px 28px #1b27212b}.book-cover:after{z-index:2;content:"";background:#0000001f;width:1px;position:absolute;top:0;bottom:0;left:5px}.book-cover-compact{border-radius:2px 5px 5px 2px;width:43px;height:61px;box-shadow:0 7px 14px #1b272124}.book-cover-fallback{max-width:80%;color:var(--green-deep);font-family:var(--serif);text-align:center;font-size:15px;font-weight:700;line-height:1.25}.book-cover-compact .book-cover-fallback{font-size:12px}.book-cover img{z-index:1;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.book-list-copy{flex-direction:column;align-self:center;min-width:0;display:flex}.book-list-copy strong,.book-list-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.book-list-copy strong{font-size:14px;line-height:1.5}.book-list-copy span{color:var(--muted);margin-top:2px;font-size:12px}.book-list-copy small{color:var(--green);letter-spacing:.05em;margin-top:7px;font-size:13px;font-weight:800}.empty-list{color:var(--muted);text-align:center;padding:22px 14px;font-size:12px}.empty-list p{margin:0 0 10px}.empty-list button{color:var(--green);text-underline-offset:4px;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:750;text-decoration:underline}.content-panel{background:linear-gradient(#2d684f09 1px, transparent 1px), linear-gradient(90deg, #2d684f09 1px, transparent 1px), var(--paper);background-size:42px 42px;min-width:0;overflow:auto}.overview-view,.notes-view{max-width:1180px;margin:0 auto;padding:54px 46px 80px}.overview-intro,.notes-header{justify-content:space-between;align-items:flex-start;gap:30px;display:flex}.overview-intro h1,.notes-header h1,.notes-prompt h1{font-family:var(--serif);letter-spacing:-.045em;margin:10px 0 9px;font-size:clamp(36px,4vw,58px);font-weight:500;line-height:1.08}.overview-intro p,.notes-header p,.notes-prompt p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.month-stamp{border:1px solid var(--line);color:var(--muted);background:#fffdf8c2;border-radius:8px;padding:10px 13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.inline-warning{color:#76502c;background:#f7eddc;border:1px solid #dbc7a7;border-radius:9px;margin:24px 0 -10px;padding:11px 13px;font-size:13px}.inline-warning.error{color:var(--danger);background:#f8e9e5;border-color:#a43c3240}.metric-grid{grid-template-columns:1.25fr repeat(3,1fr);gap:12px;margin:38px 0 14px;display:grid}.metric-card{border:1px solid var(--line);background:#fffdf8e6;border-radius:14px;flex-direction:column;justify-content:space-between;min-height:154px;padding:21px;display:flex}.metric-card>span{color:var(--muted);font-size:13px;font-weight:700}.metric-card strong{font-family:var(--serif);letter-spacing:-.03em;margin:16px 0;font-size:clamp(25px,2.5vw,36px);font-weight:550}.metric-card em{color:var(--muted);font-family:var(--sans);font-size:12px;font-style:normal;font-weight:650}.metric-card small{color:var(--quiet);font-size:13px;line-height:1.5}.metric-card-primary{border-color:var(--green-deep);background:var(--green-deep);color:#fff}.metric-card-primary>span,.metric-card-primary small{color:#ffffffa3}.overview-grid{grid-template-columns:1.5fr 1fr;gap:14px;display:grid}.insight-card{border:1px solid var(--line);background:#fffdf8e6;border-radius:14px;min-height:310px;padding:24px}.card-heading-row,.section-heading-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.card-heading-row h2,.section-heading-row h2{font-family:var(--serif);margin:6px 0 0;font-size:22px;font-weight:600}.card-heading-row>span{color:var(--muted);font-size:12px}.timeline-chart{border-bottom:1px solid var(--line);align-items:flex-end;gap:8px;height:235px;margin-top:22px;padding-top:44px;display:flex}.timeline-column{flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:center;gap:7px;min-width:0;height:100%;display:flex;position:relative}.timeline-bar{background:var(--green);border-radius:8px 8px 2px 2px;width:min(16px,70%);min-height:5px;transition:background .16s;position:relative}.timeline-column:hover .timeline-bar,.timeline-column:focus-visible .timeline-bar{background:var(--amber)}.timeline-column small{color:var(--quiet);white-space:nowrap;font-size:12px}.category-card{flex-direction:column;display:flex}.category-row{grid-template-columns:74px minmax(40px,1fr) 82px;align-items:center;gap:10px;margin-top:25px;display:grid}.category-row>span{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.category-row>div{background:var(--paper-deep);border-radius:999px;height:5px;overflow:hidden}.category-row i{border-radius:inherit;background:var(--amber);height:100%;display:block}.category-row small{color:var(--muted);text-align:right;font-size:13px}.empty-card{min-height:180px;color:var(--muted);text-align:center;place-items:center;margin:0;font-size:13px;display:grid}.recent-books{margin-top:44px}.book-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;margin-top:22px;display:grid}.book-grid button{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;min-width:0;padding:0;display:flex}.book-grid button:hover .book-cover{transform:translateY(-4px);box-shadow:0 18px 32px #1b272138}.book-grid .book-cover{aspect-ratio:.7;width:100%;height:auto;transition:transform .18s,box-shadow .18s}.book-grid strong,.book-grid span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.book-grid strong{margin-top:13px;font-size:14px}.book-grid span{color:var(--muted);margin-top:4px;font-size:13px}.book-grid small{color:var(--green);margin-top:8px;font-size:13px;font-weight:800}.data-view{max-width:1320px;margin:0 auto;padding:48px 38px 80px}.data-heading{justify-content:space-between;align-items:flex-start;gap:28px;display:flex}.data-heading h1{font-family:var(--serif);letter-spacing:-.045em;margin:9px 0 8px;font-size:clamp(34px,4vw,54px);font-weight:500;line-height:1.08}.data-heading p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.period-switch{border:1px solid var(--line);background:#fffdf8b8;border-radius:10px;flex:none;gap:4px;padding:4px;display:flex}.period-switch button{min-width:48px;min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 11px;font-size:12px;font-weight:750}.period-switch button.active{background:var(--ink);color:#fff;box-shadow:0 5px 14px #18231f24}.period-switch button:disabled{cursor:wait;opacity:.6}.data-loading{color:var(--muted);align-items:center;gap:8px;margin-top:24px;font-size:13px;font-weight:650;display:flex}.data-loading>span{border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;width:13px;height:13px;animation:.7s linear infinite spin}.data-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:34px 0 14px;display:grid}.data-metric-card{border:1px solid var(--line);background:#fffdf8eb;border-radius:14px;flex-direction:column;justify-content:space-between;min-height:132px;padding:19px 20px;display:flex}.data-metric-card>span{color:var(--muted);font-size:13px;font-weight:750}.data-metric-card strong{font-family:var(--serif);letter-spacing:-.025em;margin:13px 0;font-size:clamp(23px,2.3vw,33px);font-weight:560}.data-metric-card small{color:var(--quiet);font-size:13px;line-height:1.45}.data-metric-primary{border-color:var(--green-deep);background:var(--green-deep);color:#fff}.data-metric-primary>span,.data-metric-primary small{color:#ffffffa3}.data-dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;display:grid}.data-card{border:1px solid var(--line);background:#fffdf8eb;border-radius:14px;min-width:0;min-height:330px;padding:23px}.data-rhythm-card{grid-column:span 7}.data-category-card,.data-time-card{grid-column:span 5}.data-top-books-card{grid-column:span 7}.data-card-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.data-card-heading h2{font-family:var(--serif);margin:6px 0 0;font-size:22px;font-weight:600}.data-card-heading>span{max-width:45%;color:var(--muted);text-align:right;font-size:13px;line-height:1.5}.data-category-card .data-card-heading>span{color:var(--green);font-size:13px;font-weight:700}.data-chart-scroll{scrollbar-width:thin;scrollbar-color:#c4beb1 transparent;margin-top:0;padding-top:48px;overflow-x:auto}.data-timeline-chart{align-items:end;gap:5px;min-width:100%;height:228px;padding-inline:48px;display:grid}.data-timeline-column{text-align:center;grid-template-rows:18px minmax(0,1fr) 18px;align-items:end;gap:4px;height:100%;display:grid;position:relative}.data-timeline-column>strong{color:var(--quiet);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.data-timeline-track{background:linear-gradient(#0000 40%,#2d684f0e);border-radius:5px 5px 2px 2px;justify-content:center;align-items:flex-end;height:100%;display:flex}.data-timeline-track i{background:var(--green);border-radius:5px 5px 2px 2px;width:min(18px,70%);min-height:3px;transition:height .18s,background .16s;display:block;position:relative}.data-timeline-column:hover .data-timeline-track i,.data-timeline-column:focus-visible .data-timeline-track i{background:var(--amber)}.chart-tooltip{z-index:20;background:var(--ink);color:#fff;width:max-content;max-width:190px;font-family:var(--sans);opacity:0;pointer-events:none;white-space:nowrap;border:1px solid #ffffff1f;border-radius:7px;padding:7px 9px;font-size:12px;font-style:normal;font-weight:700;line-height:1.35;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,4px);box-shadow:0 8px 22px #18231f38}.chart-tooltip:after{border:5px solid #0000;border-top-color:var(--ink);content:"";width:0;height:0;position:absolute;top:100%;left:50%;transform:translate(-50%)}.timeline-column:hover .chart-tooltip,.timeline-column:focus-visible .chart-tooltip,.data-timeline-column:hover .chart-tooltip,.data-timeline-column:focus-visible .chart-tooltip{opacity:1;transform:translate(-50%)}.data-timeline-column small{color:var(--quiet);white-space:nowrap;font-size:12px}.data-category-row{margin-top:18px}.data-category-row>div{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:7px;display:flex}.data-category-row>div span{font-family:var(--serif);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.data-category-row>div small{color:var(--muted);flex:none;font-size:13px}.data-progress-track{background:var(--paper-deep);border-radius:999px;height:5px;display:block;overflow:hidden}.data-progress-track i{border-radius:inherit;background:var(--green);height:100%;display:block}.time-distribution{grid-template-columns:repeat(24,minmax(5px,1fr));align-items:end;gap:3px;height:220px;margin-top:24px;display:grid}.time-distribution-column{grid-template-rows:minmax(0,1fr) 18px;align-items:end;gap:5px;height:100%;display:grid}.time-distribution-column>span:first-child{border-bottom:1px solid var(--line);justify-content:center;align-items:flex-end;height:100%;display:flex}.time-distribution-column i{background:var(--amber);border-radius:3px 3px 0 0;width:100%;min-height:3px;display:block}@supports (color:color-mix(in lab, red, red)){.time-distribution-column i{background:color-mix(in srgb, var(--amber) 70%, var(--green))}}.time-distribution-column small{color:var(--quiet);text-align:center;white-space:nowrap;font-size:12px}.top-books-list{gap:10px;margin:20px 0 0;padding:0;list-style:none;display:grid}.top-books-list li{grid-template-columns:24px 32px minmax(0,1fr) 86px;align-items:center;gap:9px;display:grid}.top-book-rank{color:var(--quiet);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.top-book-cover{background:var(--green-soft);width:30px;height:42px;color:var(--green-deep);font-family:var(--serif);border-radius:2px 4px 4px 2px;place-items:center;font-size:12px;font-weight:700;display:grid;overflow:hidden}.top-book-cover img{object-fit:cover;width:100%;height:100%}.top-book-copy{gap:3px;min-width:0;display:grid}.top-book-copy>strong,.top-book-copy>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.top-book-copy>strong{font-family:var(--serif);letter-spacing:-.015em;font-size:15px;font-weight:600;line-height:1.35}.top-book-copy>small{color:var(--muted);font-size:12px;line-height:1.4}.top-book-copy .data-progress-track{margin-top:3px}.top-book-time{color:var(--muted);text-align:right;font-size:13px}.data-empty{min-height:220px;color:var(--muted);text-align:center;place-items:center;margin:0;font-size:13px;display:grid}.notes-book-heading{align-items:flex-start;gap:24px;display:flex}.notes-book-heading .book-cover{width:82px;height:118px}.notes-header h1{max-width:640px;margin-top:7px;font-size:clamp(32px,3.6vw,51px)}.note-counts{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.note-counts span{background:var(--paper-deep);color:var(--muted);border-radius:5px;padding:5px 8px;font-size:13px;font-weight:700}.notes-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.notes-actions a,.notes-actions button{border:1px solid var(--line);background:var(--card);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;min-height:38px;padding:0 13px;font-size:13px;font-weight:750;text-decoration:none;display:inline-flex}.notes-actions .primary-action{border-color:var(--green);background:var(--green);color:#fff}.chapter-list{margin-top:56px}.chapter-section{border-top:1px solid var(--line);grid-template-columns:210px minmax(0,1fr);gap:30px;padding:42px 0;display:grid}.chapter-heading{align-self:start;position:sticky;top:24px}.chapter-heading>span{color:var(--amber);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:800}.chapter-heading h2{font-family:var(--serif);margin:10px 0 8px;font-size:20px;font-weight:600;line-height:1.45}.chapter-heading small{color:var(--quiet);font-size:13px}.chapter-notes{gap:12px;display:grid}.note-card{border:1px solid var(--line);background:#fffdf8e6;border-radius:12px;padding:23px 24px;position:relative}.note-card.thought{border-left:3px solid var(--amber)}.note-type{color:var(--green);letter-spacing:.14em;margin-bottom:13px;font-size:13px;font-weight:850;display:block}.note-card blockquote{color:#2c3833;font-family:var(--serif);white-space:pre-wrap;margin:0;font-size:17px;line-height:1.9}.attached-thought{border-left:2px solid var(--green);background:var(--green-soft);margin-top:19px;padding:15px 17px}.attached-thought span{color:var(--green-deep);letter-spacing:.09em;font-size:13px;font-weight:850}.attached-thought p,.standalone-thought{color:#34443d;white-space:pre-wrap;margin:7px 0 0;font-size:14px;line-height:1.8}.notes-loading,.notes-empty{text-align:center;align-content:center;place-items:center;min-height:360px;padding:40px;display:grid}.notes-loading span{border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;width:30px;height:30px;animation:.9s linear infinite spin}.notes-loading p,.notes-empty p{color:var(--muted);margin:15px 0 0;font-size:14px}.notes-empty h2{font-family:var(--serif);margin:0;font-size:25px}.notes-empty button{border:1px solid var(--green);color:var(--green);cursor:pointer;background:0 0;border-radius:8px;margin-top:18px;padding:9px 14px;font-size:13px;font-weight:800}.notes-prompt{min-height:100%}.notes-prompt h1{max-width:680px}.empty-list,.empty-card,.notes-empty,.form-error{text-wrap:pretty}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1080px){.connect-layout{grid-template-columns:1fr 46%}.connect-copy{padding-left:36px}.brand-bar,.developer-footer{padding-inline:36px}.metric-grid{grid-template-columns:repeat(2,1fr)}.book-grid{grid-template-columns:repeat(4,1fr)}.overview-grid{grid-template-columns:1fr}.data-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-rhythm-card,.data-category-card,.data-time-card,.data-top-books-card{grid-column:span 6}}@media (width<=840px){.connect-page{overflow:clip visible}.connect-layout{grid-template-columns:1fr;min-height:auto}.connect-copy{padding:64px 28px}.product-preview{min-height:680px;padding:64px 12vw}.workspace-page{height:auto;min-height:100dvh;overflow:visible}.workspace-header{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand account""nav nav";row-gap:10px;height:auto;min-height:68px;padding:12px 18px;position:sticky;top:0}.workspace-header .wordmark-button{grid-area:brand}.workspace-header .wordmark>span:last-child{display:none}.workspace-nav{width:100%;box-shadow:none;grid-area:nav;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:static}.workspace-nav button{min-height:40px;padding-inline:10px}.workspace-account{grid-area:account;min-width:0}.workspace-account .sync-message{max-width:90px}.workspace-shell{height:auto;display:block}.library-panel{border-right:0;border-bottom:1px solid var(--line);padding:18px 12px 12px;overflow:visible}.library-heading,.book-search{padding-bottom:10px}.book-list{gap:6px;height:auto;padding-bottom:4px;display:flex;overflow-x:auto}.book-list-item{flex:0 0 228px}.overview-view,.notes-view,.data-view{padding:42px 22px 110px}.data-rhythm-card,.data-category-card,.data-time-card,.data-top-books-card{grid-column:1/-1}.chapter-section{grid-template-columns:1fr;gap:18px}.chapter-heading{position:static}}@media (width<=580px){.brand-bar{min-height:64px;padding:0 20px}.brand-meta{display:none}.developer-footer{flex-direction:column;align-items:flex-start;gap:8px;min-height:auto;padding:18px 20px 24px}.developer-footer-links{gap:16px}.developer-dialog{max-height:calc(100dvh - 28px);overflow-y:auto}.developer-dialog-card{grid-template-columns:1fr;gap:24px;padding:26px 20px 22px}.developer-dialog-brand{padding-right:34px}.developer-qr-card{justify-self:center;width:min(230px,100%)}.workspace-account{gap:8px}.workspace-account .connection-badge{display:none}.workspace-account .sync-message{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.connect-copy{padding:52px 20px 44px}.connect-copy>h1{font-size:44px}.connect-lead{font-size:14px}.connect-card{padding:20px}.key-row{grid-template-columns:1fr;grid-template-areas:"key""remember""submit"}.key-help{flex-direction:column;gap:8px}.product-preview{min-height:620px;padding:54px 36px}.preview-stat{grid-template-columns:auto auto}.preview-rule{display:none}.metric-grid{grid-template-columns:1fr}.data-heading{flex-direction:column}.period-switch{width:100%}.period-switch button{flex:1;min-width:0}.data-metric-grid{grid-template-columns:1fr}.data-card{min-height:300px;padding:19px}.top-books-list li{grid-template-columns:21px 28px minmax(0,1fr)}.top-book-time{display:none}.metric-card{min-height:134px}.book-grid{grid-template-columns:repeat(2,1fr)}.notes-header,.overview-intro{flex-direction:column}.notes-book-heading{gap:16px}.notes-book-heading .book-cover{width:64px;height:92px}.notes-actions{justify-content:flex-start}.notes-actions a,.notes-actions button{flex:120px}.chapter-section{padding:30px 0}.note-card{padding:19px}.note-card blockquote{font-size:16px}.category-row{grid-template-columns:70px minmax(40px,1fr) 70px}}.wechat-debug-panel{right:12px;bottom:max(12px, env(safe-area-inset-bottom));z-index:1000;width:min(360px,100vw - 24px);max-height:min(70vh,520px);color:var(--ink);background:#fffdf8fa;border:1px solid #18231f29;border-radius:16px;padding:16px;font-size:13px;position:fixed;overflow:auto;box-shadow:0 18px 48px #18231f33}.wechat-debug-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.wechat-debug-heading>strong{font-size:15px}.wechat-debug-heading>span{color:var(--green);font-weight:700}.wechat-debug-panel>p{color:var(--muted);margin:7px 0 13px;line-height:1.55}.wechat-debug-panel ol{gap:9px;margin:0;padding:0;list-style:none;display:grid}.wechat-debug-panel li{grid-template-columns:9px minmax(0,1fr);align-items:start;gap:9px;display:grid}.wechat-debug-dot{background:var(--quiet);border-radius:50%;width:9px;height:9px;margin-top:5px}.wechat-debug-panel li[data-status=success] .wechat-debug-dot{background:var(--green)}.wechat-debug-panel li[data-status=error] .wechat-debug-dot{background:var(--danger)}.wechat-debug-panel li>div{gap:2px;min-width:0;display:grid}.wechat-debug-panel li strong{font-size:13px}.wechat-debug-panel li span:last-child{overflow-wrap:anywhere;color:var(--muted);line-height:1.45}.wechat-debug-panel li[data-status=error] span:last-child{color:var(--danger)}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
