*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f6f5f0;color:#233e36;font:15px/1.5 system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;min-height:44px}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bc8f36;outline-offset:3px}[hidden]{display:none!important}header,main,.bottom{max-width:960px;margin:auto}header{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce0d6}.brand{font:28px Georgia;color:inherit;text-decoration:none}.brand>span:first-child{margin-right:8px}.gold{color:#b08b42}.iconbtn{border:1px solid #d7ddd3;border-radius:50%;width:44px;background:transparent;color:inherit;font-size:22px;flex-shrink:0}main{padding:0 24px 70px}.hero{padding:32px 0 25px}.eyebrow{font-size:10px;letter-spacing:2px;color:#7a857b}.herorow{display:flex;align-items:center;justify-content:space-between;gap:10px}h1{font:clamp(36px,8vw,54px)/1.1 Georgia;margin:20px 0 16px;letter-spacing:-1px}h2{font:25px Georgia;margin:0}p{line-height:1.7}.hero>p{color:#6f7f72;margin:0 0 22px}.primary{background:#214f40;color:white;border:0;border-radius:8px;padding:13px 20px;font-weight:600}.secondary{border:1px solid #cad6c9;border-radius:7px;background:white;padding:9px 14px;color:#214f40}.textbtn{border:0;background:none;color:#376744;text-decoration:underline;padding:5px 0}.bookart{width:130px;display:flex;align-items:end;gap:7px;border-bottom:4px solid #c4b18a;padding:10px 15px;transform:rotate(-6deg);flex-shrink:0}.bookart i{height:70px;width:27px;border-radius:3px 3px 0 0;background:#bcb398;box-shadow:inset 4px 0 #ffffff30}.bookart i:nth-child(2){height:100px;background:#395c46;transform:rotate(6deg)}.bookart i:nth-child(3){height:80px;background:#b67d65}.statusline{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:11px;color:#68836d;margin-top:17px}.tabs{display:flex;overflow:auto;gap:6px;border-bottom:1px solid #dce0d5}.tabs button{border:0;background:none;color:#778175;padding:13px 14px;white-space:nowrap;font-size:13px}.tabs .active{color:#214f40;border-bottom:3px solid #214f40;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:9px;padding:20px 0}input,select{min-height:46px;border:1px solid #d8ddd3;background:white;border-radius:7px;padding:11px;color:#29453b;min-width:0}#search{width:100%;flex:1 0 100%}.filters select{flex:1;font-size:13px}.row{display:flex;align-items:center;justify-content:space-between;gap:14px}.sectiontitle{margin:6px 0 19px}.sectiontitle span{font-size:12px;color:#7f897a}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:17px}.card{background:white;border:1px solid #dfe3d8;border-radius:11px;overflow:hidden;box-shadow:0 2px 7px #20382a04}.cover{height:110px;display:flex;justify-content:space-between;align-items:start;background:#e5ebdf;padding:17px;position:relative}.cover.dskp{background:#eee5d6}.cover.slaid{background:#dfe8ed}.covericon{font:54px Georgia;color:#4f6b4d}.badge{background:#ffffffb0;font-size:10px;padding:5px 9px;border-radius:5px}.favbtn{border:0;background:transparent;font-size:24px;color:#896819;line-height:1;position:absolute;right:10px;bottom:6px}.cardbody{padding:17px}.card h3{font:21px/1.35 Georgia;margin:0 0 8px;overflow-wrap:anywhere}.meta{font-size:12px;color:#7b8577;margin-top:6px}.ready{font-size:11px;color:#3f7950;margin-top:10px}.cardactions{display:flex;gap:8px;margin-top:15px}.cardactions .primary{flex:1;padding:10px}.cardactions .secondary{padding:8px 13px}.empty{grid-column:1/-1;text-align:center;border:1px dashed #bdcab9;border-radius:12px;padding:35px 20px}.empty .covericon{margin-bottom:10px}.empty h3{font:25px Georgia}.empty p{color:#7c8777;font-size:13px;max-width:350px;margin:12px auto 20px}.storage{margin-top:24px;background:#e9eee4;border-radius:10px;padding:20px}.storage strong{font-size:13px}.storage span,.storage p,.storage button{font-size:11px}progress{width:100%;height:6px;accent-color:#527b51;margin-top:14px}.storage p{color:#6e8068;margin:8px 0}.bottom{position:fixed;bottom:0;left:0;right:0;background:#f6f5f0ee;backdrop-filter:blur(8px);padding:9px 24px;border-top:1px solid #dfe3d8;display:flex;align-items:center;justify-content:center;gap:20px;font-size:11px;color:#64755f}.bottom button{border:0;border-radius:6px;background:#214f40;color:white;padding:7px 14px}footer{font-size:10px;color:#8b9383;line-height:2;margin:28px 0;letter-spacing:1px}.continuebox{background:#173f37;border-radius:10px;color:white;padding:19px;margin-bottom:25px;display:flex;justify-content:space-between;gap:12px;align-items:center}.continuebox small{font-size:10px;letter-spacing:1px;color:#bed0b9}.continuebox strong{display:block;margin:5px 0}.continuebox button{white-space:nowrap;background:#e7ecd9;color:#214f40;border:0;border-radius:6px;padding:9px 14px}dialog{border:0;border-radius:14px;width:calc(100% - 28px);max-width:500px;padding:24px;color:#233e36;max-height:90dvh;overflow:auto}dialog::backdrop{background:#112c2577}dialog label{display:block;font-size:12px;margin:17px 0 0}dialog input,dialog select{display:block;width:100%;margin-top:6px}.pair{display:flex;gap:12px}.pair label{flex:1}.full{width:100%;margin-top:16px}.muted{color:#7c8777;font-size:12px}dialog ol{padding-left:21px;font-size:14px}dialog li{padding:8px 0}dialog p{font-size:12px}.notice{background:#e8edde;padding:14px;border-radius:7px;font-size:12px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#toast{position:fixed;bottom:75px;left:50%;transform:translateX(-50%);background:#173f37;color:white;border-radius:8px;padding:14px 19px;width:max-content;max-width:90vw;z-index:100;font-size:13px;box-shadow:0 6px 30px #0003}#reader{position:fixed;inset:0;background:#252c29;color:white;z-index:20;display:flex;flex-direction:column;height:100dvh}.readerbar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#173f37;flex-shrink:0}.readerbar strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.readerbar .iconbtn{border-color:#577565;color:white}#stage{flex:1;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:12px;min-height:0;position:relative}#canvas{display:block;flex-shrink:0;box-shadow:0 4px 20px #0005}#loading{position:fixed;top:40%;background:#173f37ee;padding:16px;border-radius:8px;z-index:3;max-width:90vw;font-size:13px}.readercontrols{display:flex;justify-content:center;align-items:center;gap:6px;background:#173f37;padding:8px 6px max(8px,env(safe-area-inset-bottom));flex-shrink:0}.readercontrols button{background:transparent;color:white;border:1px solid #547260;border-radius:6px;min-width:42px;font-size:21px}.pagefield{display:flex;align-items:center;gap:4px;font-size:11px}.pagefield input{width:50px;min-height:44px;padding:5px;text-align:center}.readercontrols #pages{white-space:nowrap}#readerOptions{background:#214f40;display:flex;flex-wrap:wrap;padding:6px;gap:6px}#readerOptions button{background:#ffffff12;color:white;border:0;padding:9px;border-radius:5px;font-size:12px}#exitPresent{position:fixed;right:10px;top:10px;z-index:4;background:#173f37aa;color:white;border:1px solid #fff4;border-radius:6px;padding:8px;font-size:11px}.presenting .readerbar,.presenting #readerOptions{display:none!important}.presenting #stage{padding:0}.presenting .readercontrols{background:#0009}#bookmarks{position:absolute;bottom:70px;right:10px;background:#173f37;border:1px solid #658270;max-height:60vh;overflow:auto;padding:15px;border-radius:8px;max-width:85vw}#bookmarks button{display:block;background:none;color:white;border:0;text-align:left;padding:8px}.errorstate{max-width:90%;text-align:center;line-height:1.7}@media(min-width:650px){main{padding:0 40px 70px}header{padding:25px 40px}.hero{padding:40px 0}.bookart{width:210px}.bookart i{width:43px;height:100px}.bookart i:nth-child(2){height:140px}.bookart i:nth-child(3){height:115px}#search{flex:2 0 40%;width:auto}.hero>p{font-size:17px}}@media(max-width:360px){main{padding-left:16px;padding-right:16px}.readercontrols{gap:3px}.readercontrols button{min-width:35px}.bookart{width:90px;padding:7px}.bookart i{width:20px}}
