/* v153: editable, scalable fields and source beside the annotation task */
.annotation-overlay-content{max-width:min(1180px,96vw)!important;width:96vw!important;max-height:94vh!important}
.p1-v153-overlay-grid{display:grid;grid-template-columns:minmax(245px,42%) minmax(320px,1fr);gap:22px;align-items:start}
.p1-v153-overlay-source{position:sticky;top:0;max-height:79vh;overflow:auto;border:1px solid #dedede;border-radius:9px;padding:14px;background:#f8f8f8}
.p1-v153-overlay-right{min-width:0;padding-right:12px}
.p1-v153-overlay-right textarea{resize:both!important;min-width:100%;max-width:100%;min-height:165px!important;box-sizing:border-box}
.p1-v153-source{margin:8px 0 12px;padding:8px;border:1px solid #e0e0e0;border-radius:7px;background:#fafafa;min-width:0}
.p1-v153-source-heading{font-weight:700;font-size:12px;margin-bottom:8px}
.p1-v153-evidence-img{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;margin:0 auto 9px}
.p1-v153-quote{font-size:13px;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.p1-v153-editor{width:100%;min-width:100%;max-width:100%;min-height:65px;resize:vertical!important;padding:6px 8px;border:1px solid #cbd2d8;border-radius:4px;font:inherit;font-size:13px;box-sizing:border-box}
.p1-v153-edit-hint{font-size:11px;color:#65717d;margin:8px 0}
#practiceCardsContainer .p1-v153-source,#evidenceBoard .p1-v153-source{margin:4px 0 10px}
#practiceCardsContainer .p1-v153-evidence-img,#evidenceBoard .p1-v153-evidence-img{max-height:240px}
#practiceCardsContainer .card-fields,#evidenceBoard .card-fields{grid-template-columns:1fr!important}
@media(max-width:720px){.p1-v153-overlay-grid{grid-template-columns:1fr}.p1-v153-overlay-source{position:static;max-height:38vh}.annotation-overlay-content{max-height:95vh!important;padding:17px!important}}
