:root{font-family:system-ui,sans-serif;color:#233128;background:#f5f1e8;font-size:17px}*{box-sizing:border-box}body{margin:0}main{max-width:740px;margin:0 auto;padding:36px 22px}.brand{letter-spacing:.22em;font-size:.75rem;font-weight:700;color:#657367}h1{font-size:2rem;line-height:1.15;margin:16px 0}p{line-height:1.5;color:#5c655e}form#upload,.login-page form{margin-top:28px;padding:24px;background:#fff;border:1px solid #dfded4;border-radius:18px}label{display:block;font-weight:600;margin-bottom:10px}input,select{width:100%;font:inherit;padding:12px;border:1px solid #c5c8c0;border-radius:8px;background:white;color:#233128}input[type=file]{padding:0;border:0;background:transparent;font-size:.9rem}input::file-selector-button{padding:12px;border:1px solid #bbb;border-radius:8px;background:#f5f1e8;cursor:pointer}small{display:block;margin:12px 0 20px;color:#657367}button{padding:14px;border:0;border-radius:10px;background:#314938;color:#fff;font:inherit;font-weight:600;cursor:pointer;min-height:44px}#submit,.login-page button{width:100%}button:disabled{opacity:.6}progress{width:100%;margin-top:20px;accent-color:#314938}#message,#library-message{overflow-wrap:anywhere}h2{font-size:1.25rem;margin-top:32px}.section-note{font-size:.85rem;margin-top:-8px}ul{list-style:none;padding:0}li{padding:16px 0;border-bottom:1px solid #dfded4;overflow-wrap:anywhere}a{color:#314938;text-decoration:none}a:hover{text-decoration:underline}footer{font-size:.8rem;color:#657367;margin-top:32px;line-height:1.5}.secondary{background:transparent;color:#314938;border:1px solid #b8c3b5;font-size:.8rem;padding:9px 12px}.book-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.topbar{display:flex;justify-content:space-between;align-items:center}.logout{margin:0}.filters{margin-top:32px}.filter-row{display:flex;gap:12px;margin-top:16px}.filter-row>div{flex:1;min-width:0}.filter-row label{font-size:.85rem}.empty{color:#657367;font-size:.9rem}.login-page{max-width:500px}.login-page input{margin-bottom:20px}.check{display:flex;gap:10px;align-items:center;font-size:.9rem;font-weight:400;margin:8px 0 24px}.check input{width:20px;height:20px;margin:0;flex-shrink:0}.error{color:#93372f}details{margin-top:32px;padding:20px;border:1px solid #dfded4;border-radius:14px}summary{cursor:pointer;font-weight:600}#book-count{font-size:.85rem;font-weight:400;color:#657367}

.book-heading{display:flex;align-items:center;gap:12px}.book-heading a{min-width:0;overflow-wrap:anywhere}.book-cover{width:48px;height:72px;flex:0 0 48px;object-fit:contain;border-radius:3px;background:#eee9dd;display:flex;align-items:center;justify-content:center;font-size:11px;color:#63736b}
