/* Existing review surfaces only; draft images never target lesson editors. */
.pl-illustration-review-evidence { min-width:0; font-size:15px; line-height:1.55; }
.pl-illustration-review-evidence details { margin:14px 0; padding:12px; border:1px solid #cadbd9; border-radius:10px; }
.pl-illustration-review-evidence summary { cursor:pointer; font-weight:700; }
.pl-illustration-review-evidence p,.pl-illustration-review-evidence small { font-size:14px; line-height:1.55; overflow-wrap:anywhere; }
.pl-review-boundary { border-left:4px solid #d8a219; background:#fff8de; padding:12px; }
.pl-review-text,.pl-is-history p,.pl-workflow-history p { white-space:pre-wrap; overflow-wrap:anywhere; }
.pl-review-text { margin-top:12px; }
.pl-task-review-image summary { display:block; }
.pl-task-review-image summary img { display:block; width:100%; height:auto; max-height:340px; object-fit:contain; }
.pl-task-review-image summary span,.pl-task-illustration-evidence header span { display:block; font-size:14px; line-height:1.5; margin-top:8px; }
.pl-task-illustration-evidence header strong { font-size:18px; line-height:1.45; }
.pl-workflow-joint-review label span,.pl-workflow-joint-review textarea,.pl-workflow-joint-review button { font-size:15px; line-height:1.5; }
.pl-current-step-owner strong,.pl-workflow-people strong { font-size:14px; line-height:1.5; }
.pl-is-history p,.pl-workflow-history p { font-size:15px; line-height:1.6; }
.pl-is-history small { font-size:13px; line-height:1.5; }
.pl-review-source { max-height:26rem; overflow:auto; padding:12px; background:#f7faf9; }
.pl-review-source img { max-width:100%; height:auto; }
.pl-review-reference { padding:12px 0; border-bottom:1px solid #d8e2e1; }
.pl-review-image { display:block; width:100%; background:#f5f8f8; color:#244c50; border:1px solid #bdcecd; padding:10px; border-radius:10px; cursor:zoom-in; }
.pl-review-image img { display:block; max-width:100%; max-height:300px; object-fit:contain; margin:auto; }
.pl-review-image span { display:block; margin-top:8px; }
.pl-review-reference-form { display:grid; gap:12px; margin-top:16px; }
.pl-review-reference-form input[type=file] { display:block; max-width:100%; margin-top:10px; }
[data-pl-illustration-review-mount] { margin:16px 0; min-width:0; }
[data-pl-illustration-review-mount][hidden],.pl-review-cached[hidden] { display:none !important; }
.pl-review-panel-tools { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding-bottom:12px; }
.pl-review-panel-status { padding:12px; font-size:15px; }
.pl-review-wide { --pl-dev-context-width:560px; }
[data-pl-illustration-review-mount] .pl-task-workflow-panel { padding:12px; }
[data-pl-illustration-review-mount] .pl-task-workflow-sequence { display:none; }
[data-pl-illustration-review-mount] .pl-joint-review-actions { display:grid; grid-template-columns:1fr; gap:10px; }
.pl-review-form-status { font-size:15px; white-space:pre-wrap; }
.pl-review-form-status.is-error { color:#9c2828; }
.pl-review-lightbox { width:min(96vw,1500px); max-width:96vw; height:92vh; max-height:92vh; padding:16px; border:1px solid #adc5c2; border-radius:14px; background:white; color:#17383a; }
.pl-review-lightbox::backdrop { background:rgba(12,25,28,.8); }
.pl-review-lightbox header { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.pl-review-lightbox header strong { flex:1; font-size:18px; }
.pl-review-lightbox-stage { height:calc(100% - 90px); overflow:auto; margin-top:14px; cursor:grab; }
.pl-review-lightbox-stage img { display:block; max-width:none; height:auto; margin:auto; }
@media(max-width:800px) { .pl-review-lightbox header strong { flex-basis:100%; } .pl-review-lightbox-stage { height:calc(100% - 120px); } }

/* Illustration readability: 15px instructions, 14px labels, 13px metadata.
 * Extra scope intentionally beats legacy theme selectors in either load order.
 * Retained source HTML and course editor content typography are unchanged.
 */
.pl-illustration-review-evidence[data-pl-review-evidence] { font-size:15px; line-height:1.6; }
.pl-illustration-review-evidence[data-pl-review-evidence] :is(.pl-review-text,p),
.pl-is-shell :is(.pl-is-brief-callout,.pl-is-upload textarea,.pl-is-locked-message p,.pl-is-approved-message p,.pl-is-waiting-message p),
.pl-is-shell .pl-is-history article p,
.pl-task-workflow-panel[data-pl-review-request]>header p:not(.pl-kicker),
.pl-task-workflow-panel[data-pl-review-request] :is(.pl-workflow-history article p,.pl-workflow-studio-gate p,.pl-workflow-studio-gate strong,textarea,[data-pl-review-role],.pl-review-form-status,.pl-review-panel-status),
.pl-illustration-request-composer[data-pl-illustration-request-composer] :is(textarea,input[type=text],select) {
 font-size:15px; line-height:1.6; overflow-wrap:anywhere;
}

/* Labels and actions; retain larger page/card titles. */
.pl-illustration-review-evidence[data-pl-review-evidence] :is(summary,label,button,.pl-review-context-link),
.pl-is-shell :is(.pl-is-brief summary,.pl-is-work-chat>summary,.pl-is-upload label,.pl-is-upload label>span,.pl-is-upload label strong,.pl-is-upload button,.pl-is-waiting-message a,.pl-is-filters label>span,.pl-is-filters button,.pl-is-filters a),
.pl-is-shell :is(.pl-is-queue section>h2,.pl-is-queue details>summary,.pl-is-history>header,.pl-is-history article>div>strong,.pl-is-bundle-map a strong,.pl-is-stage strong),
.pl-task-workflow-panel[data-pl-review-request] :is(summary,label,label>span,button,.pl-workflow-studio-gate a,.pl-workflow-history article strong,.pl-current-step-owner strong,.pl-workflow-people strong,.pl-task-review-image summary span,.pl-task-bundle-progress-grid article>footer strong),
.pl-illustration-request-composer[data-pl-illustration-request-composer]>summary,
.pl-illustration-request-composer[data-pl-illustration-request-composer] :is(form>label>span,.pl-illustration-request-kind label strong,button) {
 font-size:14px; line-height:1.5; overflow-wrap:anywhere;
}
/* Review actions remain at their existing readable 15px size. */
.pl-task-workflow-panel[data-pl-review-request] .pl-workflow-joint-review .pl-joint-review-actions button { font-size:15px; }

/* File provenance, people, draft/status labels and supporting details. */
.pl-illustration-review-evidence[data-pl-review-evidence] :is(small,.pl-review-reference p),
.pl-is-shell :is(.pl-is-queue>header span,.pl-is-priority-order,.pl-is-work-card>small,.pl-is-work-card footer,.pl-is-work-card header i,.pl-is-work-card .pl-is-priority),
.pl-is-shell :is(.pl-is-focus-head p,.pl-is-focus-head>div>span,.pl-is-stage span,.pl-is-stage small,.pl-is-context-strip small,.pl-is-context-strip strong),
.pl-is-shell :is(.pl-is-brief>header span,.pl-is-production>header span,.pl-is-brief>header small,.pl-is-brief>footer,.pl-is-file-name strong,.pl-is-file-name code),
.pl-is-shell :is(.pl-is-upload small,.pl-is-upload label small,.pl-is-history article>div>small,.pl-is-history article>a span,.pl-is-bundle-map>header span,.pl-is-bundle-map>header small,.pl-is-bundle-map a span,.pl-is-bundle-map a small),
.pl-task-workflow-panel[data-pl-review-request] :is(.pl-kicker,.pl-workflow-state,.pl-workflow-people>span,.pl-current-step-owner>span,.pl-current-step-owner>small,.pl-workflow-history article>span,.pl-task-workflow-sequence small,.pl-task-workflow-sequence b),
.pl-task-workflow-panel[data-pl-review-request] :is(.pl-task-illustration-evidence>header span,.pl-task-bundle-progress>header small,.pl-task-bundle-progress>header span,.pl-task-bundle-progress>header>b,.pl-task-bundle-progress-grid article>header span,.pl-task-bundle-progress-grid article>header b,.pl-task-bundle-progress-grid article>footer small,.pl-task-bundle-progress-grid details>summary span,.pl-task-bundle-awaiting>small),
.pl-illustration-request-composer[data-pl-illustration-request-composer] :is(label>small,.pl-illustration-request-kind label small) {
 font-size:13px; line-height:1.5; overflow-wrap:anywhere;
}

/* Let labels wrap; do not change panel or workflow behaviour. */
.pl-is-shell :is(.pl-is-focus-head,.pl-is-brief>header,.pl-is-history>header,.pl-is-upload>label:first-of-type) { flex-wrap:wrap; }
.pl-is-shell :is(.pl-is-file-name,.pl-is-brief>footer) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pl-is-shell :is(.pl-is-context-strip>span,.pl-is-stage) { min-width:0; max-width:100%; }
.pl-is-shell :is(.pl-is-upload textarea,.pl-is-upload input[type=file]) { box-sizing:border-box; min-width:0; max-width:100%; }
.pl-is-shell .pl-is-upload { grid-template-columns:minmax(0,1fr); }
.pl-is-shell .pl-is-upload>label { min-width:0; }
.pl-is-shell .pl-is-history article p { margin-top:10px; }
.pl-is-shell .pl-is-history article>div { min-width:0; }
.pl-is-shell .pl-is-file-name code { white-space:normal; }
.pl-task-workflow-panel[data-pl-review-request] :is(.pl-current-step-owner,.pl-workflow-people,.pl-task-bundle-progress>header) { flex-wrap:wrap; }
.pl-task-workflow-panel[data-pl-review-request] :is(input,select,textarea,button) { box-sizing:border-box; max-width:100%; min-width:0; }
.pl-task-workflow-panel[data-pl-review-request] button,
.pl-illustration-request-composer[data-pl-illustration-request-composer] button { white-space:normal; height:auto; }
.pl-illustration-request-composer[data-pl-illustration-request-composer] :is(input[type=text],input[type=file],select,textarea) { box-sizing:border-box; min-width:0; max-width:100%; }
.pl-illustration-request-composer[data-pl-illustration-request-composer] .pl-illustration-request-kind { grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); }
.pl-illustration-request-composer[data-pl-illustration-request-composer] .pl-illustration-request-kind :is(label,span) { min-width:0; }
