/* 8.4 - scoped interactive workbench */
.master84-experiment{margin:1.2rem 0;padding:1rem 1.25rem;background:#eff9ff;border:2px solid #b8dced;border-radius:16px;color:#153b53}
.master84-experiment h4{font-size:1.22rem;margin:.3rem 0 .8rem;color:#123f5b}
.master84-experiment p{line-height:1.6;margin:.4rem 0 .9rem;color:#174962}
.master84-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin:1rem 0}
.master84-control{display:grid;gap:.6rem;border:1px solid #b9d4e3;background:#fff;border-radius:11px;padding:.85rem;font-size:.95rem;font-weight:650}
.master84-control strong{font-size:1.45rem;color:#134e75}
.master84-control input{accent-color:#147f99;min-height:32px;width:100%;cursor:pointer}
.master84-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}
.master84-actions button{cursor:pointer;border:0;border-radius:9px;background:#166782;color:white;padding:.72rem 1.05rem;font-weight:700;font:700 .95rem system-ui,sans-serif}
.master84-actions button:focus-visible{outline:3px solid #f2ba57;outline-offset:2px}
.master84-actions .master84-outline{background:#fff;color:#17475b;border:1px solid #8cb1c1}
.master84-output{display:block;min-height:3.2rem;padding:.75rem;background:#fff;border-left:4px solid #159383;border-radius:8px;color:#153b53;font-weight:700;overflow-wrap:anywhere}
.master84-status{font-weight:650;font-size:.9rem}
.master84-table{max-width:100%;overflow-x:auto;margin-top:.7rem}.master84-table table{width:100%;border-collapse:collapse;background:#fff}.master84-table td,.master84-table th{padding:.65rem;text-align:left;border:1px solid #bbd5df;font-size:.88rem;min-width:70px}.master84-table th{background:#d8eef6}
.master84-note{font-size:.85rem;color:#4b6270!important;padding:.7rem;background:#e4f0f5;border-radius:8px}
.master73 [data-field="experiment84_evidence"]{background:#eef4f6;font-family:ui-monospace,Consolas,monospace;font-size:.79rem;min-height:70px}
@media(max-width:600px){.master84-controls{grid-template-columns:1fr}.master84-experiment{padding:.8rem}.master84-table td,.master84-table th{padding:.4rem}}
@media(prefers-color-scheme:dark){.master84-experiment{background:#152c3b;color:#e1edf4;border-color:#3c768e}.master84-experiment h4,.master84-experiment p{color:#e1edf4}.master84-control,.master84-output,.master84-table table{background:#193b4f;color:#eff9fd}.master84-control strong{color:#91d3ed}.master84-note{background:#18394b;color:#bdd9e8!important}.master84-table th{background:#25536d}}

/* 8.5 — a distinct real scenario for each lesson; high-contrast and mobile friendly */
.master85-quest{background:linear-gradient(130deg,#e7f7ef,#eff0ff);border:1px solid #90c8ab;border-radius:12px;padding:.85rem 1rem;margin:.8rem 0;color:#123d3a}
.master85-quest p{color:#123d3a;margin:.5rem 0;line-height:1.52}
.master85-tag{display:inline-block;font-weight:800;color:#1a5e51;letter-spacing:.02em;font-size:.83rem}
.master85-visual{display:flex;gap:.7rem;margin:.8rem 0;flex-wrap:wrap}
.master85-bar{flex:1 1 160px;min-width:0;padding:.65rem .8rem;background:#fff;border-radius:9px;border:1px solid #b6d6e3}
.master85-bar small{font-size:.78rem;display:block;font-weight:600;overflow-wrap:anywhere;color:#24475c}
.master85-track{height:.55rem;margin:.55rem 0 0;border-radius:3rem;background:#dfedf2;overflow:hidden}
.master85-fill{height:100%;border-radius:3rem;background:#1685a6;transition:width .18s}
.master85-bar:nth-child(2) .master85-fill{background:#855abb}
@media(prefers-reduced-motion:reduce){.master85-fill{transition:none}}
@media(prefers-color-scheme:dark){.master85-quest{background:#163a35;border-color:#4a8c79}.master85-quest p,.master85-tag{color:#d9f5e7}.master85-bar{background:#193b4f;border-color:#3d778c}.master85-bar small{color:#def0f7}.master85-track{background:#33586d}}
