/* LAB เขียนโปรแกรม (ไพทอน · ภาษาซี) — ใช้ร่วมกับ code.css panweb.css web.css */
.py-hero{background:linear-gradient(135deg,#1D4F91 0%,#3776AB 50%,#E8B600 100%)}
.c-hero{background:linear-gradient(135deg,#283593 0%,#5C6BC0 55%,#00897B 100%)}
.py-hero .wrap,.c-hero .wrap{padding-top:28px;padding-bottom:30px}
.cl-ws{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:start}
.cl-left .ce{--ce-h:480px}
.cl-run{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cl-right .cl-console{min-height:180px;max-height:320px}
.cl-stdin textarea{width:100%;min-height:64px;border:2px solid var(--line);border-radius:10px;padding:8px 10px;font:15px/1.5 Menlo,Consolas,'Sarabun',monospace;resize:vertical;box-sizing:border-box}
.cl-stdin textarea:focus{border-color:var(--accent);outline:none}
.cl-turtle{margin-top:10px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;min-height:320px}
.cl-turtle canvas{max-width:100%;height:auto}
.task-side .cl-tests{max-height:330px;overflow:auto}
@media (max-width:900px){.cl-ws{grid-template-columns:1fr}.cl-left .ce{--ce-h:360px}}
