.css-debug-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0;border-bottom:1px solid #e0e5f0;padding-bottom:12px}
.css-debug-tabs button{border:1px solid #dce1ed;background:#fff;color:#4d5872;border-radius:10px;padding:10px 15px;font-weight:850;font-size:12px;cursor:pointer}
.css-debug-tabs button[aria-pressed="true"]{background:#5142b3;border-color:#5142b3;color:white;box-shadow:0 5px 13px #5142b333}
.css-debugger{border:1px solid #e1e4ee;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 9px 25px #1b264012}.css-debugger[hidden]{display:none!important}
.css-debug-hero{display:flex;gap:12px;justify-content:space-between;padding:22px 23px;background:linear-gradient(120deg,#212947,#42427d);color:white;align-items:center}
.css-debug-hero h3{font-size:23px;margin:5px 0 9px;line-height:1.3;letter-spacing:-.04em}.css-debug-hero p{color:#e1e7f8;font-size:12px;line-height:1.7}.css-debug-hero .eyebrow,.css-debug-hero .course-kicker{color:#b6f5de}
.css-debug-count{border:1px solid #ffffff44;border-radius:50px;padding:8px 12px;font-size:11px;font-weight:800;white-space:nowrap}
.css-debug-select{padding:14px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#f8f9fc;border-bottom:1px solid #e3e7f0}.css-debug-select label{font-size:12px;font-weight:850}.css-debug-select select{flex:1;min-width:190px;border:1px solid #d4dced;background:#fff;border-radius:9px;padding:10px;color:#27304b;min-height:42px}.css-debug-select button{border:1px solid #d7dcec;background:white;border-radius:9px;padding:10px 13px;cursor:pointer;font-size:11px;font-weight:800}
.css-debug-brief{padding:18px 20px;border-bottom:1px solid #e3e7f0}.css-debug-brief strong{font-size:17px}.css-debug-brief p{font-size:12px;color:#68748a;line-height:1.8;margin:7px 0 0}
.css-debug-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px;padding:18px}.css-debug-caption{display:flex;justify-content:space-between;gap:9px;align-items:center;font-size:12px;margin-bottom:9px}.css-debug-caption small{font-size:10px;color:#59627a}
.css-debug-editor textarea{display:block;resize:vertical;min-height:240px;width:100%;border:1px solid #384460;border-radius:11px;background:#141d30;color:#dff2ff;padding:15px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}
.css-debug-result iframe{background:#fff;border:1px solid #e1e6f0;border-radius:11px;width:100%;height:240px}
.css-debug-computed{background:#f4f5fc;border:1px solid #e7e7f2;border-radius:11px;margin:12px 0;padding:13px;display:grid;gap:6px}.css-debug-computed span{font-size:11px;color:#59627a}.css-debug-fix{font-size:11px;font-weight:800;color:#8f4a14;margin:2px 0 0}.css-debug-fix:empty{display:none}.css-debug-fix.is-fixed{color:#0e6b4c}
.css-debug-computed strong{font:800 15px/1.5 ui-monospace,Consolas,monospace;color:#4a3ba2;overflow-wrap:anywhere}.css-debug-computed p{font:11px/1.65 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;color:#4e5c77;margin:0}
.css-debug-questions{background:#f7f8fd;border:1px solid #e5e9f4;border-radius:12px;margin-top:12px;padding:15px}.css-debug-questions>p{font-size:12px;font-weight:900;margin:0 0 10px}.css-debug-questions label{display:flex;align-items:start;gap:8px;font-size:12px;line-height:1.5;padding:9px 8px;border-radius:8px;cursor:pointer}.css-debug-questions label:hover{background:#ecebfc}.css-debug-questions input{accent-color:#6452ce;margin-top:3px}
#debugCheck,.css-debug-lab{border:0;border-radius:10px;background:#5847c7;color:#fff;padding:11px 14px;font-weight:800;cursor:pointer;font-size:12px}#debugCheck{margin-top:12px}#debugFeedback{font-size:12px;line-height:1.7;margin-top:9px;color:#4c5870}#debugFeedback.is-correct{color:#18734f}
.css-debug-guide{background:#e9f7f0;color:#205b42;border-radius:11px;padding:15px;font-size:12px;line-height:1.8}.css-debug-lab{background:#edf0fd;color:#5041b8;border:1px solid #d6dafa;display:block;margin-left:auto}
@media(max-width:1020px){.css-debug-columns{grid-template-columns:1fr}.css-debug-editor textarea{min-height:200px}.css-debug-result iframe{height:200px}}
@media(max-width:500px){.css-debug-hero{display:block;padding:19px}.css-debug-hero h3{font-size:19px}.css-debug-count{display:inline-flex;margin-top:12px}.css-debug-brief{padding:14px}.css-debug-select{padding:12px}.css-debug-select select{min-width:0;width:100%}.css-debug-columns{padding:12px;gap:12px}.css-debug-tabs button{flex:1}}
.css-lab{margin:0 0 24px;padding:22px;background:#fff;border:1px solid #e0e5f0;border-radius:18px;min-width:0;scroll-margin-top:90px}
.css-lab-heading h2{margin:8px 0;font-size:25px;line-height:1.45;color:#24304b}.css-lab-heading p{margin:0;max-width:850px;color:#657087;font-size:13px;line-height:1.8}
#cssVisualFrame{display:block;width:100%;height:900px;border:0;background:#fff}#cssVisualFrame[hidden]{display:none}
.css-debug-hint{margin:18px 0;padding:14px;background:#f4f1fc;border:1px solid #e1daf4;border-radius:10px}.css-debug-hint summary{cursor:pointer;font-size:13px;font-weight:800}.css-debug-hint p{font-size:13px;line-height:1.8;color:#566179;margin-bottom:0}
.css-debug-html{margin-top:14px}.css-debug-html summary{font-size:12px;font-weight:800;cursor:pointer;color:#58448c}
.css-debug-html pre,.debug-solution-code{max-height:280px;overflow:auto;padding:14px;background:#182238;color:#e0e9fc;border-radius:9px;font:12px/1.8 ui-monospace,Consolas,monospace;tab-size:2;white-space:pre}
.debug-solution-label{display:block;margin-top:15px;font-size:12px;color:#52436e}.css-debug-computed .debug-layout-metric{font:700 12px/1.8 system-ui,sans-serif;color:#514078;white-space:normal}.debug-layout-metric:empty{display:none}
.debug-preview-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.debug-preview-pair h4{font-size:12px;margin:0 0 8px;color:#4c5870}.debug-preview-pair iframe{height:210px}

@media(max-width:750px){.css-lab{padding:14px 10px}.css-lab-heading h2{font-size:21px}.debug-preview-pair{grid-template-columns:minmax(0,1fr)}.css-debug-caption{flex-wrap:wrap}}
