.st-challenge{margin:1.25rem 0;padding:1.2rem;border:1px solid #b7d4ef;border-radius:12px;background:#f5faff;color:#19344b;max-width:100%;box-sizing:border-box}.st-challenge .st-status{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;font-size:.9rem}.st-challenge button{font:inherit;min-height:44px;padding:.55rem .8rem;border:1px solid #5b8cba;border-radius:8px;background:white;color:#183e61;cursor:pointer}.st-challenge button:focus-visible{outline:3px solid #1766ac;outline-offset:3px}.st-challenge button:disabled{opacity:.55;cursor:default}.st-challenge [hidden],.st-article .quiz-section [hidden]{display:none!important}.st-challenge #st-choices,.st-challenge .st-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:.7rem 0}.st-challenge #st-last{background:#174e79;color:white}.st-challenge #st-feedback{font-size:.95rem;line-height:1.6}.st-challenge #st-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.7;margin:.6rem 0;color:#19344b}.st-challenge #st-result:empty{display:none}.st-article .st-review{margin:2rem 0;padding:1rem 0;border-top:1px solid #cbd5e1}.st-article .st-review summary{cursor:pointer;font-weight:700;padding:.5rem 0}.st-article .content pre,.st-article .st-challenge #st-result{background:#101827;color:#edf2f7;padding:3.2rem 1rem 1rem;border:1px solid #34445c;border-radius:12px;font:500 1rem/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;max-width:100%;overflow-x:auto;box-sizing:border-box}.st-article .content pre code{background:transparent;color:#edf2f7;font:inherit;padding:0}.st-article .content pre .st-token-string{color:#a5edb5}.st-article .content pre .st-token-function{color:#8edaff}.st-article .content pre .st-token-keyword{color:#e3b0ff}.st-article .content pre .st-token-number{color:#ffd58a}.st-article .content pre .st-token-comment{color:#afc1d6}
.st-article .article-audio{margin:1rem 0}.st-article .article-audio audio{width:100%}@media(max-width:480px){.st-challenge{padding:.9rem}.st-challenge button{flex:1 1 auto}.st-challenge .st-status{font-size:.85rem}}

.st-article .content pre,.st-article #st-result,.st-article #st-list{white-space:pre-wrap;overflow-wrap:anywhere}.st-article .content pre code{white-space:inherit;overflow-wrap:inherit;min-width:0;width:auto;max-width:100%}.st-article .article-references{margin:2rem 0;padding:1.2rem;border-top:1px solid #cbd5e1;line-height:1.7}.st-article .article-references a{overflow-wrap:anywhere}.st-challenge #st-choices{display:flex;gap:.5rem;flex-wrap:wrap}.st-challenge #st-list{background:#101827;color:#edf2f7;border-radius:8px;padding:1rem;font:500 1rem/1.7 monospace;box-sizing:border-box;max-width:100%}.st-article #st-result span.st-token-string,.st-article #st-list span.st-token-string{color:#a5edb5}.st-article #st-result span.st-token-keyword{color:#e3b0ff}.st-article #st-result span.st-token-function{color:#8edaff}

.st-article .article-references{padding:1.3rem;border:1px solid #dbe5ef;border-radius:16px;background:#f3f7fc}.st-article .article-references h3{margin:0 0 1rem;font-size:1.2rem;color:#17324d}.st-article .article-references ul{list-style:none;margin:0;padding:0}.st-article .article-references a{display:block;padding:.9rem;border:1px solid #dde7f0;border-radius:10px;background:white;color:#174f79;text-decoration:none}.st-article .content pre code{color:#eef6ff;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;max-width:100%;width:auto}.st-article .content pre{background:#101827;color:#eef6ff;padding:1rem;border-radius:10px;box-sizing:border-box;max-width:100%}.st-article #st-choices{display:flex;flex-wrap:wrap;gap:.6rem}.st-article #st-choices button{white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:.8rem}.st-article #st-result,.st-article #st-list{white-space:pre-wrap;overflow-wrap:anywhere}.st-article .st-challenge [hidden]{display:none!important}

.st-article .content pre code .st-token-keyword{color:#ddb5ff}.st-article .content pre code .st-token-string{color:#a5edb5}.st-article .content pre code .st-token-number{color:#ffcf8a}.st-article .content pre code .st-token-comment{color:#a9bdcf}
/* Jogo guiado: somente três números, sem painel de terminal. */
.st-article .st-simple{padding:clamp(1rem,4vw,1.5rem);border-radius:18px;background:#f4f9ff;box-shadow:none}
.st-article .st-simple h4{margin:0 0 .5rem;font-size:1.25rem;color:#17324d}
.st-article .st-simple .st-instruction{margin:.4rem 0 1rem;line-height:1.6}
.st-article .st-simple #st-progress{font-size:.88rem;font-weight:600;color:#48627a;margin:.75rem 0}
.st-article .st-simple #st-choices{display:flex;gap:.8rem;margin:1rem 0 1.4rem}
.st-article .st-simple #st-choices button{flex:0 1 72px;width:72px;height:64px;min-height:64px;padding:.5rem;border:2px solid #97bbdc;background:white;border-radius:14px;font-size:1.6rem;font-weight:800;color:#164d7c;box-shadow:0 3px 0 #d4e4f2}
.st-article .st-simple #st-choices button:hover:not(:disabled){background:#e9f3ff;border-color:#3676af}
.st-article .st-simple #st-choices button:disabled{opacity:.45;box-shadow:none}
.st-article .st-simple .st-result-label{font-weight:600;margin:0 0 .5rem}
.st-article .st-simple #st-sequence{display:flex;gap:.8rem;list-style:none;margin:0;padding:0}
.st-article .st-simple #st-sequence li{display:grid;place-items:center;flex:0 1 72px;width:72px;height:60px;margin:0;padding:0;box-sizing:border-box;border:2px dashed #a7c1d6;border-radius:12px;background:white;color:#8397a7;font-size:1.4rem;font-weight:800}
.st-article .st-simple #st-sequence li::before{content:none}
.st-article .st-simple #st-sequence li.is-filled{border-style:solid;border-color:#72b798;background:#e7f5ee;color:#166343}
.st-article .st-simple #st-feedback{min-height:3em;margin:1rem 0;color:#23495f;line-height:1.55}
.st-article .st-simple #st-example{margin:0 0 1rem;padding:1rem;background:white;border:1px solid #d3e3ef;border-radius:12px}
.st-article .st-simple #st-example p{margin:0 0 .6rem}
.st-article .st-simple #st-example code{display:block;white-space:normal;overflow-wrap:anywhere;min-width:0;color:#174f79;background:none;padding:0;font-size:.95rem;line-height:1.8}
.st-article .st-simple #st-reset{padding:.65rem 1rem;border-radius:10px}
.st-article .st-simple .st-note{font-size:.8rem;line-height:1.5;color:#547084;margin:1rem 0 0}
