*,:before,:after{font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){*,:before,:after{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){*,:before,:after{font-size:16px}}:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;background:var(--bg)}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{--bg:#0f1117;--surface:#1a1d27;--border:#2a2d3a;--text:#e1e4ed;--text-muted:#8b8fa3;--accent:#6c63ff;--accent-hover:#5a52e0;--green:#22c55e;--red:#ef4444;--orange:#f59e0b;--blue:#3b82f6;color:var(--text);background:var(--bg);font-family:Inter,system-ui,-apple-system,sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.app-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex}.header-left{align-items:center;gap:2rem;display:flex}.header-nav{gap:1.25rem;display:flex}.header-nav a{color:var(--text-muted);font-size:.9rem;font-weight:500;text-decoration:none;transition:color .2s}.header-nav a:hover{color:var(--text);text-decoration:none}.logo{font-size:1.4rem;font-weight:700;color:var(--text)!important}.header-right{align-items:center;gap:1rem;display:flex}.user-info{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.9rem;display:flex}.role-badge{text-transform:uppercase;letter-spacing:.03em;border-radius:12px;padding:.15rem .5rem;font-size:.7rem;font-weight:600}.role-badge--admin{background:var(--orange);color:#000}.role-badge--student{background:var(--blue);color:#fff}.btn-header{cursor:pointer;border-radius:8px;padding:.45rem 1rem;font-family:inherit;font-size:.85rem;font-weight:600;transition:background .2s,color .2s;display:inline-block;text-decoration:none!important}.btn-header--login{background:var(--accent);color:#fff!important}.btn-header--login:hover{background:var(--accent-hover)}.btn-header--logout{border:1px solid var(--border);background:0 0;color:var(--text-muted)!important}.btn-header--logout:hover{border-color:var(--red);color:var(--red)!important}.btn-header--dev{border:1px dashed var(--orange);background:0 0;padding:.35rem .7rem;font-size:.75rem;color:var(--orange)!important}.btn-header--dev:hover{background:#f59e0b1a}.app-layout{min-height:calc(100vh - 60px);display:flex}.app-main{flex:1;min-width:0}.page{max-width:800px;margin:2rem auto;padding:0 1.5rem}.loading,.error{text-align:center;padding:3rem 1rem;font-size:1.1rem}.error{color:var(--red)}.back-link{color:var(--text-muted);margin-bottom:1.5rem;font-size:.9rem;display:inline-block}.back-link:hover{color:var(--accent)}.card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.card{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:12px;padding:1.5rem;transition:border-color .2s,transform .2s;display:block}.card:hover{border-color:var(--accent);text-decoration:none;transform:translateY(-2px)}.card h2{margin-bottom:.75rem;font-size:1.15rem}.badge{border-radius:20px;padding:.25rem .7rem;font-size:.8rem;font-weight:600;display:inline-block}.badge--algorithm{background:var(--blue);color:#fff}.badge--endpoint{background:var(--green);color:#fff}.badge--coverage{background:var(--orange);color:#000}.meta{color:var(--text-muted);margin-top:.5rem;font-size:.85rem}.assignment-header{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.assignment-header h1{font-size:1.8rem}.template-block{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:1.5rem 0;padding:1.25rem}.template-block h3{margin-bottom:.5rem}.template-link{word-break:break-all;font-family:JetBrains Mono,monospace;font-size:.9rem}.hint{color:var(--text-muted);margin-top:.75rem;font-size:.85rem}.submit-form{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:2rem;padding:1.5rem}.submit-form h2{margin-bottom:1.25rem;font-size:1.3rem}.submit-form label{flex-direction:column;gap:.4rem;margin-bottom:1rem;display:flex}.submit-form label span{color:var(--text-muted);font-size:.85rem;font-weight:600}.submit-form input{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;outline:none;padding:.7rem 1rem;font-size:1rem;transition:border-color .2s}.submit-form input:focus{border-color:var(--accent)}.submit-form select{background:var(--bg);border:1px solid var(--border);color:var(--text);appearance:none;cursor:pointer;border-radius:8px;outline:none;padding:.7rem 1rem;font-size:1rem;transition:border-color .2s}.submit-form select:focus{border-color:var(--accent)}.submit-form button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;width:100%;padding:.8rem;font-size:1rem;font-weight:600;transition:background .2s}.submit-form button:hover:not(:disabled){background:var(--accent-hover)}.submit-form button:disabled{opacity:.5;cursor:not-allowed}.status-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:1.25rem;margin:1.5rem 0;padding:1.5rem;display:flex}.status-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block}.status-dot--passed{background:var(--green)}.status-dot--failed,.status-dot--error{background:var(--red)}.status-dot--timeout{background:var(--orange)}.status-dot--pending,.status-dot--triggered,.status-dot--running{background:var(--blue)}.status-text{font-size:1.4rem}.status--passed{color:var(--green)}.status--failed,.status--error{color:var(--red)}.status--timeout{color:var(--orange)}.status--pending,.status--triggered,.status--running{color:var(--blue)}.tests-summary{color:var(--text-muted);margin-top:.3rem;font-size:1rem}.submission-details{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.25rem;line-height:1.8}.submission-details p{font-size:.95rem}.polling-hint{text-align:center;color:var(--text-muted);margin-top:1rem;font-size:.85rem}.report{margin-top:2rem}.report h2{margin-bottom:1rem}.report table{border-collapse:collapse;width:100%;font-size:.9rem}.report th,.report td{text-align:left;border-bottom:1px solid var(--border);padding:.7rem .8rem}.report th{background:var(--surface);color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem;font-weight:600}.row--passed td:first-child{border-left:3px solid var(--green)}.row--failed td:first-child{border-left:3px solid var(--red)}.row--clickable{cursor:pointer;transition:background .15s}.row--clickable:hover{background:#6c63ff14}.page-title-row{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.btn-primary{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.65rem 1.25rem;font-size:.95rem;font-weight:600;transition:background .2s}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border);border-radius:16px;width:90%;max-width:520px;max-height:90vh;overflow-y:auto}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.modal-header h2{font-size:1.2rem}.modal-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:.25rem;font-size:1.2rem}.modal-close:hover{color:var(--text)}.modal-body{padding:1.5rem}.modal-body label{flex-direction:column;gap:.4rem;margin-bottom:1rem;display:flex}.modal-body label span{color:var(--text-muted);font-size:.85rem;font-weight:600}.modal-body input,.modal-body select{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;outline:none;padding:.7rem 1rem;font-size:1rem;transition:border-color .2s}.modal-body input:focus,.modal-body select:focus{border-color:var(--accent)}.modal-body select{appearance:none;cursor:pointer}.modal-body .btn-primary{width:100%;margin-top:.5rem}.success-msg{text-align:center;color:var(--green);margin-bottom:1.25rem;font-size:1.1rem}.copy-field{gap:0;display:flex}.copy-field input{border-radius:8px 0 0 8px;flex:1}.copy-field .copy-btn{border-radius:0 8px 8px 0}.clone-field{background:var(--bg);border:1px solid var(--border);border-radius:8px;align-items:center;gap:0;margin-top:.75rem;display:flex;overflow:hidden}.clone-field code{color:var(--text);white-space:nowrap;flex:1;padding:.6rem 1rem;font-family:JetBrains Mono,monospace;font-size:.85rem;overflow-x:auto}.copy-btn{background:var(--border);color:var(--text);cursor:pointer;border:none;flex-shrink:0;padding:.6rem .8rem;font-size:1rem;transition:background .2s}.copy-btn:hover{background:var(--accent)}.btn-link{color:var(--accent);cursor:pointer;background:0 0;border:none;margin-bottom:1rem;padding:0;font-family:inherit;font-size:.85rem;text-decoration:underline}.btn-link:hover{color:var(--accent-hover)}.sidebar{border-left:1px solid var(--border);background:var(--surface);flex-shrink:0;width:300px;padding:1.5rem 1rem;overflow-y:auto}.sidebar__title{color:var(--text);margin-bottom:1rem;font-size:.95rem;font-weight:700}.sidebar__empty{color:var(--text-muted);font-size:.85rem}.sidebar__list{flex-direction:column;gap:.5rem;list-style:none;display:flex}.sidebar__item{background:var(--bg);border:1px solid var(--border);color:var(--text);border-radius:8px;align-items:center;gap:.6rem;padding:.6rem .75rem;transition:border-color .2s,transform .15s;display:flex;text-decoration:none!important}.sidebar__item:hover{border-color:var(--accent);transform:translate(-2px)}.sidebar__info{flex-direction:column;min-width:0;display:flex}.sidebar__assignment{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:600;overflow:hidden}.sidebar__meta{color:var(--text-muted);font-size:.72rem}.sidebar__all-link{text-align:center;margin-top:1rem;font-size:.85rem;display:block}.submissions-group{margin-bottom:2rem}.submissions-group__title{margin-bottom:.75rem;font-size:1.2rem}.submissions-table-wrap{overflow-x:auto}.submissions-table{border-collapse:collapse;width:100%;font-size:.88rem}.submissions-table th,.submissions-table td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:.65rem .75rem}.submissions-table th{background:var(--surface);color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:600}.sub-row--passed{border-left:3px solid var(--green)}.sub-row--failed,.sub-row--error{border-left:3px solid var(--red)}.sub-row--timeout{border-left:3px solid var(--orange)}.sub-row--pending,.sub-row--triggered,.sub-row--running{border-left:3px solid var(--blue)}.sub-status{align-items:center;gap:.4rem;display:inline-flex}.submissions-table code{background:var(--bg);border-radius:4px;padding:.15rem .4rem;font-family:JetBrains Mono,monospace;font-size:.82rem}.btn-sm{color:var(--accent);font-size:.8rem;font-weight:500;text-decoration:none}.btn-sm:hover{text-decoration:underline}.past-attempts{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:2rem;padding:1.5rem}.past-attempts h2{margin-bottom:1rem;font-size:1.2rem}@media (width<=900px){.app-layout{flex-direction:column}.sidebar{border-left:none;border-top:1px solid var(--border);width:100%}}.modal--wide{width:95%;max-width:720px}.ftm-error-type{color:var(--red);background:#ef444426;border-radius:6px;margin-bottom:.75rem;padding:.3rem .8rem;font-size:.85rem;font-weight:600;display:inline-block}.ftm-summary{color:var(--text-muted);margin-bottom:1.25rem;font-size:.9rem}.text-green{color:var(--green)}.text-red{color:var(--red)}.ftm-tests{flex-direction:column;gap:.75rem;display:flex}.ftm-card{background:var(--bg);border:1px solid var(--border);border-left:3px solid var(--red);border-radius:10px;padding:1rem}.ftm-card__name{color:var(--text);margin-bottom:.6rem;font-family:JetBrains Mono,monospace;font-size:.9rem;font-weight:600}.ftm-card__message{color:var(--text-muted);white-space:pre-wrap;word-break:break-word;background:#0003;border-radius:6px;margin:0;padding:.6rem;font-family:JetBrains Mono,monospace;font-size:.8rem}.ftm-diff{grid-template-columns:1fr 1fr;gap:.6rem;display:grid}@media (width<=600px){.ftm-diff{grid-template-columns:1fr}}.value-block{border:1px solid var(--border);border-radius:8px;padding:.6rem}.value-block--expected{background:#22c55e0f;border-color:#22c55e40}.value-block--actual{background:#ef44440f;border-color:#ef444440}.value-block__label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.35rem;font-size:.7rem;font-weight:700;display:block}.value-block__json{color:var(--text);white-space:pre-wrap;word-break:break-word;margin:0;font-family:JetBrains Mono,monospace;font-size:.78rem;line-height:1.5}.value-block__code{color:var(--text);word-break:break-word;font-family:JetBrains Mono,monospace;font-size:.85rem}
