[hidden]{display:none!important}
.book-heading{display:flex;gap:15px;align-items:center;min-width:320px}
.book-cover{width:58px;height:82px;object-fit:cover;border-radius:3px;box-shadow:0 6px 18px #1b323340;flex:none}
.top-actions{justify-content:flex-end;max-width:360px}
.dialog-cover{display:block;width:90px;max-height:130px;object-fit:contain;margin:0 0 14px;border:1px solid #e5e7e2;border-radius:4px}
dialog{max-height:min(90vh,800px);overflow:auto}
.chapter-row{display:flex;align-items:stretch;gap:3px;margin-bottom:3px}
.chapter-row .chapter-item{flex:1;width:auto;min-width:0;margin-bottom:0}
.chapter-edit{flex:none;width:31px;border:1px solid transparent;border-radius:7px;background:transparent;color:#9cb6b4;font-size:16px}
.chapter-edit:hover,.chapter-edit:focus-visible{background:#2e4850;color:#fff;border-color:#42616a}
.empty-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
#field-position+small{font-size:11px;color:#849197}
@media(max-width:1050px){.topbar{flex-direction:column;align-items:flex-start}.top-actions{max-width:none;justify-content:flex-start}}
@media(max-width:700px){.top-actions{justify-content:flex-start;max-width:none}.book-heading{align-items:flex-start}}
