/* The original Agila University layout, extended for the working learning tools. */
:root{--ink:#1f2937;--muted:#6b7280;--paper:#f4f5f7;--line:#ddd;--purple:#4c1d95;--deep:#111827;font-family:Arial,Helvetica,sans-serif}
body{line-height:1.7;background:#f4f5f7;color:#1f2937}
a{color:#4c1d95;text-decoration:none}a:hover{text-decoration:underline;color:#4c1d95}
h1,h2,h3{letter-spacing:normal;line-height:1.35;font-weight:700}
h1{font-size:32px;color:#111827}h2{font-size:24px;color:#4c1d95}h3{color:#374151}
.site-header{max-width:1052px;margin:24px auto 0;padding:16px 20px;background:#fff;border:1px solid #ddd;border-radius:12px;gap:18px;flex-wrap:wrap}
.brand{font-family:Arial,Helvetica,sans-serif;letter-spacing:0;font-weight:800;font-size:20px;color:#4c1d95;white-space:nowrap}
.brand:hover{text-decoration:none}.site-header nav{font-size:14px;font-weight:400;gap:16px;justify-content:flex-end;flex:1}
.site-header nav>a{color:#4c1d95}.site-header nav>a.active{font-weight:700}.site-header nav>.button{color:white}
.site-header .language-select select{padding:8px;border:1px solid #ccc;border-radius:8px;font-size:14px}
.container{max-width:1100px;padding:24px;margin:auto}
.course-intro{background:white;border:1px solid #ddd;border-radius:14px;padding:34px;margin-bottom:24px;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.course-intro h1{margin:0 0 8px}.course-intro p{margin:0;color:#6b7280}
.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.card{border:1px solid #ddd;border-radius:14px;background:#fff;padding:30px;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.course-card{padding:26px}.course-card h2{margin:0 0 16px;font-size:24px}.course-card p{margin:0 0 18px}
.course-badge{display:inline-block;padding:5px 10px;border-radius:999px;font-size:13px;font-weight:bold;margin-bottom:12px}
.course-badge.available{background:#dcfce7;color:#166534}.course-badge.coming{background:#e5e7eb;color:#4b5563}
.button{background:#4c1d95;color:white;border:0;border-radius:8px;padding:11px 16px;font-weight:bold;font-size:15px;line-height:1.6}
.button:hover{background:#3b1579;color:white;text-decoration:none}.button.secondary{background:#374151;color:#fff;border:0}.button.secondary:hover{background:#1f2937;color:#fff}
.button.small{padding:8px 12px;font-size:13px}.button.disabled{background:#9ca3af;pointer-events:none}
.page-title{max-width:none;padding:30px;border:1px solid #ddd;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.05);margin-bottom:22px}
.page-title h1{font-size:32px;margin:0 0 12px}.page-title p:last-child{margin-bottom:0}.eyebrow{font-size:13px;color:#6b7280;letter-spacing:0;font-weight:400;margin-bottom:10px}
.learning-note{margin:24px 0;color:#4b5563}.site-footer{margin-top:30px;padding:20px 0;font-size:13px}.site-footer a{color:#4c1d95}
.page-lesson .container{max-width:948px}.page-lesson .site-header{max-width:900px}.page-lesson .split{display:block}
.lesson-navigation{margin-bottom:20px;padding:16px 20px!important}.lesson-navigation summary{cursor:pointer;color:#4c1d95;font-weight:bold}.lesson-navigation nav{display:block;margin-top:12px}
.lesson-navigation nav a{display:block;padding:6px 0}.lesson-navigation nav a.current{font-weight:bold}
.lesson-content{font-size:16px;line-height:1.7;max-width:none;padding:34px}.lesson-content h1{font-size:28px}.lesson-content h2{margin:24px 0 14px}.lesson-content h3{margin-top:24px}
.lesson-language{display:inline-block;background:#4c1d95;color:#fff;padding:6px 12px;border-radius:8px;margin-bottom:15px;font-size:14px}
.progress{height:10px;background:#e5e7eb;border-radius:20px;margin:12px 0 22px}.progress>span{background:#6d4aff}
.breadcrumb{font-size:13px;margin-bottom:20px}.module-row{border-color:#eee;padding:18px 0}.module-number{color:#6b7280}.module-row h3{color:#4c1d95;font-size:18px}
.pill{font-size:12px}.pill.green{background:#dcfce7;color:#166534}.meta,.muted{color:#6b7280}
pre,.editor{background:#111827!important;color:#d1fae5!important;border-radius:10px;font-family:Consolas,monospace!important;box-shadow:none}pre{padding:18px;line-height:1.7}
code{font-family:Consolas,monospace}p code,li code{color:#4c1d95;background:#f3eff9}
.editor{min-height:380px;border:1px solid #374151!important}.lab-output{min-height:250px}.lab-grid{gap:20px}
blockquote{background:#f7f4fc;border-left:4px solid #4c1d95}.notice{background:#f3eff9;color:#4c1d95}.notice.success{background:#dcfce7;color:#166534}
.question{padding:22px 0}.choice{border-radius:8px}.choice:has(input:checked){background:#f3eff9}.lesson-check{border-top:1px solid #ddd}
.callout{background:#fff;border:1px solid #ddd;border-radius:14px}.stat{color:#4c1d95}.track-card:hover{transform:none}
td,th{border:1px solid #ddd;padding:10px}.auth-box{max-width:480px}.auth-box h1{font-size:28px}
.certificate-sheet h2{color:#4c1d95}.certificate-sheet{box-shadow:none}
@media(max-width:1100px){.site-header{margin-left:24px;margin-right:24px}.page-lesson .site-header{margin-left:auto;margin-right:auto}}
@media(max-width:948px){.page-lesson .site-header{margin-left:24px;margin-right:24px}}
@media(max-width:800px){.course-grid{grid-template-columns:1fr}.site-header{align-items:flex-start;flex-direction:column}.site-header nav{justify-content:flex-start;gap:12px}.grid{grid-template-columns:1fr 1fr}.site-header .button{padding:7px 10px}}
@media(max-width:700px){.container{padding:20px 16px}.site-header,.page-lesson .site-header{margin:16px 16px 0;padding:16px}.course-intro,.card,.page-title{padding:24px}.course-card h2{font-size:22px}.site-header nav{font-size:13px}.grid,.grid.two,.lab-grid,.form-row{grid-template-columns:1fr}.page-title h1,h1{font-size:28px}.lesson-content{padding:24px}.course-intro h1{font-size:28px}.module-row>.actions{grid-column:2}.site-footer{gap:12px}}
