body{font-family:Inter,Roboto,Open Sans,sans-serif;margin:0;padding:0;background-color:#070c14;color:#e6edff;display:flex;justify-content:center;width:100%;line-height:1.55}#problem-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));justify-items:center;gap:1.5rem;padding:1.5rem 1.75rem 2rem;margin:0 auto 2rem;width:100%;max-width:940px;box-sizing:border-box}.problem-card{background:#141b2b;border-radius:.65rem;box-shadow:0 16px 38px #0308188c,0 2px 8px #bed0ff14;padding:.6rem;width:260px;min-height:138px;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease;overflow:hidden}.problem-card.highlighted{animation:cardFlash .45s ease-in-out alternate 6}@keyframes cardFlash{0%{box-shadow:0 16px 38px #0308188c,0 2px 10px #cde1ff2e}to{box-shadow:0 16px 38px #0308188c,0 0 24px #88b3ffbf}}.problem-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px #2d70ff59}.problem-header{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:0}.problem-id{font-size:.88rem;font-weight:600;color:#f5f7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.problem-content{margin:0 0 .42rem;font-size:.85rem;color:#c3d0ff;overflow:hidden;display:flex;flex-direction:column;flex:1}.problem-content p{margin-bottom:.32rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.problem-status-row{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:space-between;min-height:24px;overflow:visible}.problem-status-row.is-empty{justify-content:flex-end}.problem-hints{display:none}.show-details{background:#273974;color:#f5f7ff;border:1px solid #4258a8;padding:.38rem .6rem;border-radius:.6rem;cursor:pointer;width:100%;font-size:.84rem;font-weight:600;transition:background .2s ease,color .2s ease,border-color .2s ease;margin-top:.35rem}.show-details:hover{background:#3451a3;color:#fff;border-color:#5875d9}.timestamp{color:#97a3cc;font-size:.82rem;margin-top:.45rem}.response-popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:2000}.submit-popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.response-content{background-color:#131a28;color:#e6edff;padding:2rem;border-radius:12px;width:80%;height:80%;max-width:1200px;overflow-y:auto;box-shadow:0 24px 60px #0000008c}.problem-input{width:100%;margin:1rem 0;font-family:JetBrains Mono,monospace;font-size:1rem;line-height:1.4;padding:.75rem .85rem;border-radius:.75rem;border:1px solid #30405f;background:#0e1320;color:#d7e4ff;box-sizing:border-box}.action-buttons{display:flex;gap:1rem;margin:1.5rem 0;flex-wrap:wrap}.action-buttons button{flex:1 1 220px;min-height:38px;padding:.6rem .85rem;background-color:#1f2b4d;color:#f0f4ff;border:1px solid #3a4f8f;border-radius:.7rem;cursor:pointer;font-size:.92rem;font-weight:600;transition:background .2s ease,color .2s ease,border-color .2s ease}.action-buttons button:hover{background-color:#2c3c6b;color:#fff;border-color:#586ec5}.popup-buttons{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.popup-buttons button:last-child{background-color:#2d3648}.popup-form{position:relative;z-index:1001}.popup-form textarea,.popup-form input{width:100%;margin:10px 0;padding:10px;border:1px solid #3a4f8f;border-radius:6px;background:#101728;color:#dbe4ff;font-family:monospace;z-index:1002}.validation-message{border-radius:.75rem;padding:.75rem 1rem;margin-top:.75rem;font-size:.9rem;line-height:1.45}.validation-ok{background:#28614047;border:1px solid rgba(78,176,120,.45);color:#9df2bc}.validation-error{background:#8e2d2d52;border:1px solid rgba(211,104,104,.48);color:#ffb3b3}.validation-count{font-weight:600;margin-bottom:6px}.validation-list{margin:0;padding-left:18px}.validation-hints{display:flex;flex-direction:column;gap:4px}.validation-hint{color:#9af}.popup-buttons button[disabled]{background-color:#1c2435;color:#4e5b7c;cursor:not-allowed}.onboarding-card,.sample-problem-card{background:#111725;border-radius:.9rem;box-shadow:0 18px 44px #03081899;padding:1.4rem;margin:1rem 1.5rem 1.5rem;max-width:900px;width:calc(100% - 3rem);box-sizing:border-box}.onboarding-card h2{margin-top:0;font-size:1.35rem;font-weight:600;color:#f0f4ff}.onboarding-card ol{padding-left:20px;margin:10px 0 0}.onboarding-card li{margin-bottom:8px;line-height:1.4}.sample-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sample-description{margin:12px 0;color:#9da7c9;font-size:.95rem}.solve-sample-button{background:#1f2b4d;color:#f0f4ff;border:1px solid #3a4f8f;padding:.6rem 1rem;border-radius:.7rem;cursor:pointer;font-size:.9rem;font-weight:600;transition:background .2s ease,color .2s ease,border-color .2s ease;min-height:38px}.solve-sample-button:hover{background:#2c3c6b;color:#fff;border-color:#586ec5}.solve-sample-button[disabled]{background:#141c30;border-color:#25324f;cursor:not-allowed;color:#4f5c87}.sample-picker{background:#0f1626d9;border:1px solid rgba(70,90,155,.45);border-radius:8px;padding:12px;margin-top:10px}.sample-heading{font-weight:600;margin-bottom:8px;font-size:.95rem;color:#dde5ff}.sample-button-row{display:flex;flex-wrap:wrap;gap:8px}.sample-button-row button{background:#171f31;border:1px solid #2e3e6a;color:#a7bcff;padding:.45rem .85rem;border-radius:.75rem;cursor:pointer;font-size:.83rem;font-weight:500;transition:all .2s ease}.sample-button-row button:hover{background:#253353;color:#d7e0ff;border-color:#445b96}.problem-status-pill{display:inline-flex;align-items:center;justify-content:center;height:24px;min-width:88px;padding:0 .6rem;border-radius:999px;font-size:.74rem;font-weight:600;white-space:nowrap;border:1px solid rgba(126,142,221,.45);overflow:visible;margin-right:6px}.problem-status-pill.align-right{margin-left:auto}.status-solved{background:#206c4e99;color:#9bf0b8;transform-origin:center;opacity:1;transform:scale(1)}.status-solved.animate{animation:solvedBadgeEntrance .5s ease-out forwards;animation-delay:2s;opacity:0;transform:scale(.6)}@keyframes solvedBadgeEntrance{0%{opacity:0;transform:scale(.6)}45%{opacity:1;transform:scale(1.02)}70%{transform:scale(.96)}to{opacity:1;transform:scale(1)}}.status-open{background:#2a39628c;color:#c4d1ff}.status-posted{background:#56428f99;color:#e5d4ff}.problem-status-hint{margin-top:.35rem;font-size:.8rem;color:#808aa9}.problem-card.placeholder{visibility:hidden}.badge-posted{background:#56428f99;color:#e5d4ff;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;margin-left:.75rem;font-weight:500}.placeholder{visibility:hidden;background:none;box-shadow:none}.response-content pre{background:#101725e6;padding:15px;border-radius:8px;font-family:monospace;overflow-x:auto;margin:10px 0;color:#cdd9ff}.problem-input.single-line{height:2rem;resize:none}button{border-radius:8px;border:1px solid #3a4f8f;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1b2644;color:#ebf0ff;cursor:pointer;transition:border-color .25s,background-color .25s,color .25s}button:hover{border-color:#586ec5;background-color:#283865;color:#fff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}
