.main-content{max-width:100%!important;padding:0!important}html,body{overflow-x:hidden;height:100%}.exercise-container[data-astro-cid-w67jsori]{max-width:1400px;margin:0 auto;padding:2rem;overflow:visible;height:auto}.exercise-header[data-astro-cid-w67jsori]{margin-bottom:2rem}.back-link[data-astro-cid-w67jsori]{display:inline-block;color:#3b82f6;text-decoration:none;margin-bottom:1rem;font-weight:500}.back-link[data-astro-cid-w67jsori]:hover{text-decoration:underline}.exercise-header[data-astro-cid-w67jsori] h1[data-astro-cid-w67jsori]{font-size:clamp(2rem,4vw,2.5rem);color:#1e293b;margin-bottom:.5rem}.exercise-header[data-astro-cid-w67jsori] p[data-astro-cid-w67jsori]{font-size:1.125rem;color:#64748b}.exercise-content[data-astro-cid-w67jsori]{display:grid;grid-template-columns:1fr 550px;gap:2rem;align-items:flex-start;position:relative;min-height:100vh}.problem-section[data-astro-cid-w67jsori]{overflow:visible}.editor-section[data-astro-cid-w67jsori]{position:relative;will-change:transform;height:100%;align-self:stretch}.problem-card[data-astro-cid-w67jsori],.io-card[data-astro-cid-w67jsori],.example-card[data-astro-cid-w67jsori]{background:#fff;border:2px solid #e2e8f0;border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem}.problem-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori],.io-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori],.example-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori]{background:#000!important;color:#e2e8f0!important;padding:.75rem!important;border-radius:.5rem!important;border:1px solid #334155!important;margin:.5rem 0!important;font-family:Monaco,Menlo,Courier New,monospace!important}.problem-card[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori],.io-card[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori],.example-card[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{background:#1e293b!important;color:#e2e8f0!important;padding:.25rem .5rem!important;border-radius:.25rem!important;font-family:Monaco,Menlo,Courier New,monospace!important}.problem-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori],.io-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori],.example-card[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{background:transparent!important;padding:0!important}.problem-card[data-astro-cid-w67jsori] h2[data-astro-cid-w67jsori],.io-card[data-astro-cid-w67jsori] h3[data-astro-cid-w67jsori]{color:#1e293b;margin-bottom:1rem}.problem-statement[data-astro-cid-w67jsori]{font-size:1.125rem;line-height:1.8;color:#475569}.examples-section[data-astro-cid-w67jsori] h2[data-astro-cid-w67jsori]{font-size:1.5rem;color:#1e293b;margin-bottom:1rem}.example-card[data-astro-cid-w67jsori] h3[data-astro-cid-w67jsori]{font-size:1.125rem;color:#1e293b;margin-bottom:.75rem}.example-io[data-astro-cid-w67jsori]{margin-bottom:.75rem}.example-io[data-astro-cid-w67jsori] strong[data-astro-cid-w67jsori]{color:#475569;display:block;margin-bottom:.25rem}.example-io[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori]{background:#000!important;color:#e2e8f0!important;padding:.75rem!important;border-radius:.5rem!important;overflow-x:auto;font-family:Monaco,Menlo,Courier New,monospace!important;font-size:.9375rem!important;border:1px solid #334155!important;margin:0!important}.example-io[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{color:#e2e8f0!important;background:transparent!important;padding:0!important;border-radius:0!important;font-size:inherit!important}.hints-section[data-astro-cid-w67jsori]{background:#fef3c7;border:2px solid #f59e0b;border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem}.hints-section[data-astro-cid-w67jsori] h3[data-astro-cid-w67jsori]{color:#92400e;margin-bottom:1rem}.hints-section[data-astro-cid-w67jsori] ul[data-astro-cid-w67jsori]{color:#78350f;line-height:1.8}.editor-sticky[data-astro-cid-w67jsori]{position:sticky!important;top:5rem!important;background:#fff;border:2px solid #e2e8f0;border-radius:1rem;padding:1.5rem;box-shadow:0 4px 6px #0000000d;transition:box-shadow .3s ease;max-height:calc(100vh - 6rem);overflow-y:auto;z-index:50;align-self:flex-start;will-change:transform}.editor-sticky[data-astro-cid-w67jsori]:hover{box-shadow:0 8px 16px #0000001a}.editor-section[data-astro-cid-w67jsori] h2[data-astro-cid-w67jsori]{font-size:1.5rem;color:#1e293b;margin-bottom:.5rem}.editor-hint[data-astro-cid-w67jsori]{color:#64748b;font-size:.875rem;margin-bottom:1rem}.editor-controls[data-astro-cid-w67jsori]{display:flex;gap:.5rem;margin-bottom:1rem}.btn[data-astro-cid-w67jsori]{padding:.625rem 1rem;border:none;border-radius:.5rem;font-weight:500;cursor:pointer;transition:all .2s;font-size:.9375rem}.btn[data-astro-cid-w67jsori]:disabled{opacity:.5;cursor:not-allowed}.btn-primary[data-astro-cid-w67jsori]{background:#3b82f6;color:#fff}.btn-primary[data-astro-cid-w67jsori]:hover:not(:disabled){background:#2563eb}.btn-secondary[data-astro-cid-w67jsori]{background:#64748b;color:#fff}.btn-secondary[data-astro-cid-w67jsori]:hover{background:#475569}.btn-success[data-astro-cid-w67jsori]{background:#22c55e;color:#fff}.btn-success[data-astro-cid-w67jsori]:hover:not(:disabled){background:#16a34a}#code-editor-container[data-astro-cid-w67jsori]{border:2px solid #e2e8f0;border-radius:.5rem;overflow:hidden;margin-bottom:1rem}.CodeMirror[data-astro-cid-w67jsori]{height:250px!important;font-family:Monaco,Menlo,Courier New,monospace;font-size:14px}.CodeMirror[data-astro-cid-w67jsori] .CodeMirror-selected[data-astro-cid-w67jsori],.CodeMirror[data-astro-cid-w67jsori].cm-s-material-darker .CodeMirror-selected[data-astro-cid-w67jsori],.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-selected[data-astro-cid-w67jsori],div[data-astro-cid-w67jsori].CodeMirror-selected,.CodeMirror-selectedtext[data-astro-cid-w67jsori]{background:#80cbc466!important}.CodeMirror-focused[data-astro-cid-w67jsori] .CodeMirror-selected[data-astro-cid-w67jsori],.CodeMirror[data-astro-cid-w67jsori].cm-s-material-darker.CodeMirror-focused .CodeMirror-selected[data-astro-cid-w67jsori],.cm-s-material-darker[data-astro-cid-w67jsori].CodeMirror-focused .CodeMirror-selected[data-astro-cid-w67jsori]{background:#80cbc480!important}.CodeMirror[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori].CodeMirror-line>span[data-astro-cid-w67jsori]::-moz-selection,.CodeMirror[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori].CodeMirror-line>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::-moz-selection,.CodeMirror-line[data-astro-cid-w67jsori]::-moz-selection,.CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::-moz-selection,.CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::-moz-selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]::-moz-selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::-moz-selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::-moz-selection{background:#80cbc466!important}.CodeMirror[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori].CodeMirror-line>span[data-astro-cid-w67jsori]::selection,.CodeMirror[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori].CodeMirror-line>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::selection,.CodeMirror-line[data-astro-cid-w67jsori]::selection,.CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::selection,.CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]::selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::selection,.cm-s-material-darker[data-astro-cid-w67jsori] .CodeMirror-line[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]>span[data-astro-cid-w67jsori]::selection{background:#80cbc466!important}.output-section[data-astro-cid-w67jsori]{margin-top:1rem}.output-header[data-astro-cid-w67jsori]{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#0f172a;color:#94a3b8;font-size:.875rem;border-radius:.5rem .5rem 0 0}.status[data-astro-cid-w67jsori]{font-size:.8125rem;color:#64748b}#output-area[data-astro-cid-w67jsori]{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:0 0 .5rem .5rem;font-family:Monaco,Menlo,Courier New,monospace;font-size:.875rem;min-height:150px;max-height:200px;overflow-y:auto}.output-line[data-astro-cid-w67jsori]{margin-bottom:.25rem}.output-line[data-astro-cid-w67jsori].stderr{color:#ef4444}.loading[data-astro-cid-w67jsori],.ready[data-astro-cid-w67jsori]{color:#64748b;font-style:italic;text-align:center;padding:2rem}.error[data-astro-cid-w67jsori]{color:#ef4444;padding:1rem}.judge-result-section[data-astro-cid-w67jsori]{margin-top:1rem}.judge-header[data-astro-cid-w67jsori]{padding:.75rem 1rem;background:#0f172a;color:#94a3b8;font-size:.875rem;border-radius:.5rem .5rem 0 0}#judge-result-content[data-astro-cid-w67jsori]{background:#1e293b;color:#e2e8f0;padding:1rem;border-radius:0 0 .5rem .5rem;max-height:400px;overflow-y:auto}.judging[data-astro-cid-w67jsori]{text-align:center;padding:2rem;color:#94a3b8;font-style:italic}.test-result[data-astro-cid-w67jsori]{background:#0f172a;border-radius:.5rem;padding:1rem;margin-bottom:1rem}.test-result[data-astro-cid-w67jsori].test-passed{border-left:4px solid #22c55e}.test-result[data-astro-cid-w67jsori].test-failed{border-left:4px solid #ef4444}.test-header[data-astro-cid-w67jsori]{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;font-weight:600}.test-status[data-astro-cid-w67jsori],.test-details[data-astro-cid-w67jsori]{font-size:.875rem}.test-output[data-astro-cid-w67jsori]{margin-bottom:.5rem}.test-output[data-astro-cid-w67jsori] strong[data-astro-cid-w67jsori]{display:block;margin-bottom:.25rem;color:#94a3b8}.test-output[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori]{background:#000!important;color:#e2e8f0!important;padding:.5rem!important;border-radius:.25rem!important;overflow-x:auto;border:1px solid #1e293b!important;font-family:Monaco,Menlo,Courier New,monospace!important;font-size:.875rem!important;margin:0!important}.test-output[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{color:#e2e8f0!important;background:transparent!important;padding:0!important;border-radius:0!important;font-size:inherit!important}#judge-result-content[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{background:#000!important;color:#e2e8f0!important;padding:.25rem .5rem!important;border-radius:.25rem!important}#judge-result-content[data-astro-cid-w67jsori] pre[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{background:transparent!important;padding:0!important}.final-result[data-astro-cid-w67jsori]{border-radius:.5rem;padding:1.5rem;text-align:center;margin-top:1rem}.final-result[data-astro-cid-w67jsori].success{background:#064e3b;color:#6ee7b7}.final-result[data-astro-cid-w67jsori].failure{background:#7f1d1d;color:#fca5a5}.final-result[data-astro-cid-w67jsori].forbidden{background:#78350f;color:#fcd34d}.final-result[data-astro-cid-w67jsori] h3[data-astro-cid-w67jsori]{margin-bottom:.5rem}.forbidden-list[data-astro-cid-w67jsori]{text-align:left;margin:1rem auto;max-width:600px}.forbidden-list[data-astro-cid-w67jsori] li[data-astro-cid-w67jsori]{margin:.5rem 0;padding:.5rem;background:#0003;border-radius:.5rem}.forbidden-list[data-astro-cid-w67jsori] code[data-astro-cid-w67jsori]{color:#fef3c7;background:#0000004d;padding:.25rem .5rem;border-radius:.25rem;font-weight:700}.modal[data-astro-cid-w67jsori]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content[data-astro-cid-w67jsori]{background:#fff;padding:2rem;border-radius:1rem;max-width:500px;max-height:90vh;overflow-y:auto}.modal-content-cert[data-astro-cid-w67jsori]{background:#fff;padding:2rem;border-radius:1rem;max-width:900px;max-height:90vh;overflow-y:auto}.name-input[data-astro-cid-w67jsori]{width:100%;padding:.75rem;font-size:1.125rem;border:2px solid #e2e8f0;border-radius:.5rem;margin:1rem 0}.modal-actions[data-astro-cid-w67jsori]{display:flex;gap:1rem;justify-content:center}@media (min-width: 1025px){.exercise-content[data-astro-cid-w67jsori]{display:grid;grid-template-columns:1fr 550px}.editor-sticky[data-astro-cid-w67jsori]{position:sticky!important;top:5rem!important;max-height:calc(100vh - 6rem)!important}}@media (max-width: 1024px){.exercise-content[data-astro-cid-w67jsori]{grid-template-columns:1fr!important}.editor-sticky[data-astro-cid-w67jsori]{position:static!important;max-height:none!important}}@media (max-width: 768px){.exercise-container[data-astro-cid-w67jsori]{padding:1rem}.CodeMirror[data-astro-cid-w67jsori]{height:250px!important;font-size:13px}#output-area[data-astro-cid-w67jsori]{max-height:150px;font-size:.8125rem}}.test-output pre{background:#000!important;color:#e2e8f0!important;padding:.5rem!important;border-radius:.25rem!important;border:1px solid #1e293b!important;font-family:Monaco,Menlo,Courier New,monospace!important;font-size:.875rem!important;margin:0!important}.test-output pre code{color:#e2e8f0!important;background:transparent!important;padding:0!important;border-radius:0!important;font-size:inherit!important}#judge-result-content code{background:#000!important;color:#e2e8f0!important;padding:.25rem .5rem!important;border-radius:.25rem!important}#judge-result-content pre code{background:transparent!important;padding:0!important}
