#dialog:has(.textbook-dialog){width:900px;max-width:calc(100vw - 32px);box-sizing:border-box}
.textbook-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.textbook-dialog-header h2{margin:0}
.textbook-dialog-header button{width:38px;height:38px;padding:0;font-size:24px;line-height:1;flex-shrink:0}
.textbook-dialog .dialog-foot{flex-wrap:wrap}
.textbook-card>.card-header{flex-wrap:wrap}
.textbook-card>.card-header>.actions{flex-wrap:wrap}
.textbook-metadata{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;margin-top:20px}.textbook-analysis-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0}.textbook-analysis-actions label,.textbook-rights{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#587087;line-height:1.8}.textbook-analysis-actions input,.textbook-rights input{width:16px;height:16px;flex-shrink:0;margin-top:4px}.textbook-rights{margin:20px 0}.textbook-review{border-top:1px solid #dce7ef;margin-top:18px;padding-top:18px}.textbook-review h3{font-size:16px}.textbook-sources{display:flex;flex-direction:column;gap:10px;margin:16px 0;font-size:13px;overflow-wrap:anywhere}.textbook-sources label{color:#718399}.textbook-chapter-overviews{padding:14px 16px;background:#edf4fa;border-radius:8px;font-size:13px;line-height:1.8;margin:14px 0}.textbook-chapter-overviews summary{cursor:pointer}.textbook-chapter-overviews>div{padding-top:14px}.textbook-source small{color:#718399;font-size:12px}.toc-picker .toc-empty{padding:12px;font-size:13px;color:#718399}.resource-citation{margin:14px 0}.resource-citation a{font-size:13px;overflow-wrap:anywhere}.resource-citation .source-quote{margin-top:8px}@media(max-width:850px){.textbook-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.textbook-metadata{grid-template-columns:1fr}.textbook-analysis-actions{align-items:stretch;flex-direction:column}}
