/* POE Unit 3 lesson-specific interactives */
body.immersive-lesson-page .poe-u3-interactive{--p-navy:#0b1f3a;--p-blue:#0c5a91;--p-blue-dark:#073f66;--p-gold:#d9ab3d;--p-green:#17653a;--p-red:#982f2f;--p-surface:#f5f8fa;--p-border:#9db2c4;color:var(--p-navy)!important;-webkit-text-fill-color:var(--p-navy)!important}
body.immersive-lesson-page .poe-u3-interactive :is(h2,h3,h4,p,li,label,legend,span,strong,th,td){color:var(--p-navy)!important;-webkit-text-fill-color:var(--p-navy)!important;opacity:1!important}
.poe-u3-interactive .poe-intro{max-width:900px;margin-bottom:1.2rem}.poe-u3-interactive .poe-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr);gap:1.2rem;align-items:start}.poe-u3-interactive .poe-workspace.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.poe-u3-interactive .poe-panel{background:#fff;border:2px solid var(--p-border);border-radius:16px;padding:1rem;min-width:0}.poe-u3-interactive .poe-panel.soft{background:var(--p-surface)}.poe-u3-interactive .poe-panel h3{margin-top:0}.poe-u3-interactive .poe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.poe-u3-interactive .poe-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.poe-u3-interactive .poe-field{display:grid;gap:.35rem}.poe-u3-interactive input,.poe-u3-interactive select,.poe-u3-interactive textarea{width:100%;min-height:44px;border:2px solid #879dac;border-radius:10px;background:#fff;color:var(--p-navy)!important;-webkit-text-fill-color:var(--p-navy)!important;padding:.55rem .65rem;font:inherit}.poe-u3-interactive input[type=checkbox],.poe-u3-interactive input[type=radio]{width:1.15rem;height:1.15rem;min-height:0;accent-color:var(--p-blue);flex:0 0 auto}.poe-u3-interactive .poe-options{display:grid;gap:.65rem}.poe-u3-interactive .poe-option{display:flex;gap:.65rem;align-items:flex-start;background:#fff;border:2px solid #c3d0d9;border-radius:12px;padding:.75rem}.poe-u3-interactive .poe-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}body.immersive-lesson-page .poe-u3-interactive button{min-height:44px;border:2px solid var(--p-blue-dark);border-radius:10px;padding:.65rem .95rem;background:var(--p-blue);color:#fff!important;-webkit-text-fill-color:#fff!important;font:inherit;font-weight:800;cursor:pointer}body.immersive-lesson-page .poe-u3-interactive button *{color:inherit!important;-webkit-text-fill-color:inherit!important}body.immersive-lesson-page .poe-u3-interactive button.choice-button{width:100%;background:#fff;color:var(--p-navy)!important;-webkit-text-fill-color:var(--p-navy)!important;border-color:#aebfcc;text-align:left}body.immersive-lesson-page .poe-u3-interactive button.choice-button[aria-pressed=true],body.immersive-lesson-page .poe-u3-interactive button.choice-button.selected{background:#dcecf8;border-color:var(--p-blue)}body.immersive-lesson-page .poe-u3-interactive button.secondary{background:#fff;color:var(--p-navy)!important;-webkit-text-fill-color:var(--p-navy)!important;border-color:#aebfcc}.poe-u3-interactive .poe-button-row{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.poe-u3-interactive .poe-feedback{margin-top:1rem;border-left:6px solid var(--p-blue);background:#eaf4fb;padding:.85rem 1rem;border-radius:10px;min-height:3rem}.poe-u3-interactive .poe-feedback[data-state=success]{border-left-color:var(--p-green);background:#e6f5ec}.poe-u3-interactive .poe-feedback[data-state=error]{border-left-color:var(--p-red);background:#faeaea}.poe-u3-interactive .poe-note{margin-top:.85rem;background:#fff8da;border:2px solid #e0bc4a;border-radius:12px;padding:.8rem}.poe-u3-interactive table{width:100%;border-collapse:collapse;background:#fff}.poe-u3-interactive th,.poe-u3-interactive td{border:1px solid #aebfcc;padding:.65rem;text-align:left;vertical-align:middle}.poe-u3-interactive th{background:#e8f0f5;font-weight:800}.poe-u3-interactive .poe-table-wrap{overflow-x:auto}.poe-u3-interactive .poe-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}.poe-u3-interactive .poe-metric{background:#fff;border:2px solid #c7d4dd;border-radius:12px;padding:.75rem;text-align:center}.poe-u3-interactive .poe-metric strong{display:block;font-size:1.25rem}.poe-u3-interactive .poe-system{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;align-items:stretch}.poe-u3-interactive .poe-stage{background:#eef4f7;border:2px solid #aebfcc;border-radius:12px;padding:.8rem;text-align:center;font-weight:800;position:relative}.poe-u3-interactive .poe-stage:not(:last-child)::after{content:'→';position:absolute;right:-.48rem;top:50%;transform:translateY(-50%);z-index:2;background:#fff;border-radius:999px;padding:.1rem;font-size:1.2rem}.poe-u3-interactive .poe-bar-wrap{display:grid;gap:.55rem}.poe-u3-interactive .poe-bar{height:24px;border-radius:999px;background:#d8e3e9;overflow:hidden;border:1px solid #9eb1bf}.poe-u3-interactive .poe-bar>span{display:block;height:100%;background:#0c5a91;width:0;transition:width .2s ease}.poe-u3-interactive .poe-sort-list{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}.poe-u3-interactive .poe-sort-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;background:#fff;border:2px solid #bdcad3;border-radius:12px;padding:.7rem}.poe-u3-interactive .poe-sort-controls{display:flex;gap:.35rem}.poe-u3-interactive .poe-sort-controls button{padding:.45rem .65rem;min-height:38px}.poe-u3-interactive [data-row-state=correct]{background:#e6f5ec}.poe-u3-interactive [data-row-state=incorrect]{background:#faeaea}body.immersive-lesson-page .poe-u3-interactive :is(button,input,select,textarea):focus-visible{outline:4px solid #ffbf47!important;outline-offset:2px}@media(max-width:850px){.poe-u3-interactive .poe-workspace,.poe-u3-interactive .poe-workspace.equal{grid-template-columns:1fr}.poe-u3-interactive .poe-system{grid-template-columns:1fr}.poe-u3-interactive .poe-stage:not(:last-child)::after{content:'↓';right:auto;left:50%;top:auto;bottom:-.75rem;transform:translateX(-50%)}.poe-u3-interactive .poe-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.poe-u3-interactive .poe-grid,.poe-u3-interactive .poe-grid.three,.poe-u3-interactive .poe-choice-grid{grid-template-columns:1fr}.poe-u3-interactive .poe-metric-grid{grid-template-columns:1fr}}
.poe-u3-interactive code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#e8f0f5;border:1px solid #b7c7d2;border-radius:6px;padding:.1rem .3rem}
.poe-u3-interactive svg text{fill:#0b1f3a;font-family:Arial,sans-serif;font-weight:700}
.poe-u3-interactive .poe-panel>svg{width:100%;height:auto;max-height:310px}
