.syntax-shell{max-width:1100px;margin:0 auto;padding:28px 24px 60px}.syntax-shell [hidden]{display:none!important}.syntax-shell h1,.syntax-shell h2,.syntax-shell p{margin-top:0}.syntax-hero{padding:38px 0 28px;max-width:790px}.syntax-hero h1{font-size:clamp(2.5rem,5.2vw,4.2rem);line-height:1.04;letter-spacing:-.045em;margin-bottom:20px}.syntax-hero>p:not(.eyebrow){font-size:1.08rem;line-height:1.7;color:#5c6374;max-width:700px}.syntax-badge{display:inline-block;color:#4338ca;background:#eceaff;border:1px solid #d7d2ff;border-radius:24px;padding:7px 13px;font-weight:700;font-size:.85rem}.syntax-shell .panel{padding:30px;border-radius:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.section-title h2{font-size:1.35rem;margin:0}.eyebrow{font-size:.76rem;text-transform:uppercase;letter-spacing:.09em;font-weight:750;color:#5146b8}.syntax-settings{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:16px}.syntax-settings label{font-size:.86rem;font-weight:650;display:grid;gap:8px}.syntax-settings select{width:100%;min-width:0;padding:12px;border:1px solid #cdd3df;border-radius:9px;background:white;color:#1c2435;font:inherit;text-overflow:ellipsis}.syntax-help{font-size:.86rem;line-height:1.6;color:#667085}.syntax-shell .muted{color:#667085;line-height:1.6}.syntax-shell #selection-note{margin:18px 0 8px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.syntax-shell button,.file-label{cursor:pointer;font:inherit}.syntax-shell button:focus-visible,.syntax-shell a:focus-visible,.syntax-shell select:focus-visible,.syntax-shell input:focus-visible{outline:3px solid #7c70ed;outline-offset:3px}.syntax-shell .primary-button{background:#4f46e5;color:white;border:1px solid #4f46e5;border-radius:9px;padding:12px 18px;font-weight:650}.syntax-shell .secondary-button,.file-label{padding:11px 15px;border:1px solid #cfd3e1;background:white;color:#343054;border-radius:9px;display:inline-block;text-decoration:none}.syntax-shell .text-button{background:none;border:0;color:#4f46e5;padding:10px 6px}.syntax-shell button:disabled{cursor:default}.status-copy{color:#5146b8;margin:12px 0 0;line-height:1.5}.resume-box{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;background:#f1efff;border:1px solid #ddd8ff;border-radius:12px;margin-bottom:28px}.resume-box p{margin:5px 0 0;font-size:.88rem;color:#59566d}.practice-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.practice-bar p{margin:0 0 6px}.metrics{display:flex;flex-wrap:wrap;gap:20px;padding:14px 0 20px;color:#687083;font-size:.88rem}.metrics strong{color:#222b3c;font-size:1.1rem}.metrics>span:last-child{margin-left:auto}.question-card{max-width:960px;margin:0 auto}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}.shortcut{font-size:.8rem;color:#6f7381}.syntax-assumptions{font-size:.78rem;line-height:1.5;padding:10px 12px;background:#f5f6fa;color:#636b7d;border-radius:8px;margin:16px 0 20px}.question-card h2{font-size:clamp(1.2rem,2.2vw,1.65rem);line-height:1.45;letter-spacing:-.02em;margin-bottom:18px}.syntax-shell pre{font: .93rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}.syntax-shell #question-code{padding:16px;border-radius:9px;background:#171e30;color:#f4f4fe}.syntax-choices{display:grid;gap:10px;margin:22px 0 16px}.choice{width:100%;display:flex;align-items:flex-start;gap:14px;text-align:left;padding:15px 17px;background:#fff;border:1.5px solid #dce0e9;border-radius:11px;color:#273047;transition:background .1s,border-color .1s}.choice:not(:disabled):hover{border-color:#8d82e9;background:#f8f7ff}.choice .key{flex:none;display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#eff0f5;font-size:.85rem;font-weight:750}.choice pre{margin:0;flex:1;min-width:0}.choice.correct{border-color:#158064;background:#eefaf5}.choice.correct .key{background:#d2f0e4;color:#076044}.choice.wrong{border-color:#c3544f;background:#fff3f1}.choice.wrong .key{background:#ffdedb;color:#8d2925}.choice .choice-status{font-size:.76rem;flex:none;align-self:center;font-weight:650}.syntax-feedback{border-left:4px solid #7161da;border-radius:8px;background:#f5f3ff;padding:18px;margin-top:18px}.syntax-feedback[data-result=correct]{border-color:#12835f;background:#f0faf5}.syntax-feedback strong{font-size:1.05rem}.syntax-feedback pre{margin:12px 0}.syntax-feedback p{line-height:1.6;margin-bottom:8px}.next-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;margin-bottom:14px}.auto-label{font-size:.85rem;color:#667085;display:flex;align-items:center;gap:8px}.finish-actions{justify-content:space-between;margin:16px 0}.finish-actions a{color:#5146b8;font-size:.9rem}.hint-box{padding:14px;background:#fff8e9;border:1px solid #e8d7ae;border-radius:8px;line-height:1.6;font-size:.9rem}.coverage-section{margin-top:42px}.table-wrap{overflow-x:auto;background:white;border:1px solid #e0e4eb;border-radius:14px}.syntax-shell table{border-collapse:collapse;width:100%;min-width:520px}.syntax-shell th,.syntax-shell td{text-align:left;padding:13px 16px;border-bottom:1px solid #e8ebf1;font-size:.87rem}.syntax-shell th{background:#f8f9fc;font-weight:650;color:#646b7b}.syntax-shell tr:last-child td{border-bottom:0}.syntax-shell td button{border:0;background:none;color:#3c358a;text-align:left;padding:0;line-height:1.45}.syntax-details{margin-top:20px;background:#fff;border:1px solid #e0e4eb;border-radius:12px;padding:18px}.syntax-details summary{font-weight:650;cursor:pointer}.syntax-details p{line-height:1.6;color:#616b7c;margin-top:14px;font-size:.9rem}.syntax-details a{color:#4f46e5}.notice{padding:14px;background:#fff6e4;border:1px solid #e4d3aa;border-radius:10px;line-height:1.5}.summary-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:24px 0}.summary-metrics div{padding:16px;border:1px solid #e2e4ee;border-radius:10px;background:#f9f9ff}.summary-metrics strong{display:block;font-size:1.7rem;margin-bottom:6px}.summary-metrics span{color:#646e80;font-size:.85rem}.file-label{position:relative;overflow:hidden}.file-label input{position:absolute;width:1px;height:1px;opacity:0}.file-label:focus-within{outline:3px solid #7c70ed;outline-offset:3px}.syntax-skip{position:absolute;left:16px;top:-60px;background:#fff;padding:12px;z-index:5}.syntax-skip:focus{top:8px}
@media(max-width:780px){.syntax-settings{grid-template-columns:1fr 1fr}.syntax-settings label:nth-child(2){grid-column:1/-1;grid-row:2}.section-title{align-items:flex-start;flex-direction:column}.syntax-shell .panel{padding:22px}.summary-metrics{grid-template-columns:1fr 1fr}.choice .choice-status{font-size:.7rem}}
@media(max-width:480px){.syntax-shell{padding:18px 14px 40px}.syntax-hero{padding:28px 0 22px}.syntax-hero h1{font-size:2.7rem}.syntax-settings{grid-template-columns:1fr}.syntax-settings label:nth-child(2){grid-row:auto}.syntax-shell .panel{padding:18px}.resume-box{flex-direction:column;align-items:flex-start}.question-meta{display:block}.shortcut{display:none}.choice{padding:13px 11px;gap:10px}.choice pre{font-size:.84rem}.metrics{gap:10px}.metrics>span:last-child{margin-left:0;width:100%}.syntax-shell .quiz-links{gap:7px}.syntax-shell .quiz-links a{font-size:.8rem;padding:9px}.practice-bar .secondary-button{font-size:.85rem}.auto-label{font-size:.78rem}}
