#textbookDialog{width:min(980px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;border:1px solid #dce4ef;border-radius:18px;padding:0;color:#173763;background:#fff;box-shadow:0 24px 80px #142c4933;font-family:inherit}#textbookDialog::backdrop{background:#152a4566;backdrop-filter:blur(3px)}#textbookDialog header{padding:24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3e9f1}#textbookDialog header small{letter-spacing:1.5px;font-size:10px;color:#718399}#textbookDialog h2{font-size:24px;margin:8px 0 0}#textbookDialog header button{background:#f2f5f9;border:0;border-radius:50%;width:38px;height:38px;font-size:24px;color:#173763}#textbookDialog .book-body{padding:24px}#textbookDialog p{font-size:13px;line-height:1.6;color:#687b90}#textbookDialog label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}#textbookDialog input,#textbookDialog select{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #d7e0eb;border-radius:9px;padding:10px;font:inherit;color:#173763;background:#fff}#textbookDialog .book-summary{display:flex;gap:20px;flex-wrap:wrap;background:#f0f4fa;border-radius:12px;padding:18px;margin-bottom:22px}#textbookDialog .book-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-bottom:20px}#textbookDialog .book-records article{display:grid;grid-template-columns:2fr 1.4fr auto;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid #e5ebf2}#textbookDialog .book-records small,#studentTextbook small{display:block;font-size:12px;color:#718298;margin-top:7px;line-height:1.5}#textbookDialog .book-badge{font-size:11px;padding:5px 9px;border-radius:6px;background:#f5f1e9;color:#887548}#textbookDialog .book-badge.issued{background:#e8eef8;color:#173763}#textbookDialog footer{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px}#textbookDialog button:disabled{opacity:.5}#studentTextbook{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;background:#f3f6fb;border-radius:12px;margin:20px 0}#studentTextbook[hidden]{display:none}@media(max-width:650px){#textbookDialog{width:calc(100vw - 16px);max-height:94dvh}#textbookDialog .book-body,#textbookDialog header{padding:18px}#textbookDialog .book-filters{grid-template-columns:1fr}#textbookDialog input,#textbookDialog select{font-size:16px}#textbookDialog .book-records article{grid-template-columns:1fr;gap:14px}#textbookDialog .book-records button{justify-self:start}#studentTextbook{align-items:flex-start;flex-direction:column}}

#textbookDialog .primary-button{background:#173763;color:#fff;border-color:#173763}

#studentTextbook .book-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#studentTextbook [data-profile-message]{margin:8px 0 0;font-size:12.5px;line-height:1.5;color:#5c6b7a}
#studentTextbook [data-profile-message]:empty{display:none}
#textbookDialog .book-records article .book-badge.issued{background:#e6f4ea;color:#1e7a35}
