@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");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:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-cyrillic-ext-wght-normal-CGKlZYBf.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-cyrillic-wght-normal-DLqwHbi6.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-greek-ext-wght-normal-e3e57Shi.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-greek-wght-normal-CO1l-giJ.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-vietnamese-wght-normal-LcSrhZ7T.woff2)format("woff2-variations");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:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-latin-ext-wght-normal-BnEbWgdZ.woff2)format("woff2-variations");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:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(./literata-latin-wght-normal-DLxlUchJ.woff2)format("woff2-variations");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:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-cyrillic-ext-wght-italic-DrMGjC4f.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-cyrillic-wght-italic-C2hF6zFe.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-greek-ext-wght-italic-f6xT_0ee.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-greek-wght-italic-9BAkQpca.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-vietnamese-wght-italic-LyOFdRXZ.woff2)format("woff2-variations");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:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-latin-ext-wght-italic-CC1SwlwQ.woff2)format("woff2-variations");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:Literata Variable;font-style:italic;font-display:swap;font-weight:200 900;src:url(./literata-latin-wght-italic-Bm_GJfSc.woff2)format("woff2-variations");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}@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-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-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:"Inter Variable", sans-serif;--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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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{.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.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}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.z-2{z-index:2}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-5{margin:calc(var(--spacing) * 5)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-9{height:calc(var(--spacing) * 9)}.shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.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}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.p-1{padding:var(--spacing)}.p-7{padding:calc(var(--spacing) * 7)}.break-all{word-break:break-all}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.invert{--tw-invert:invert(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,)}.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{color:#2e322d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#f7f5ef;--surface:#fbfaf7;--ink:#2e322d;--muted:#787b70;--line:#dedfd5;--accent:#425a49;--accent-soft:#e9ede4;--serif:"Literata Variable", Georgia, serif;--radius:6px;background:#f7f5ef;font-family:Inter Variable,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button{background:0 0;border:0}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:2px solid #637e63}input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #637e63}h1,h2,h3,p,blockquote{margin:0}svg{flex-shrink:0}input,select,textarea{color:inherit;min-width:0}input[type=text],input[type=search],input[type=number],textarea,select,input:not([type]){border:1px solid var(--line);border-radius:var(--radius);background:0 0;width:100%;padding:11px 12px;font-size:.85rem;line-height:1.5}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}textarea{resize:vertical;line-height:1.7}select{cursor:pointer;max-width:100%;padding-right:26px;font-size:.8rem}option{background:var(--bg);color:var(--ink)}input::placeholder,textarea::placeholder{color:#95978c}label{font-size:.83rem}.small{font-size:.75rem;line-height:1.7}.muted{color:var(--muted)}.sr-only{clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.button{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:var(--radius);justify-content:center;align-items:center;gap:9px;min-height:42px;padding:11px 17px;font-size:.8rem;font-weight:500;line-height:1.4;transition:background .15s;display:inline-flex}.button:hover:not(:disabled){background:#344a3a}.button.secondary{color:var(--ink);border-color:var(--line);background:0 0}.button.secondary:hover:not(:disabled){background:var(--accent-soft)}.button.danger{background:#884e43;border-color:#884e43}.button-row{flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0;display:flex}.icon-button{border-radius:5px;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;padding:0;transition:background .15s;display:inline-flex}.icon-button:hover:not(:disabled){background:#e7e9e0}.icon-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.text-link{color:var(--accent);align-items:center;gap:7px;padding:5px 0;font-size:.76rem;text-decoration:none;display:inline-flex}.text-link:hover{text-underline-offset:4px;text-decoration:underline}.danger-text{color:#a15d51}.brand{white-space:nowrap;align-items:center;gap:13px;padding:0;text-decoration:none;display:flex}.brand>span{font-family:var(--serif);letter-spacing:-.055em;font-size:1.32rem;font-weight:500}.brand-dot{color:#6a8562;margin-left:1px}.app-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:82px;padding:0 40px;display:flex}.header-right{align-items:center;gap:20px;display:flex}.private-label{color:var(--muted);align-items:center;gap:7px;font-size:.69rem;display:flex}.import-messages{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;margin:1rem clamp(1rem,4vw,3rem);padding:1rem 1.25rem}.import-messages h2{margin:0 0 .5rem;font-size:1rem}.import-messages ul{max-height:16rem;padding-inline-start:1.25rem;overflow-y:auto}.library-layout{grid-template-columns:222px minmax(0,1fr);min-height:calc(100dvh - 82px);display:grid}.library-sidebar{border-right:1px solid var(--line);flex-direction:column;justify-content:space-between;min-width:0;padding:43px 22px 24px 29px;display:flex}.library-sidebar nav{flex-direction:column;gap:7px;display:flex}.library-sidebar nav>button{text-align:left;border-radius:5px;align-items:center;gap:12px;min-height:42px;padding:11px 13px;font-size:.79rem;display:flex}.library-sidebar nav>button>span{color:var(--muted);margin-left:auto;font-size:.66rem}.library-sidebar nav>button:hover,.library-sidebar nav>button.active{background:var(--accent-soft);color:var(--accent)}.sidebar-section-title{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:35px 12px 7px;font-size:.63rem}.sidebar-hint{color:#96988e;padding:5px 14px;font-size:.71rem;line-height:1.8}.sidebar-bottom{color:var(--muted);padding:30px 5px 0;font-size:.65rem;line-height:1.7}.sidebar-bottom small{font-family:var(--serif);color:#9b9e93;margin-top:14px;font-size:.76rem;font-style:italic;display:block}.local-dot{background:#718269;border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.library-main{width:100%;max-width:1400px;margin:0 auto;padding:47px clamp(24px,5vw,80px) 55px}.library-title-row{justify-content:space-between;align-items:center;display:flex}.library-title-row h1{font-family:var(--serif);letter-spacing:-.04em;font-size:2rem;font-weight:400;line-height:1.4}.library-title-row p{color:var(--muted);margin-top:10px;font-size:.76rem}.welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 185px);padding:32px 0;display:flex}.welcome-book{color:#63775c;justify-content:center;align-items:center;width:110px;height:85px;margin-bottom:26px;display:flex;position:relative}.welcome-book span{background:#d6d9cc;width:106px;height:1px;position:absolute;bottom:6px}.welcome h1{font-family:var(--serif);letter-spacing:-.06em;font-size:clamp(2.5rem,4.4vw,4rem);font-weight:400;line-height:1.2}.welcome>p:not(.welcome-privacy):not(.drop-hint){color:var(--muted);margin:24px 0 28px;font-size:.86rem;line-height:1.9}.welcome .button{padding:13px 22px}.drop-hint{color:#96998d;margin-top:13px;font-size:.71rem}.welcome-rule{background:var(--line);width:42px;height:1px;margin:30px 0 23px}.sample-link{color:var(--accent);align-items:center;gap:8px;padding:4px;font-size:.77rem;display:flex}.sample-link:hover{text-underline-offset:4px;text-decoration:underline}.sample-caption{color:#96998d;margin-top:6px;font-size:.66rem}.welcome-privacy{color:#92968a;align-items:center;gap:7px;margin-top:48px;font-size:.67rem;display:flex}.continue-reading{border-block:1px solid var(--line);align-items:center;gap:26px;margin-top:32px;padding:25px 0;display:flex}.continue-cover{flex-shrink:0;width:77px;height:112px}.continue-cover .type-cover{padding:12px 7px}.continue-cover .type-cover>strong{font-size:.64rem}.continue-cover .cover-author{font-size:.31rem}.continue-cover .cover-orbit{width:34px;height:30px;margin:10px 0 5px}.continue-cover .type-cover>svg{width:9px;height:9px;margin-top:8px}.continue-copy{flex:1;min-width:0}.continue-copy>span{letter-spacing:.14em;color:#75816e;font-size:.59rem}.continue-copy h2{font-family:var(--serif);letter-spacing:-.025em;margin:9px 0 5px;font-size:1.15rem;font-weight:400}.continue-copy p{color:var(--muted);font-size:.72rem}.continue-copy .mini-progress{width:140px;margin-top:13px}.continue-copy small{color:var(--muted);margin-top:5px;font-size:.62rem;display:block}.library-tools{align-items:center;gap:17px;padding:30px 0 27px;display:flex}.search-wrap{align-items:center;gap:9px;display:flex;position:relative}.search-wrap>svg{color:#8d9184;z-index:1;pointer-events:none;position:absolute;left:11px}.search-wrap .search-field{width:100%}.search-wrap input[type=search]{padding-left:35px}.library-tools .search-wrap{flex:1;max-width:340px}.library-tools input{background:#efeee7;border-color:#0000;height:40px;font-size:.73rem}.sort-label{max-width:160px;margin-left:auto}.sort-label .select-trigger{border:0;padding-block:7px;font-size:.72rem}.view-switch{border:1px solid var(--line);border-radius:5px;display:flex}.view-switch .icon-button{width:33px;min-width:33px;height:32px}.book-shelf.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:35px 30px;display:grid}.book-item{min-width:0}.book-cover-wrap{position:relative}.book-open{width:100%;text-align:inherit;aspect-ratio:2/2.9;border-radius:2px;max-height:330px;padding:0;transition:transform .2s;display:block;overflow:hidden;box-shadow:1px 3px 5px #24321e12}.book-open:hover:not(:disabled){transform:translateY(-3px)}.type-cover{color:#3b523d;text-align:center;background:#d7dfcf;border:1px solid #4d6f4322;flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;padding:24px 19px;display:flex}.type-cover>strong{font-family:var(--serif);letter-spacing:-.025em;font-size:clamp(.9rem,1.5vw,1.26rem);font-weight:450;line-height:1.45}.cover-author{text-transform:uppercase;letter-spacing:.13em;max-width:100%;font-size:.53rem}.cover-orbit{flex-shrink:0;width:70px;height:60px;margin:18px 0;position:relative}.cover-orbit span{border:1px solid #6f8562;border-radius:50%;position:absolute;inset:0}.cover-orbit span:nth-child(2){inset:3px -3px;transform:rotate(60deg)}.cover-orbit span:nth-child(3){inset:3px -3px;transform:rotate(-60deg)}.cover-image{object-fit:cover;width:100%;height:100%}.book-select{opacity:0;transition:opacity .15s;position:absolute;top:8px;left:8px}.book-item:hover .book-select,.book-select:focus-within,.book-select.checked{opacity:1}.book-select input{width:20px;height:20px;display:block}.book-select>svg{pointer-events:none;color:#fff;position:absolute;top:4px;left:4px}.book-copy{padding-top:15px}.book-title{text-align:left;-webkit-line-clamp:2;-webkit-box-orient:vertical;padding:0;font-size:.83rem;font-weight:500;line-height:1.5;display:-webkit-box;overflow:hidden}.book-title:hover{color:var(--accent)}.book-copy>p{color:var(--muted);margin-top:5px;font-size:.72rem}.book-progress-line{justify-content:space-between;align-items:center;gap:4px;margin-top:7px;display:flex}.book-progress-line>span{color:#909486;font-size:.63rem}.book-menu{display:flex}.book-menu .icon-button{color:#8a8e80;width:25px;min-width:25px;height:25px}.mini-progress{background:#e2e5da;border-radius:2px;height:3px;margin-top:5px;overflow:hidden}.mini-progress>span{background:#768967;min-width:1px;height:100%;display:block}.book-shelf.list{flex-direction:column;gap:0;display:flex}.book-shelf.list .book-item{border-bottom:1px solid var(--line);align-items:center;gap:22px;padding:18px 0;display:flex}.book-shelf.list .book-cover-wrap{flex-shrink:0;width:58px}.book-shelf.list .type-cover{padding:8px 4px}.book-shelf.list .cover-author{font-size:.25rem}.book-shelf.list .cover-orbit{display:none}.book-shelf.list .type-cover>strong{font-size:.55rem}.book-shelf.list .type-cover>svg{width:9px;height:9px}.book-shelf.list .book-copy{flex:1;padding:0}.book-shelf.list .book-copy .mini-progress{max-width:180px}.bulk-bar{background:var(--accent-soft);border-radius:5px;align-items:center;gap:17px;margin:0 0 22px;padding:12px 16px;font-size:.71rem;display:flex}.bulk-bar>button{text-underline-offset:3px;font-size:.7rem;text-decoration:underline}.filtered-empty{text-align:center;color:var(--muted);padding:80px 0}.filtered-empty>svg{margin:0 auto 20px}.filtered-empty h2{font-family:var(--serif);color:var(--ink);font-size:1.4rem;font-weight:400}.filtered-empty p{margin-top:10px;font-size:.8rem}.drop-overlay{z-index:50;pointer-events:none;background:#f4f5edee;border:2px dashed #6a8064;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:12px}.drop-overlay h2{font-family:var(--serif);font-size:2rem;font-weight:400}.drop-overlay p{font-size:.9rem}.modal{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:9px;width:calc(100% - 32px);max-width:500px;max-height:90dvh;margin:auto;padding:27px 30px;overflow:auto;box-shadow:0 12px 60px #16221822}.modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#232b2344}.modal>p{margin:10px 0 19px;font-size:.82rem;line-height:1.9}.modal p.small{font-size:.73rem}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.panel-heading h2{font-family:var(--serif);letter-spacing:-.025em;font-size:1.15rem;font-weight:450}.panel-heading .icon-button{width:30px;min-width:30px;height:30px;margin-right:-4px}.field{flex-direction:column;gap:9px;margin:19px 0;font-size:.78rem;display:flex}.field>small{color:var(--muted);font-size:.66rem;line-height:1.7}.checkbox-field{align-items:center;gap:10px;margin:24px 0;font-size:.8rem;display:flex}.book-meta{gap:10px;margin:24px 0;font-size:.72rem;display:grid}.book-meta>div{grid-template-columns:95px 1fr;gap:10px;display:grid}.book-meta dt{color:var(--muted)}.book-meta dd{overflow-wrap:anywhere;margin:0}.storage-usage{border-block:1px solid var(--line);align-items:center;gap:13px;margin:24px 0 14px;padding:20px 0;display:flex}.storage-usage strong{font-size:.8rem;font-weight:500}.storage-usage small{color:var(--muted);margin-top:4px;font-size:.67rem;display:block}.storage-usage>svg:last-child{color:var(--accent);margin-left:auto}.settings-section{border-top:1px solid var(--line);margin-top:25px;padding-top:23px}.settings-section h3{align-items:center;gap:8px;margin-bottom:15px;font-size:.79rem;font-weight:500;display:flex}.settings-section>.small{margin:10px 0 18px}.settings-section>.text-link{margin-top:12px;display:block}.pack-row{border-bottom:1px solid var(--line);overflow-wrap:anywhere;margin:10px 0 18px;padding:12px 0}.pack-row strong{font-size:.78rem;font-weight:500}.pack-row small{color:var(--muted);margin-top:7px;font-size:.65rem;line-height:1.8;display:block}.error-message{color:#9b4d42;font-size:.78rem;line-height:1.7}.notice{background:var(--accent-soft);border-radius:5px;margin-bottom:20px;padding:13px;font-size:.74rem;line-height:1.8}.toast{z-index:1000;color:#f7f5ef;background:#303d31;border-radius:6px;align-items:center;gap:15px;width:max-content;max-width:min(640px,100vw - 32px);padding:10px 12px 10px 19px;font-size:.75rem;line-height:1.7;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 3px 20px #1c27152a}.toast>button:not(.icon-button){white-space:nowrap;padding:5px 3px;font-size:.74rem;text-decoration:underline}.toast .icon-button{width:25px;min-width:25px;height:25px}.toast .icon-button:hover{background:#53634d}.offline-indicator{z-index:10;color:#6d7d62;background:var(--bg);border-radius:4px;align-items:center;gap:7px;padding:5px 8px;font-size:.6rem;display:flex;position:fixed;bottom:10px;left:16px}.update-notice{z-index:1001;background:var(--surface);border:1px solid var(--line);border-radius:5px;align-items:center;gap:10px;padding:12px 17px;font-size:.72rem;display:flex;position:fixed;bottom:17px;right:18px;box-shadow:0 4px 14px #0001}.update-notice button{color:var(--accent);text-decoration:underline}.loading-screen,.reader-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100dvh;padding:30px;display:flex}.loading-screen p{color:var(--muted);font-size:.8rem}.reader-error h1{font-family:var(--serif);font-size:2rem;font-weight:400}.reader-error p{max-width:500px;font-size:.85rem;line-height:1.8}.reader-app{background:var(--reader-bg);color:var(--reader-fg);--bg:var(--reader-bg);--ink:var(--reader-fg);flex-direction:column;height:100dvh;display:flex;overflow:hidden}.reader-header{border-bottom:1px solid var(--line);z-index:20;background:var(--reader-bg);justify-content:space-between;align-items:center;height:76px;min-height:76px;padding:0 32px;transition:opacity .25s;display:flex;position:relative}.reader-header .brand>span{font-size:1.15rem}.reader-header .brand{gap:12px}.mode-switch{border:1px solid var(--line);border-radius:5px;display:flex;position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.mode-switch>button{width:92px;font-family:var(--serif);padding:9px 13px;font-size:.88rem}.mode-switch>button[aria-selected=true]{background:var(--accent);color:#fafbf6}.reader-header-actions{gap:11px;display:flex}.reader-header-actions .icon-button{width:34px;min-width:34px;height:36px}.aa-icon{letter-spacing:-.02em;font-family:Georgia,serif;font-size:1.22rem}.reader-workspace{flex:1;min-height:0;display:flex;position:relative}.reading-column{flex-direction:column;flex:1;min-width:0;height:100%;display:flex;position:relative}.reading-column[hidden]{display:none}.book-running-title{text-align:center;flex-shrink:0;min-height:95px;padding:24px 20px 0}.book-running-title h1{font-family:var(--serif);letter-spacing:-.025em;font-size:1rem;font-weight:400}.book-running-title p{font-family:var(--serif);color:var(--muted);margin-top:7px;font-size:.72rem}.book-running-title:after{content:"";background:var(--line);width:min(320px,60%);height:1px;margin:18px auto 0;display:block}.reader-viewport{background:var(--reader-bg);flex:1;width:100%;min-height:0;padding-inline:24px;position:relative;overflow:hidden}.reader-margin{width:0;position:absolute;top:0;bottom:0}.reader-margin-left{left:0}.reader-margin-right{right:0}.viewport-loading{color:var(--muted);background:var(--reader-bg);justify-content:center;align-items:center;font-size:.8rem;display:flex;position:absolute;inset:110px 0 0}.reader-viewport foliate-view{width:100%;height:100%}.reader-footer{border-top:1px solid var(--line);background:var(--reader-bg);z-index:20;align-items:center;gap:22px;height:66px;min-height:66px;padding:0 25px;transition:opacity .25s;display:flex}.footer-chapter{font-family:var(--serif);white-space:nowrap;text-overflow:ellipsis;min-width:80px;max-width:230px;font-size:.68rem;overflow:hidden}.progress-track{flex:1;align-items:center;min-width:40px;display:flex;position:relative}.progress-track input[type=range]{appearance:none;background:linear-gradient(to right, #637f65 var(--progress), var(--line) var(--progress));cursor:pointer;z-index:2;border:0;border-radius:3px;width:100%;height:3px;margin:0;padding:0;position:relative}.reader-footer[dir=rtl] .progress-track input[type=range]{background:linear-gradient(to left, #637f65 var(--progress), var(--line) var(--progress))}.progress-track input::-webkit-slider-thumb{appearance:none;border:2px solid var(--reader-bg);opacity:0;background:#637f65;border-radius:50%;width:12px;height:12px}.progress-track:hover input::-webkit-slider-thumb{opacity:1}.progress-track input:focus-visible::-webkit-slider-thumb{opacity:1}.progress-track input::-moz-range-thumb{border:1px solid var(--reader-bg);background:#637f65;border-radius:50%;width:9px;height:9px}.chapter-ticks{pointer-events:none;z-index:3;width:100%;height:3px;position:absolute}.chapter-ticks i{background:var(--reader-bg);opacity:.8;width:2px;height:3px;position:absolute}.footer-progress{font-family:var(--serif);text-align:right;min-width:98px;padding:9px 0;font-size:.66rem}.footer-progress:hover{color:var(--accent)}.side-panel{border-left:1px solid var(--line);background:var(--reader-bg,var(--bg));z-index:25;outline:0;flex-direction:column;width:320px;min-width:320px;height:100%;padding:23px 23px 0;display:flex;overflow:hidden}.side-panel>.panel-heading{margin-bottom:18px}.panel-scroll{scrollbar-width:thin;scrollbar-gutter:stable;padding-bottom:30px;flex:1;min-height:0;padding-inline-end:12px;overflow:auto}.settings-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px;margin-bottom:23px;display:grid;overflow:visible}.settings-tabs>button{white-space:nowrap;color:var(--muted);flex:1;padding:10px 2px 12px;font-size:.65rem;position:relative}.settings-tabs>button[aria-selected=true]{color:var(--accent)}.settings-tabs>button[aria-selected=true]:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:0;left:0;right:0}.settings-group>.field:first-child{margin-top:0}.settings-group{font-size:.77rem}.settings-group>.small{margin-top:14px}.settings-group h3{margin:23px 0 13px;font-size:.8rem;font-weight:500}.font-size-field{align-items:center;gap:9px;margin:23px 0;display:flex}.font-size-field>span{flex:1}.font-size-field output{font-variant-numeric:tabular-nums;margin-right:9px;font-size:.77rem}.font-size-field .icon-button{border:1px solid var(--line);width:34px;min-width:34px;height:34px}.slider-field{margin:24px 0}.slider-field>div{justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px;display:flex}.slider-field label{font-size:.77rem}.slider-field output{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.7rem}.slider-field input[type=range]{appearance:none;background:var(--line);cursor:pointer;width:100%;height:3px;accent-color:var(--accent);border-radius:2px;margin:7px 0 5px;padding:0}.slider-field input::-webkit-slider-thumb{appearance:none;background:var(--surface);border:1px solid #cdd1c5;border-radius:50%;width:16px;height:16px;box-shadow:0 1px 3px #17231418}.slider-field input::-moz-range-thumb{background:var(--surface);border:1px solid #cdd1c5;border-radius:50%;width:15px;height:15px}.alignment-field{justify-content:space-between;align-items:center;gap:10px;margin:24px 0;display:flex}.segmented{gap:7px;display:flex}.segmented .icon-button{border:1px solid var(--line);width:39px;min-width:39px;height:34px}.segmented .icon-button[aria-pressed=true]{color:#fff;background:var(--accent);border-color:var(--accent)}.advanced-details{margin:22px 0}.advanced-details>summary,details>summary{color:var(--muted);cursor:pointer;padding:7px 0;font-size:.71rem;line-height:1.7}.toggle-field{align-items:center;gap:18px;margin:22px 0;display:flex}.toggle-field>label{flex:1;font-size:.76rem;line-height:1.6}.toggle-field small{color:var(--muted);margin-top:4px;font-size:.64rem;line-height:1.8;display:block}.toggle-field input[role=switch]{appearance:none;cursor:pointer;background:#d5d8cc;border-radius:20px;flex-shrink:0;width:30px;height:18px;transition:background .15s;position:relative}.toggle-field input[role=switch]:before{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle-field input[role=switch]:checked{background:var(--accent)}.toggle-field input[role=switch]:checked:before{transform:translate(12px)}.theme-options{flex-wrap:wrap;align-items:center;gap:11px;margin:17px 0 25px;display:flex}.theme-swatch{border:1px solid #a8ac9c66;border-radius:50%;outline:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex;position:relative}.theme-swatch[aria-pressed=true]:after{content:"";border:1.5px solid #6b836a;border-radius:50%;position:absolute;inset:-4px}.theme-options.large{gap:17px;margin:5px 0 30px}.theme-options.large .theme-swatch{width:36px;height:36px}.color-fields{gap:20px;margin:26px 0;display:flex}.color-fields label{flex:1;justify-content:space-between;align-items:center;gap:10px;font-size:.69rem;display:flex}.color-fields input[type=color]{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:3px;width:26px;height:26px;padding:2px}.settings-footer{border-top:1px solid var(--line);flex-direction:column;gap:9px;margin-top:25px;padding-top:20px;font-size:.66rem;display:flex}.settings-footer>span{color:var(--muted);align-items:center;gap:5px;margin-bottom:7px;display:flex}.settings-footer button{font-size:.67rem}.preset-section .field{margin-top:0}.inline-form{gap:8px;margin-top:10px;display:flex}.inline-form .icon-button{border:1px solid var(--line)}.shortcut-field{text-transform:capitalize;justify-content:space-between;align-items:center;margin:12px 0;display:flex}.shortcut-field input{text-align:center;width:45px;padding:5px 10px}.reader-menu{background:var(--bg);border:1px solid var(--line);z-index:45;border-radius:7px;min-width:220px;padding:7px;position:absolute;top:67px;right:27px;box-shadow:0 8px 30px #18211312}.reader-menu>button{text-align:left;border-radius:4px;align-items:center;gap:12px;width:100%;padding:12px 10px;font-size:.74rem;display:flex}.reader-menu>button:hover{background:var(--accent-soft)}.menu-dismiss{z-index:40;position:fixed;inset:0}.quiet-mode .reader-header,.quiet-mode .reader-footer{opacity:0;pointer-events:none}.quiet-mode .book-running-title{opacity:0}.show-controls{z-index:30;color:var(--muted);opacity:.35;padding:10px;position:absolute;top:17px;right:24px}.show-controls:hover{opacity:1}.reading-history{background:var(--bg);border:1px solid var(--line);z-index:10;opacity:.7;border-radius:5px;display:flex;position:absolute;bottom:83px;left:26px}.reading-history:hover{opacity:1}.reading-history .icon-button{width:29px;min-width:29px;height:28px}.toc-list,.toc-list ol{margin:0;padding:0;list-style:none}.toc-list li>button{text-align:left;border-bottom:1px solid var(--line);gap:15px;width:100%;padding:15px 5px;font-size:.76rem;line-height:1.7;display:flex}.toc-list li>button:hover{background:var(--accent-soft)}.toc-list li>button>span{color:var(--muted);min-width:13px;padding-top:3px;font-size:.59rem}.empty-state{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:45px 10px;display:flex}.empty-state h3{font-family:var(--serif);color:var(--ink);font-size:1.2rem;font-weight:400;line-height:1.6}.empty-state p{max-width:350px;font-size:.76rem;line-height:1.9}.empty-state .button{margin-top:22px}.panel-search{margin-bottom:16px}.panel-search input{border:1px solid var(--line);background:0 0;border-radius:5px;max-width:100%;padding:11px 10px 11px 35px;font-size:.72rem}.search-results{margin-top:20px}.search-results>button{text-align:left;border-bottom:1px solid var(--line);width:100%;padding:18px 0;display:block}.search-results>button:hover p{color:var(--accent)}.search-results>button>span{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;margin-bottom:10px;font-size:.65rem;display:flex}.search-results p{font-family:var(--serif);font-size:.8rem;line-height:1.85}.bookmark-row{border-bottom:1px solid var(--line);align-items:center;gap:7px;padding:16px 0;display:flex}.bookmark-row>button:not(.icon-button){text-align:left;flex:1;align-items:flex-start;gap:10px;padding:0;font-size:.73rem;line-height:1.7;display:flex}.bookmark-row strong{font-weight:450}.bookmark-row small{color:var(--muted);margin-top:7px;font-size:.63rem;display:block}.bookmark-row .icon-button{width:25px;min-width:25px}.annotation-chapter{color:var(--muted);margin-bottom:18px;font-size:.66rem;line-height:1.7;display:block}.editor-quote,.notebook-entry blockquote,.nearby-note blockquote{font-family:var(--serif);white-space:pre-wrap;overflow-wrap:anywhere;border-inline-start:3px solid #e8cc73;max-height:240px;margin:16px 0 24px;padding-inline-start:15px;font-size:.87rem;line-height:1.9;overflow:auto}.autosave-status{color:var(--muted);align-items:center;gap:5px;margin-top:-10px;font-size:.62rem;display:flex}.highlight-colors{align-items:center;gap:12px;margin:22px 0;display:flex}.highlight-colors>button:not(.icon-button){color:#3b4033;border:1px solid #0000000e;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;display:flex}.highlight-colors>input[type=color]{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:50%;width:26px;height:26px;padding:2px}.editor-actions{border-top:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:16px;margin-top:35px;padding-top:20px;display:flex}.selection-popover{z-index:60;max-width:calc(100vw - 24px);position:fixed}.selection-toolbar{color:#303b2e;background:#fafbf6;border:1px solid #d5dace;border-radius:7px;align-items:center;gap:3px;width:max-content;max-width:100%;padding:5px 7px;display:flex;box-shadow:0 5px 25px #1e2c1c17}.selection-toolbar .icon-button{width:34px;min-width:34px;height:33px}.palette-dot{border-radius:50%;width:14px;height:14px;display:block}.toolbar-divider{background:#d8ddcf;width:1px;height:20px;margin:0 4px}.selection-palette{color:#303b2e;background:#fafbf6;border:1px solid #d5dace;border-radius:6px;gap:11px;margin:5px 0 0;padding:12px 16px;box-shadow:0 5px 25px #1e2c1c12}.selection-more{color:#303b2e;background:#fafbf6;border:1px solid #d5dace;border-radius:6px;width:238px;margin-top:5px;margin-left:auto;padding:6px;box-shadow:0 5px 25px #1e2c1c12}.selection-more>button{text-align:left;border-radius:3px;justify-content:space-between;align-items:center;width:100%;padding:10px;font-size:.72rem;display:flex}.selection-more>button:hover{background:#e9ede4}.toolbar-text-button{align-items:center;gap:6px;padding:7px 12px;font-size:.74rem;display:flex}.extension-banner{z-index:65;background:var(--bg);border:1px solid var(--line);border-radius:6px;align-items:center;gap:15px;width:max-content;max-width:calc(100vw - 28px);padding:8px 12px;font-size:.67rem;display:flex;position:absolute;bottom:81px;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #1e2c1c12}.extension-banner>button:not(.icon-button){color:var(--accent);white-space:nowrap;align-items:center;gap:4px;padding:7px;display:flex}.extension-banner .icon-button{width:24px;min-width:24px;height:27px}.dictionary-word{font-family:var(--serif);overflow-wrap:anywhere;margin:8px 0 10px;font-size:1.8rem;font-weight:450}.dictionary-entry{border-bottom:1px solid var(--line);padding:23px 0;line-height:1.9}.dictionary-entry p{font-family:var(--serif);margin:13px 0;font-size:.9rem}.dictionary-entry small{color:var(--muted);font-size:.62rem}.dictionary-pos{color:var(--muted);margin-right:13px;font-size:.75rem;font-style:italic}.definition{white-space:pre-wrap;margin:18px 0;font-size:.78rem;line-height:1.9}.footnote-text{font-family:var(--serif);white-space:pre-wrap;line-height:1.9;font-size:1rem!important}.nearby-note{border-bottom:1px solid var(--line);text-align:left;width:100%;padding:14px 0;display:block}.nearby-note p{color:var(--muted);font-size:.74rem;line-height:1.8}.nearby-note blockquote{margin:0 0 12px}.speech-player{z-index:65;background:var(--bg);border:1px solid var(--line);border-radius:7px;flex-wrap:wrap;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 24px);padding:10px 14px;font-size:.73rem;display:flex;position:fixed;bottom:80px;left:50%;transform:translate(-50%);box-shadow:0 3px 25px #1e2c1c12}.voice-settings{gap:16px;display:grid}.voice-settings>p{margin:0}.voice-pack{border:1px solid var(--line);border-radius:12px;min-width:0;padding:16px}.voice-pack-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.voice-pack-heading strong,.voice-pack-heading small{display:block}.voice-pack-heading small{color:var(--muted);margin-top:5px}.voice-status{white-space:nowrap;color:var(--muted);align-items:center;gap:4px;font-size:11px;display:inline-flex}.voice-status.installed{color:var(--accent)}.voice-pack .button-row{flex-wrap:wrap;gap:8px}.voice-pack .button{min-height:44px;padding:8px 11px}.voice-pack .button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.voice-credit{color:var(--muted);margin-top:14px;font-size:12px}.voice-credit summary{cursor:pointer}.voice-credit a{margin-top:8px;display:block}.voice-download{gap:6px;margin-top:14px;font-size:12px;display:grid}.voice-download progress{width:100%;height:8px;accent-color:var(--accent)}.voice-system{border-top:1px solid var(--line);padding:14px 0}.voice-modal{width:min(590px,100vw - 24px)}.voice-start{width:100%}.speech-voice-name{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.speech-player>.button{padding:7px 10px;font-size:12px}@media (width<=480px){.voice-pack{padding:12px}.voice-pack-heading{flex-direction:column;gap:8px}.voice-pack .button-row{gap:7px}}.speech-player .icon-button{width:28px;min-width:28px;height:28px}.speech-player .custom-select{max-width:180px}.speech-player .select-trigger{padding:5px 6px;font-size:.65rem}.speech-player small{color:var(--muted);text-align:center;width:100%;font-size:.57rem}.dark-reader{--muted:#9aab96;--line:#485144;--accent:#91ad88;--accent-soft:#394837;--surface:#424b3e}.dark-reader .icon-button:hover{background:#394837}.dark-reader .mode-switch>button[aria-selected=true],.dark-reader .side-panel .button{color:#192815}.dark-reader .side-panel .button.secondary{color:var(--ink)}.dark-reader .reader-menu{background:#252825}.dark-reader .reader-menu>button:hover{background:#394837}.dark-reader .slider-field input::-webkit-slider-thumb{background:#bfcbb8}.notebook{scrollbar-width:thin;flex:1;width:100%;min-width:0;max-width:1260px;margin:0 auto;padding:43px clamp(25px,7vw,110px) 60px;overflow:auto}.notebook-heading{justify-content:space-between;align-items:center;gap:25px;margin-bottom:35px;display:flex}.notebook-heading h1{font-family:var(--serif);letter-spacing:-.045em;margin:5px 0 9px;font-size:2rem;font-weight:400;line-height:1.5}.notebook-heading>div>p:last-child{color:var(--muted);font-size:.8rem}.notebook-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;gap:28px;display:flex;overflow:auto}.notebook-tabs>button{white-space:nowrap;color:var(--muted);align-items:center;gap:7px;padding:15px 0;font-size:.74rem;display:flex;position:relative}.notebook-tabs>button[aria-selected=true]{color:var(--accent)}.notebook-tabs>button[aria-selected=true]:after{background:var(--accent);content:"";height:2px;position:absolute;bottom:0;left:0;right:0}.notebook-tabs>button>span{opacity:.7;margin-left:2px;font-size:.61rem}.notebook-tools{align-items:center;gap:12px;margin:24px 0 15px;display:flex}.notebook-tools>.search-field{flex:1;min-width:150px}.notebook-tools input,.notebook-tools .select-trigger{padding:9px 10px;font-size:.68rem}.notebook-tools .custom-select{width:auto;max-width:180px}.notebook-review{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;min-height:45px;font-size:.65rem;display:flex}.notebook-review>div{align-items:center;gap:10px;display:flex}.notebook-review .text-link{font-size:.67rem}.notebook-review .icon-button{width:27px;min-width:27px;height:26px}.notebook-list{max-width:880px;margin:0 auto}.notebook-list>.empty-state{min-height:350px}.notebook-list>.empty-state h3{letter-spacing:-.035em;font-size:1.7rem}.notebook-entry{border-bottom:1px solid var(--line);content-visibility:auto;contain-intrinsic-size:230px;padding:30px 0}.entry-top{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.65rem;display:flex}.entry-top>label{line-height:1;display:flex}.entry-top input{width:14px;height:14px}.notebook-entry blockquote{max-height:none;margin:19px 0;font-size:1rem;line-height:1.9}.notebook-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:19px 0;font-size:.82rem;line-height:1.85}.entry-bottom{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.entry-bottom .text-link{font-size:.65rem}.tags{flex-wrap:wrap;flex:1;gap:10px;display:flex}.tags button{color:var(--muted);padding:4px 0;font-size:.64rem}.tags button:hover{text-decoration:underline}.notebook-export{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:13px;margin-top:20px;padding:22px 0;display:flex}.notebook-export>p{margin-right:auto}.notebook-export .select-trigger{width:auto;padding:8px;font-size:.7rem}.bookmark-card{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:18px;width:100%;padding:25px 0;display:flex}.bookmark-card strong{font-family:var(--serif);font-size:1rem;font-weight:400;line-height:1.8}.bookmark-card small{color:var(--muted);margin-top:7px;font-size:.7rem;display:block}.bookmark-card>span{flex:1}.reflecting:has(.side-panel) .notebook{padding-inline:32px}.reflecting .side-panel{background:var(--reader-bg)}@media (width>=1600px){.library-main{padding-inline:90px}.book-shelf.grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}@media (width<=1050px){.library-layout{grid-template-columns:185px 1fr}.library-sidebar{padding-inline:15px}.library-main{padding-inline:35px}.reader-header{padding-inline:22px}.reader-header-actions{gap:3px}.reader-header .brand>span{font-size:1.05rem}.mode-switch>button{width:75px}.reader-footer{gap:14px;padding-inline:17px}.footer-chapter{max-width:150px}.side-panel{width:300px;min-width:300px;padding-inline:20px}.notebook-tools{flex-wrap:wrap}.notebook-tools>.search-field{flex-basis:100%}.notebook-tabs{gap:19px}.header-right{gap:12px}.private-label{display:none}}@media (width<=760px){.app-header{height:70px;padding:0 23px}.brand>span{font-size:1.15rem}.header-right{gap:10px}.header-right .button{min-height:38px;padding:9px 13px;font-size:.73rem}.header-right>.icon-button{width:30px;min-width:30px}.library-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 70px)}.library-sidebar{border:0;border-bottom:1px solid var(--line);padding:15px 22px;display:block}.library-sidebar nav{scrollbar-width:none;flex-direction:row;gap:9px;overflow-x:auto}.library-sidebar nav>button{white-space:nowrap;flex-shrink:0;gap:7px;min-height:35px;padding:8px 11px;font-size:.71rem}.library-sidebar nav>button>span{display:none}.library-sidebar nav>button>svg{width:15px;height:15px}.sidebar-section-title,.sidebar-hint,.sidebar-bottom{display:none}.library-main{padding:29px 25px 45px}.welcome{min-height:calc(100dvh - 230px);padding:28px 0 40px}.welcome h1{font-size:3rem}.welcome-book{margin-bottom:19px}.welcome-privacy{margin-top:30px}.welcome>p:not(.welcome-privacy):not(.drop-hint){margin:20px 0 25px}.welcome-rule{margin:25px 0 18px}.library-title-row h1{font-size:1.65rem}.library-title-row p{font-size:.7rem}.continue-reading{gap:16px;margin-top:23px;padding:22px 0}.continue-cover{width:63px;height:94px}.continue-copy h2{font-size:.94rem}.continue-copy p{font-size:.68rem}.continue-reading>.button{min-height:34px;padding:8px 9px;font-size:.68rem}.continue-copy .mini-progress{width:100px}.library-tools{gap:8px;padding:22px 0}.library-tools .search-wrap{max-width:none}.sort-label{max-width:100px}.sort-label .select-trigger{padding-left:3px;font-size:.63rem}.view-switch .icon-button{width:29px;min-width:29px}.book-shelf.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}.type-cover{padding:22px 15px}.type-cover>strong{font-size:1.05rem}.cover-author{font-size:.48rem}.book-title{font-size:.79rem}.book-select{opacity:.7}.book-menu .icon-button{width:23px;min-width:23px}.reader-header{height:62px;min-height:62px;padding-inline:13px}.reader-header .brand>span{display:none}.reader-header .brand{justify-content:center;width:32px}.reader-header .brand svg{width:19px}.mode-switch{margin-left:5px;margin-right:auto;position:static;transform:none}.mode-switch>button{width:61px;padding:7px 9px;font-size:.76rem}.reader-header-actions{gap:0}.reader-header-actions .icon-button{width:32px;min-width:32px;height:34px}.reader-header-actions .icon-button svg{width:18px}.aa-icon{font-size:1.08rem}.book-running-title{padding-top:17px;min-height:79px;padding-inline:25px}.book-running-title h1{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.book-running-title p{margin-top:5px;font-size:.65rem}.book-running-title:after{width:60%;margin-top:13px}.reader-footer{height:69px;min-height:69px;padding:5px 9px max(5px, env(safe-area-inset-bottom));flex-wrap:wrap;gap:11px;position:relative}.reader-footer>.icon-button{width:29px;min-width:29px;height:34px}.footer-chapter{min-width:30px;max-width:42%;font-size:.6rem;position:absolute;top:12px;left:50px}.footer-progress{white-space:nowrap;text-overflow:ellipsis;min-width:45px;max-width:45%;padding:5px 0;font-size:.61rem;position:absolute;top:8px;right:48px;overflow:hidden}.progress-track{align-self:flex-end;margin:0 2px 15px}.side-panel{border:1px solid var(--line);z-index:30;background:var(--reader-bg,var(--bg));border-bottom:0;border-radius:13px 13px 0 0;width:100%;min-width:0;height:auto;padding:21px 24px 0;position:absolute;inset:12% 0 0;box-shadow:0 -6px 35px #22301b16}.side-panel:before{content:"";background:var(--line);border-radius:3px;width:35px;height:3px;position:absolute;top:8px;left:calc(50% - 17px)}.panel-scroll{padding-bottom:30px}.side-panel>.panel-heading{margin-bottom:8px}.settings-tabs{margin-bottom:24px}.settings-tabs>button{padding-bottom:12px;font-size:.72rem}.font-size-field{margin:24px 0}.theme-options{gap:18px}.theme-swatch{width:37px;height:37px}.panel-heading h2{font-size:1.1rem}.reader-menu{top:55px;right:14px}.reading-history{bottom:79px;left:15px}.selection-popover{flex-direction:column;align-items:center;max-width:none;display:flex;bottom:85px;right:10px;top:auto!important;left:10px!important}.selection-toolbar{gap:0;width:max-content;max-width:100%;padding:6px}.selection-toolbar .icon-button{width:36px;min-width:36px;height:38px}.selection-more{max-width:100%;margin-left:0}.selection-palette{margin-bottom:0}:is(.selection-popover:has(.selection-more),.selection-popover:has(.selection-palette)){bottom:85px}.extension-banner{flex-wrap:wrap;justify-content:center;gap:5px;min-width:calc(100vw - 28px);padding:6px 8px;font-size:.65rem;bottom:76px}.extension-banner>span{text-align:center;flex-basis:100%;padding-top:4px}.extension-banner .icon-button{position:absolute;top:3px;right:5px}.extension-banner~.selection-popover{bottom:160px}.reader-app:has(.extension-banner) .selection-popover{bottom:168px}.speech-player{justify-content:center;gap:8px;min-width:calc(100vw - 24px);bottom:80px}.speech-player .custom-select{max-width:150px}.speech-player small{font-size:.55rem}.toast{gap:9px;max-width:calc(100vw - 22px);padding:10px 10px 10px 14px;font-size:.7rem;bottom:18px}.modal{width:calc(100vw - 22px);max-height:91dvh;padding:22px}.notebook{padding:28px 22px 40px}.notebook-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.notebook-heading h1{margin:7px 0 12px;font-size:1.6rem;line-height:1.4}.notebook-heading .button{min-width:32px;padding:8px;font-size:.66rem}.notebook-heading .button svg{display:none}.notebook-heading>div>p:last-child{font-size:.72rem}.notebook-tabs{gap:20px}.notebook-tabs>button{font-size:.68rem}.notebook-tabs>button>svg{display:none}.notebook-tools{gap:8px}.notebook-tools .custom-select{flex:1;max-width:calc(50% - 4px)}.notebook-tools .select-trigger{padding:8px;font-size:.64rem}.notebook-entry{padding:24px 0}.notebook-entry blockquote{padding-left:12px;font-size:.89rem;line-height:1.9}.entry-bottom{gap:15px}.notebook-export{flex-wrap:wrap;gap:10px}.notebook-export>p{width:100%;margin-bottom:4px}.notebook-review .text-link,.notebook-review{font-size:.61rem}.reflecting:has(.side-panel) .notebook{padding-inline:22px}.offline-indicator{font-size:.55rem;bottom:2px;left:4px}.update-notice{max-width:calc(100vw - 20px);font-size:.65rem;bottom:8px;right:10px}.bulk-bar{flex-wrap:wrap;gap:12px;font-size:.65rem}.bulk-bar>button{font-size:.63rem}}@media (width<=370px){.reader-header{padding-inline:7px}.reader-header-actions .icon-button{width:29px;min-width:29px}.mode-switch>button{width:46px;padding-inline:4px}.selection-toolbar .icon-button{width:31px;min-width:31px}.toolbar-divider{margin-inline:2px}.library-main{padding-inline:18px}.welcome h1{font-size:2.6rem}.type-cover>strong{font-size:.9rem}.book-shelf.grid{gap:25px 18px}.cover-orbit{width:55px;height:50px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important}}@media (forced-colors:active){button,input,select,textarea{border:1px solid buttontext}.theme-swatch{forced-color-adjust:none}.mini-progress>span{background:highlight}}.reflecting .reading-column{visibility:hidden;pointer-events:none;position:absolute;inset:0}@media (width>=1060px){.reader-header{height:86px;min-height:86px}.side-panel{width:346px;min-width:346px}.side-panel .panel-heading h2{font-size:1.3rem}.side-panel label,.slider-field label,.font-size-field,.alignment-field{font-size:.83rem}.settings-tabs>button{font-size:.72rem}}.reader-app *{transition-property:opacity,transform,box-shadow}.reader-app{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.reader-app.dark-reader{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.reader-app .reader-menu,.dark-reader .reader-menu{background:var(--reader-bg)}.reader-app .icon-button:hover,.reader-app .reader-menu>button:hover{background:var(--accent-soft)}.reader-app .mode-switch>button[aria-selected=true],.reader-app .side-panel .button{color:var(--button-ink)}.reader-app .side-panel .button.secondary{color:var(--ink)}.reader-app .slider-field input::-webkit-slider-thumb{background:var(--reader-bg)}.reader-app dialog{filter:var(--reader-filter,none)}.panel-scroll{scrollbar-color:var(--line) transparent}.settings-tabs>button{min-width:0}.settings-save-state{border-top:1px solid var(--line);margin-top:28px;padding-block:18px 0}.custom-select{min-width:0;max-width:100%;display:inline-block}.field>.custom-select{width:100%;display:block}.select-trigger{border:1px solid var(--line);background:var(--reader-bg,var(--bg));width:100%;min-height:40px;color:var(--ink);font:inherit;text-align:start;cursor:pointer;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:.78rem;display:flex}.select-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-trigger>svg{flex-shrink:0}.select-trigger[aria-expanded=true]{border-color:var(--accent)}.select-list{z-index:2000;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line);background:var(--reader-bg,var(--bg));color:var(--ink);font-family:var(--sans);filter:var(--reader-filter,none);border-radius:6px;margin:0;padding:5px;font-size:.78rem;position:fixed;inset:auto;overflow:auto;box-shadow:0 8px 25px #0002}.select-list:popover-open{animation:.13s ease-out select-reveal}.select-option{cursor:pointer;border-radius:3px;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:9px 10px;line-height:1.5;display:flex}.select-option[data-active]{background:var(--accent-soft);outline:1px solid var(--accent);outline-offset:-1px}.select-option[aria-selected=true]{color:var(--accent);font-weight:600}.select-option[aria-disabled=true]{opacity:.5;cursor:default}.sort-label .custom-select{width:100%}.preset-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding-block:9px;display:flex}.preset-form .button{width:100%}.preset-row .text-link{overflow-wrap:anywhere}.schedule-times,.coordinate-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.coordinate-fields input,.schedule-times input{width:100%;min-width:0}@keyframes select-reveal{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.select-list:popover-open{animation:none}}@media (pointer:coarse){.select-trigger,.select-option{min-height:44px}}.book-search-options{margin-bottom:20px}.book-search-options .toggle-field{margin-block:16px}.simple-search-options{flex-wrap:wrap;gap:12px 20px;margin-block:14px 20px;display:flex}.simple-search-options label{align-items:center;gap:8px;font-size:.75rem;display:flex}.search-status-row,.search-match-nav{align-items:center;gap:8px;margin-block:12px;display:flex}.search-status-row>p,.search-match-nav>span{flex:1}.search-error{color:var(--ink);overflow-wrap:anywhere;background:var(--surface);border-inline-start:3px solid #b16941;padding:10px 12px}.search-results mark{color:inherit;background:var(--accent-soft);box-shadow:0 1px 0 var(--accent);padding-inline:1px}.search-results [aria-current=true]{border-inline-start:2px solid var(--accent);padding-inline-start:12px}.regex-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.regex-toolbar>.custom-select{width:100px}.regex-flag-option{align-items:center;gap:9px;display:inline-flex}.regex-flag-option kbd{color:#fff;background:#697168;border-radius:3px;justify-content:center;align-items:center;min-width:20px;height:22px;font:600 .75rem ui-monospace,monospace;display:inline-flex}.regex-input{border:1px solid var(--line);background:var(--reader-bg);border-radius:5px;align-items:flex-start;gap:3px;padding-inline:8px;display:flex}.regex-input:focus-within{outline:2px solid var(--accent);outline-offset:2px}.regex-pattern{flex:1;min-width:0;position:relative}.regex-pattern textarea,.regex-mirror{letter-spacing:0;tab-size:2;white-space:pre;text-align:left;margin:0;padding:9px 0;font:.85rem/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.regex-pattern textarea{color:#0000;-webkit-text-fill-color:transparent;width:100%;min-height:68px;caret-color:var(--ink);resize:vertical;z-index:1;background:0 0;border:0;border-radius:0;display:block;position:relative;overflow:auto}.regex-pattern textarea:focus-visible{outline:none}.regex-pattern textarea::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted)}.regex-pattern textarea::selection{color:#0000;background:#7f9d773f}.regex-mirror{pointer-events:none;position:absolute;inset:0;overflow:hidden}.regex-mirror>span{pointer-events:auto}.regex-delimiter,.regex-inline-flags{color:var(--muted);cursor:help;padding-top:9px;font:.85rem/1.7 ui-monospace,monospace;display:inline-block}.regex-delimiter{flex:none}.regex-ending{flex:none;gap:2px;display:flex}.regex-inline-flags>span{cursor:help;padding-inline:1px;display:inline-block}.regex-group{color:var(--accent)}.regex-set{color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.regex-set{color:color-mix(in srgb, var(--ink) 40%, #df871e 60%)}}.regex-reference{color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.regex-reference{color:color-mix(in srgb, var(--ink) 40%, #9272be 60%)}}.regex-literal{color:var(--ink)}.token-bold{font-weight:700}.token-active{background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.token-active{background:color-mix(in srgb, var(--accent) 22%, transparent)}}.token-active{box-shadow:0 1px 0 var(--accent)}.token-related{background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.token-related{background:color-mix(in srgb, var(--accent) 9%, transparent)}}.regex-explanation{background:var(--surface);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:5px;min-height:70px;margin-top:10px;padding:10px 12px}.regex-explanation strong{font-weight:600}.regex-engine-note{margin-block:12px}.reader-app{--panel-width:320px}.reader-panel-dock{z-index:25;flex:none;width:0;min-width:0;height:100%;min-height:0;transition:width .16s ease-out,min-width .16s ease-out;overflow:hidden}.reader-panel-dock.is-open{width:var(--panel-width);min-width:var(--panel-width)}.panel-shell{width:var(--panel-width);min-width:var(--panel-width);z-index:25;height:100%;min-height:0;animation:.16s ease-out panel-content;overflow:hidden}.panel-shell>.side-panel{width:var(--panel-width);min-width:var(--panel-width)}@keyframes panel-content{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@keyframes panel-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (width>=1060px){.reader-app{--panel-width:346px}}@media (width<=760px){.reader-panel-dock,.reader-panel-dock.is-open{z-index:30;pointer-events:none;width:100%;min-width:0;height:auto;transition:none;position:absolute;inset:12% 0 0;overflow:visible}.reader-panel-dock.is-open{pointer-events:auto}.panel-shell{width:100%;min-width:0;animation:.16s ease-out panel-rise}.panel-shell>.side-panel{width:100%;min-width:0;height:100%;animation:none;position:relative;inset:auto}}.reader-app.reduced-motion .panel-shell,.reader-app.reduced-motion .side-panel{animation:none}.reader-app.reduced-motion .reader-panel-dock{transition:none}.install-app-button{white-space:nowrap;gap:7px}.offline-status{font:inherit;color:var(--muted);text-align:left;align-items:center;gap:7px;padding:14px 0 0;font-size:.69rem;display:flex}.offline-status[data-offline-state=ready]{color:var(--accent)}.install-modal{max-width:500px}.install-modal>p{margin-bottom:18px;line-height:1.7}.install-modal>.button{margin-bottom:18px}.offline-details{margin-top:22px}.offline-details h3{font-family:var(--serif);margin-bottom:12px;font-size:1.05rem;font-weight:400}.offline-details p{margin-block:10px;font-size:.78rem;line-height:1.8}.install-confirmation{color:var(--accent);align-items:center;gap:8px;display:flex}.builtin-pack{display:block}.builtin-pack>div{min-width:0}.builtin-pack details{margin-top:10px;font-size:.72rem}.builtin-pack details p{margin-block:10px;line-height:1.7}.builtin-pack .text-link{width:fit-content;margin-block:10px;display:block}.dictionary-senses{padding-inline-start:21px}.dictionary-senses li{margin-block:12px;padding-inline-start:3px}.dictionary-senses p{white-space:normal}.dictionary-translation{color:var(--accent);font-weight:500}.dictionary-gloss{color:var(--muted);font-size:.77rem}.dictionary-source{margin-top:14px}@media (width<=760px){.header-right{gap:6px}.app-header .install-app-button{width:32px;min-width:32px;padding:8px}.app-header .install-app-button span{display:none}}@media (width<=360px){.app-header{padding-inline:14px}.app-header .brand{gap:6px}.app-header .brand>span{font-size:.95rem}.app-header .brand>svg{width:20px}.app-header .header-right{gap:5px}.app-header .header-right .button:not(.install-app-button){white-space:nowrap;gap:5px;padding-inline:9px}}.library-main>.offline-status{margin-inline-start:auto;padding:0 0 18px}.chatgpt-modal{width:min(720px,100vw - 24px);max-width:720px}.chatgpt-modal>p{margin-block:12px;line-height:1.75}.chatgpt-page-summary{border-block:1px solid var(--line);padding-block:12px}.chatgpt-prompt-review{margin-block:18px;font-size:.78rem}.chatgpt-prompt-review>summary{cursor:pointer;padding-block:8px}.chatgpt-prompt-review textarea{font-family:var(--sans);white-space:pre-wrap;font-size:.75rem;line-height:1.65}.chatgpt-modal textarea{resize:vertical;width:100%}.chatgpt-transfer-note{border-inline-start:2px solid var(--accent);padding-inline-start:12px}.chatgpt-modal .button-row{gap:8px}@media (width<=760px){.chatgpt-modal .button-row>.button{flex:auto}}.reader-app .chatgpt-modal{--ink:var(--reader-fg);background:var(--reader-bg);color:var(--reader-fg)}.chatgpt-modal .button{color:var(--button-ink)}.chatgpt-modal .button.secondary{color:var(--ink)}.pdf-import-options,.import-progress{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;margin:1rem clamp(1rem,4vw,3rem);padding:.8rem 1.2rem}.pdf-import-options summary{cursor:pointer;font-size:.85rem}.pdf-import-options details>p{max-width:56rem}.pdf-language{flex-wrap:wrap;align-items:center;gap:1rem;font-size:.85rem;display:flex}.import-progress{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.import-progress p{flex:15rem;margin:0}.import-progress progress{width:min(100%,18rem);accent-color:var(--accent)}.background-imports{right:max(1rem, env(safe-area-inset-right));bottom:max(4.5rem, calc(env(safe-area-inset-bottom) + 3.5rem));z-index:15;pointer-events:none;width:min(29rem,100vw - 2rem);position:fixed}.library-imports{margin:1rem clamp(1rem,4vw,3rem)}.import-tray-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.reader-drop-hint{background:var(--bg);border-radius:4px;padding:.35rem;font-size:.75rem}.import-tray-actions>*,.import-tray-body{pointer-events:auto}.background-imports .button.secondary{background:var(--bg)}.import-tray-body{overscroll-behavior:contain;border:1px solid var(--line);background:var(--bg);max-height:min(45vh,28rem);color:var(--ink);overflow-wrap:anywhere;border-radius:12px;margin-top:.5rem;padding:1rem;overflow:auto;box-shadow:0 8px 32px #0002}.import-tray-body .import-progress,.import-tray-body .import-messages{margin:.6rem 0;padding:.6rem}.import-tray-body .import-progress{gap:.6rem}.import-job-list{padding:0;font-size:.8rem;list-style:none}.import-job-list li{border-bottom:1px solid var(--line);justify-content:space-between;gap:.5rem;padding:.4rem 0;display:flex}.drop-overlay{pointer-events:none}.reader-app>.speech-player{border:0;border-top:1px solid var(--line);width:100%;max-width:none;box-shadow:none;background:var(--reader-bg);--wave-unplayed:#748277;--wave-played:#355e45;--wave-needle:#a65545;border-radius:0;flex:none;order:2;padding:12px max(24px,50vw - 520px) 10px;display:block;position:relative;inset:auto;transform:none}.dark-reader>.speech-player{--wave-unplayed:#8b9b8e;--wave-played:#b3d8b7;--wave-needle:#efad8f}.reader-app>.reader-footer{order:3}.speech-player>.icon-button{z-index:2;position:absolute;inset:6px 10px auto auto}.page-audio-track{padding-inline-end:26px;position:relative}.page-waveform{--playhead:0%;height:64px;position:relative}.page-waveform canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.page-waveform .waveform-played{clip-path:inset(0 calc(100% - var(--playhead)) 0 0)}.waveform-center{border-top:1px solid var(--line);position:absolute;inset:50% 0 auto}.waveform-needle{background:var(--wave-needle);pointer-events:none;z-index:1;width:1px;position:absolute;top:-2px;bottom:-2px}.waveform-needle i{background:var(--wave-needle);border-radius:50%;width:7px;height:7px;position:absolute;top:-1px;left:-3px}.page-waveform input[type=range]{opacity:0;cursor:crosshair;width:100%;height:100%;margin:0;position:absolute;inset:0}.page-waveform:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.waveform-ruler{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;padding-block:4px;font-size:10px;display:flex}.waveform-ruler span{border-left:1px solid var(--line);padding-left:3px}.speech-clock{font-variant-numeric:tabular-nums;color:var(--muted);pointer-events:none;justify-content:flex-end;gap:5px;height:0;font-size:11px;display:flex;transform:translateY(12px)}.speech-controls{grid-template-columns:40px 115px 180px minmax(150px,260px) 38px;align-items:center;gap:16px;max-width:850px;display:grid;position:relative}.speech-play{background:var(--accent);width:38px;height:38px;color:var(--button-ink,#fff);border-radius:50%;place-items:center;padding:0;display:grid}.speech-play:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.speech-speed,.speech-volume{align-items:center;gap:7px;min-width:0;display:flex}.speech-speed>svg,.speech-volume>svg{flex-shrink:0}.speech-player .speech-speed .custom-select{width:100%;min-width:0}.speech-player .speech-controls .select-trigger{min-height:34px;padding:6px 9px;font-size:12px}.speech-volume input{width:100%;min-width:24px;accent-color:var(--accent)}.speech-volume output{text-align:right;font-variant-numeric:tabular-nums;min-width:36px;font-size:11px}.audio-loading{color:var(--muted);animation:1s linear infinite audio-spin;position:absolute;top:12px;right:48px}@keyframes audio-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.audio-loading{animation:none}}.global-settings-modal{width:min(920px,100vw - 24px);padding:22px}.global-settings-layout{grid-template-columns:125px minmax(0,1fr);gap:25px;margin-top:15px;display:grid}.global-settings-tabs{flex-direction:column;align-items:stretch;gap:4px;display:flex}.global-settings-tabs button{text-align:left;border-radius:5px;padding:11px 12px;font-size:13px}.global-settings-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent);font-weight:600}.global-settings-content{min-width:0;max-height:calc(82dvh - 100px);padding:0 8px 12px 0;overflow-y:auto}.global-settings-content .settings-section:first-child{padding-top:0}.global-settings-content .global-appearance .settings-tabs{margin-top:0}.global-settings-content>.slider-field{margin-block:12px 20px}.global-settings-content>.voice-settings{margin-top:24px}.global-settings-content .settings-section{margin-top:0}.global-settings-content [hidden]{display:none}@media (width<=600px){.reader-app>.speech-player{padding:9px 12px}.page-waveform{height:48px}.speech-controls{grid-template-columns:38px 110px minmax(0,1fr) 32px;grid-template-areas:"play speed volume settings"".voice voice settings";gap:5px 9px}.speech-play{grid-area:play;width:34px;height:34px}.speech-speed{grid-area:speed}.speech-volume{grid-area:volume;gap:4px}.speech-controls>.custom-select{grid-area:voice;width:100%}.speech-controls>.icon-button{grid-area:settings}.speech-clock{height:auto;position:absolute;bottom:0;right:26px;transform:none}.waveform-ruler{padding-bottom:7px}.speech-volume>svg{display:none}.speech-volume output{min-width:32px}.global-settings-modal{padding:16px}.global-settings-layout{flex-direction:column;gap:16px;display:flex}.global-settings-tabs{flex-direction:row;flex-shrink:0;overflow-x:auto}.global-settings-tabs button{white-space:nowrap;padding:10px 12px}.global-settings-content{max-height:calc(82dvh - 150px);padding-right:3px}.page-audio-track{padding-bottom:16px}}.selection-read-here{border-bottom:1px solid var(--line);width:100%;color:var(--accent);text-align:left;align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:flex}.selection-read-here:hover{background:var(--accent-soft)}.speech-controls{grid-template-columns:38px auto 110px minmax(100px,160px) minmax(130px,240px) 36px;gap:12px}.speech-replay{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:6px;font-size:12px;display:flex}.replay-short{display:none}@media (width<=700px){.speech-controls{grid-template-columns:72px 90px minmax(0,1fr) 32px;grid-template-areas:"play speed volume settings""replay voice voice settings";gap:5px 9px}.speech-play{grid-area:play}.speech-replay{grid-area:replay;gap:4px;padding-inline:0;font-size:11px}.replay-long{display:none}.replay-short{display:inline}.speech-speed{grid-area:speed}.speech-speed>svg{display:none}.speech-volume{grid-area:volume}.speech-controls>.custom-select{grid-area:voice;width:100%}.speech-controls>.icon-button{grid-area:settings}}.reader-app>.speech-player{z-index:30}.selection-popover:has(.selection-read-here){background:var(--reader-bg);border:1px solid var(--line);border-radius:7px;box-shadow:0 5px 25px #1e2c1c17}.selection-popover:has(.selection-read-here) .selection-toolbar{color:var(--reader-fg);box-shadow:none;background:0 0;border:0}@media (width<=760px){.reader-app.has-audio .selection-popover{bottom:calc(var(--audio-height,184px) + 85px)}.reader-app.has-audio .extension-banner{bottom:calc(var(--audio-height,184px) + 76px)}.reader-app.has-audio:has(.extension-banner) .selection-popover{bottom:calc(var(--audio-height,184px) + 168px)}}.app-shell{min-height:100dvh}.app-surface[hidden]{display:none}.reader-surface[data-active=false]{visibility:hidden;pointer-events:none;z-index:-1;position:fixed;inset:0}.mobile-navigation,.mobile-fullscreen{display:none}.profile-view{max-width:720px;margin:0 auto;padding:44px 24px 70px}.profile-heading{align-items:center;gap:16px;margin-bottom:30px;display:flex}.profile-heading h1{font-size:30px;font-family:var(--serif);margin:0;font-weight:500}.profile-avatar{background:var(--accent-soft);width:64px;height:64px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.profile-stats{border-block:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin:0 0 34px;padding:22px 0;display:grid}.profile-stats div{flex-direction:column-reverse;align-items:center;gap:6px;display:flex}.profile-stats dt{color:var(--muted);font-size:12px}.profile-stats dd{font-variant-numeric:tabular-nums;margin:0;font-size:25px}.profile-view h2{align-items:center;gap:9px;margin:28px 0 12px;font-size:15px;font-weight:600;display:flex}.profile-current>button{border:1px solid var(--line);text-align:left;background:var(--surface);border-radius:18px;align-items:center;gap:16px;width:100%;padding:20px;display:flex}.profile-current button>span{flex:1;min-width:0}.profile-current strong,.profile-current small{text-overflow:ellipsis;display:block;overflow:hidden}.profile-current small{color:var(--muted);margin-top:6px}.profile-settings-list{border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden}.profile-settings-list>button{text-align:left;align-items:center;gap:14px;width:100%;min-height:58px;padding:14px 18px;font-size:15px;display:flex}.profile-settings-list>button+button{border-top:1px solid var(--line)}.profile-settings-list>button>span{flex:1}.profile-settings-list>button:hover,.profile-current>button:hover{background:var(--accent-soft)}.profile-library{color:var(--accent);align-items:center;gap:8px;min-height:44px;margin-top:28px;display:inline-flex}.empty-current-book{flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:70dvh;padding:25px;display:flex}.empty-current-book h1{font-family:var(--serif);font-size:24px;font-weight:500}@media (width<=760px),(width<=1024px) and (pointer:coarse){.app-shell{--mobile-nav-height:calc(70px + env(safe-area-inset-bottom,0px));padding-bottom:var(--mobile-nav-height)}.app-shell .reader-app{height:calc(100dvh - var(--mobile-nav-height))}.reader-surface[data-active=false]{height:calc(100dvh - var(--mobile-nav-height));bottom:auto}.mobile-navigation{z-index:70;height:var(--mobile-nav-height);padding:5px max(8px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr));transition:opacity .18s ease-out,transform .18s ease-out;display:grid;position:fixed;inset:auto 0 0}.mobile-destination{min-height:54px;color:var(--muted);-webkit-tap-highlight-color:transparent;touch-action:manipulation;flex-direction:column;justify-content:center;align-items:center;gap:3px;font:500 11px/1.2 system-ui,sans-serif;text-decoration:none;display:flex}.mobile-destination.destination-library{grid-column:span 1}.destination-icon{border-radius:20px;place-items:center;min-width:45px;height:30px;display:grid}.mobile-destination[aria-current=page]{color:var(--accent);font-weight:650}.mobile-destination[aria-current=page] .destination-icon{background:var(--accent-soft)}.mobile-destination.destination-read .destination-icon{width:49px;height:33px}.mobile-destination:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;border-radius:12px}.app-shell .reader-header{padding:max(4px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));height:calc(56px + env(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.app-shell .reader-header>.brand,.app-shell .reader-header>.mode-switch{display:none}.app-shell .reader-header-actions{justify-content:space-between;width:100%}.app-shell .reader-header-actions .icon-button{width:44px;min-width:44px;height:44px}.app-shell .reader-header-actions>button[aria-label="Bookmark current location"],.app-shell .reader-header-actions>button[aria-label="Remove current bookmark"]{display:none}.app-shell .mobile-fullscreen{display:inline-flex}.app-shell .reader-footer{height:62px;min-height:62px;padding-bottom:5px}.app-shell .reader-footer>.icon-button{width:44px;min-width:44px;height:44px}.app-shell .quiet-mode .reader-header,.app-shell .quiet-mode .reader-footer,.app-shell .quiet-mode .book-running-title{opacity:1;pointer-events:auto}.app-shell .show-controls{display:none}.app-shell .reader-menu{top:calc(56px + env(safe-area-inset-top))}.app-shell .reader-menu>button{min-height:44px}.app-shell .selection-popover{bottom:calc(var(--mobile-nav-height) + 75px)}.app-shell .reader-app.has-audio .selection-popover{bottom:calc(var(--mobile-nav-height) + var(--audio-height,184px) + 75px)}.app-shell .background-imports{bottom:calc(var(--mobile-nav-height) + 70px)}.app-shell .toast,.app-shell~.toast{bottom:calc(80px + env(safe-area-inset-bottom))}.app-shell .reader-app .reading-history{bottom:75px}.profile-view{padding:max(30px, env(safe-area-inset-top)) 20px 30px}.app-shell .library-main{padding-bottom:36px}.app-shell .app-header{padding-top:env(safe-area-inset-top);height:calc(70px + env(safe-area-inset-top))}.app-shell.is-immersive{padding-bottom:0}.app-shell.is-immersive .reader-app{height:100dvh}.is-immersive .mobile-navigation{opacity:0;pointer-events:none;transform:translateY(100%)}.immersive-reader .reader-header,.immersive-reader .reader-footer,.immersive-reader .book-running-title,.immersive-reader .speech-player,.immersive-reader .background-imports,.immersive-reader .reading-history,.immersive-reader .show-controls{visibility:hidden;opacity:0!important;pointer-events:none!important}.immersive-reader .reader-header,.immersive-reader .reader-footer,.immersive-reader .speech-player{width:100%;position:absolute}.immersive-reader .book-running-title{height:0;min-height:0;padding:0;overflow:hidden}.immersive-reader .reading-column{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.immersive-reader .reader-header,.immersive-reader .reader-footer,.immersive-reader .book-running-title,.immersive-reader .speech-player{transition:opacity .18s ease-out,visibility .18s}}@media (prefers-reduced-motion:reduce){.mobile-navigation,.immersive-reader .reader-header,.immersive-reader .reader-footer,.immersive-reader .book-running-title,.immersive-reader .speech-player{transition:none}}@media (width<=760px),(width<=1024px) and (pointer:coarse){.app-shell .background-imports .import-tray-actions>button:first-child:not([aria-expanded]),.app-shell .reflect-mode .reader-header,.profile-library{display:none}.app-shell .background-imports:not(:has(button[aria-expanded])){display:none}:is(body:has(.app-shell.is-immersive) .offline-indicator,body:has(.app-shell.is-immersive) .update-notice,body:has(.app-shell.is-immersive) .toast){visibility:hidden;pointer-events:none}.app-shell .profile-heading,.app-shell .notebook-header{scroll-margin-top:env(safe-area-inset-top)}}.reading-focus-layer{display:none}@media (width<=760px),(width<=1024px) and (pointer:coarse){.reading-focus-layer{z-index:12;color:#0000;cursor:pointer;touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block;position:absolute;inset:0 12%}.reading-focus-layer.focus-scroll{touch-action:pan-x pinch-zoom}.reading-focus-layer:focus-visible{outline:2px solid var(--accent);outline-offset:-6px}}.external-link-target{overflow-wrap:anywhere;font-size:.85rem}.library-header{gap:24px}.library-store-link{align-items:center;gap:8px;min-height:44px;margin-inline-start:auto;text-decoration:none;display:inline-flex}@media (width<=760px){.library-store-link{display:none}}.library-search-trigger{border:1px solid var(--line);width:min(440px,55%);min-height:44px;color:var(--muted);background:var(--paper,var(--bg));text-align:start;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-size:.85rem;display:flex}.library-search-trigger kbd{font:inherit;opacity:.6;margin-inline-start:auto;font-size:.7rem}.library-sidebar nav>button>.collection-name{font-size:inherit;color:inherit;text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.library-sidebar nav>button>svg{flex-shrink:0}.library-profile-link{color:var(--muted);align-items:center;gap:10px;padding:18px 12px;font-size:.76rem;display:flex}.library-tools{gap:12px}.library-tools .sort-label{margin-inline-start:auto}.library-tools .button,.library-tools .icon-button,.library-import-button{min-height:44px}.library-main{padding-bottom:170px}.book-select{opacity:1;cursor:pointer;place-items:center;width:44px;height:44px;display:grid;top:0;left:0}.book-select input[type=checkbox]{appearance:none;cursor:pointer;background:#fcfcf6;border:1.5px solid #879280;border-radius:6px;grid-area:1/1;width:22px;height:22px;margin:0;padding:0}.book-select input:checked{background:var(--accent);border-color:var(--accent)}.book-select input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.book-check{color:#fff;pointer-events:none;opacity:0;grid-area:1/1;place-items:center;width:22px;height:22px;display:grid;transform:scale(.6)}.book-check path{stroke-dasharray:24;stroke-dashoffset:24px}.book-select input:checked+.book-check{opacity:1;transform:scale(1)}.book-select input:checked+.book-check path{stroke-dashoffset:0}.bulk-bar{z-index:80;inset-inline:20px;bottom:max(24px, env(safe-area-inset-bottom));border:1px solid var(--line);opacity:0;visibility:hidden;pointer-events:none;border-radius:16px;width:fit-content;max-width:calc(100% - 40px);margin:0 auto;padding:6px 14px;position:fixed;transform:translateY(8px);box-shadow:0 8px 32px #1d2d231a}.bulk-bar.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.bulk-bar>button{border-radius:8px;min-height:44px;padding:8px;font-size:.75rem;text-decoration:none}.bulk-bar>button:hover{background:var(--bg)}.bulk-bar>span{font-variant-numeric:tabular-nums;white-space:nowrap;padding-inline:6px;font-size:.75rem}.library-filter-fields{gap:18px;padding:12px 0 20px;display:grid}.library-filter-fields .field{margin:0}.library-filter-fields fieldset,.search-field-options{border:0;min-width:0;padding:0}.library-filter-fields legend,.search-field-options legend{margin-bottom:5px;font-size:.78rem;font-weight:600}.filter-checks{flex-wrap:wrap;gap:4px 18px;display:flex}.filter-checks label{cursor:pointer;overflow-wrap:anywhere;align-items:center;gap:9px;min-height:44px;display:inline-flex}.filter-checks input{flex-shrink:0}.tag-filters{max-height:210px;overflow:auto}.app-search-dialog{width:min(760px,100vw - 32px);max-height:calc(100dvh - 40px);padding:24px}.app-search-dialog>.panel-heading{margin-bottom:16px}.app-search-dialog .panel-search{width:100%;margin:0 0 16px}.app-search-dialog .panel-search input{width:100%;min-width:0;min-height:44px;font-size:1rem}.search-mode-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.search-mode-row .field{min-width:0}.search-options{border-top:1px solid var(--line);padding:7px 0}.search-options>summary{cursor:pointer;padding:12px 0;font-size:.8rem;display:list-item}.search-field-options{margin:0 0 12px}.catalog-results{display:grid}.catalog-results>button{text-align:start;border-top:1px solid var(--line);align-items:center;gap:14px;min-height:72px;padding:14px 4px;display:flex}.catalog-results>button>span{flex:1;min-width:0}.catalog-results strong{overflow-wrap:anywhere;font-size:.9rem;font-weight:500;display:block}.catalog-results small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;display:block}.catalog-results>button:hover{color:var(--accent);background:var(--accent-soft)}.app-search-dialog .search-error{white-space:pre-line}@media (prefers-reduced-motion:no-preference){.book-select input{transition:background-color .14s,border-color .14s}.book-check{transition:opacity .12s,transform .16s cubic-bezier(.2,.8,.2,1)}.book-check path{transition:stroke-dashoffset .17s}.bulk-bar{transition:opacity .14s,transform .16s,visibility 0s linear .16s}.bulk-bar.is-visible{transition-delay:0s}}@media (forced-colors:active){.book-select input:checked{background:highlight;border-color:highlight}.book-check{color:highlighttext}}@media (width<=760px),(width<=1024px) and (pointer:coarse){.library-header{gap:18px;padding-inline:18px}.library-search-trigger{width:min(300px,58%)}.library-search-trigger kbd,.library-profile-link{display:none}.library-sidebar nav{gap:5px}.library-sidebar nav>button{flex-shrink:0;min-height:44px}.library-sidebar nav>button>svg{width:16px;display:block}.library-sidebar nav>button>.collection-name{display:inline}.library-title-row{align-items:center;gap:12px}.library-title-row p{overflow-wrap:anywhere}.library-import-button{flex-shrink:0;padding:9px 12px}.library-tools{flex-wrap:wrap;gap:6px}.library-tools .sort-label{flex:1;max-width:140px}.library-tools .sort-label .select-trigger{min-height:44px;padding-inline:8px;font-size:.75rem}.library-tools .icon-button{width:40px;min-width:40px;height:44px}.library-tools .view-switch{margin-inline-start:auto}.book-select{opacity:1}.bulk-bar{bottom:calc(var(--mobile-nav-height,64px) + 12px);grid-template-columns:1fr 1fr;gap:0 8px;width:min(460px,100% - 24px);max-width:calc(100% - 24px);padding:4px 10px;display:grid;inset-inline:12px}.bulk-bar>span{grid-area:1/1}.bulk-bar>button:last-child{grid-area:1/2;justify-self:end}.bulk-bar>button{font-size:.75rem}.app-search-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:18px}.search-mode-row{gap:10px}.app-search-dialog .search-results{max-height:none}}@media (width<=370px){.library-import-button span{display:none}.library-tools .view-switch{margin-inline-start:0}.library-tools>.button{padding-inline:10px}}@media (prefers-reduced-motion:reduce){.book-select input,.book-check,.book-check path,.bulk-bar{transition:none!important;animation:none!important}}.profile-install{margin-top:24px}@media (width<=760px),(width<=1024px) and (pointer:coarse){.library-layout{grid-template-rows:auto 1fr}.library-sidebar{align-self:start}.library-main{padding-bottom:180px}.mobile-navigation:has(>a:nth-child(5))>.destination-library{grid-column:auto}}@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-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-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}
