.library-selection-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;position:sticky;top:0;z-index:5;padding:12px;margin:16px 0;background:var(--surface,#1a2c24);border:1px solid #66835c;border-radius:14px;box-shadow:0 4px 16px #0005}.library-selection-bar button{padding:10px 14px;border-radius:10px;background:#294438;color:#f7f6eb;min-height:44px}.library-selection-bar .delete-selection{background:#edac98;color:#32190e}.book-card.is-marked{outline:3px solid var(--sage,#c5e49c);outline-offset:2px}.story-check{display:inline-flex;gap:8px;align-items:center;min-height:44px;padding:8px 12px;background:#294438;border-radius:8px;color:#f7f6eb}.story-check input{width:22px;height:22px;accent-color:var(--sage,#c5e49c)}.chapter-summary{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.6;color:var(--sage,#c5e49c)}.chapter-summary small{color:var(--muted,#a5b7a1);font-size:11px}.import-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0;padding:16px;background:var(--surface,#1a2c24);border:1px solid #8aa770;border-radius:14px;font-size:13px}.import-progress p{margin:6px 0;overflow-wrap:anywhere}.import-progress progress{width:min(300px,100%);accent-color:#c5e49c}.import-progress>div{min-width:0;flex:1}.fast-scroll-rail{position:fixed;right:3px;top:28vh;height:44vh;width:30px;z-index:8;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 2px;background:#162b24e8;border:1px solid #66835c;border-radius:16px;color:#c5e49c;font-size:11px}.fast-scroll-rail input{writing-mode:vertical-lr;direction:ltr;width:26px;min-height:0;flex:1;margin:0;accent-color:#c5e49c;touch-action:none;cursor:ns-resize}.app-shell .main-content,.app-shell .content{padding-right:max(46px,3vw)}@media(max-width:480px){.import-progress>div{flex-basis:100%}.import-progress>button{width:100%}}*{scrollbar-color:#9abc83 #182b23;scrollbar-width:auto}::-webkit-scrollbar{width:14px;height:14px}::-webkit-scrollbar-thumb{background:#9abc83;border-radius:12px;border:3px solid #182b23}::-webkit-scrollbar-track{background:#182b23}:root{font-family:Segoe UI,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#f5efdf;background:#101c18;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:dark;--bg:#101c18;--surface:#1a2c24;--raised:#243a2e;--cream:#f5efdf;--muted:#b5c2b4;--sage:#c5e49c;--coral:#ffad91;--lilac:#cbb8f3;--sky:#9ed6df;--gold:#f0ce82;--border:#354c3c}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;min-width:320px;min-height:100%}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:disabled{opacity:.43;cursor:default}button svg,a svg{flex-shrink:0}a{color:var(--sage);text-underline-offset:3px}button,input,textarea,select{outline:none}:focus-visible{outline:2px solid var(--sage);outline-offset:4px}::selection{color:#183923;background:#c5e49ccc}h1,h2,h3,p{margin-top:0}button{color:inherit}img{max-width:100%}input,textarea,select{color:var(--cream)}.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh;min-height:100dvh}.sidebar{position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;gap:35px;padding:31px 17px 24px;background:#14241c;border-right:1px solid #2b4032}.brand{display:flex;gap:11px;align-items:center;padding:0 7px;text-decoration:none;color:var(--cream)}.brand-icon{width:44px;height:44px;border-radius:13px;box-shadow:0 5px 18px #050d0840}.brand-name{font-size:24px;letter-spacing:-.9px;font-weight:750;line-height:1.15}.brand-name span{color:var(--sage)}.brand-tagline{display:block;margin-top:6px;font-size:10px;line-height:1.5;color:#a5b7a1;letter-spacing:.2px}.main-nav{display:flex;flex-direction:column;gap:8px}.nav-button{display:flex;align-items:center;gap:13px;width:100%;min-height:53px;padding:13px 17px;text-align:left;border:1px solid transparent;border-radius:15px;background:transparent;color:#b7c7b3;font-size:13px;font-weight:650}.nav-button:hover{background:#20372a;color:var(--cream)}.nav-button.is-active{color:var(--sage);background:#2c422d;border-color:#3b5739}.nav-button.is-active:after{content:"";height:5px;width:5px;flex-shrink:0;margin-left:auto;background:var(--sage);border-radius:50%}.sidebar-bottom{margin-top:auto;display:grid;gap:14px}.sidebar-note{border:1px solid #2c4532;border-radius:17px;padding:16px 13px;display:flex;gap:10px;color:var(--sky);background:#1b3024}.sidebar-note p{margin:0;color:#b3c3ae;font-size:11px;line-height:1.7}.sidebar-small{margin:0 8px;color:#9db19a;font-size:10px;line-height:1.7}.main{min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:83px;padding:19px clamp(22px,3.5vw,49px);border-bottom:1px solid #2b4032}.topbar-label{display:grid;gap:7px}.topbar-label .eyebrow{margin:0;font-size:8px;letter-spacing:1.8px;color:#9db396}.topbar-title{font-size:13px;font-weight:650;color:#d4dfcc}.topbar-actions{display:flex;align-items:center;gap:12px}.cloud-status{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;border-radius:12px}.cloud-status:hover{background:var(--surface)}.cloud-status.is-connected{color:var(--sage)}.status-dot{height:6px;width:6px;border-radius:50%;background:#7e9580}.is-connected .status-dot{background:var(--sage);box-shadow:0 0 0 4px #c5e49c0c}.content{padding:31px clamp(22px,3.5vw,49px) 48px;flex:1;min-width:0}.page{max-width:1380px;margin:0 auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:27px}.eyebrow{font-size:9px;font-weight:750;line-height:1.7;letter-spacing:2px;text-transform:uppercase;color:var(--sage);margin:0 0 11px}.page-heading h1,.page-title{font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:clamp(31px,3.5vw,43px);line-height:1.16;letter-spacing:-.9px;color:var(--cream);margin:0}.page-description{font-size:13px;line-height:1.85;color:var(--muted);margin:12px 0 0;max-width:650px}.heading-action{flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:12px 17px;border-radius:14px;border:1px solid transparent;font-size:12px;font-weight:700;line-height:1.5;transition:background .13s,transform .13s}.button span{min-width:0}.button-primary{color:#1c3524;background:var(--sage);border-color:var(--sage)}.button-primary:hover:not(:disabled){background:#d4edb1;transform:translateY(-1px)}.button-muted{color:var(--cream);background:#243b2d;border-color:#304834}.button-muted:hover:not(:disabled){background:#324b37}.button-danger{color:var(--coral);background:#422e28;border-color:#6c4535}.button-small{min-height:39px;padding:9px 12px;font-size:11px}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.icon-button{display:inline-flex;justify-content:center;align-items:center;min-width:44px;height:44px;border-radius:13px;background:var(--raised);color:var(--cream)}.icon-button:hover:not(:disabled){background:#344d38}.text-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:7px 0;color:var(--sage);background:transparent;font-size:12px;font-weight:600;text-align:left}.text-button:hover:not(:disabled){text-decoration:underline;text-underline-offset:4px}.status-banner{display:flex;align-items:center;gap:11px;padding:13px clamp(22px,3.5vw,49px);border-bottom:1px solid #3f573c;background:#263b2a;color:#d7e5ce;font-size:12px;line-height:1.7}.status-banner>span{flex:1}.status-banner svg{flex-shrink:0;color:var(--gold)}.status-banner.warning{background:#3a3323;border-color:#675738;color:#f0dcad}.status-banner .icon-button{height:35px;min-width:35px;background:#ffffff09}.spinner-label{display:inline-flex;align-items:center;gap:9px}.spin{animation:spin 1.3s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:35px;min-height:246px;padding:32px 38px;overflow:hidden;color:#25432f;background:linear-gradient(110deg,#d1e5ab,#b9d5ad 55%,#a3c7b3);border-radius:27px;box-shadow:inset 0 1px #f6ffe780;margin-bottom:24px}.hero:before,.hero:after{position:absolute;content:"";z-index:-1;width:360px;height:360px;right:-55px;top:-155px;border:1px solid #faffef66;border-radius:50%}.hero:after{width:300px;height:300px;right:-80px;top:auto;bottom:-170px}.hero-copy{flex:1;min-width:0;max-width:690px}.hero-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#416446;font-size:9px;font-weight:750;line-height:1.7;letter-spacing:1.5px;text-transform:uppercase}.hero h2{font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:clamp(28px,3.5vw,43px);line-height:1.15;letter-spacing:-.8px;color:#23422f;margin:0;overflow-wrap:anywhere}.hero p.hero-text{color:#47664a;font-size:12px;line-height:1.85;margin:13px 0 21px}.hero .button-primary{color:var(--cream);background:#28523c;border-color:#28523c}.hero .button-primary:hover:not(:disabled){background:#1e422e}.hero-art{position:relative;flex-shrink:0;padding-right:13px;transform:rotate(7deg);filter:drop-shadow(0 13px 15px #395e4830)}.hero-art:before{content:"";position:absolute;right:61px;top:13px;width:111px;height:158px;border-radius:14px;border-left:3px solid #f1c6b088;background:linear-gradient(130deg,#edb9a2,#b17773);transform:rotate(-16deg)}.hero-art .book-cover{position:relative;z-index:1}.welcome-hero .hero-copy{max-width:560px}.hero-sub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.hero-sub-actions .button-muted{background:#f5f5dfb0;color:#31533c;border-color:transparent}.stats-row{display:flex;align-items:center;flex-wrap:wrap;gap:19px;margin:0 0 30px}.stat{display:flex;align-items:center;gap:8px;border-right:1px solid #3b5140;padding-right:20px;font-size:11px;color:#aebfaa}.stat:last-child{border:0}.stat svg{color:var(--lilac)}.stat:nth-child(2) svg{color:var(--sage)}.stat:nth-child(3) svg{color:var(--sky)}.stat strong{font-size:20px;letter-spacing:-.5px;color:var(--cream);font-weight:650}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 19px}.section-heading h2,.section-title{font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:25px;line-height:1.3;letter-spacing:-.3px;color:var(--cream);margin:0}.section-heading .eyebrow{margin-bottom:8px}.small{font-size:11px;line-height:1.8}.muted{color:var(--muted)}.shelf-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:22px}.search-field{display:flex;align-items:center;gap:10px;min-width:200px;flex:1;max-width:420px;min-height:48px;padding:0 14px;border:1px solid #304834;border-radius:14px;background:var(--surface);color:#99b195}.search-field:focus-within{border-color:#9ab681}.search-field input{min-width:0;flex:1;height:47px;padding:0;border:0;color:var(--cream);background:transparent;font-size:12px;outline:none}.search-field input::placeholder{color:#95aa90}.search-field .icon-button{height:32px;min-width:32px;background:transparent}.filter-row{display:flex;flex-wrap:wrap;gap:7px}.filter-button{min-height:44px;padding:10px 13px;border-radius:12px;border:1px solid #2e4333;color:#afc0ab;background:#1b3024;font-size:11px;font-weight:650;white-space:nowrap}.filter-button:hover{border-color:#718965}.filter-button.selected{color:#213d29;background:var(--sage);border-color:var(--sage)}.filter-button span{opacity:.65}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:18px;align-items:stretch}.book-card{display:flex;flex-direction:column;min-width:0;border:1px solid #2d4535;border-radius:21px;background:var(--surface);overflow:hidden;transition:transform .14s,border-color .14s}.book-card:hover{transform:translateY(-3px);border-color:#617953}.book-cover-area{position:relative;display:flex;align-items:center;justify-content:center;min-height:185px;padding:23px 20px 17px;border:0;background:radial-gradient(ellipse at 50% 65%,#59705422,transparent 72%),#20362a;isolation:isolate}.book-cover-area:before{position:absolute;content:"";bottom:29px;left:18%;width:64%;height:15px;border-radius:50%;background:#08140b65;filter:blur(10px);z-index:-1}.book-cover-area .book-cover{box-shadow:6px 6px 0 -3px #f3ebdc80,10px 11px 0 -6px #38513c,0 14px 25px #07170d3b}.card-open-arrow{position:absolute;top:13px;right:14px;color:#a2b99b;background:#2c4431;border-radius:50%;padding:6px;box-sizing:content-box}.book-meta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:17px 18px 0;flex:1;min-width:0}.book-title{margin:0;padding:0;border:0;color:var(--cream);background:transparent;font-size:15px;line-height:1.5;font-weight:650;text-align:left;overflow-wrap:anywhere}.book-title:hover{color:var(--sage)}.book-author{margin:-4px 0 0;color:#a5b7a2;font-size:11px;line-height:1.7}.source-badge{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;max-width:100%;padding:4px 8px;border-radius:7px;color:var(--sage);background:#30422b;font-size:9px;font-weight:750;line-height:1.45;letter-spacing:.15px}.source-badge i{width:4px;height:4px;flex-shrink:0;border-radius:50%;background:currentColor}.tone-sage{color:var(--sage);background:#2d412b}.tone-coral{color:var(--coral);background:#422f2a}.tone-lilac{color:var(--lilac);background:#332d43}.tone-sky{color:var(--sky);background:#233b3d}.tone-gold{color:var(--gold);background:#3d3726}.offline-meter{align-self:stretch;display:grid;gap:8px;margin-top:auto;padding-top:7px}.offline-meter .small{display:flex;align-items:center;gap:6px;color:#afc0aa}.meter{height:4px;border-radius:6px;background:#344a38;overflow:hidden}.meter>span{display:block;height:100%;border-radius:inherit;background:var(--sage)}.book-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px 16px;margin-top:1px;color:#b4cca6;font-size:10px}.book-footer .icon-button{height:34px;min-width:34px;border-radius:11px;background:#2b4230}.book-cover{--cover-top:#90c5ae;--cover-bottom:#3b7964;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:97px;height:137px;flex-shrink:0;border-radius:11px 14px 14px 11px;overflow:hidden;background:linear-gradient(145deg,var(--cover-top),var(--cover-bottom));color:#fff8e5;box-shadow:2px 3px #eee5cf66,0 8px 14px #07160b30}.book-cover.cover-small{width:65px;height:92px;border-radius:8px 10px 10px 8px}.book-cover.cover-large{width:126px;height:178px;border-radius:13px 16px 16px 13px}.book-cover.palette-1{--cover-top:#efb49a;--cover-bottom:#ad645e}.book-cover.palette-2{--cover-top:#c7aced;--cover-bottom:#77609c}.book-cover.palette-3{--cover-top:#e8cd88;--cover-bottom:#a18042}.book-cover.palette-4{--cover-top:#8ac8d6;--cover-bottom:#427f91}.cover-spine{position:absolute;inset:0 auto 0 6%;width:2px;background:#fff9ee55}.cover-orbit{position:absolute;z-index:-1;width:155%;height:110%;right:-83%;top:7%;border:1px solid #fff9ee50;border-radius:50%}.cover-orbit:after{position:absolute;content:"";width:100%;height:100%;left:-110%;top:72%;border:1px solid #fff9ee50;border-radius:50%}.cover-sun{position:absolute;left:16%;top:12%;color:#fff9e7}.cover-initial{margin-top:10px;font-family:Georgia,serif;font-size:49px;font-weight:400}.cover-large .cover-initial{font-size:65px}.cover-small .cover-initial{font-size:35px}.cover-small .cover-sun{width:17px;height:17px}.cover-lines{position:absolute;bottom:15%;left:19%;right:17%;display:grid;gap:5px}.cover-lines i{height:2px;width:83%;border-radius:3px;background:#fff9e7aa}.cover-lines i:last-child{width:55%}.cover-bookmark{position:absolute;top:0;right:15%;height:25%;width:11%;border-radius:0 0 3px 3px;background:#f4d78d}.empty-state{display:flex;flex-direction:column;align-items:center;gap:13px;padding:38px 27px;border:1px dashed #49623f;border-radius:22px;background:#14241a;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:21px;background:#332d43;color:var(--lilac);margin-bottom:3px}.empty-state h3{font-size:19px;line-height:1.4;margin:0;font-weight:600}.empty-state p{font-size:13px;color:var(--muted);line-height:1.85;max-width:490px;margin:0}.empty-state .button{margin-top:8px}.panel{min-width:0;padding:25px;border:1px solid #2e4735;border-radius:23px;background:var(--surface)}.panel p{font-size:13px;line-height:1.85}.panel-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.panel-heading h2,.settings-heading h2{font-size:18px;font-weight:650;margin:0;line-height:1.4}.panel-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:15px;font-weight:750;font-size:18px}.helper{color:#a8bba3;font-size:11px!important;line-height:1.85!important;margin:15px 0 0}.notice{display:flex;align-items:flex-start;gap:10px;padding:14px 15px;border:1px solid #3c5440;border-radius:14px;background:#22362a;color:#becfb6;font-size:12px;line-height:1.8}.notice svg{flex-shrink:0;margin-top:2px;color:var(--sage)}.notice-warning{border-color:#65563b;background:#3a3224;color:#eed7aa}.notice-warning svg{color:var(--gold)}.notice-error{border-color:#694639;background:#3b2c26;color:var(--coral)}.split-panels{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;margin-bottom:31px}.add-secondary{display:grid;gap:20px;align-content:start}.field{display:grid;gap:9px;margin-top:17px}.field-label{font-size:10px;color:#c6d7be;font-weight:700;letter-spacing:.45px;line-height:1.8}.input{width:100%;min-height:51px;padding:14px 15px;border:1px solid #3f5b3d;border-radius:13px;background:#122119;color:var(--cream);font-size:13px;line-height:1.5}.input::placeholder{color:#8fa28b}.input:focus{border-color:#a1bd81}.field .search-field{max-width:none;width:100%;min-width:0}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.file-input{display:none}.drop-zone{display:flex;align-items:center;gap:17px;min-height:132px;padding:24px;border:1px dashed #726054;border-radius:18px;background:#342c25;color:var(--coral);cursor:pointer;text-align:left;width:100%}.drop-zone strong{display:block;font-size:15px;color:#f4e5d5;margin-bottom:6px}.drop-zone small{display:block;color:#d0baab;font-size:11px;line-height:1.8}.drop-zone:hover{background:#40322b}.source-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.source-link{min-width:0;display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #344c38;border-radius:15px;background:var(--surface);text-decoration:none}.source-link:hover{border-color:currentColor}.source-mark{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;background:#ffffff10;border-radius:11px;font-size:11px;font-weight:750}.source-link>span:nth-child(2){flex:1;min-width:0}.source-link strong{display:block;font-size:12px;color:var(--cream);line-height:1.5;overflow-wrap:anywhere}.source-link small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.6}.search-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start}.search-form{display:grid;gap:17px}.search-form .panel-heading,.search-form .field,.search-form .form-actions,.search-form .helper{margin:0}.search-form .field{gap:9px}.source-select{height:51px;width:100%;border:1px solid #527146;background:#263b2b;border-radius:13px;padding:11px 13px;color:var(--sage);font-size:13px;font-weight:650}.source-select option{color:var(--cream);background:var(--surface)}.search-results{min-width:0}.search-results .empty-state{min-height:300px;justify-content:center}.browser-discovery{display:grid;gap:18px}.browser-discovery p{color:var(--muted);font-size:13px;line-height:1.85}.browser-discovery .button{align-self:start}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;align-items:start}.settings-panel{display:grid;gap:18px}.settings-panel>p{margin:0}.settings-heading{display:flex;align-items:center;gap:13px}.settings-heading p{margin:4px 0 0}.drive-panel{grid-column:1/-1}.drive-intro{display:flex;align-items:center;justify-content:space-between;gap:18px}.drive-intro-copy{max-width:680px}.drive-intro-copy p{margin:8px 0 0;color:var(--muted)}.drive-flow{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px;border-radius:17px;background:#102219}.drive-device{display:grid;justify-items:center;gap:8px;min-width:80px;color:var(--sky);font-size:11px}.drive-device:nth-child(3){color:var(--sage)}.drive-device:last-child{color:var(--lilac)}.drive-flow>svg{color:#71886e}.drive-file{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #3c5c4b;border-radius:16px;background:#203c32;color:var(--sky)}.drive-file>div{min-width:0;flex:1}.drive-file strong{display:block;font-size:13px;line-height:1.6;color:var(--cream);overflow-wrap:anywhere}.drive-file small{display:block;font-size:10px;color:#abc3b4;margin-top:4px;line-height:1.7}.drive-setup-note{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #665638;border-radius:16px;background:#3a3224}.drive-setup-note>svg{color:var(--gold);flex-shrink:0}.drive-setup-note strong{display:block;color:#eed5a5;font-size:12px;margin-bottom:4px}.drive-setup-note p{color:#d7c7aa;margin:0;font-size:11px;line-height:1.8}.drive-actions{display:flex;flex-wrap:wrap;gap:9px}.file-list{display:grid;gap:9px}.drive-file-choice{display:flex;align-items:center;gap:12px;min-height:66px;padding:13px 16px;border:1px solid #385342;border-radius:14px;background:#21392b;text-align:left;color:var(--sky)}.drive-file-choice:hover{border-color:#9fc68f}.drive-file-choice span{flex:1;min-width:0}.drive-file-choice strong{display:block;font-size:12px;color:var(--cream);line-height:1.6;overflow-wrap:anywhere}.drive-file-choice small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.drive-file-choice .selected-mark{color:var(--sage);flex:none}.toggle-row{display:flex;align-items:center;gap:15px;justify-content:space-between}.toggle-label{display:grid;gap:5px}.toggle-label strong{font-size:13px;font-weight:600;line-height:1.6}.toggle-label span{font-size:11px;line-height:1.8;color:var(--muted)}.switch{position:relative;display:inline-block;width:43px;min-width:43px;height:25px;border-radius:18px;background:#4a5b4d;padding:0}.switch:before{content:"";position:absolute;top:3px;left:3px;height:19px;width:19px;border-radius:50%;background:#c2cdbb;transition:transform .13s}.switch.selected{background:#77985b}.switch.selected:before{background:#d5ecb9;transform:translate(18px)}.about-card{display:flex;align-items:center;gap:15px;padding:22px 0 0;color:var(--sage)}.about-card img{width:43px;height:43px;border-radius:13px}.about-card strong{font-size:12px;color:var(--cream)}.about-card p{font-size:11px;color:var(--muted);margin:6px 0 0}.detail-back{margin:-8px 0 17px}.detail-hero{display:flex;gap:29px;align-items:center;padding:24px 0 31px}.detail-info{flex:1;min-width:0;display:grid;gap:13px;justify-items:start}.detail-info h1{font-size:clamp(28px,3vw,39px);margin:0;line-height:1.2;font-family:Georgia,serif;font-weight:400;overflow-wrap:anywhere}.detail-info .page-description{margin:0}.detail-stats{display:flex;align-items:center;gap:19px;flex-wrap:wrap;font-size:12px;color:#b9cbb2}.detail-stats span{display:flex;align-items:center;gap:7px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.chapter-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:19px}.chapter-tools .search-field{max-width:390px}.chapter-list{display:grid;gap:7px}.chapter-row{display:flex;align-items:center;gap:16px;width:100%;min-height:83px;padding:15px 17px;border:1px solid #2c4232;border-radius:15px;color:var(--muted);background:#14271c;text-align:left}.chapter-row:hover:not(:disabled){background:#21382a;border-color:#536d47}.chapter-row.current{background:#283e2b;border-color:#587448}.chapter-number{height:37px;min-width:37px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#233b2b;font-size:11px;font-weight:600}.chapter-row.current .chapter-number{background:var(--sage);color:#29482e}.chapter-info{display:grid;gap:6px;flex:1;min-width:0}.chapter-title{font-size:13px;font-weight:550;color:var(--cream);line-height:1.6;overflow-wrap:anywhere}.chapter-status{font-size:10px;color:#9fb596;line-height:1.5}.chapter-row.current .chapter-status{color:var(--sage)}.chapter-row>svg{color:var(--sage)}.chapter-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:24px}.reader{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:#f5efdf;color:#2d402f;isolation:isolate}.reader-header{display:flex;align-items:center;gap:15px;min-height:78px;padding:13px clamp(19px,4vw,52px);border-bottom:1px solid #dfdfc8;background:#f5efdf}.reader .icon-button{color:#3d5c3f;background:#e8e8d1}.reader-book{flex:1;min-width:0}.reader-book strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:650;line-height:1.6;color:#3b5b3d}.reader-book span{display:block;font-size:10px;color:#7f8c6d;margin-top:4px}.font-controls{display:flex;align-items:center;gap:6px;color:#6e805c}.font-controls>span{font-size:10px;min-width:23px;text-align:center}.font-controls button{font-size:16px;font-weight:600}.reader-scroll{overflow:auto;flex:1;scroll-behavior:smooth}.reader-content{max-width:850px;margin:0 auto;padding:52px clamp(23px,5vw,55px) 50px}.reader-eyebrow{display:flex;align-items:center;gap:9px;color:#87906a;font-size:9px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;margin-bottom:21px}.reader-title{font-family:Georgia,Times New Roman,serif;color:#294630;font-weight:400;font-size:clamp(29px,3.5vw,38px);line-height:1.35;letter-spacing:-.4px;overflow-wrap:anywhere;margin:0}.reader-rule{width:47px;height:3px;border-radius:4px;background:#b3c18a;margin:28px 0 33px}.reader-paragraph{font-family:Georgia,Times New Roman,serif;line-height:1.85;color:#35432f;margin:0 0 26px;overflow-wrap:break-word}.reader-end{display:grid;justify-items:center;gap:13px;padding:28px 0 10px;color:#a3956c}.reader-end p{color:#82906f;font:11px/1.7 Segoe UI,sans-serif;margin:0}.reader-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:80px;padding:12px clamp(22px,4vw,52px);border-top:1px solid #dbdfc3;background:#efeedb}.reader-footer .text-button{color:#476347}.reader-footer .button-primary{background:#2b523b;color:#fff8e7;border-color:#2b523b}.reader-footer .small{color:#82906e}.toast{position:fixed;z-index:100;bottom:25px;left:calc(50% + 115px);transform:translate(-50%);display:flex;align-items:flex-start;gap:12px;width:max-content;max-width:min(570px,calc(100vw - 45px));padding:16px 18px;border:1px solid #688455;border-radius:16px;background:#294631;color:#e7f0df;box-shadow:0 10px 35px #0006;font-size:12px;line-height:1.8}.toast.error{border-color:#ae795c;background:#47342a;color:#ffd4bc}.toast .icon-button{min-width:28px;height:28px;background:#ffffff0a;margin:-3px -4px -3px 0}.modal-shade{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:22px;background:#07110bcf;backdrop-filter:blur(8px)}.modal-panel{width:100%;max-width:590px;max-height:calc(100dvh - 44px);overflow:auto;padding:27px;border:1px solid #4a6748;border-radius:24px;background:var(--surface);box-shadow:0 20px 65px #0006}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.modal-heading h2{font-family:Georgia,serif;font-weight:400;font-size:27px;margin:0}.modal-panel>p{font-size:12px;line-height:1.85;color:var(--muted)}.modal-panel .file-list{margin-top:19px}.loading-screen{display:grid;align-content:center;justify-items:center;gap:20px;min-height:70vh;text-align:center;color:var(--muted)}.loading-screen>svg{color:var(--sage)}.loading-screen h1{font:35px/1.3 Georgia,serif;color:var(--cream);margin:0}.offline-notice{display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:13px;background:#20372d;border:1px solid #395644;color:#bcd4c1;font-size:11px;line-height:1.7}.mobile-brand{display:none}.flow-arrow{color:#647f67}.cloud-disconnect{color:var(--coral)}@media(max-width:1150px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-inline:12px}.brand{gap:9px}.brand-name{font-size:22px}.brand-icon{width:39px;height:39px}.brand-tagline{font-size:9px}.content,.topbar{padding-inline:25px}.hero{padding:29px;gap:25px}.hero-art{padding-right:2px}.book-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr))}.source-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.search-layout{grid-template-columns:minmax(260px,.95fr) minmax(0,1.05fr)}.settings-grid{gap:17px}.panel{padding:21px}.toast{left:calc(50% + 102px)}}@media(max-width:900px){.settings-grid,.split-panels,.search-layout{grid-template-columns:1fr}.search-results .empty-state{min-height:230px}.drive-intro{align-items:flex-start}.drive-intro .button{flex-shrink:0}.page-heading{align-items:flex-start}.heading-action .button{white-space:nowrap}.hero h2{font-size:32px}.hero-art .cover-large{width:111px;height:157px}.hero-art:before{width:98px;height:140px;right:47px}.stat{padding-right:13px}.stats-row{gap:13px}.detail-hero{gap:22px}.detail-hero>.cover-large{width:110px;height:155px}.detail-info h1{font-size:29px}}@media(max-width:720px){.app-shell{display:block;padding-bottom:79px}.sidebar{position:fixed;inset:auto 0 0;z-index:35;height:auto;padding:8px 9px max(8px,env(safe-area-inset-bottom));border:0;border-top:1px solid #324b36;background:#14251df5;backdrop-filter:blur(12px)}.sidebar>.brand,.sidebar-bottom{display:none}.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.nav-button{min-height:57px;padding:6px 3px;display:flex;flex-direction:column;gap:5px;border:0;font-size:10px;line-height:1.3;text-align:center;border-radius:14px}.nav-button.is-active{background:transparent}.nav-button.is-active svg{box-sizing:content-box;padding:5px 17px;margin-top:-5px;margin-bottom:-5px;background:#304632;border-radius:13px}.nav-button.is-active:after{display:none}.nav-button:hover{background:#253d2b}.topbar{min-height:82px;gap:10px;padding:17px 20px}.topbar-label{display:none}.mobile-brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--cream);min-width:0}.mobile-brand img{width:40px;height:40px;border-radius:12px}.mobile-brand strong{font-size:23px;letter-spacing:-.7px;line-height:1.1}.mobile-brand strong span{color:var(--sage)}.mobile-brand small{display:block;font-size:9px;line-height:1.5;margin-top:5px;color:var(--muted)}.topbar-actions>.button{display:none}.cloud-status{min-width:43px;min-height:43px;padding:10px;background:var(--surface);border-radius:14px}.cloud-status>span:not(.status-dot){display:none}.cloud-status .status-dot{width:5px;height:5px}.content{padding:17px 20px 27px}.page-heading{display:block;margin-bottom:23px}.page-heading h1{font-size:33px;line-height:1.2;letter-spacing:-.7px}.page-description{font-size:12px;line-height:1.85;margin-top:10px}.heading-action{margin-top:17px}.eyebrow{font-size:8px;letter-spacing:1.8px}.hero{padding:24px;gap:20px;min-height:224px;border-radius:24px;margin-bottom:23px}.hero-eyebrow{font-size:8px;letter-spacing:1.2px;gap:7px;margin-bottom:12px}.hero h2{font-size:29px;line-height:1.18}.hero p.hero-text{font-size:11px;line-height:1.8;margin:10px 0 17px}.hero-art .cover-large{width:82px;height:116px}.hero-art .cover-initial{font-size:46px}.hero-art .cover-sun{width:19px;height:19px}.hero-art:before{width:76px;height:107px;right:33px;top:11px}.hero-art{padding:0;transform:rotate(7deg);margin-right:0}.hero-copy .button{padding:11px 12px;min-height:44px;font-size:11px}.hero-copy .button svg{width:16px;height:16px}.welcome-hero{gap:20px}.welcome-hero .hero-art{align-self:center}.stats-row{gap:12px;margin-bottom:26px}.stat{font-size:10px;padding-right:13px;gap:6px}.stat svg{width:15px;height:15px}.stat strong{font-size:17px}.stat:last-child{display:none}.section-heading{margin-bottom:17px}.section-heading h2{font-size:24px}.section-heading .small{font-size:10px}.shelf-tools{gap:13px;margin-bottom:19px}.shelf-tools .search-field{flex-basis:100%;max-width:none}.filter-button{min-height:43px;font-size:11px;padding:10px 12px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-card{border-radius:18px}.book-cover-area{min-height:153px;padding:19px 12px 15px}.book-cover-area>.book-cover{width:77px;height:109px}.book-cover-area .cover-initial{font-size:41px}.book-cover-area .cover-sun{width:20px;height:20px}.card-open-arrow{width:14px;height:14px;padding:4px;top:10px;right:10px}.book-meta{padding:14px 12px 0;gap:8px}.book-title{font-size:13px;line-height:1.5}.book-author{font-size:10px;line-height:1.6}.source-badge{font-size:8px;padding:4px 6px;letter-spacing:0}.offline-meter .small{font-size:9px;gap:4px;line-height:1.6}.offline-meter .small svg{width:12px;height:12px}.book-footer{padding:11px 12px 13px;font-size:9px;gap:5px}.book-footer .icon-button{min-width:27px;height:29px;border-radius:9px}.book-footer .icon-button svg{width:14px;height:14px}.empty-state{padding:29px 21px;gap:14px}.empty-state h3{font-size:17px}.empty-state p{font-size:12px;line-height:1.85}.panel{padding:20px;border-radius:20px}.panel-heading h2,.settings-heading h2{font-size:17px}.panel p{font-size:12px;line-height:1.85}.split-panels{gap:18px;margin-bottom:26px}.panel-icon{width:41px;height:41px;border-radius:13px}.button{min-height:46px;font-size:12px;padding:12px 14px}.button-row{gap:9px}.drop-zone{gap:14px;padding:20px;min-height:123px}.drop-zone strong{font-size:14px}.source-directory{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.source-link{padding:11px;gap:9px;border-radius:14px}.source-mark{width:31px;height:33px;border-radius:10px;font-size:10px}.source-link strong{font-size:11px}.source-link small{font-size:9px}.source-link>svg{display:none}.drive-intro{display:grid;gap:17px}.drive-intro .button{justify-self:start}.drive-flow{gap:9px;padding:19px 10px}.drive-device{min-width:62px;gap:8px;font-size:10px}.drive-device>svg{width:25px;height:25px}.drive-flow>svg{width:15px;height:15px}.drive-setup-note{align-items:flex-start;padding:15px;gap:11px}.drive-setup-note>svg{width:20px;height:20px;margin-top:2px}.drive-setup-note strong,.drive-setup-note p{font-size:11px}.settings-grid{gap:17px}.settings-panel{gap:16px}.drive-file{padding:14px;gap:10px}.drive-file strong{font-size:12px}.drive-actions{gap:8px}.drive-actions>.button{flex:1;min-width:130px}.notice{font-size:11px;padding:13px}.detail-back{margin-top:-9px;margin-bottom:12px}.detail-hero{align-items:flex-start;gap:18px;padding:10px 0 24px}.detail-hero>.cover-large{width:89px;height:126px;margin-top:4px}.detail-hero .cover-initial{font-size:48px}.detail-info{gap:10px}.detail-info h1{font-size:26px;line-height:1.3}.detail-info .page-description{font-size:11px}.detail-stats{gap:8px;font-size:10px}.detail-stats svg{width:13px;height:13px}.detail-actions{gap:8px}.detail-actions .button{font-size:10px;min-height:41px;padding:10px 11px;gap:6px}.detail-actions .button svg{width:14px;height:14px}.chapter-tools .search-field{flex-basis:100%;max-width:none}.chapter-row{gap:11px;padding:13px 11px;min-height:83px;border-radius:14px}.chapter-number{min-width:33px;height:34px;font-size:10px;border-radius:10px}.chapter-title{font-size:12px;line-height:1.6}.chapter-status{font-size:9px}.chapter-row>svg{width:17px;height:17px}.chapter-pagination{gap:11px}.chapter-pagination .button-small{padding:9px 10px;font-size:10px}.reader-header{gap:8px;padding:12px 13px;min-height:75px}.reader-header .icon-button{min-width:39px;height:42px;border-radius:12px}.reader-book strong{font-size:11px}.reader-book span{font-size:9px}.font-controls{gap:1px}.font-controls>.icon-button{min-width:36px}.font-controls>span{display:none}.reader-content{padding:34px 25px 35px}.reader-title{font-size:29px;line-height:1.4}.reader-eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:18px}.reader-rule{margin-top:23px;margin-bottom:28px}.reader-paragraph{line-height:1.8!important;margin-bottom:23px}.reader-footer{padding:11px 18px max(11px,env(safe-area-inset-bottom));min-height:74px;gap:7px}.reader-footer .text-button{font-size:11px;gap:6px}.reader-footer .text-button svg{width:16px}.reader-footer .button{font-size:11px;padding:11px 14px;gap:6px}.toast{left:50%;bottom:calc(82px + env(safe-area-inset-bottom));font-size:11px;max-width:calc(100vw - 32px);padding:13px 15px}.status-banner{padding:12px 20px;font-size:11px}.about-card{gap:11px}.about-card strong{font-size:11px}.about-card p{font-size:10px}.modal-shade{padding:14px}.modal-panel{padding:22px;max-height:calc(100dvh - 28px);border-radius:21px}.modal-heading h2{font-size:24px}}@media(max-width:370px){.content,.topbar{padding-inline:16px}.brand-name,.mobile-brand strong{font-size:21px}.mobile-brand small{font-size:8px}.hero{padding:21px;gap:15px}.hero h2{font-size:26px}.hero-art .cover-large{width:68px;height:97px}.hero-art:before{width:64px;height:89px;right:27px}.hero-art .cover-initial{font-size:38px}.hero-art .cover-sun{width:16px;height:16px}.hero-copy .button{gap:6px;padding-inline:10px;font-size:10px}.hero-eyebrow{font-size:7px;letter-spacing:.8px}.hero-copy .button>svg:last-child{display:none}.book-grid{gap:10px}.book-cover-area{min-height:142px}.book-cover-area>.book-cover{width:70px;height:99px}.book-meta,.book-footer{padding-inline:10px}.book-title{font-size:12px}.source-badge{font-size:7px}.source-directory{grid-template-columns:1fr}.source-link strong{font-size:12px}.source-link small{font-size:10px}.source-link>svg{display:block}.detail-hero{gap:15px}.detail-hero>.cover-large{width:74px;height:105px}.detail-info h1{font-size:24px}.reader-header{gap:5px;padding-inline:9px}.reader-header .icon-button{min-width:34px}.font-controls>.icon-button{min-width:31px;font-size:14px}.reader-content{padding-inline:22px}.reader-title{font-size:27px}.panel{padding:18px}.panel-heading h2,.settings-heading h2{font-size:16px}.drive-flow{gap:6px}.drive-device{min-width:58px;font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition:none!important}}.nav-short{display:none}.library-footer-note{margin-top:24px}.chapter-heading{margin-top:29px}.link-disabled{opacity:.43;cursor:default;pointer-events:none}.drive-loading{display:grid;justify-items:center;gap:10px;padding:25px}.drive-loading>svg{color:var(--sage)}.file-list>.notice{margin-top:17px}.modal-panel>.notice{margin-top:18px}.settings-panel>.button{justify-self:start}.settings-panel .helper{margin:0}@media(max-width:720px){.nav-long{display:none}.nav-short{display:inline}.welcome-hero .hero-sub-actions{align-items:stretch;flex-direction:column;max-width:185px}.welcome-hero .hero-sub-actions>.button{width:100%}.library-footer-note{margin-top:20px}.chapter-heading{margin-top:25px}}:root{--book-width:64px;--shelf-size:210px;--accent-choice:#c5e49c;--reader-font-choice:Georgia,serif;--reader-line:1.7;--reader-margin:28px}:root[data-theme=teal]{--bg:#08222b;--surface:#153843;--raised:#24515d;--border:#38616b}:root[data-theme=plum]{--bg:#22172e;--surface:#35213f;--raised:#513358;--border:#71517b}:root[data-theme=midnight]{--bg:#111c32;--surface:#1e3150;--raised:#30466b;--border:#45618b}body,.app-shell,.workspace,.sidebar,.topbar,.mobile-header,.bottom-nav{background-color:var(--bg)}.panel,.book-card{background-color:var(--surface)}.button-primary,.switch.selected,.switch.is-on{background-color:var(--accent-choice)}.book-card{border-left:4px solid var(--accent-choice);background-image:linear-gradient(115deg,#ffffff07,transparent 60%)}.book-grid>.book-card:nth-child(5n+2){border-left-color:#f0ad91}.book-grid>.book-card:nth-child(5n+3){border-left-color:#c4a3ef}.book-grid>.book-card:nth-child(5n+4){border-left-color:#86d1dc}.book-grid>.book-card:nth-child(5n){border-left-color:#eaca83}.appearance-controls{margin:14px 0;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.appearance-controls summary{cursor:pointer;color:var(--accent-choice);min-height:28px}.appearance-options{display:flex;flex-wrap:wrap;gap:16px;margin-top:14px}.appearance-options label{display:grid;gap:7px;font-size:12px;min-width:125px}.appearance-options select,.paste-writing input,.paste-writing textarea{background:var(--bg);color:var(--cream);border:1px solid var(--border);padding:10px;border-radius:10px;max-width:100%}.paste-writing{margin:18px 0;display:grid;gap:12px}.paste-writing label{display:grid;gap:8px}.paste-writing textarea{width:100%;resize:vertical;user-select:text}.book-grid{grid-template-columns:repeat(auto-fill,minmax(var(--shelf-size),1fr))!important}.book-grid .book-cover{width:var(--book-width)!important;height:calc(var(--book-width)*1.42)!important}.book-cover.real-cover{object-fit:contain;background:transparent;box-shadow:0 5px 14px #0005}[data-book-view=rows] .book-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))!important}[data-book-view=rows] .book-grid>.book-card{display:grid;grid-template-columns:calc(var(--book-width) + 22px) minmax(0,1fr);border-radius:13px;padding:10px;gap:10px;align-items:start;text-align:left}[data-book-view=rows] .book-cover-wrap,[data-book-view=rows] .book-cover-area{min-height:0;padding:0;background:none;border:0;align-self:start;display:flex;justify-content:center}[data-book-view=rows] .book-meta{padding:0;min-width:0}[data-book-view=rows] .book-footer{grid-column:2;padding:4px 0;font-size:10px}[data-book-view=rows] .book-card .source-badge{font-size:9px}[data-book-view=rows] .book-title{font-size:15px;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}[data-book-view=rows] .book-card-arrow,[data-book-view=rows] .card-open-arrow{display:none}[data-book-view=rows] .book-cover-wrap:before{display:none}[data-book-view=grid] .book-cover-wrap,[data-book-view=grid] .book-cover-area{min-height:calc(var(--book-width)*1.42 + 24px);padding:12px}[data-book-view=cards] .book-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))!important}[data-book-view=cards] .book-grid .book-cover{width:calc(var(--book-width)*1.5)!important;height:calc(var(--book-width)*2.13)!important}.reader-paragraph{font-family:var(--reader-font-choice)!important;line-height:var(--reader-line)!important;user-select:text!important}.reader-content{padding-left:var(--reader-margin)!important;padding-right:var(--reader-margin)!important}@media(max-width:640px){[data-book-view=rows] .book-grid{grid-template-columns:1fr!important}.appearance-options label{min-width:110px}.book-grid{gap:12px!important}}@media(max-width:640px){[data-book-view=grid] .book-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,calc(var(--book-width) + 70px)),1fr))!important}}[hidden]{display:none!important}@media(max-width:720px){.main-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.nav-button{min-width:0;padding-left:2px;padding-right:2px}.nav-short{font-size:9px}}@media(max-width:720px){.main-nav{display:flex;flex-direction:row;overflow-x:auto;justify-content:flex-start}.main-nav .nav-button{flex:0 0 64px}}@media(min-width:721px){.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0}}.drop-overlay{position:fixed;inset:12px;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:3px dashed #c5e49c;border-radius:18px;background:#102016e0;color:#f2f6ec;font-size:18px;font-weight:650;text-align:center;pointer-events:none}.drop-overlay svg{color:#c5e49c}[data-book-view=tiles] .book-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))!important;gap:8px}[data-book-view=tiles] .book-grid>.book-card{display:grid;grid-template-columns:calc(var(--book-width)*.8 + 10px) minmax(0,1fr);border-radius:11px;padding:7px;gap:8px;align-items:center;text-align:left}[data-book-view=tiles] .book-grid .book-cover{width:calc(var(--book-width)*.8)!important;height:calc(var(--book-width)*1.14)!important}[data-book-view=tiles] .book-cover-wrap,[data-book-view=tiles] .book-cover-area{min-height:0;padding:0;background:none;border:0;display:flex;justify-content:center}[data-book-view=tiles] .book-meta{padding:0;min-width:0}[data-book-view=tiles] .book-title{font-size:13px;line-height:1.25;margin:2px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}[data-book-view=tiles] .book-card .source-badge,[data-book-view=tiles] .book-card-arrow,[data-book-view=tiles] .card-open-arrow,[data-book-view=tiles] .book-cover-wrap:before{display:none}[data-book-view=tiles] .book-footer{grid-column:2;padding:2px 0;font-size:10px}[data-book-view=tiles] .book-meta p,[data-book-view=tiles] .book-meta .small{font-size:11px;margin:0}.status-banner.cloud-sync{background:#22313f;border-color:#35485a;color:#d3e1ee}.status-banner .grow{flex:1;min-width:160px}.status-banner .text-button{margin-left:auto}.pdf-list{display:grid;gap:13px;margin:0 0 26px}.pdf-card{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid #354937;border-radius:17px;background:var(--surface)}.pdf-card>svg{color:var(--coral)}.pdf-card>div{flex:1;min-width:0}.pdf-card h3{margin:0;color:var(--cream);font-size:13px;line-height:1.6;font-weight:600}.pdf-card p{margin:5px 0 0}html.storykeep-picker-open{overflow:hidden!important}.picker-dialog-bg{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:4000!important}.picker-dialog{position:fixed!important;top:calc(50% - 38px)!important;left:50%!important;transform:translate(-50%,-50%);width:min(1054px,calc(100vw - 24px))!important;height:min(652px,calc(100dvh - 120px))!important;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);z-index:4001!important}.picker-dialog-content,.picker-dialog-frame{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}.storykeep-picker-controls{position:fixed;bottom:12px;left:50%;transform:translate(-50%);width:min(1054px,calc(100vw - 24px));display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #667761;border-radius:12px;background:#14241c;color:#f4f2e8;z-index:4002;box-shadow:0 4px 22px #0004}.storykeep-picker-controls span{flex:1;font-size:12px;line-height:1.4}.storykeep-picker-controls button{flex-shrink:0}@media(max-width:460px){.storykeep-picker-controls{gap:8px;padding:8px}.storykeep-picker-controls span{font-size:11px}.storykeep-picker-controls button{padding:8px}}.manual-page{max-width:880px}.manual-contents{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;margin-bottom:18px}.manual-contents-item{display:flex;flex-direction:column;gap:3px;padding:11px 13px;border:1px solid #314a37;border-radius:14px;color:#e8eddf;background:#22362a;text-align:left}.manual-contents-item strong{font-size:12px}.manual-contents-item span{color:#adbfaa;font-size:11px;line-height:1.5}.manual-contents-item:hover,.manual-contents-item.is-active{border-color:var(--sage)}.manual-section{margin-bottom:12px;scroll-margin-top:16px}.manual-section-heading{display:flex;align-items:center;gap:11px;width:100%;padding:0;border:0;color:var(--sage);background:transparent;text-align:left}.manual-section-heading h2{flex:1;margin:0;font-size:17px}.manual-section-heading[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.manual-body{margin-top:14px;color:#e8eddf;font-size:13px;line-height:1.75}.manual-body p{margin:0 0 10px}.manual-steps,.manual-list{margin:0 0 12px;padding-left:22px}.manual-steps li,.manual-list li{margin:4px 0}.manual-tip{display:flex;gap:10px;padding:11px 13px;border-radius:12px;color:#e8eddf;background:#2c3f2a}.manual-tip svg{flex:none;margin-top:4px;color:var(--sage)}
