@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap");:root{color-scheme:light;--paper:#f7f3e9;--surface:#fffcf5;--sidebar:#eeebdd;--soft:#e9ebdb;--ink:#344b36;--muted:#66745b;--line:#d9dcc8;--accent:#516b43;--button-ink:#fffaf0;--shadow:0 8px 28px #4c472b08}html[data-theme=dark]{color-scheme:dark;--paper:#191e17;--surface:#21271e;--sidebar:#20271e;--soft:#2b3525;--ink:#c2d4aa;--muted:#a0ad8d;--line:#404a34;--accent:#b0c28d;--button-ink:#20271b;--shadow:0 8px 28px #080b0733}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px DM Sans,sans-serif}button,input,select{font:inherit}a,button,input,select{color:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;background:none;cursor:pointer;min-height:44px}button:disabled{opacity:.5;cursor:not-allowed}a,button,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}a{text-decoration:none}h1,h2,h3,p{margin-top:0}svg{flex-shrink:0}a,button{transition:background .18s ease,box-shadow .18s ease}button:not(:disabled):hover{filter:brightness(.96)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600}.muted{color:var(--muted);text-align:center}.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.shell{min-height:100dvh;display:flex}.sidebar{width:250px;flex-shrink:0;border-right:1px solid var(--line);padding:34px 20px 24px;display:flex;flex-direction:column;position:fixed;height:100dvh;background:var(--sidebar);overflow-y:auto;z-index:5}.sidebar-top{margin:0 8px 55px}.brand{display:flex;align-items:center;gap:12px;font:27px/.98 Libre Caslon Display,Georgia,serif;letter-spacing:-.6px}.brand>span{max-width:158px}.brand small{display:block;font:9px DM Sans,sans-serif;letter-spacing:3px;margin-bottom:6px}.dot{color:#9b9167}.menu-toggle{display:none}.navlabel{padding-left:15px;margin-bottom:15px}.nav,.navlabel{color:var(--muted)}.nav{width:100%;justify-content:flex-start;padding:13px 15px;border-radius:8px;margin-bottom:6px;font-size:13px}.nav span{margin-left:auto;font-size:11px}.nav.selected{color:var(--ink);font-weight:600;box-shadow:inset 3px 0 #8e9e72}.nav.selected,.nav:hover{background:var(--soft)}.sidefoot{margin-top:auto;padding-top:35px}.private{padding:0 15px;font:italic 17px/1.6 Georgia,serif;color:var(--muted);margin-bottom:24px}.settings-nav{margin-bottom:18px}.profile{border-top:1px solid var(--line);padding:20px 5px 0;display:flex;gap:10px;align-items:center}.avatar{background:var(--soft);border:1px solid var(--line);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-family:serif}.profile div{min-width:0;flex:1 1}.profile strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px}.profile small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.profile a{min-height:44px;min-width:34px;display:grid;place-items:center}.main{margin-left:250px;padding:32px 5%;width:calc(100% - 250px);max-width:1700px;min-width:0}.topline{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:9px;letter-spacing:1.8px;margin-bottom:46px}.topline>span:last-child{letter-spacing:0;font-size:11px}.statusdot{display:inline-block;background:#8b9c6b;width:5px;height:5px;border-radius:50%;margin-right:6px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}h1{font:400 46px/1.08 Libre Caslon Display,Georgia,serif;letter-spacing:-.8px;margin-bottom:13px}.heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}.dark,.primary,.save-place{background:var(--accent);color:var(--button-ink);border-radius:7px;padding:12px 18px;font-size:12px;white-space:nowrap}.secondary,.theme-toggle{border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:12px}.theme-toggle{font-size:11px;letter-spacing:0}.continue{display:flex;justify-content:space-between;background:var(--soft);border:1px solid var(--line);border-radius:14px;min-height:300px;padding:40px;overflow:hidden;position:relative;box-shadow:var(--shadow)}.continue>div:first-child{position:relative;z-index:1}.continue .eyebrow{color:var(--muted);font-size:9px}.continue h2{font:400 37px/1.12 Libre Caslon Display,Georgia,serif;margin:20px 0 12px;max-width:520px;overflow-wrap:anywhere}.continue p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-line}.dark{margin-top:8px}.dark span{margin-left:20px}.place-reminder{display:flex;align-items:flex-start;gap:7px;font-size:11px!important}.place-reminder svg{margin-top:3px}.bookart{width:200px;position:relative;flex-shrink:0;margin-left:30px;align-self:center;transform:rotate(9deg)}.artcover{width:151px;height:218px;background:#d9d5b9;border-radius:2px 5px 5px 2px;box-shadow:3px 10px 18px #252b1b25;border-left:6px solid #b3b28d;padding:18px;position:relative;color:#52613e}.artcover>span{font-size:6px;letter-spacing:1.5px;line-height:1.8}.artcover em{font:23px/1.15 Georgia,serif;display:block;margin-top:28px}.artcover small{font-size:5px;letter-spacing:1px;position:absolute;bottom:16px}.lineart{font-size:43px;color:#8b9678;position:absolute;right:12px;top:16px}.artback{position:absolute;width:150px;height:218px;background:#899775;transform:rotate(-19deg);top:9px;left:25px;box-shadow:4px 10px 20px #252b1b20}.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.home-shortcuts button{flex-direction:column;align-items:flex-start;text-align:left;padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:14px;box-shadow:var(--shadow)}.home-shortcuts strong{font-size:16px;font-weight:500}.home-shortcuts span{font-size:11px;color:var(--muted);line-height:1.8}.home-shortcuts span:last-child{margin-top:auto;color:var(--ink)}.collection{margin-top:38px}.collectionhead{display:flex;justify-content:space-between;align-items:center;gap:16px}.collectionhead h2{font-size:18px;font-weight:500;margin:0}.collectionhead h2 span,.wish-saved h2 span{font-size:11px;background:var(--soft);padding:3px 7px;border-radius:5px;margin-left:8px;color:var(--muted)}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:10px 13px;border-radius:7px;color:var(--muted);background:var(--surface)}.search input{border:0;background:none;font-size:12px;width:148px;min-width:0}.formats{font-size:11px;color:var(--muted);margin:16px 0 24px}.formats span{margin:0 7px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:26px}.book{min-width:0}.cover{width:100%;height:234px;background:#d9deca;flex-direction:column;padding:23px;box-shadow:inset 6px 0 #00000008,2px 6px 12px #333b2010;border-radius:3px 7px 7px 3px;position:relative;color:#43503a}.cover h3{font:23px/1.2 Georgia,serif;overflow-wrap:anywhere;max-height:112px;overflow:hidden}.coverformat{font-size:8px;letter-spacing:2px;margin-bottom:12px}.coverline{width:27px;border-top:1px solid;margin-bottom:8px}.cover small{font-size:5px;letter-spacing:1.4px;margin-top:14px}.c1{background:#e3d6be;color:#646043}.c2{background:#d3dccc;color:#4a634b}.c3{background:#e4dfba;color:#6d704a}.bookmeta{display:flex;justify-content:space-between;gap:6px;margin-top:9px}.bookmeta button{font-size:12px;text-align:left;padding:0;overflow-wrap:anywhere}.bookmeta button:first-child{justify-content:flex-start}.bookmeta button:last-child{min-width:38px}.book p{font-size:10px;color:var(--muted);margin:4px 0}.book-status-dot{display:inline-block;width:6px;height:6px;border:1px solid var(--muted);border-radius:50%;margin-right:6px}.book-status-dot.started{background:var(--muted)}.addcard{min-height:234px;align-self:start;flex-direction:column;border:1px dashed var(--line);border-radius:9px;color:var(--muted);padding:25px 15px;gap:10px;background:var(--surface)}.addcircle{border-radius:50%;background:var(--soft);width:43px;height:43px;display:grid;place-items:center;margin-bottom:9px}.addcard strong{font-size:12px;font-weight:500}.addcard>span:not(.addcircle){font-size:10px}.addcard small{font-size:9px;letter-spacing:1px;margin-top:10px}.bottomnote{gap:8px;padding-top:22px;color:var(--muted);font-size:11px;line-height:1.6}.bottomnote,.reset-section{display:flex;align-items:center;border-top:1px solid var(--line);margin-top:42px}.reset-section{padding-top:24px;gap:15px;flex-wrap:wrap}.reset-section>div{flex:1 1;min-width:200px}.reset-section h2{font-size:15px;font-weight:500;margin-bottom:8px}.reset-section p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:0}select{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:10px;min-height:44px}.reset-section select{max-width:230px;font-size:12px}.reset-section button{border:1px solid var(--line);padding:10px;border-radius:7px;font-size:12px}.error{background:#f5e3d7;color:#843b27;padding:12px;border-radius:6px;line-height:1.6}html[data-theme=dark] .error{background:#402c23;color:#f2b59b}.book-discovery{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:28px;margin:20px 0 35px}.book-discovery>label{font-size:18px;display:block;margin-bottom:15px}.book-discovery>div{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:7px 8px 7px 15px}.book-discovery input{flex:1 1;min-width:0;border:0;background:transparent;padding:8px}.book-discovery small{display:block;margin-top:13px;font-size:11px;color:var(--muted);line-height:1.7}.book-discovery small a{text-decoration:underline}.wish-results h2,.wish-saved h2{font-size:18px;font-weight:500}.wish-saved{margin-top:36px}.wish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wish-card{display:flex;gap:20px;padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.wish-card>div:last-child{min-width:0}.wish-cover{width:86px;height:127px;background:var(--soft);flex-shrink:0;display:grid;place-items:center;overflow:hidden;border-radius:2px 5px 5px 2px}.wish-cover img{width:100%;height:100%;object-fit:cover}.wish-card h3{font:19px/1.3 Georgia,serif;margin-bottom:8px;overflow-wrap:anywhere}.wish-card p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:4px}.wish-card small{font-size:10px;color:var(--muted);display:block}.wish-card .primary{padding:8px 10px;font-size:11px;margin-top:14px}.wish-remove{font-size:11px;text-decoration:underline;padding:2px 0;margin-top:10px;color:var(--muted)}.wish-empty{text-align:center;border:1px dashed var(--line);border-radius:12px;padding:45px;color:var(--muted)}.wish-empty svg{margin-bottom:18px}.wish-empty h3{font:28px Georgia,serif}.wish-empty p{font-size:12px;line-height:1.7}.settings-panel{max-width:900px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:32px;box-shadow:var(--shadow)}.settings-intro{padding-bottom:24px}.settings-intro .eyebrow{color:var(--muted)}.settings-intro h2{font:32px/1.15 Libre Caslon Display,Georgia,serif;margin:15px 0 10px}.settings-intro p{color:var(--muted);font-size:12px;margin:0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid var(--line)}.setting-row label{display:flex;flex-direction:column;gap:8px;flex:1 1}.setting-row strong{font-size:14px;font-weight:500}.setting-row label span{color:var(--muted);font-size:12px;line-height:1.6}.setting-row select{width:180px;font-size:13px}.setting-row input[type=checkbox]{width:44px;height:26px;accent-color:var(--accent);cursor:pointer}.settings-note{display:flex;gap:12px;background:var(--soft);padding:18px;border-radius:9px;margin:8px 0 24px}.settings-note p{font-size:12px;line-height:1.8;margin:0}.settings-note svg{margin-top:3px}.reader{height:100dvh;display:flex;flex-direction:column;background:var(--paper)}.reader header{background:var(--surface);padding:10px 24px;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.reader header strong{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.reader header>button:last-child{min-width:44px}.readerbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:9px 24px;color:var(--muted)}.readerbar,.readerbar>span[aria-live]{font-size:11px}.zoom-controls{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px}.zoom-controls button{min-width:36px;padding:5px;font-size:13px}.readerbar button[aria-pressed=true]{background:var(--accent);color:var(--button-ink);border-radius:7px;padding:7px}.pages{flex:1 1;height:0;overflow:auto;overscroll-behavior:contain;min-height:0;width:min(100%,1000px);text-align:center}.pages,.pdf-stack{position:relative;margin:0 auto}.pdf-stack{min-width:50%}.pdf-sheet{position:relative;width:100%;margin:0 auto 22px;background:white;box-shadow:0 2px 12px #0002;overflow:hidden}.pdf-sheet canvas{position:absolute;inset:0;display:block;width:100%;height:100%;background:white}html[data-theme=dark] .pdf-sheet canvas{filter:invert(.88) hue-rotate(150deg)}.pdf-sheet .line-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.line-overlay line{stroke:#7aaa48;stroke-width:3;vector-effect:non-scaling-stroke}.underline-mode{cursor:crosshair;touch-action:none}.sheet-number{position:absolute;bottom:3px;right:8px;font-size:9px;color:#737373}.page-placeholder{position:absolute;top:30%;left:45%;color:#737373}.underline-hint{margin:0;padding:8px 16px;text-align:center;font-size:12px;color:var(--muted);line-height:1.5}.textbook{white-space:pre-wrap;text-align:left;font:19px/1.9 Georgia,serif;background:var(--surface);padding:40px 8%;overflow-wrap:anywhere}.text-line{white-space:pre-wrap;min-height:1.5em}.text-line.underlined{text-decoration:underline;text-decoration-color:#7aaa48;text-decoration-thickness:2px;text-underline-offset:5px}.reader footer{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--surface);padding:8px 24px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line);font-size:12px}.reader footer span{text-align:center}.marks{position:absolute;z-index:10;right:20px;top:125px;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 40px #0002;width:min(330px,calc(100vw - 32px));padding:24px;border-radius:10px;max-height:65dvh;overflow:auto}.marks div{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:10px 0}.marks button{text-align:left;font-size:12px;overflow-wrap:anywhere}.marks div button:last-child{min-width:44px}.reload-reader{display:inline-flex;margin-left:16px;border:1px solid;border-radius:5px;padding:7px 12px;font-weight:500}@media(min-width:1500px){.main{padding-left:80px;padding-right:80px}}@media(max-width:1100px){.sidebar{width:225px;padding:28px 16px}.main{margin-left:225px;width:calc(100% - 225px);padding:28px}.brand{font-size:25px}.continue{padding:32px}.bookart{width:155px;margin-left:20px}.home-shortcuts{gap:12px}.home-shortcuts button{padding:19px}.wish-grid{grid-template-columns:1fr}h1{font-size:40px}}@media(max-width:850px){.bookart{display:none}.home-shortcuts{grid-template-columns:1fr}.home-shortcuts button{display:grid;grid-template-columns:24px 1fr;gap:12px}.home-shortcuts button span{grid-column:2}.heading{align-items:flex-start}.topline{margin-bottom:32px}.setting-row{gap:16px}.settings-panel{padding:24px}.setting-row select{width:155px}}@media(max-width:700px){.shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;max-height:100dvh;padding:14px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0}.brand{font-size:26px}.brand>span{max-width:none}.brand small{font-size:8px;margin-bottom:3px}.brand svg{width:25px}.menu-toggle{display:inline-flex;min-width:44px}.sidebar .sidefoot,.sidebar nav{display:none}.sidebar.menu-open nav{display:block;margin-top:24px}.sidebar.menu-open .sidefoot{display:block;padding-top:12px}.sidebar .private{display:none}.settings-nav{margin-bottom:12px}.profile{padding-top:12px}.navlabel{margin-bottom:10px}.nav{min-height:46px}.main{width:100%;margin:0;padding:25px 20px 32px}.topline{font-size:8px;letter-spacing:1.2px;gap:10px;margin-bottom:28px}.topline>span:last-child{font-size:10px}.theme-toggle{padding:7px 9px;font-size:11px}.heading{gap:15px;flex-wrap:wrap;margin-bottom:26px}h1{font-size:39px}.heading p{font-size:12px}.continue{padding:26px;min-height:275px}.continue h2{font-size:33px}.collectionhead{align-items:flex-start;flex-wrap:wrap}.search{flex:1 1;min-width:140px}.search input{width:100%}.book-discovery input,.reset-section select,.search input,.setting-row select,input,select{font-size:16px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.cover{height:210px;padding:16px}.cover h3{font-size:21px}.addcard{min-height:210px;padding:20px 12px}.addcard small{font-size:8px}.bookmeta button{font-size:11px}.book p{line-height:1.7}.bottomnote{margin-top:32px}.reset-section select{max-width:100%;width:100%}.reset-section button,.reset-section label{width:100%}.book-discovery{padding:18px}.book-discovery>div{flex-wrap:wrap}.book-discovery input{width:calc(100% - 35px)}.book-discovery .primary{width:100%}.wish-card{gap:14px;padding:16px}.wish-cover{width:70px;height:107px}.wish-empty{padding:30px 20px}.settings-panel{padding:22px}.setting-row{align-items:flex-start;flex-wrap:wrap}.setting-row label{flex-basis:70%}.setting-row select{width:100%}.settings-intro h2{font-size:30px}.reader header{padding:6px 10px;gap:8px;flex-wrap:wrap}.reader header strong{order:-1;flex-basis:100%;padding:5px 5px 0}.reader .theme-toggle{margin-left:auto}.readerbar{padding:7px 10px;gap:6px;justify-content:flex-start}.readerbar .eyebrow{display:none}.readerbar>span[aria-live]{width:100%}.readerbar>span[aria-live]:empty{display:none}.readerbar>button{font-size:11px;padding:8px}.zoom-controls{margin-right:auto}.zoom-controls button{min-width:32px}.reader footer{padding-left:8px;padding-right:8px;font-size:11px;gap:5px}.reader footer button{font-size:11px;gap:3px}.reader footer svg{width:18px}.reader footer span{font-size:10px;max-width:45%}.textbook{padding:24px 7%}.marks{top:145px;right:16px}.underline-hint{font-size:11px}}@media(max-width:370px){.topline>span:last-child{display:none}.main{padding-left:16px;padding-right:16px}.continue{padding:22px}.readerbar .save-place{flex:1 1}.cover h3{font-size:19px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-reduce-motion=true] *,html[data-reduce-motion=true] :after,html[data-reduce-motion=true] :before{scroll-behavior:auto!important;transition:none!important;animation:none!important}.account-page{min-height:100dvh;display:grid;place-items:center;padding:36px 20px;background:radial-gradient(ellipse at 10% 10%,var(--soft),transparent 65%),var(--paper)}.account-card{width:100%;max-width:490px;padding:38px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.account-brand{display:flex;align-items:center;gap:12px;font:28px Libre Caslon Display,Georgia,serif;margin-bottom:38px}.account-card h1{font-size:40px;margin-top:18px}.account-card p{color:var(--muted);font-size:13px;line-height:1.8}.account-card form{display:flex;flex-direction:column;gap:20px;margin-top:25px}.account-card label{display:flex;flex-direction:column;gap:9px;font-size:12px}.account-card input{border:1px solid var(--line);border-radius:7px;padding:12px;background:var(--paper);font-size:16px;min-width:0}.account-card label small{color:var(--muted)}.account-card .remember{flex-direction:row;align-items:center;gap:10px}.remember input{width:20px;height:20px;accent-color:var(--accent)}.account-links{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.account-links button{font-size:12px;text-decoration:underline;color:var(--muted)}.account-footnote{display:block;text-align:center;color:var(--muted);font-size:11px;line-height:1.6;margin-top:28px}.account-message{padding:12px;background:var(--soft);border-radius:7px}.account-card form p{margin:0}@media(max-width:500px){.account-card{padding:26px}.account-card h1{font-size:35px}.account-page{padding:20px 16px}}