/* Scoped EDA practice lab styling. */
.eda-tool .eda-lab-header { padding:24px; border-radius:18px; background:linear-gradient(125deg,#073f48,#087e77); color:white; margin-bottom:22px; }
.eda-tool .eda-lab-header h2 { margin:8px 0; color:white; font-size:clamp(1.5rem,4vw,2.2rem); }
.eda-tool .eda-lab-header p { margin:0; max-width:70ch; }
.eda-tool .eda-lab-eyebrow { font-size:.75rem; font-weight:800; letter-spacing:.13em; color:#bdece4; }
.eda-tool .eda-lab-controls { display:flex; gap:16px; flex-wrap:wrap; align-items:flex-end; padding:20px; background:#f2f8f7; border:1px solid #d6e6e3; border-radius:15px; }
.eda-tool .eda-lab-controls label { display:grid; gap:6px; flex:1 1 150px; }
.eda-tool .eda-lab-controls :is(input,select) { width:100%; }
.eda-tool .eda-lab-button { min-height:44px; padding:10px 17px; background:#087d73; color:white; border:1px solid #087d73; border-radius:9px; font-weight:700; }
.eda-tool .eda-lab-button.secondary { background:white; color:#086a64; }
.eda-tool .eda-lab-actions { display:flex; gap:10px; flex-wrap:wrap; margin:18px 0; }
.eda-tool .eda-lab-result { margin-top:20px; padding:20px; border:1px solid #c9ded9; border-radius:15px; background:#fff; }
.eda-tool .eda-lab-scroll { overflow-x:auto; padding-bottom:8px; }
.eda-tool .eda-lab-grid { min-width:720px; table-layout:fixed; font-size:.88rem; }
.eda-tool .eda-lab-grid th:first-child { width:112px; text-align:left; }
.eda-tool .eda-lab-grid td,.eda-tool .eda-lab-grid th { padding:5px 2px; text-align:center; border-bottom:1px solid #e4eeeb; }
.eda-tool .eda-lab-grid td:nth-child(4n+2) { border-left:2px solid #b8d7cf; }
.eda-tool .eda-lab-cell { display:grid; place-items:center; min-height:34px; width:100%; border:1px solid #c6d8d4; border-radius:5px; background:#f5f9f8; color:#4b6861; }
.eda-tool button.eda-lab-cell { min-height:38px; padding:0; }
.eda-tool .eda-lab-cell.active { background:#087d73; color:white; border-color:#087d73; font-weight:800; }
.eda-tool [data-step].is-playing { outline:3px solid #e79829; outline-offset:-2px; }
.eda-tool .eda-lab-status { min-height:1.6em; color:#365b53; }
.eda-tool .eda-lab-error { color:#a22925; font-weight:650; }
.eda-tool .eda-lab-error:empty { display:none; }
.eda-tool .eda-lab-help { color:#526b64; max-width:75ch; }
.eda-tool .eda-lab-code { width:100%; min-height:120px; font-family:ui-monospace,monospace; font-size:.9rem; }
.eda-tool .eda-lab-fill { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.eda-tool .eda-lab-hit { border:1px solid #c4ddd5; border-radius:10px; text-align:center; padding:12px 7px; background:#eef7f4; }
.eda-tool .eda-lab-hit strong { display:block; font-size:1.5rem; color:#08756a; }
.eda-tool .eda-lab-hit small { display:block; color:#506a62; }
.eda-tool .eda-lab-notation { display:block; width:100%; min-width:440px; height:auto; max-height:180px; color:#153a35; }
.eda-tool .eda-lab-sheet-row { border-bottom:1px solid #dae5e1; padding:8px 0 18px; break-inside:avoid; }
.eda-tool .eda-lab-key { background:#f3f8f5; padding:18px; border-radius:10px; }
.eda-tool .eda-lab-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.eda-tool .eda-lab-option { padding:16px; border:1px solid #cfdfdb; border-radius:12px; background:#f4f9f7; }
.eda-tool .eda-lab-option .eda-lab-button { width:100%; margin-top:9px; }
.eda-tool .eda-lab-score { display:inline-block; padding:8px 14px; border-radius:20px; background:#dff1e9; font-weight:750; color:#164e40; }
@media(max-width:600px) { .eda-tool .eda-lab-options { grid-template-columns:1fr; } .eda-tool .eda-lab-controls,.eda-tool .eda-lab-result { padding:15px; } }
@media print { .eda-tool .eda-lab-controls,.eda-tool .eda-lab-actions,.eda-tool .eda-lab-help,.eda-tool .eda-lab-status,.eda-tool .eda-lab-error { display:none!important; } .eda-tool .eda-lab-header { background:white; color:black; padding:0; } .eda-tool .eda-lab-header h2,.eda-tool .eda-lab-eyebrow { color:black; } .eda-tool .eda-lab-result { border:0; padding:0; } .eda-tool .eda-lab-key { background:white; } .eda-tool .eda-lab-header p { display:none; } .eda-tool .eda-lab-scroll { overflow:visible; } }
