body.faculty-prepared-review-open { overflow: hidden; }
.faculty-prepared-review { position: fixed; inset: 0; z-index: 20000; display: grid; place-items: center; padding: 1.25rem; background: rgba(5,22,33,.64); }
.faculty-prepared-review__dialog { width: min(1040px,100%); max-height: 92dvh; overflow: auto; padding: 1.5rem; border: 1px solid #9acccc; border-radius: 24px; background: #f6fbfb; color: #193d4e; box-shadow: 0 20px 80px #0004; }
.faculty-prepared-review__header, .faculty-prepared-review__toolbar, .faculty-prepared-review__set-heading, .faculty-prepared-review__overview { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.faculty-prepared-review__header { align-items: flex-start; }
.faculty-prepared-review h2, .faculty-prepared-review h3 { margin: 0; }
.faculty-prepared-review__lecture { margin: .4rem 0 1rem; overflow-wrap: anywhere; }
.faculty-prepared-review__header > button { margin-left: auto; }
.faculty-prepared-review__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.faculty-prepared-review__modes > button { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: 1.35rem; text-align: left; white-space: normal; }
.faculty-prepared-review__modes strong { font-size: 1.15rem; }
.faculty-prepared-review__modes span { font-weight: 400; line-height: 1.6; }
.faculty-prepared-review__toolbar { padding: .8rem 0; }
.faculty-prepared-review__bulk-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.faculty-prepared-review__toolbar select { margin-left: .6rem; padding: .65rem; border-radius: 10px; border: 1px solid #8cb8bc; color: inherit; background: #fff; font: inherit; }
.faculty-prepared-review__help { font-size: .95rem; line-height: 1.6; }
.faculty-prepared-review__overview { border-radius: 14px; background: #deefed; padding: .9rem 1rem; }
.faculty-prepared-review__distribution { display: flex; gap: .4rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.faculty-prepared-review__distribution span { padding: .3rem .65rem; border: 1px solid #a3c9c8; border-radius: 9px; background: #eff9f7; font-size: .85rem; font-weight: 700; }
.faculty-prepared-review__status { min-height: 1.5em; font-size: .95rem; }
.faculty-prepared-review__sets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.faculty-prepared-review__set { border: 1px solid #bdd7d9; border-radius: 18px; padding: 1.2rem; background: #fff; }
.faculty-prepared-review__set-heading { margin-bottom: .8rem; align-items: baseline; }
.faculty-prepared-review__badge { color: #417079; font-size: .8rem; }
.faculty-prepared-review__answers { margin: 1rem 0; padding-left: 1.3rem; }
.faculty-prepared-review__answers li { padding: .5rem 0 .5rem .25rem; line-height: 1.5; font-size: .95rem; overflow-wrap: anywhere; }
.faculty-prepared-review__letter { display: inline-block; text-align: center; width: 1.7rem; margin-right: .5rem; background: #d8eeea; color: #16595c; border-radius: 5px; }
.faculty-prepared-review__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.faculty-prepared-review__actions button { font-size: .85rem; padding: .65rem .8rem; }
.faculty-prepared-review__error, .faculty-prepared-review__status.is-error { color: #a22f30; }
[data-theme="dark"] .faculty-prepared-review__dialog, .theme-dark .faculty-prepared-review__dialog { background: #122432; color: #e0eeee; }
[data-theme="dark"] .faculty-prepared-review__set, .theme-dark .faculty-prepared-review__set { background: #172c3b; border-color: #456772; }
[data-theme="dark"] .faculty-prepared-review__overview, .theme-dark .faculty-prepared-review__overview { background: #1f454a; }
[data-theme="dark"] .faculty-prepared-review__distribution span, .theme-dark .faculty-prepared-review__distribution span,
[data-theme="dark"] .faculty-prepared-review__toolbar select, .theme-dark .faculty-prepared-review__toolbar select { color: #dceeee; background: #183f43; border-color: #557f82; }
[data-theme="dark"] .faculty-prepared-review__badge, .theme-dark .faculty-prepared-review__badge { color: #abd2d1; }
[data-theme="dark"] .faculty-prepared-review__error, [data-theme="dark"] .faculty-prepared-review__status.is-error,
.theme-dark .faculty-prepared-review__error, .theme-dark .faculty-prepared-review__status.is-error { color: #ffb4ad; }
@media(max-width:700px) { .faculty-prepared-review { padding: .5rem; } .faculty-prepared-review__dialog { padding: 1rem; max-height: 96dvh; border-radius: 16px; } .faculty-prepared-review__sets, .faculty-prepared-review__modes { grid-template-columns: 1fr; } .faculty-prepared-review__header h2 { font-size: 1.4rem; } .faculty-prepared-review__set { padding: .9rem; } }
