@font-face{font-family:LeafSerif;src:url('/static/SourceSerif4.ttf')}*{box-sizing:border-box}body{margin:0;background:#fafaf6;color:#243c32;font:16px system-ui,sans-serif}header,main,footer{max-width:1200px;margin:auto;padding:28px 32px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce2d9}a{color:inherit}.brand{font:32px LeafSerif,Georgia,serif;text-decoration:none}.eyebrow{font-size:12px;letter-spacing:.18em;margin-top:32px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}h1{font:56px LeafSerif,Georgia,serif;margin:0}h2{font:25px LeafSerif,Georgia,serif}.hint,footer{color:#52625a;font-size:14px;line-height:1.6}.tools{display:flex;gap:16px;align-items:end;margin-top:30px}.tools label{flex:1;max-width:600px;font-size:13px}input[type=search]{display:block;width:100%;padding:13px;margin-top:6px;border:1px solid #b7c4b9;border-radius:9px;background:white;font:inherit}button,.button,.upload{border:1px solid #c4cfc4;padding:12px 18px;border-radius:9px;background:#edf1e9;color:#243c32;font:inherit;cursor:pointer;text-decoration:none}button:disabled{opacity:.5;cursor:wait}.upload{position:relative;background:#294e3c;color:white;overflow:hidden}.upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.books{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin:22px 0}.book{padding:22px;background:white;border:1px solid #dce2d9;border-radius:14px;min-height:220px;display:flex;flex-direction:column;gap:14px}.book h2{margin:0;overflow-wrap:anywhere}.book p{font-size:13px;margin:0;color:#52625a}.book .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.book button{font-size:14px;padding:9px 12px}.cover-mark{width:38px;height:48px;border-radius:2px 6px 6px 2px;background:#345441;border-left:5px solid #82997d}#status{min-height:24px;line-height:1.6}dialog{width:min(1100px,95vw);height:92vh;border:1px solid #dce2d9;border-radius:16px;padding:24px;background:#fafaf6;color:#243c32}dialog::backdrop{background:#15251bcc}.reader-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.reader-head h2{margin:0;overflow-wrap:anywhere}iframe{border:0;width:100%;height:calc(100% - 140px);margin-top:15px}pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font:19px LeafSerif,Georgia,serif;padding:20px 0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7f995b;outline-offset:3px}@media(max-width:600px){header,main,footer{padding:20px}.heading{align-items:start;flex-direction:column}h1{font-size:44px}.tools{align-items:stretch;flex-direction:column}.books{grid-template-columns:1fr}dialog{padding:16px}.reader-head h2{font-size:21px}}
