@import "https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Caveat:wght@400..700&family=Cedarville+Cursive&family=DM+Sans:wght@400;500;600;700&family=Gloria+Hallelujah&family=Gochi+Hand&family=Handlee&family=Homemade+Apple&family=Indie+Flower&family=Kalam:wght@300;400;700&family=La+Belle+Aurore&family=Nanum+Pen+Script&family=Nothing+You+Could+Do&family=Patrick+Hand&family=Reenie+Beanie&family=Shadows+Into+Light+Two&family=Sue+Ellen+Francisco&display=swap";@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{--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-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}::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-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--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{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.border{border-style:var(--tw-border-style);border-width:1px}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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{--bg:#f1f0ec;--panel:#f7f6f2;--surface:#fff;--text:#272624;--muted:#706e69;--line:#d7d4cd;--strong:#363432;--selected:#ebe8e1;--blue:#345174;--danger:#9a3935}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--text);background:var(--bg);font-family:DM Sans,Arial,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,select{cursor:pointer}:is(button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible){outline-offset:2px;outline:2px solid #4a4742}select:focus{border-color:#4a4742!important}select option:checked{color:#fff;background:#393632}button:disabled{opacity:.35;cursor:not-allowed}.dark{--bg:#1f1f1d;--panel:#252523;--surface:#2c2c29;--text:#eeede9;--muted:#aaa69e;--line:#44423d;--strong:#f2f0eb;--selected:#373632}.app-loading{background:#ebe9e2 url(/signin-background.png) 50%/cover no-repeat fixed;place-items:center;min-height:100dvh;display:grid;position:relative;overflow:hidden}.app-loading span{z-index:3;color:#4b4842;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe0;border:1px solid #4d48412e;border-radius:18px;padding:10px 15px;font-size:13px;font-weight:600;animation:.18s ease-out both startup-message-in;position:relative}html[data-penstyle-startup=library] .app-loading,html[data-penstyle-startup=book] .app-loading{background:#e8e6df}html[data-penstyle-startup=library] .app-loading:before,html[data-penstyle-startup=book] .app-loading:before{content:"";z-index:1;background:#f7f6f2;border-bottom:1px solid #d7d4cd;height:62px;position:absolute;inset:0 0 auto}html[data-penstyle-startup=book] .app-loading:after{content:"";z-index:1;background:#fffef9;border:1px solid #c8c1b5;width:min(780px,100vw - 180px);position:absolute;top:104px;bottom:54px;left:50%;transform:translate(-50%);box-shadow:0 3px 9px #221f1b21}html[data-penstyle-startup=library] .app-loading{background:#f4f3ef}html[data-penstyle-startup-theme=dark] .app-loading{background:#1b1b19}html[data-penstyle-startup-theme=dark] .app-loading:before{background:#252523;border-color:#44423d}html[data-penstyle-startup-theme=dark][data-penstyle-startup=book] .app-loading:after{background:#2c2c29;border-color:#44423d}html[data-penstyle-startup-theme=dark] .app-loading span{color:#eeede9;background:#2c2c29e6;border-color:#4c4943}@keyframes startup-message-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.app-loading span{opacity:0;visibility:hidden;animation:none}.app-loading.show-message span,html[data-penstyle-oauth-return=true] .app-loading span{opacity:1;visibility:visible;animation:.18s ease-out both startup-message-in}.login-screen{background:#ebe9e2 url(/signin-background.png) 50%/cover no-repeat fixed;place-items:center;min-height:100dvh;padding:24px 24px 88px;display:grid;position:relative}.login-card{background:#fff;border:1px solid #c9c5bb;width:min(460px,100%);padding:38px}.wordmark{align-items:center;min-width:102px;height:56px;display:flex}.wordmark>img{object-fit:contain;object-position:left center;background:0 0;border:0;border-radius:0;width:112px;height:56px;padding:0;display:block}.wordmark.small{height:48px}.wordmark.small>img{width:96px;height:48px}.dark .wordmark>img{filter:invert()}.login-copy{padding:22px 0 28px}.login-copy p,.library-title p,.dialog-title p,.style-header p{letter-spacing:.13em;color:#706c64;margin:0 0 6px;font-size:10px;font-weight:700}.login-copy h1{letter-spacing:-.03em;margin:0 0 12px;font-family:Georgia,serif;font-size:34px;font-weight:500}.login-copy>span{color:#68655f;font-size:14px;line-height:1.6}.login-card form{gap:16px;display:grid}.login-card label,.new-book-dialog>label{gap:7px;font-size:12px;font-weight:600;display:grid}.login-card input,.new-book-dialog input{background:#fff;border:1px solid #bbb7af;border-radius:3px;width:100%;height:44px;padding:0 12px;font-size:15px}.login-card form>button,.create-book{color:#fff;background:#282725;border:1px solid #282725;border-radius:3px;height:44px;font-weight:600}.login-card>small{color:#77736c;margin-top:18px;font-size:11px;line-height:1.5;display:block}.oauth-card{margin-left:min(42vw,620px)}.oauth-buttons{gap:10px;display:grid}.oauth-buttons button{isolation:isolate;color:#fff;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;gap:11px;height:46px;font-size:13px;font-weight:650;transition:filter .15s,background-color .15s,box-shadow .15s;display:flex;position:relative}.oauth-buttons button:hover:not(:disabled){filter:brightness(.94)}.oauth-buttons button:focus-visible{outline-offset:2px;outline:3px solid #1e5cb459}.oauth-buttons button:disabled{filter:grayscale(.6);opacity:.48;cursor:not-allowed}.oauth-buttons b{width:21px;font-size:16px;font-weight:750;position:relative}.oauth-buttons .google-auth{color:#1f1f1f;background:linear-gradient(105deg,#4285f4 0%,#34a853 34%,#fbbc05 66%,#ea4335 100%);border:0;padding:1px}.oauth-buttons .google-auth:before{content:"";z-index:-1;background:#fff;border-radius:2px;transition:background-color .15s;position:absolute;inset:2px}.oauth-buttons .google-auth:hover:not(:disabled):before{background:#f7f9fc}.oauth-buttons .google-auth b{background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 42%,#fbbc05 0 67%,#ea4335 0 84%,#4285f4 0);color:#0000;-webkit-background-clip:text;background-clip:text}.oauth-buttons .x-auth{background:#000;border-color:#000}.oauth-buttons .discord-auth{background:#5865f2;border-color:#5865f2}.auth-error{color:#7f302c;background:#fff3f1;border:1px solid #bd7f7a;margin:12px 0 0;padding:9px 10px;font-size:11px;line-height:1.45}.login-footer{color:#fff;text-shadow:0 1px 3px #000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#141311ad;border:1px solid #ffffff47;border-radius:8px;justify-content:center;align-items:center;gap:16px;width:min(760px,100% - 32px);min-height:46px;padding:14px 18px;font-size:11px;line-height:1.45;display:flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.login-footer i{background:#ffffff80;width:1px;height:15px}.login-footer b{font-weight:400}.login-footer a{color:inherit;text-underline-offset:3px;font-weight:700}.mobile-tools-backdrop,.mobile-library-backdrop{z-index:180;background:#1918167a;justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.mobile-tools-sheet,.mobile-library-sheet{width:min(460px,100%);padding:18px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:22px 22px 14px 14px;box-shadow:0 -16px 48px #1816133d}.mobile-tools-head,.mobile-sheet-profile{justify-content:space-between;align-items:center;gap:12px;display:flex}.mobile-tools-head>div{flex-direction:column;gap:3px;display:flex}.mobile-tools-head span{color:var(--muted);letter-spacing:.13em;font-size:9px;font-weight:750}.mobile-tools-head h2{margin:0;font:500 24px Georgia,serif}.mobile-tools-head>button,.mobile-sheet-profile>button{background:var(--panel);border:0;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.mobile-tools-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px;display:grid}.mobile-tools-grid button{border:1px solid var(--line);background:var(--panel);min-height:64px;color:var(--text);border-radius:11px;align-items:center;gap:10px;padding:10px 12px;font-size:12px;font-weight:650;display:flex}.mobile-tools-grid button.danger{color:var(--danger)}.mobile-tools-grid button:active,.mobile-library-sheet nav>:active{background:var(--selected)}.mobile-avatar{background:var(--strong);width:36px;height:36px;color:var(--panel);border-radius:50%;flex:0 0 36px;place-items:center;font-size:10px;font-weight:750;display:grid;position:relative;overflow:hidden}.mobile-avatar.large{flex-basis:44px;width:44px;height:44px}.mobile-avatar img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.mobile-sheet-profile>div:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.mobile-sheet-profile strong,.mobile-sheet-profile span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-sheet-profile strong{font-size:14px}.mobile-sheet-profile span{color:var(--muted);margin-top:3px;font-size:10px}.mobile-library-sheet nav{border-top:1px solid var(--line);margin-top:16px;display:grid}.mobile-library-sheet nav>*{border:0;border-bottom:1px solid var(--line);min-height:52px;color:var(--text);text-align:left;background:0 0;align-items:center;gap:12px;padding:0 8px;font-size:13px;text-decoration:none;display:flex}.mobile-library-sheet nav>:last-child{border-bottom:0}.mobile-library-sheet nav .sign-out{color:var(--danger)}.library-screen{background:var(--bg);min-height:100vh;color:var(--text)}.library-header{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:48px;height:62px;padding-inline:max(28px,50vw - 522px);display:flex}.library-header>.wordmark{flex:none;margin:0}.account{justify-content:flex-end;align-items:center;gap:10px;margin-left:auto;font-size:12px;display:flex}.account button{border:1px solid var(--line);background:0 0;border-radius:3px;align-items:center;gap:7px;height:36px;padding:0 13px;display:flex}.account button.sign-out{color:#fff;background:#171717;border-color:#171717;font-weight:650}:is(.account button.sign-out:hover,.account button.sign-out:focus-visible){background:#000;border-color:#000}.library-help{align-items:center;gap:4px;margin-right:2px;display:flex}.library-help a{height:36px;color:var(--muted);text-underline-offset:4px;border-radius:3px;align-items:center;padding:0 10px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;display:flex}:is(.library-help a:hover,.library-help a:focus-visible){color:var(--text);background:var(--selected)}.library-help a:focus-visible{outline:2px solid var(--text);outline-offset:2px}.library-content{max-width:1100px;margin:0 auto;padding:44px 28px 64px}.library-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;padding-bottom:24px;display:flex}.library-title h1{margin:0 0 7px;font-family:Georgia,serif;font-size:34px;font-weight:500}.library-title>div>span{color:var(--muted);font-size:13px}.library-actions,.empty-actions{align-items:center;gap:8px;display:flex}.library-actions button,.empty-library button{border:1px solid var(--strong);background:var(--strong);height:40px;color:var(--panel);border-radius:3px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:13px;font-weight:600;display:flex}.library-actions .import-book,.empty-actions button+button{color:var(--text);border-color:var(--line);background:0 0}.library-actions .import-book:hover,.empty-actions button+button:hover{background:var(--selected)}.book-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:28px 22px;padding-top:32px;display:grid}.book-card{min-width:0}.book-cover{aspect-ratio:.72;color:#fff;text-align:left;border:2px solid #2f2d2a;border-radius:2px 7px 7px 2px;width:100%;padding:0;transition:filter .12s;position:relative;overflow:hidden}.book-cover:hover{filter:brightness(.94)}.book-spine{background:#ffffff40;border-left:1px solid #0003;width:1px;position:absolute;top:0;bottom:0;left:11px}.book-cover>div{flex-direction:column;padding:25px 18px 22px 30px;display:flex;position:absolute;inset:0}.book-cover strong{margin-top:auto;font-family:Georgia,serif;font-size:20px;font-weight:500;line-height:1.25}.book-cover small{opacity:.75;margin-top:8px;font-size:11px}.book-meta{color:var(--muted);justify-content:space-between;align-items:center;margin-top:9px;font-size:10px;display:flex}.book-card-copy strong,.book-card-copy span{display:none}.book-card-copy small{color:var(--muted);font-size:10px}.book-card-actions{display:flex}.book-meta button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.book-meta button:hover{color:var(--danger)}.book-meta button:hover:not(:last-child){color:var(--text);background:var(--selected)}.empty-library{text-align:center;max-width:420px;color:var(--muted);margin:90px auto}.empty-library h2{color:var(--text);margin:18px 0 8px;font-family:Georgia,serif;font-size:25px;font-weight:500}.empty-library p{font-size:13px;line-height:1.5}.empty-actions{justify-content:center;margin-top:22px}.empty-library .empty-actions button{margin:0}.dialog-backdrop{z-index:100;background:#1c1b1980;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.new-book-dialog{isolation:isolate;background:var(--surface);border:1px solid var(--line);border-radius:36px 42px 34px 46px/40px 34px 44px 38px;width:min(430px,100%);padding:31px;animation:.22s cubic-bezier(.2,.8,.2,1) both cloud-rise;position:relative;transform:translateZ(0);box-shadow:0 22px 55px #1f1d192e}.new-book-dialog:before,.new-book-dialog:after,.cloud-dialog:before,.cloud-dialog:after{content:"";z-index:-1;background:var(--surface);border:1px solid var(--line);pointer-events:none;border-bottom:0;position:absolute}.new-book-dialog:before,.cloud-dialog:before{border-radius:70px 70px 0 0;width:88px;height:45px;top:-20px;left:42px;transform:rotate(-3deg)}.new-book-dialog:after,.cloud-dialog:after{border-radius:60px 60px 0 0;width:64px;height:34px;top:-15px;right:54px;transform:rotate(4deg)}.dialog-title{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.dialog-title h2{margin:0;font-family:Georgia,serif;font-size:27px;font-weight:500}.dialog-title button,.style-header button{background:0 0;border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.dialog-title button:hover,.share-close:hover{background:var(--selected)}.new-book-dialog fieldset{border:0;margin:0;padding:22px 0}.new-book-dialog legend{margin-bottom:10px;font-size:12px;font-weight:600}.cover-colors{flex-wrap:wrap;gap:9px;display:flex}.cover-colors label{border:2px solid var(--surface);outline:1px solid var(--line);color:#fff;cursor:pointer;place-items:center;width:35px;height:35px;display:grid}.cover-colors input{opacity:0;width:1px;height:1px;position:absolute}.cover-colors svg{opacity:0}.cover-colors label:has(input:checked){outline:2px solid var(--text)}.cover-colors label:has(input:checked) svg{opacity:1}.create-book{border-radius:16px;width:100%}.library-header{padding-inline:clamp(24px,4vw,72px)}.account{gap:12px}.library-help{gap:12px;margin-right:0}.account-profile{border-right:1px solid var(--line);align-items:center;gap:8px;min-width:0;padding-right:12px;display:flex}.account-profile>span{background:var(--strong);width:28px;height:28px;color:var(--panel);border-radius:50%;flex:0 0 28px;place-items:center;font-size:9px;font-weight:750;display:grid}.account-profile>img{object-fit:cover;background:var(--panel);border-radius:50%;width:28px;height:28px;margin-left:-36px}.account-profile>strong{text-overflow:ellipsis;white-space:nowrap;max-width:150px;color:var(--text);font-size:11px;font-weight:650;overflow:hidden}.desk{background:var(--bg);height:100vh;min-height:650px;color:var(--text);overflow:hidden}.desk-header{background:var(--panel);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:58px;padding:0 14px;display:flex}.header-left,.header-actions,.book-identity,.plain-btn,.back-btn,.export-actions{align-items:center;display:flex}.header-left{gap:9px;min-width:0}.back-btn{background:0 0;border:0;gap:6px;height:34px;font-size:12px}.header-rule{background:var(--line);width:1px;height:22px}.book-identity{gap:8px;min-width:0}.book-identity>span{border:1px solid #00000040;width:12px;height:18px}.book-identity input{background:0 0;border:0;outline:0;width:min(230px,22vw);font-family:Georgia,serif;font-size:15px;font-weight:600}.header-actions{gap:8px}.plain-btn{border:1px solid var(--line);background:0 0;border-radius:10px;gap:7px;height:40px;padding:0 13px;font-size:11px;transition:background .14s,border-color .14s}.plain-btn:hover:not(:disabled){background:var(--selected);border-color:var(--line)}@supports (color:color-mix(in lab, red, red)){.plain-btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--line),var(--text) 28%)}}.plain-btn:active:not(:disabled){background:var(--selected)}@supports (color:color-mix(in lab, red, red)){.plain-btn:active:not(:disabled){background:color-mix(in srgb,var(--selected),var(--text) 7%)}}.icon-action{border:1px solid var(--line);background:var(--surface);border-radius:11px;place-items:center;width:42px;height:40px;transition:background .14s,border-color .14s,color .14s;display:grid;position:relative}.icon-action:hover{background:var(--selected);border-color:var(--line)}@supports (color:color-mix(in lab, red, red)){.icon-action:hover{border-color:color-mix(in srgb,var(--line),var(--text) 32%)}}.icon-action.active{color:#fff;background:#252321;border-color:#252321}.icon-action.listening{box-shadow:0 0 0 3px #9a393524}:is(.icon-action.voice-action:hover:not(.listening),.icon-action.voice-action:focus-visible:not(.listening)){color:#2867d7;background:#edf4ff;border-color:#6590df}.tooltip-action:after{content:attr(data-tooltip);z-index:150;color:#fff;opacity:0;pointer-events:none;background:#242321;border-radius:4px;width:max-content;max-width:180px;padding:6px 8px;font-size:9px;font-weight:600;line-height:1.2;transition:opacity .12s,transform .12s;position:absolute;top:47px;right:0;transform:translateY(-3px)}.tooltip-action:hover:after{opacity:1;transform:translateY(0)}.tooltip-action:focus-visible:after{opacity:1;transform:translateY(0)}.export-actions{border:1px solid var(--line);border-radius:3px}.export-actions button{background:0 0;border:0;place-items:center;width:34px;height:32px;display:grid}.export-actions button+button{border-left:1px solid var(--line)}.mobile-only{display:none!important}.icon-action:disabled{cursor:not-allowed;opacity:.5}.export-trigger{justify-content:center;min-width:92px;font-weight:700;color:#fff!important;background:#1f1e1c!important;border-color:#1f1e1c!important}.export-trigger:hover{background:#080808!important}.style-rgb:hover{animation:1.8s linear infinite page-style-rgb}.paper-page-number{z-index:10;color:var(--ink);position:absolute;bottom:11px;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab, red, red)){.paper-page-number{color:color-mix(in srgb,var(--ink),transparent 38%)}}.paper-page-number{letter-spacing:.08em;font:600 10px DM Sans,sans-serif}.sidebar-footer button.active{background:var(--selected);color:var(--text)}.sidebar-footer button small{text-transform:uppercase;margin-left:auto;font-size:8px;font-weight:700}.read-trigger{justify-content:center;min-width:78px;font-weight:700}:is(.read-trigger:hover,.read-trigger:focus-visible){background:var(--selected);border-color:var(--strong)}@keyframes page-style-rgb{0%{color:#e04b4b;background:#e04b4b14;border-color:#e04b4b}33%{color:#3aaf65;background:#3aaf6514;border-color:#3aaf65}66%{color:#477be8;background:#477be814;border-color:#477be8}to{color:#e04b4b;background:#e04b4b14;border-color:#e04b4b}}.desk-body{height:calc(100vh - 58px);display:flex;position:relative}.page-sidebar{border-right:1px solid var(--line);background:var(--panel);z-index:20;flex-direction:column;flex:0 0 272px;width:272px;padding:14px 12px;display:flex}.sidebar-top{justify-content:space-between;align-items:center;display:flex}.sidebar-top>div{align-items:center;gap:8px;font-size:12px;display:flex}.sidebar-top>div span{color:var(--muted);font-size:10px}.sidebar-top>button{border:1px solid var(--strong);background:var(--strong);height:34px;color:var(--panel);border-radius:3px;align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:600;display:flex}.sidebar-search{border:1px solid var(--line);background:var(--surface);height:36px;color:var(--muted);align-items:center;gap:7px;margin:13px 0;padding:0 9px;display:flex}.sidebar-search input{background:0 0;border:0;outline:0;width:100%;font-size:12px}.sortable-pages{flex-direction:column;flex:1;gap:2px;display:flex;overflow-y:auto}.sortable-page{border:1px solid #0000;align-items:center;min-height:58px;display:flex;position:relative}.sortable-page:hover{background:var(--selected)}.sortable-page.active{background:var(--surface);border-color:var(--line)}.drag-handle{width:28px;color:var(--muted);cursor:grab;background:0 0;border:0;align-self:stretch;place-items:center;display:grid}.drag-handle:active{cursor:grabbing}.page-open{text-align:left;background:0 0;border:0;flex:1;align-self:stretch;align-items:center;gap:9px;min-width:0;padding:4px 0;display:flex}.page-open>span{width:20px;color:var(--muted);text-align:center;font-size:10px}.page-open>div{flex-direction:column;min-width:0;display:flex}.page-open strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.page-open small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:9px;overflow:hidden}.page-order{opacity:0;flex-direction:column;width:26px;display:flex}.sortable-page:hover .page-order,.sortable-page:focus-within .page-order{opacity:1}.page-order button{background:0 0;border:0;place-items:center;width:24px;height:23px;display:grid}.sidebar-footer{border-top:1px solid var(--line);color:var(--muted);gap:8px;padding-top:10px;font-size:9px;display:grid}.sidebar-footer button{background:0 0;border:0;align-items:center;gap:7px;height:34px;padding:0 7px;font-size:11px;display:flex}.writing-area{background:#e8e6df;flex-direction:column;flex:1;min-width:0;display:flex}.dark .writing-area{background:#1b1b19}.writing-toolbar{background:var(--panel);border-bottom:1px solid var(--line);flex:0 0 50px;align-items:center;gap:6px;min-height:50px;padding:5px 10px;display:flex;overflow-x:auto}.writing-toolbar label{color:var(--muted);flex:none;align-items:center;gap:7px;font-size:10px;display:flex}.writing-toolbar select{border:1px solid var(--line);background:var(--surface);border-radius:3px;min-width:155px;height:34px;padding:0 28px 0 9px;font-size:11px}.writing-toolbar .small-select select{min-width:74px}.writing-toolbar>button{border:1px solid var(--line);background:0 0;border-radius:3px;flex:none;align-items:center;gap:6px;height:34px;padding:0 9px;font-size:10px;display:flex}.ink-chip{justify-content:center;width:36px;padding:0!important}.ink-chip span{border:1px solid #0000002e;border-radius:50%;width:18px;height:18px}.format-tools{border:1px solid var(--line);border-radius:3px;flex:none;height:34px;display:flex;overflow:hidden}.format-tools button{border:0;border-right:1px solid var(--line);background:0 0;place-items:center;width:32px;height:32px;display:grid}.format-tools button:last-child{border-right:0}:is(.format-tools button:hover,.format-tools button:focus-visible){background:var(--selected)}.toolbar-space{flex:1 0 8px}.paper-scroll{flex:1;padding:38px 42px 80px;overflow:auto}.real-paper{width:min(780px,100%);min-height:1040px;padding:var(--top-margin) var(--side-margin) 90px;color:var(--ink);background-image:radial-gradient(circle at 30% 25%,#3a302106 0 1px,#0000 1.2px);background-size:31px 29px;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 3px 9px #221f1b21}.red-margin{z-index:1;opacity:.68;pointer-events:none;background:#d69790;width:1px;position:absolute;top:0;bottom:0}.page-date{z-index:2;width:100%;height:24px;color:var(--ink);background:0 0;border:0;outline:0;padding:0;display:block;position:relative}@supports (color:color-mix(in lab, red, red)){.page-date{color:color-mix(in srgb,var(--ink),transparent 42%)}}.page-date{letter-spacing:.08em;text-transform:uppercase;font:500 9px DM Sans,sans-serif}.page-date:focus{color:var(--ink)}.page-title{z-index:2;width:100%;min-height:58px;color:var(--ink);font:400 clamp(27px,3.5vw,39px) var(--hand);background:0 0;border:0;outline:0;padding:8px 0 14px;position:relative}.page-title:empty:before{content:attr(data-placeholder);color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.page-title:empty:before{color:color-mix(in srgb,var(--ink),transparent 58%)}}.page-title:empty:before{pointer-events:none}.page-writing{z-index:2;width:calc(100% + (2 * var(--side-margin)));min-height:640px;margin-left:calc(-1 * var(--side-margin));padding:0 var(--side-margin);resize:none;color:var(--ink);font-family:var(--hand);font-size:var(--font-size);font-weight:400;line-height:var(--rule);letter-spacing:.008em;background-color:#0000;border:0;outline:0;display:block;position:relative;overflow:hidden}.paper-ruled .page-writing,.paper-dot-ruled .page-writing,.paper-cornell .page-writing{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--rule) - 1px),#6889a273 calc(var(--rule) - 1px),#6889a273 var(--rule));background-size:100% var(--rule)}.paper-dot-ruled .page-writing{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--rule) - 1px),#6889a26b calc(var(--rule) - 1px),#6889a26b var(--rule)),radial-gradient(circle,#7e9aac .8px,transparent 1px);background-size:100% var(--rule),24px var(--rule)}.paper-grid .page-writing{background-image:linear-gradient(#69899f47 1px,#0000 1px),linear-gradient(90deg,#69899f47 1px,#0000 1px);background-size:var(--rule) var(--rule)}.paper-dots .page-writing{background-image:radial-gradient(#5c74837a 1px,#0000 1.2px);background-size:var(--rule) var(--rule)}.paper-cornell:before{content:"";background:#6889a26b;width:1px;position:absolute;top:155px;bottom:105px;left:27%}.free-text{z-index:7;background:var(--paper,#fff);border:1px solid #35322d59;min-width:130px;max-width:260px;position:absolute}@supports (color:color-mix(in lab, red, red)){.free-text{background:color-mix(in srgb,var(--paper,#fff),white 85%)}}.free-text{cursor:move}.free-text-controls{color:#68645d;background:#f5f3edeb;border-bottom:1px solid #35322d33;justify-content:space-between;align-items:center;height:22px;padding-left:4px;display:flex}.free-text-controls button{background:0 0;border:0;place-items:center;width:24px;height:21px;display:grid}.free-text textarea{resize:both;width:100%;min-height:52px;color:inherit;font:inherit;background:0 0;border:0;outline:0;padding:7px;line-height:1.35;display:block}.writing-status{border-top:1px solid var(--line);background:var(--panel);height:32px;color:var(--muted);flex:0 0 32px;align-items:center;gap:18px;padding:0 14px;font-size:9px;display:flex}.style-panel{border-left:1px solid var(--line);background:var(--surface);flex:0 0 320px;width:320px;padding:16px;overflow-y:auto}.style-header{justify-content:space-between;align-items:flex-start;padding-bottom:14px;display:flex}.style-header h2{margin:0;font-family:Georgia,serif;font-size:24px;font-weight:500}.style-panel section{border-top:1px solid var(--line);padding:14px 0}.style-panel section>label,.setting-row label{margin-bottom:8px;font-size:11px;font-weight:600;display:block}.paper-layouts{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.paper-layouts button{color:var(--muted);text-transform:capitalize;background:0 0;border:1px solid #0000;padding:5px 2px;font-size:8px}.paper-layouts button.selected{border-color:var(--strong);color:var(--text)}.mini-paper{background-color:#fffef9;border:1px solid #ccc5ba;width:38px;height:48px;margin:0 auto 5px;display:block}.mini-paper.ruled,.mini-paper.dot-ruled,.mini-paper.cornell{background-image:repeating-linear-gradient(#0000 0 7px,#b8c9d5 8px)}.mini-paper.grid{background-image:linear-gradient(#c6d2da 1px,#0000 1px),linear-gradient(90deg,#c6d2da 1px,#0000 1px);background-size:8px 8px}.mini-paper.dots{background-image:radial-gradient(#899da9 1px,#0000 1px);background-size:7px 7px}.setting-row{justify-content:space-between;align-items:center;display:flex}.setting-row label{margin:0}.setting-row span,.range-hints{color:var(--muted);font-size:9px}.setting-row.top{margin-top:14px}.style-panel input[type=range]{accent-color:#48443f;width:100%}.range-hints{justify-content:space-between;margin-top:3px;display:flex}.style-panel select{border:1px solid var(--line);background:var(--surface);border-radius:3px;width:100%;height:36px;padding:0 9px;font-size:11px}.swatches{flex-wrap:wrap;gap:7px;display:flex}.swatches button,.swatches input[type=color]{border:2px solid var(--surface);outline:1px solid var(--line);color:#fff;border-radius:50%;place-items:center;width:29px;height:29px;padding:0;display:grid}.swatches button.selected{outline:2px solid var(--text)}.swatches.light button{color:#34312c}.border-controls{grid-template-columns:1fr 74px;gap:6px;margin-bottom:10px;display:grid}.border-swatches button{border-radius:3px;height:24px}.toggle-setting{justify-content:space-between;align-items:center;display:flex}.toggle-setting>div label{margin:0 0 3px}.toggle-setting>div span{color:var(--muted);font-size:9px}.toggle-setting>button{background:#aaa69e;border:0;border-radius:20px;width:38px;height:22px;padding:2px}.toggle-setting>button>span{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;display:block}.toggle-setting>button.on{background:#45413c}.toggle-setting>button.on>span{transform:translate(16px)}.reset-style{border:1px solid var(--line);width:100%;height:36px;color:var(--muted);background:0 0;border-radius:3px;font-size:10px}.date-settings{gap:9px;padding-top:12px;display:grid}.date-settings>label{color:var(--muted);align-items:center;gap:7px;font-size:10px;display:flex}.date-settings>label input{accent-color:var(--strong)}.date-settings>input{border:1px solid var(--line);background:var(--surface);border-radius:3px;width:100%;height:34px;padding:0 9px;font-size:10px}.date-alignments{border:1px solid var(--line);border-radius:3px;width:max-content;display:flex;overflow:hidden}.date-alignments button{border:0;border-right:1px solid var(--line);background:0 0;place-items:center;width:38px;height:32px;display:grid}.date-alignments button:last-child{border-right:0}.date-alignments button.selected{background:var(--selected);color:var(--strong)}.voice-panel{z-index:130;border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 24px);color:var(--text);border-radius:18px 22px 17px 20px;padding:15px;animation:.18s ease-out both cloud-rise;position:fixed;top:68px;right:18px;box-shadow:0 18px 48px #19171433}.voice-panel-head,.voice-panel-head>div{align-items:center;display:flex}.voice-panel-head{justify-content:space-between}.voice-panel-head>div{gap:9px}.voice-panel-head>div>span{background:var(--selected);border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.voice-panel-head>div>div{flex-direction:column;display:flex}.voice-panel-head strong{font:600 14px Georgia,serif}.voice-panel-head small{color:var(--muted);margin-top:2px;font-size:9px}.voice-panel-head>button{background:0 0;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.voice-panel-head>button:hover{background:var(--selected)}.voice-pulse{color:#9a3935;animation:1.35s ease-in-out infinite voice-pulse}.voice-targets{grid-template-columns:1fr 1fr;gap:7px;margin-top:14px;display:grid}.voice-targets button{border:1px solid var(--line);background:0 0;border-radius:7px;align-items:center;gap:8px;min-height:48px;padding:7px 9px;font-size:10px;display:flex}.voice-targets button.selected{border-color:var(--strong);background:var(--selected);box-shadow:inset 0 0 0 1px var(--strong)}.voice-device,.voice-language{color:var(--muted);grid-template-columns:74px 1fr;align-items:center;gap:10px;margin-top:12px;font-size:9px;display:grid}.voice-device select,.voice-language select{border:1px solid var(--line);background:var(--surface);border-radius:4px;width:100%;min-width:0;height:34px;padding:0 8px;font-size:10px}.mic-meter{margin:8px 0 0 84px}.mic-meter>span{background:var(--selected);border-radius:5px;height:5px;display:block;overflow:hidden}.mic-meter i{background:#4d7655;border-radius:5px;min-width:2px;height:100%;transition:width 80ms linear;display:block}.mic-meter small{color:var(--muted);margin-top:4px;font-size:8px;display:block}.voice-hint{color:var(--muted);margin:11px 0;font-size:9px;line-height:1.45}.voice-error{color:#7f302c;background:#fff3f1;border:1px solid #bd7f7a;border-radius:5px;margin:10px 0 0;padding:8px 9px;font-size:9px;line-height:1.4}.voice-start{color:#fff;background:#22201e;border:1px solid #22201e;border-radius:7px;justify-content:center;align-items:center;gap:7px;width:100%;height:40px;font-size:10px;font-weight:700;display:flex}.voice-start.stop{background:#853733;border-color:#853733}@keyframes voice-pulse{50%{box-shadow:0 0 0 6px #9a39351f}}.voice-engine{color:var(--muted);margin:8px 0 0 84px;font-size:8px;line-height:1.35}.voice-engine.local{color:#376642}.voice-engine.loading{color:#755d24}.voice-active-device{border:1px solid var(--line);min-height:28px;margin:7px 0 0 84px;padding:5px 7px}@supports (color:color-mix(in lab, red, red)){.voice-active-device{border:1px solid color-mix(in srgb,var(--line),#3f7449 25%)}}.voice-active-device{background:var(--surface);border-radius:5px}@supports (color:color-mix(in lab, red, red)){.voice-active-device{background:color-mix(in srgb,var(--surface),#dcecdf 48%)}}.voice-active-device{color:#376642;align-items:center;gap:6px;font-size:8px;line-height:1.3;display:flex}.dictation-preview{border:1px solid var(--line);background:var(--panel);border-radius:7px;margin-top:10px;padding:9px 10px}.dictation-preview span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:8px}.dictation-preview p{margin:4px 0 0;font-size:11px;line-height:1.45}.voice-actions{gap:7px;display:grid}.voice-clear{border:1px solid var(--line);width:100%;min-height:36px;color:var(--text);background:0 0;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-size:10px;display:flex}.voice-clear:hover:not(:disabled){background:var(--selected)}.voice-clear:focus-visible{background:var(--selected)}.voice-clear:disabled{cursor:not-allowed;opacity:.42}.notice{z-index:100;color:#fff;background:#282725;border:1px solid #111;align-items:center;gap:8px;padding:9px 10px;font-size:11px;display:flex;position:fixed;bottom:16px;right:16px}.notice button{color:#fff;background:0 0;border:0;place-items:center;width:26px;height:26px;display:grid}.share-dialog{isolation:isolate;background:var(--surface);width:min(500px,100%);color:var(--text);border:1px solid var(--line);text-align:center;border-radius:44px 36px 48px 38px/38px 48px 36px 44px;padding:38px 34px 32px;animation:.22s cubic-bezier(.2,.8,.2,1) both cloud-rise;position:relative;transform:translateZ(0);box-shadow:0 24px 60px #1f1d1933}.share-close{background:0 0;border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:12px;right:14px}.share-mark{border:1px solid var(--line);background:var(--panel);border-radius:50% 46% 54% 48%;place-items:center;width:44px;height:44px;margin:0 auto;display:grid;transform:rotate(-4deg)}.share-mark svg{transform:rotate(4deg)}.share-dialog h2{margin:15px 0 7px;font-family:Georgia,serif;font-size:27px;font-weight:500}.share-dialog>p{color:var(--muted);font-size:12px}.share-link-row{border:1px solid var(--line);background:var(--panel);border-radius:19px 24px 20px 22px;margin-top:22px;padding:4px;display:flex;box-shadow:inset 0 1px #ffffffb3}.share-link-row input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:42px;padding:0 11px;font-size:11px}.share-link-row button{border:1px solid var(--strong);background:var(--strong);min-width:112px;height:42px;color:var(--panel);border-radius:15px 19px 16px 18px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:11px;font-weight:600;transition:background .18s,color .18s,transform .18s;display:flex}.share-link-row button:active{transform:scale(.97)}.share-link-row button.copied{color:#315c3a;background:#e6f0e8;border-color:#7b9a80}@keyframes cloud-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translate(0)}}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.shared-state{text-align:center;background:#f2f0ea;place-content:center;min-height:100vh;padding:24px;display:grid}.shared-state h1{font-family:Georgia,serif;font-weight:500}.shared-state p{color:#706e69}.shared-screen{background:#e8e6df;min-height:100vh}.shared-screen>header{background:#f7f6f2;border-bottom:1px solid #d7d4cd;justify-content:space-between;align-items:center;height:58px;padding:0 24px;display:flex}.shared-screen>header>span{color:#706e69;align-items:center;gap:6px;font-size:11px;display:flex}.shared-screen>section{max-width:850px;margin:0 auto;padding:50px 24px 90px}.shared-screen>section>h1{margin:0;font-family:Georgia,serif;font-size:34px;font-weight:500}.shared-meta{color:#706e69;margin-bottom:28px;font-size:11px}.shared-paper{white-space:pre-wrap;border:1px solid #c8c1b5;min-height:760px;margin:0 0 28px;padding:62px 72px;font-size:19px;line-height:1.65;position:relative;box-shadow:0 3px 9px #221f1b1a}.shared-paper h2{margin:0 0 25px;font-size:34px;font-weight:400}.shared-page-number{opacity:.62;font:600 10px DM Sans,sans-serif;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.new-book-dialog{border-radius:62px 52px 67px 57px/54px 67px 55px 65px;width:min(470px,100%);padding:38px 32px 35px}.new-book-dialog:before{width:88px;height:48px;box-shadow:126px 4px 0 -3px var(--surface),245px 11px 0 -8px var(--surface);border-radius:70px 74px 9px 8px;top:-22px;left:44px;transform:rotate(-3deg)}.new-book-dialog:after{border-top:0;border-bottom:1px solid var(--line);width:95px;height:45px;box-shadow:-140px -3px 0 -5px var(--surface),-250px -10px 0 -11px var(--surface);border-radius:8px 8px 72px 72px;top:auto;bottom:-20px;right:48px;transform:rotate(2deg)}.new-book-dialog .dialog-title{margin-bottom:28px}.new-book-dialog input{color:#272624}.new-book-dialog input::placeholder{color:#918c83;opacity:1}.new-book-dialog>.book-name-field{margin:0 0 20px}.new-book-dialog fieldset{padding:0 0 21px}.new-book-dialog legend{margin-bottom:12px;padding:0}.new-book-dialog .create-book{margin-top:2px}.book-hex-fields{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 22px;display:grid}.book-hex-fields label{color:var(--muted);gap:7px;font-size:9px;font-weight:600;display:grid}.book-hex-fields input{text-transform:uppercase;height:40px;font-family:DM Sans,sans-serif}.rename-dialog,.confirm-dialog{isolation:isolate;border:1px solid var(--line);background:var(--surface);width:min(430px,100%);color:var(--text);border-radius:38px 44px 35px 47px/43px 36px 46px 39px;padding:31px;animation:.22s cubic-bezier(.2,.8,.2,1) both cloud-rise;position:relative;transform:translateZ(0);box-shadow:0 22px 55px #1f1d192e}.rename-dialog>label{margin-bottom:7px;font-size:11px;font-weight:700;display:block}.rename-dialog>input{border:1px solid var(--line);background:var(--surface);width:100%;height:43px;color:var(--text);border-radius:8px;padding:0 12px;font-size:14px}.confirm-dialog>p{color:var(--muted);margin:0 0 24px;font-size:12px;line-height:1.55}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.dialog-actions button{border:1px solid var(--line);min-width:94px;height:39px;color:var(--text);background:0 0;border-radius:13px 16px 14px 17px;padding:0 14px;font-size:11px;font-weight:650}.dialog-actions button[type=submit]{border-color:var(--strong);background:var(--strong);color:var(--panel)}.dialog-actions button.danger{color:#fff;background:#7f302c;border-color:#7f302c}.book-appearance-dialog{isolation:isolate;border:1px solid var(--line);background:var(--surface);width:min(470px,100%);color:var(--text);border-radius:43px 37px 46px 40px/39px 45px 38px 47px;padding:32px;animation:.22s cubic-bezier(.2,.8,.2,1) both cloud-rise;position:relative;box-shadow:0 22px 55px #1f1d192e}.appearance-preview{color:#fff;border:3px solid;border-radius:2px 10px 10px 2px;align-items:flex-end;height:116px;margin-bottom:22px;padding:19px 22px 17px 35px;display:flex;position:relative;overflow:hidden}.appearance-preview>span{background:#ffffff2e;border-inline:1px solid #00000038;width:2px;position:absolute;inset:0 auto 0 12px}.appearance-preview>strong{text-shadow:0 1px 2px #00000059;font:500 20px Georgia,serif}.book-appearance-dialog fieldset{border:0;margin:0 0 19px;padding:0}.book-appearance-dialog legend{margin-bottom:10px;font-size:11px;font-weight:700}.book-appearance-dialog .cover-colors button{border:2px solid var(--surface);outline:1px solid var(--line);color:#fff;place-items:center;width:36px;height:36px;padding:0;display:grid}.book-appearance-dialog .cover-colors button.selected{outline:2px solid var(--text)}.appearance-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.appearance-fields>label{color:var(--muted);gap:7px;font-size:10px;font-weight:650;display:grid}.appearance-fields>label>div{border:1px solid var(--line);background:var(--surface);border-radius:7px;align-items:center;height:42px;padding:4px;display:flex}.appearance-fields input[type=color]{background:0 0;border:0;width:36px;height:32px;padding:1px}.appearance-fields input:not([type=color]){min-width:0;height:32px;color:var(--text);text-transform:uppercase;background:0 0;border:0;outline:0;flex:1;padding:0 7px;font-size:11px;font-weight:650}.appearance-fields>label>div:has(input[aria-invalid=true]){border-color:#a04b45}.field-error{color:#8d3833;margin:9px 0 0;font-size:10px}.book-section{padding-top:34px}.book-section+.book-section{border-top:1px solid var(--line);margin-top:28px}.book-section>h2{align-items:center;gap:8px;margin:0;font-family:Georgia,serif;font-size:22px;font-weight:500;display:flex}.important-section>h2{color:#8a671e}.book-section .book-grid{padding-top:20px}.cover-star{color:#f6df9a;position:absolute;top:0;right:0}.book-meta button.important{color:#9a7020}.new-page-control{position:relative}.new-page-control>button{border:1px solid var(--strong);background:var(--strong);height:34px;color:var(--panel);border-radius:3px;align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:600;display:flex}.new-page-menu{z-index:60;border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:6px;width:218px;padding:12px;display:grid;position:absolute;top:40px;right:0;box-shadow:0 14px 35px #1817142e}.new-page-menu>strong{grid-column:1/-1;margin-bottom:3px;font-size:10px}.new-page-menu>button{color:var(--muted);text-transform:capitalize;background:0 0;border:1px solid #0000;padding:5px 2px;font-size:8px}.new-page-menu>button:hover{border-color:var(--line);background:var(--panel)}.sidebar-top-actions{align-items:center;gap:8px;display:flex}.mobile-sidebar-scrim{display:none}.ink-picker{border:1px solid var(--line);background:0 0;border-radius:3px;place-items:center;width:36px;height:34px;position:relative;overflow:hidden;padding:0!important;display:grid!important}.ink-dot{border:1px solid #0000002e;border-radius:50%;width:18px;height:18px}.ink-picker input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.hex-color-field{grid-template-columns:38px 1fr;gap:7px;margin-top:10px;display:grid}.hex-color-field input[type=color]{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:5px;width:38px;height:36px;padding:3px}.hex-color-field input:not([type=color]){border:1px solid var(--line);background:var(--surface);width:100%;height:36px;color:var(--text);text-transform:uppercase;border-radius:5px;padding:0 10px;font:600 11px DM Sans,sans-serif}.hex-color-field input[aria-invalid=true]{border-color:#a04b45}.color-help{color:var(--muted);margin-top:6px;font-size:8px;line-height:1.4;display:block}.real-paper{padding-bottom:32px}.page-writing{height:auto;min-height:calc(1040px - var(--top-margin) - 112px);white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}.page-writing:empty:before{content:attr(data-placeholder);color:var(--ink)}@supports (color:color-mix(in lab, red, red)){.page-writing:empty:before{color:color-mix(in srgb,var(--ink),transparent 58%)}}.page-writing:empty:before{pointer-events:none}.paper-ruled .page-writing,.paper-dot-ruled .page-writing,.paper-cornell .page-writing{background-position:0 var(--rule-shift)}.page-image{z-index:8;min-width:100px;box-shadow:none;cursor:pointer;background:0 0;border:1px solid #0000;padding:0;position:absolute;transform:translate(-50%)}.page-image.selected{z-index:9;border-color:#35322d80;box-shadow:0 3px 10px #23201b21}.page-image>img{width:100%;height:auto;display:block}.page-image-controls{color:#5f5b54;cursor:grab;background:#f7f5effa;border:1px solid #35322d4d;align-items:center;gap:5px;min-height:30px;padding-left:7px;font:500 9px DM Sans,sans-serif;display:flex;position:absolute;bottom:100%;left:-1px;right:-1px}.page-image-controls:active{cursor:grabbing}.page-image-controls span{flex:1}.page-image-controls button{background:0 0;border:0;place-items:center;width:30px;height:29px;display:grid}.page-image-controls button:hover{background:#35322d14}.page-image>label{color:#5f5b54;background:#f7f5effa;border:1px solid #35322d4d;border-top:0;align-items:center;gap:8px;height:30px;padding:0 7px;font:500 9px DM Sans,sans-serif;display:flex;position:absolute;top:100%;left:-1px;right:-1px}.page-image>label input{accent-color:#514d47;flex:1;min-width:0}.page-context-menu{z-index:220;border:1px solid var(--line);background:var(--surface);border-radius:10px;width:180px;padding:6px;position:fixed;box-shadow:0 14px 38px #18171438}.page-context-menu button{width:100%;height:38px;color:var(--danger);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:0 10px;font-size:11px;display:flex}.page-context-menu button:hover:not(:disabled){background:var(--selected)}.page-context-menu>span{color:var(--muted);padding:5px 10px;font-size:9px;display:block}.page-context-menu button.rename-page{color:var(--text)}.writing-toolbar>button.toolbar-action:hover:not(:disabled){background:var(--selected)}.writing-toolbar>button.toolbar-action:focus-visible{background:var(--selected)}.writing-toolbar>button.toolbar-delete:hover:not(:disabled){color:var(--danger);border-color:var(--danger)}.writing-toolbar>button.toolbar-delete:focus-visible{color:var(--danger);border-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.writing-toolbar>button.toolbar-delete:hover:not(:disabled){border-color:color-mix(in srgb,var(--danger),var(--line) 45%)}.writing-toolbar>button.toolbar-delete:focus-visible{border-color:color-mix(in srgb,var(--danger),var(--line) 45%)}}.writing-toolbar>button.toolbar-delete:hover:not(:disabled){background:var(--surface)}.writing-toolbar>button.toolbar-delete:focus-visible{background:var(--surface)}@supports (color:color-mix(in lab, red, red)){.writing-toolbar>button.toolbar-delete:hover:not(:disabled){background:color-mix(in srgb,var(--surface),var(--danger) 7%)}.writing-toolbar>button.toolbar-delete:focus-visible{background:color-mix(in srgb,var(--surface),var(--danger) 7%)}}.font-loading select{cursor:progress;opacity:.72}.export-backdrop{align-items:center;overflow:auto}.export-dialog{border:1px solid var(--line);background:var(--surface);width:min(780px,100%);max-height:min(88vh,820px);color:var(--text);border-radius:18px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 24px 64px #1917143d}.export-heading{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:23px 24px 18px;display:flex}.export-heading p{color:var(--muted);letter-spacing:.13em;margin:0 0 4px;font-size:9px;font-weight:700}.export-heading h2{margin:0 0 5px;font:500 27px Georgia,serif}.export-heading>div>span{color:var(--muted);font-size:11px}.export-heading>button{background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:grid}.export-heading>button:hover{background:var(--selected)}.export-dialog-body{min-height:0;padding:0 24px;overflow:auto}.export-dialog-body>section{border-bottom:1px solid var(--line);padding:18px 0}.export-dialog-body>section>label{margin-bottom:9px;font-size:11px;font-weight:700;display:block}.export-segments{border:1px solid var(--line);border-radius:5px;grid-template-columns:repeat(3,1fr);display:grid;overflow:hidden}.export-segments button{border:0;border-right:1px solid var(--line);background:0 0;min-height:38px;font-size:10px}.export-segments button:last-child{border-right:0}.export-segments button.selected{background:var(--strong);color:var(--panel)}.export-page-list{border:1px solid var(--line);max-height:150px;margin-top:10px;overflow:auto}.export-page-list label{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:9px;min-height:37px;padding:0 10px;font-size:10px;display:flex}.export-page-list label:last-child{border-bottom:0}.export-page-list label:hover{background:var(--selected)}.export-page-list label>span{width:19px;color:var(--muted);text-align:right}.export-page-list input{accent-color:var(--strong)}.export-formats{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.export-formats button{border:1px solid var(--line);text-align:left;background:0 0;border-radius:5px;flex-direction:column;justify-content:center;min-height:58px;padding:8px 9px;display:flex}.export-formats button:hover{background:var(--selected)}.export-formats button.selected{border-color:var(--strong);box-shadow:inset 0 0 0 1px var(--strong)}.export-formats strong{font-size:11px}.export-formats small{color:var(--muted);margin-top:3px;font-size:8px;line-height:1.3}.export-options>div{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.export-options>div>label{color:var(--muted);gap:5px;font-size:9px;display:grid;position:relative}.export-options select{border:1px solid var(--line);background:var(--surface);border-radius:3px;height:36px;padding:0 9px;font-size:10px}.export-options input[type=range]{width:100%;accent-color:var(--strong)}.export-options label>span{position:absolute;top:0;right:0}.export-options .check-option{flex-direction:row;grid-column:1/-1;align-items:center;gap:7px;display:flex}.check-option input{accent-color:var(--strong)}.export-error{color:#7f302c;background:#fff3f1;border:1px solid #bd7f7a;margin:10px 24px 0;padding:9px 10px;font-size:10px}.export-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:12px 24px;display:flex}.export-footer>span{color:var(--muted);font-size:9px}.run-export{color:#fff;background:#171717;border:1px solid #171717;border-radius:4px;justify-content:center;align-items:center;gap:7px;min-width:142px;height:40px;padding:0 15px;font-size:11px;font-weight:700;display:flex}.export-stage{pointer-events:none;width:780px;position:fixed;top:0;left:-12000px}.export-paper{width:780px!important;min-height:1040px!important;box-shadow:none!important;margin:0 0 24px!important}.export-paper .page-writing{min-height:calc(1040px - var(--top-margin) - 112px)}.export-date{line-height:24px}.export-free-text{white-space:pre-wrap;padding:7px;line-height:1.35}.export-image{box-shadow:none!important;border-color:#0000!important}.export-no-paper{background-color:#0000!important;background-image:none!important;border-color:#0000!important}.export-no-paper .page-writing{background-image:none!important}.book-reader{z-index:220;color:#242321;background:#dedbd4;flex-direction:column;display:flex;position:fixed;inset:0}.dark .book-reader{color:#f1eee8;background:#171715}.reader-header{z-index:2;background:var(--panel);border-bottom:1px solid #4a453e38;flex:none;min-height:72px;padding:10px max(20px,50vw - 460px);position:relative}@supports (color:color-mix(in lab, red, red)){.reader-header{background:color-mix(in srgb,var(--panel),transparent 4%)}}.reader-header{justify-content:space-between;align-items:center;gap:24px;display:flex}.reader-header>div{grid-template-columns:auto 1fr auto;align-items:baseline;gap:10px;min-width:0;display:grid}.reader-header span{color:var(--muted);letter-spacing:.14em;font-size:8px;font-weight:750}.reader-header h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font:500 22px Georgia,serif;overflow:hidden}.reader-header small{color:var(--muted);white-space:nowrap;font-size:9px}.reader-header>button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--text);border-radius:50%;flex:0 0 44px;place-items:center;display:grid}:is(.reader-header>button:hover,.reader-header>button:focus-visible){background:var(--selected);border-color:var(--strong)}.reader-scroll{overscroll-behavior:contain;scroll-behavior:smooth;flex:1;min-height:0;padding:40px 20px 80px;overflow-y:auto}.reader-pages{gap:52px;width:min(820px,100%);margin:0 auto;display:grid}.reader-page-wrap{min-width:0}.reader-page-label{color:currentColor;justify-content:space-between;align-items:center;gap:16px;width:min(780px,100%);margin:0 auto 10px;padding:0 2px;display:flex}@supports (color:color-mix(in lab, red, red)){.reader-page-label{color:color-mix(in srgb,currentColor,transparent 32%)}}.reader-page-label{font-size:9px}.reader-page-label span{letter-spacing:.08em;text-transform:uppercase;font-weight:700}.reader-page-label strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.book-reader .export-paper{width:min(780px,100%)!important;margin:0 auto!important;box-shadow:0 8px 28px #201d1929!important}.book-reader .page-writing{cursor:default}.book-reader .page-title,.book-reader .page-writing{-webkit-user-select:text;user-select:text}.book-reader .export-image img{max-width:100%;height:auto;display:block}.book-reader .reader-page-wrap:last-child{padding-bottom:20px}.owner-page{color:#292825;background:#f3f1eb;min-height:100vh}.owner-header{border-bottom:1px solid #d5d1c8;justify-content:space-between;align-items:center;height:74px;padding:0 max(24px,50vw - 520px);display:flex}.owner-header>a:first-child{align-items:center;width:130px;height:58px;display:flex}.owner-header img{object-fit:contain;object-position:left center;width:124px;height:54px}.owner-header>a:last-child{color:#292825;border:1px solid #bdb8ae;border-radius:7px;align-items:center;gap:7px;min-height:44px;padding:0 14px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.owner-header>a:last-child:hover{background:#e7e4dd}.owner-story{width:min(760px,100% - 40px);margin:0 auto;padding:92px 0 86px}.owner-kicker{color:#777168;letter-spacing:.16em;margin:0 0 16px;font-size:10px;font-weight:800}.owner-story h1{letter-spacing:-.055em;margin:0;font:500 clamp(52px,8vw,92px)/.98 Georgia,serif}.owner-story h1 span{color:#345174}.owner-intro{color:#5b5750;max-width:610px;margin:28px 0 54px;font:400 clamp(20px,3vw,27px)/1.45 Georgia,serif}.owner-copy{border-left:2px solid #c8c2b6;gap:22px;max-width:650px;padding-left:30px;display:grid}.owner-copy p{color:#4f4b45;margin:0;font-size:16px;line-height:1.85}.owner-social{color:#292825;background:#faf9f5;border:1px solid #bdb7ab;border-radius:12px;grid-template-columns:42px 1fr 24px;align-items:center;gap:10px;width:min(390px,100%);min-height:76px;margin-top:52px;padding:0 18px;text-decoration:none;display:grid}.owner-social>svg:first-child{color:#fff;background:#292825;border-radius:50%;width:42px;height:42px;padding:10px}.owner-social span{flex-direction:column;gap:3px;display:flex}.owner-social small{color:#777168;letter-spacing:.13em;font-size:8px;font-weight:800}.owner-social strong{font-size:14px}.owner-social:hover{background:#ebe8e1;border-color:#8b857b}.owner-thanks{margin:55px 0 0;font:italic 21px Georgia,serif}.owner-footer{color:#6f6a62;border-top:1px solid #d5d1c8;justify-content:center;align-items:center;gap:13px;min-height:76px;padding:18px 24px;font-size:10px;display:flex}.owner-footer i{background:#c8c2b8;width:1px;height:14px}.help-page{color:#292825;background:#f3f1eb;min-height:100vh}.skip-link{z-index:50;color:#fff;background:#292825;border-radius:4px;padding:9px 12px;font-size:11px;text-decoration:none;position:fixed;top:8px;left:14px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.help-header{z-index:20;background:#f9f8f4f5;border-bottom:1px solid #d8d4ca;justify-content:space-between;align-items:center;height:68px;padding:0 max(24px,50vw - 560px);display:flex;position:sticky;top:0}.help-brand{color:#292825;align-items:center;min-width:118px;height:54px;text-decoration:none;display:flex}.help-brand img{object-fit:contain;object-position:left center;background:0 0;border:0;width:145px;height:54px;padding:0}.help-header nav{align-items:center;gap:4px;display:flex}.help-header nav a{color:#68655f;border-radius:5px;align-items:center;height:38px;padding:0 13px;font-size:12px;font-weight:650;text-decoration:none;display:flex}:is(.help-header nav a:hover,.help-header nav a:focus-visible){color:#292825;background:#e9e6df}.help-header nav a:focus-visible{outline-offset:2px;outline:2px solid #292825}.help-header nav a.active{color:#fff;background:#292825}.help-header nav .library-link{color:#292825;border:1px solid #bdb8ad;margin-left:8px}.help-hero{text-align:center;max-width:900px;margin:0 auto;padding:92px 24px 66px}.help-hero>p{color:#736f67;letter-spacing:.16em;margin:0 0 15px;font-size:10px;font-weight:750}.help-hero h1{letter-spacing:-.045em;max-width:760px;margin:0 auto 19px;font:500 clamp(38px,6vw,66px)/1.03 Georgia,serif}.help-hero>span{color:#66625b;max-width:690px;margin:0 auto;font-size:16px;line-height:1.7;display:block}.help-content{width:min(900px,100% - 48px);margin:0 auto 80px}.help-jump{background:#faf9f5;border:1px solid #d6d1c7;border-radius:12px;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:22px;padding:17px 18px;display:flex}.help-jump strong{margin-right:auto;font-size:11px}.help-jump a{color:#5f5b54;border-radius:4px;padding:7px 9px;font-size:11px;text-decoration:none}:is(.help-jump a:hover,.help-jump a:focus-visible){color:#292825;background:#ece9e2}.help-section{border-top:1px solid #d6d1c7;grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr);gap:54px;padding:38px 0;scroll-margin-top:84px;display:grid}.help-section-heading{align-items:flex-start;gap:16px;display:flex}.help-section-heading>span{color:#7b766d;border:1px solid #c5c0b5;border-radius:50%;place-items:center;width:36px;height:28px;font-size:9px;font-weight:700;display:grid}.help-section-heading h2{margin:0 0 8px;font:500 25px/1.15 Georgia,serif}.help-section-heading p{color:#777269;margin:0;font-size:12px;line-height:1.55}.help-section-body p{color:#514e48;margin:0 0 14px;font-size:14px;line-height:1.75}.help-section-body p:last-child{margin-bottom:0}.help-section-body b{color:#292825}.guide-note{background:#faf9f5;border:1px solid #cfc9bd;border-left:4px solid #345174;border-radius:8px;gap:16px;margin:0 0 22px;padding:20px 22px;display:flex}.guide-note strong{white-space:nowrap}.guide-note span{color:#625e57;font-size:13px;line-height:1.6}.help-troubleshooting{border-top:1px solid #d6d1c7;margin-top:28px;padding-top:42px}.help-troubleshooting>h2{margin:0 0 22px;font:500 28px Georgia,serif}.help-troubleshooting>div{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.help-troubleshooting article{background:#faf9f5;border:1px solid #d6d1c7;border-radius:10px;padding:19px}.help-troubleshooting h3{margin:0 0 9px;font-size:13px}.help-troubleshooting p{color:#666159;margin:0;font-size:12px;line-height:1.6}.help-footer{color:#777269;border-top:1px solid #d8d4ca;justify-content:space-between;align-items:center;min-height:78px;padding:0 max(24px,50vw - 450px);font-size:11px;display:flex}.help-footer a{color:#292825;font-weight:650}.guide-panel{background:#faf9f5;border:1px solid #d2cdc2;border-radius:14px;margin-top:28px;scroll-margin-top:88px;overflow:hidden}.guide-panel-head{background:#eeece6;border-bottom:1px solid #d8d3c9;padding:27px 28px 23px}.guide-panel-head>p{color:#777169;letter-spacing:.14em;margin:0 0 7px;font-size:9px;font-weight:750}.guide-panel-head h2{margin:0 0 8px;font:500 28px/1.15 Georgia,serif}.guide-panel-head>span{color:#67635c;font-size:12px;line-height:1.55}.guide-controls{grid-template-columns:1fr 1fr;display:grid}.guide-control{border-bottom:1px solid #e0dcd3;min-width:0;min-height:128px;padding:19px 20px}.guide-control:nth-child(odd){border-right:1px solid #e0dcd3}.guide-control:nth-last-child(-n+2){border-bottom:0}.guide-button{color:#292825;background:#fff;border:1px solid #bbb6ac;border-radius:7px;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:36px;padding:0 11px;font-size:10px;display:inline-flex;box-shadow:0 1px 1px #23201b0a}.guide-button b{overflow-wrap:anywhere;min-width:0}.guide-control>p{color:#5e5a53;margin:11px 0 0;font-size:12px;line-height:1.6}.guide-control>p svg{vertical-align:-2px}.guide-control.danger .guide-button{color:#8e332f;background:#fff8f7;border-color:#d5aaa7}@media (max-width:1100px){.style-panel{z-index:30;position:absolute;top:0;bottom:0;right:0}.paper-scroll{padding-inline:24px}}@media (max-width:760px),(max-height:520px) and (max-width:950px){html,body{overscroll-behavior:none}.desktop-only{display:none!important}.mobile-only{display:grid!important}button,select,input{touch-action:manipulation}.desk{height:100dvh;min-height:0}.desk-header{background:var(--panel);flex-wrap:wrap;align-content:flex-start;height:116px;padding:0;display:flex}.header-left{border-bottom:1px solid var(--line);gap:8px;width:100%;height:56px;padding:0 12px}.header-left>.icon-btn,.back-btn{background:0 0;border:0;border-radius:10px;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:grid}.back-btn{font-size:0}.header-rule,.save-label{display:none}.book-identity{flex:1;min-width:0}.book-identity>span{flex:0 0 11px;width:11px}.book-identity input{text-overflow:ellipsis;width:100%;min-width:0;font-size:16px}.header-actions{order:2;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:100%;height:60px;padding:8px 10px;display:grid;overflow:visible}.header-actions::-webkit-scrollbar{display:none}.writing-toolbar::-webkit-scrollbar{display:none}.icon-action,.plain-btn{border-radius:11px;flex:0 0 44px;justify-self:center;width:44px;min-width:44px;height:44px;padding:0}.tooltip-action:after{display:none}.plain-btn{justify-content:center}.plain-btn span{display:none}.read-trigger,.export-trigger{min-width:44px}.mobile-sidebar-scrim{z-index:39;opacity:0;pointer-events:none;background:#1b19166b;border:0;width:100%;height:100%;transition:opacity .18s;display:block;position:absolute;inset:0}.mobile-sidebar-scrim.open{opacity:1;pointer-events:auto}.page-sidebar{z-index:40;width:min(88vw,360px);padding:16px;transition:transform .2s cubic-bezier(.2,.8,.2,1);position:absolute;inset:0 auto 0 0;transform:translate(-102%);box-shadow:18px 0 42px #1c1a1733}.page-sidebar.open{transform:translate(0)}.sidebar-top{min-height:48px}.sidebar-top>div:first-child{font-size:16px}.sidebar-top-actions{gap:6px}.mobile-sidebar-close{border:1px solid var(--line);background:var(--surface);border-radius:10px;place-items:center;width:44px;height:44px}.new-page-control>button{border-radius:9px;height:44px;padding:0 13px;font-size:12px}.new-page-menu{grid-template-columns:repeat(3,1fr);width:auto;position:fixed;top:74px;left:16px;right:16px}.sidebar-search{border-radius:9px;height:46px;margin:14px 0;padding:0 12px}.sidebar-search input{font-size:16px}.sortable-pages{gap:7px}.sortable-page{border-radius:9px;min-height:72px}.drag-handle{flex:0 0 40px;width:40px}.page-open strong{font-size:13px}.page-open small{font-size:11px}.page-order{opacity:1;width:48px}.page-order button{width:48px;height:34px}.sidebar-footer{gap:4px;padding-top:12px;font-size:10px}.sidebar-footer>span{display:none}.sidebar-footer button{border-radius:8px;height:46px;padding:0 10px;font-size:13px}.writing-area{width:100%}.writing-toolbar{scroll-snap-type:x proximity;scrollbar-width:none;flex-basis:52px;gap:6px;min-height:52px;padding:4px 8px;overflow-x:auto}.writing-toolbar>*{scroll-snap-align:start}.writing-toolbar label>span{display:none}.writing-toolbar select{border-radius:8px;min-width:116px;max-width:130px;height:44px;font-size:12px}.writing-toolbar .small-select select{width:76px;min-width:76px}.writing-toolbar>button,.ink-picker{border-radius:8px;flex:0 0 44px;justify-content:center;width:44px;height:44px;padding:0}.writing-toolbar>button span{display:none}.format-tools{border-radius:8px;height:44px}.format-tools button{width:42px;height:42px}.toolbar-space{display:none}.paper-scroll{padding:12px 8px calc(52px + env(safe-area-inset-bottom));overscroll-behavior:contain}.real-paper{--side-margin:min(34px,var(--side-margin));width:100%;min-height:calc(100dvh - 200px);padding-left:var(--side-margin);padding-right:var(--side-margin);box-shadow:0 2px 7px #221f1b1f}.red-margin{opacity:.48}.page-date{font-size:8px}.page-title{min-height:52px;padding-top:5px;font-size:28px}.writing-status{flex-basis:28px;height:28px;padding:0 10px}.writing-status span:nth-child(2){display:none}.style-panel{z-index:70;width:100%;max-height:min(82dvh,720px);padding:18px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;position:fixed;inset:auto 0 0;box-shadow:0 -18px 48px #1b191638}.voice-panel{inset:auto 8px calc(8px + env(safe-area-inset-bottom));border-radius:20px;width:auto;max-height:82dvh;overflow-y:auto}.voice-device,.voice-language{grid-template-columns:1fr;gap:6px}.voice-device select,.voice-language select{height:44px;font-size:12px}.voice-active-device,.mic-meter,.voice-engine{margin-left:0}.voice-targets button,.voice-start,.voice-clear{min-height:48px}.library-header{flex-wrap:wrap;height:auto;min-height:64px;padding:8px 12px}.wordmark.small{min-width:84px}.library-help{border-top:1px solid var(--line);order:3;justify-content:flex-start;width:100%;padding-top:4px}.library-help a{min-height:40px;padding:0 10px;font-size:11px}.account{margin-left:auto}.account button{justify-content:center;width:44px;height:44px;padding:0;font-size:0}.account-profile{padding-right:8px}.account-profile>strong{display:none}.library-title{flex-direction:column;align-items:flex-start;gap:16px}.library-title h1{font-size:32px}.library-actions{width:100%}.library-actions button{flex:1;justify-content:center;min-height:44px}.book-grid{grid-template-columns:1fr;gap:26px}.book-card{width:100%;max-width:420px;margin:0 auto}.appearance-fields{grid-template-columns:1fr}.book-appearance-dialog{padding:28px 22px}.login-card{padding:24px 20px}.login-copy{padding-top:20px}.oauth-card{margin-left:0}.share-dialog{border-radius:28px;padding:36px 18px 22px}.share-link-row{flex-direction:column;gap:6px}.share-link-row input{width:100%;font-size:12px}.share-link-row button{width:100%;min-height:46px}.shared-screen>header{height:58px;padding:0 14px}.shared-screen>section{padding:32px 10px 60px}.shared-screen>section>h1{padding-inline:8px;font-size:29px}.shared-meta{padding-inline:8px}.shared-paper{min-height:620px;padding:38px 28px;font-size:17px}.shared-paper h2{font-size:29px}.export-backdrop{align-items:flex-end;padding:0}.export-dialog{width:100%;max-height:94dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0}.export-heading,.export-dialog-body,.export-footer{padding-left:16px;padding-right:16px}.export-heading>div>span{display:none}.export-formats{grid-template-columns:repeat(2,1fr)}.export-options>div{grid-template-columns:1fr}.export-options .check-option{grid-column:1}.export-footer{flex-direction:column;align-items:flex-start}.run-export{width:100%;min-height:48px}.quick-paper-style select{width:104px!important;min-width:104px!important}.new-book-dialog{border-radius:34px;padding:34px 23px 30px}.new-book-dialog:before{left:35px}.new-book-dialog:after{right:32px}.book-hex-fields{grid-template-columns:1fr}.help-header{gap:12px;height:auto;min-height:64px;padding:9px 14px}.help-brand{min-width:88px}.help-brand img{width:96px;height:42px}.help-header nav{gap:2px}.help-header nav a{height:34px;padding:0 8px;font-size:10px}.help-header nav .library-link{margin-left:2px}.help-hero{padding:60px 20px 45px}.help-hero h1{font-size:40px}.help-hero>span{font-size:14px}.help-content{width:calc(100% - 32px)}.help-jump{align-items:flex-start}.help-jump strong{width:100%;margin-bottom:4px}.help-section{grid-template-columns:1fr;gap:20px;padding:30px 0}.guide-note{flex-direction:column;gap:7px}.guide-controls{grid-template-columns:1fr}.guide-control,.guide-control:nth-child(odd){border-bottom:1px solid #e0dcd3;border-right:0}.guide-control:last-child{border-bottom:0}.guide-panel-head{padding:23px 20px 20px}.help-troubleshooting>div{grid-template-columns:1fr}.help-footer{padding:0 18px}.desk-header{z-index:61;flex-wrap:nowrap;height:56px;position:relative}.desk-body{height:calc(100dvh - 56px)}.header-actions{z-index:65;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:5px 12px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);grid-template-columns:repeat(5,1fr);gap:4px;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab, red, red)){.header-actions{background:color-mix(in srgb,var(--panel),transparent 2%)}}.header-actions{box-shadow:0 -5px 18px #1c1a171a}.header-actions>:nth-child(3){display:none}.header-actions .icon-action,.header-actions .plain-btn{border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:58px;min-width:0;height:54px;display:flex;color:var(--text)!important;background:0 0!important;border:0!important}.header-actions .tooltip-action:after{content:attr(data-tooltip);width:auto;max-width:58px;color:var(--muted);opacity:1;white-space:nowrap;text-overflow:ellipsis;background:0 0;border-radius:0;padding:0;font-size:8px;font-weight:650;display:block;position:static;overflow:hidden;transform:none}.header-actions .plain-btn span{color:var(--muted);font-size:8px;font-weight:650;display:block}.header-actions .export-trigger{background:var(--strong)!important;color:var(--panel)!important}.header-actions .export-trigger span{color:var(--panel)}.header-actions .icon-action.active{background:var(--strong)!important;color:var(--panel)!important}.header-actions .icon-action.active:after{color:var(--panel)}.writing-status{display:none}.mobile-sidebar-scrim{z-index:71}.page-sidebar{z-index:72;bottom:0}.writing-toolbar{flex-basis:54px;gap:6px;min-height:54px;padding:5px 8px;overflow-x:auto}.writing-toolbar .quick-paper-style,.writing-toolbar .font-control,.writing-toolbar>.toolbar-action,.writing-toolbar>.toolbar-space{display:none!important}.writing-toolbar .small-select select{min-width:76px;height:44px}.writing-toolbar .format-tools{flex:none}.writing-toolbar .format-tools button:nth-child(2){display:none}.writing-toolbar .mobile-tools-trigger{order:9;display:flex!important}.writing-toolbar .mobile-tools-trigger span{display:none}.paper-scroll{padding:8px 8px calc(78px + env(safe-area-inset-bottom))}.real-paper{min-height:calc(100dvh - 118px)}.page-writing{min-height:max(520px,calc(100dvh - var(--top-margin) - 180px))}.desktop-library-account{display:none!important}.library-header{flex-wrap:nowrap;gap:12px;height:64px;min-height:64px;padding:6px 16px}.library-header>.wordmark{height:50px}.wordmark.small>img{width:104px;height:48px}.mobile-library-account{grid-template-columns:36px 44px;align-items:center;gap:8px;margin-left:auto}.mobile-library-account>button{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--text);border-radius:10px;place-items:center;display:grid}.library-content{padding:24px 14px 48px}.library-title{gap:16px;padding-bottom:20px}.library-title h1{margin-bottom:2px;font-size:30px}.library-title>div>span{font-size:12px}.library-actions{gap:8px}.library-actions button{border-radius:9px;height:46px;padding:0 12px;font-size:12px}.book-section{padding-top:24px}.book-section+.book-section{margin-top:22px}.book-section>h2{font-size:21px}.book-section .book-grid{padding-top:12px}.book-grid{grid-template-columns:1fr;gap:12px;display:grid}.book-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;grid-template-columns:112px minmax(0,1fr);gap:12px;width:100%;max-width:none;min-height:174px;margin:0;padding:10px;display:grid}.book-cover{aspect-ratio:auto;border-radius:2px 7px 7px 2px;grid-area:1/1;width:112px;height:154px}.book-cover>div{padding:16px 11px 14px 22px}.book-cover strong{font-size:16px}.book-cover small{margin-top:4px;font-size:9px}.book-meta{flex-direction:column;grid-area:1/2;justify-content:space-between;align-items:flex-start;min-width:0;height:154px;margin:0}.book-meta>span{padding-top:4px;font-size:10px}.book-meta>div{grid-template-columns:repeat(3,44px);gap:4px;width:100%;display:grid}.book-meta button{border:1px solid var(--line);background:var(--panel);border-radius:9px;width:44px;height:44px}.book-meta button:active{background:var(--selected)}.book-meta button:last-child{color:var(--danger)}.empty-library{margin:48px auto}.mobile-tools-backdrop,.mobile-library-backdrop{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.mobile-tools-sheet,.mobile-library-sheet{border-radius:22px 22px 12px 12px}.style-panel{z-index:170}.voice-panel{z-index:170;bottom:calc(72px + env(safe-area-inset-bottom))}}@media (max-width:760px){.account{gap:6px}.library-help{gap:2px}.account-profile{padding-right:6px}.account-profile>strong{display:none}.login-copy{padding-top:20px}.header-left{grid-template-columns:44px 44px minmax(0,1fr);gap:4px;width:100%;padding:0 10px;display:grid}.header-left>.icon-btn{grid-column:1}.back-btn{grid-column:2;border:1px solid var(--line)!important;background:var(--surface)!important}.book-identity{grid-column:3;gap:7px;padding-left:5px}.book-identity input{font-size:14px}.writing-toolbar{flex-basis:50px;min-height:50px;padding:3px 6px}.writing-toolbar select,.writing-toolbar .small-select select,.writing-toolbar>button,.ink-picker,.format-tools{height:44px}.writing-toolbar select{font-size:11px}.format-tools button{height:42px}.paper-scroll{padding:6px 6px calc(76px + env(safe-area-inset-bottom))}.real-paper{width:100%;min-height:calc(100dvh - 112px);padding-left:min(var(--side-margin),clamp(25px,8vw,34px));padding-right:min(var(--side-margin),clamp(25px,8vw,34px))}.page-date{letter-spacing:.06em;font-size:7px}.page-title{min-height:48px;padding:5px 0 9px;font-size:clamp(21px,6.2vw,26px)}.page-writing{font-size:min(var(--font-size),clamp(13px,4vw,17px));min-height:max(500px,calc(100dvh - var(--top-margin) - 170px))}.header-actions{height:calc(60px + env(safe-area-inset-bottom));padding:3px 8px calc(3px + env(safe-area-inset-bottom))}.header-actions .icon-action,.header-actions .plain-btn{width:54px;height:50px}.header-actions .tooltip-action:after,.header-actions .plain-btn span{max-width:54px;font-size:8px}.library-content{padding:20px 12px 46px}.library-title{gap:14px;padding-bottom:18px}.library-title h1{font-size:27px}.library-title>div>span,.library-actions button{font-size:11px}.book-section{padding-top:21px}.book-section>h2{font-size:19px}.book-card{grid-template-columns:104px minmax(0,1fr);gap:11px;min-height:164px;padding:9px}.book-cover{width:104px;height:144px}.book-cover>div{padding:14px 9px 12px 20px}.book-cover strong{font-size:14px}.book-meta{height:144px}.book-card-copy{flex-direction:column;width:100%;padding:3px 2px 0;display:flex!important}.book-card-copy strong{text-overflow:ellipsis;white-space:nowrap;color:var(--text);font:600 15px Georgia,serif;display:block;overflow:hidden}.book-card-copy span{color:var(--muted);margin-top:5px;font-size:10px;display:block}.book-card-copy small{margin-top:3px;font-size:9px}.book-card-actions{grid-template-columns:repeat(3,44px);gap:4px;width:100%;display:grid!important}.mobile-library-backdrop{background:#1918163d;justify-content:flex-end;align-items:flex-start;padding:70px 10px 10px}.mobile-library-sheet{border-radius:16px;width:min(330px,100% - 20px);max-height:calc(100dvh - 80px);overflow:auto;box-shadow:0 16px 42px #18161338}.mobile-tools-backdrop{padding:112px 10px calc(70px + env(safe-area-inset-bottom));background:#1918163d;justify-content:flex-end;align-items:flex-start}.mobile-tools-sheet{border-radius:16px;width:min(340px,100% - 20px);max-height:calc(100dvh - 190px);overflow:auto;box-shadow:0 16px 42px #18161338}.style-panel{top:50px;bottom:calc(60px + env(safe-area-inset-bottom));border-radius:16px 0 0 16px;width:min(92vw,340px);box-shadow:-14px 0 38px #1917142e}.owner-header{height:64px;padding:0 16px}.owner-header img{width:104px;height:48px}.owner-header>a:last-child{padding:0 11px;font-size:10px}.owner-story{width:calc(100% - 32px);padding:62px 0 64px}.owner-story h1{font-size:clamp(48px,16vw,68px)}.owner-intro{margin:22px 0 38px;font-size:20px}.owner-copy{gap:18px;padding-left:19px}.owner-copy p{font-size:15px;line-height:1.75}.owner-social{margin-top:38px}.owner-thanks{margin-top:40px}.owner-footer{text-align:center;flex-wrap:wrap;gap:5px 10px}.owner-footer i{display:none}}@media (max-width:560px){.login-screen{padding:18px 14px 112px}.login-footer{text-align:center;flex-wrap:wrap;align-content:flex-start;gap:5px 10px;min-height:74px;padding-top:14px;bottom:12px}.login-footer i{display:none}.login-footer span{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important}.style-rgb:hover{color:#477be8;background:#477be814;border-color:#477be8;animation:none!important}}@media print{.desk-header,.page-sidebar,.writing-toolbar,.writing-status,.style-panel,.notice{display:none!important}.desk,.desk-body,.writing-area,.paper-scroll{background:#fff;height:auto;overflow:visible}.paper-scroll{padding:0}.real-paper{box-shadow:none;width:100%;min-height:0}.free-text-controls{display:none}}@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-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
