.agent-code-lab{border-top:1px solid #d4ddcb;background:#fbfcf7;padding:22px 25px;color:#314937;min-width:0}.code-lab-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.code-lab-heading h3{font-size:20px;margin:0 0 6px}.code-lab-heading p{font-size:14px;margin:0;color:#65715f}.code-steps{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 16px}.code-steps .button.active,.code-editor-tabs .button.active{background:#e1eadc;border-color:#91a284;color:#284e36}.code-task{border-left:3px solid #a9b48b;background:#f1f4e9;padding:13px 17px;margin-bottom:17px}.code-task h4{font-size:15px;margin:0 0 8px}.code-task p,.agent-code-lab p{font-size:14px;line-height:1.8}.code-task p{margin:0}.code-editor-tabs{display:flex;align-items:center;gap:8px;border:1px solid #ccd5c3;border-bottom:0;background:#ecf0e5;padding:8px 12px;min-width:0}.code-editor-tabs>span{margin-left:auto;font-size:13px;color:#68765e}.code-editor{display:flex;min-width:0;border:1px solid #ccd5c3;background:#fffef9;height:400px}.code-editor .code-lines{width:45px;flex:0 0 45px;border:0;border-right:1px solid #e2e7d9;border-radius:0;background:#f1f4ea;padding:14px 8px!important;margin:0!important;text-align:right;color:#7a8870;overflow:hidden;max-height:none;user-select:none}.code-editor textarea,.code-editor .code-lines{font:14px/1.75 Consolas,"Cascadia Code","Microsoft YaHei",monospace;white-space:pre;tab-size:4}.code-editor textarea{min-width:0;flex:1;width:100%;height:100%;resize:none;border:0;border-radius:0;padding:14px!important;background:transparent;color:#2b4334;outline-offset:-2px;overflow:auto}.code-hypothesis{margin:17px 0}.code-hypothesis textarea{min-height:85px;font-size:14px;background:#fffef9}.code-run-bar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:17px 0 23px}.code-run-bar .field{min-width:150px;margin:0;flex:1}.code-run-bar .code-test-args{flex:2}.code-run-bar .field input{font-size:14px;background:#fffef9}.code-run-bar>p{flex:2;margin:0}.code-run-bar .code-advance{flex-basis:100%;font-size:14px;line-height:1.8;display:flex;align-items:center;gap:8px}.code-advance input{accent-color:#54754d}.code-debug{border:1px solid #d6decc;background:#f5f7ee;padding:15px 17px;margin:18px 0}.code-debug-head{display:flex;justify-content:space-between;gap:12px;font-size:15px}.code-debug-head span{font-size:13px;color:#6d7d62}.agent-code-lab .code-console{background:#edf1e5;color:#35513a;border:1px solid #d5dfc9;min-height:80px;max-height:235px;white-space:pre-wrap;font-size:13px;line-height:1.8}.agent-code-lab .code-error{color:#92513b;background:#f7eee5;border:1px solid #e3c8ae;padding:12px 15px;font-size:14px;overflow-wrap:anywhere}.code-runtime-help{margin-top:18px}.code-runtime-help dl{font-size:14px;line-height:1.8}.code-runtime-help dt{font-weight:600;margin-top:10px}.code-runtime-help dd{margin-left:0;color:#607358}.code-runtime-help p{color:#607358}.agent-code-lab details pre{max-height:300px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:700px){.agent-code-lab{padding:18px 14px}.code-lab-heading{align-items:flex-start;flex-direction:column}.code-lab-heading h3{font-size:18px}.code-steps{gap:6px}.code-steps .button{font-size:13px;flex:1}.code-editor{height:340px}.code-editor textarea,.code-editor .code-lines{font-size:13px}.code-editor .code-lines{width:36px;flex-basis:36px}.code-editor-tabs>span{font-size:12px}.code-run-bar>.field{flex-basis:100%}.code-debug{padding:12px}.code-debug-head{flex-wrap:wrap}}
