@font-face{font-family:MathAppRound;src:url(new-problem-assets/round-regular.woff2) format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:MathAppRound;src:url(new-problem-assets/round-heavy.woff2) format('woff2');font-weight:700 900;font-display:swap}
/* These tokens and all rules apply only while the registration view is mounted. */
body:has(.new-problem-page){--accent:#58b900;--accent-soft:#f0f9e5;--ink:#454b51;--muted:#75818a;--line:#e4e9ed;--font:MathAppRound,"Malgun Gothic",sans-serif;background:#fff;font-size:15px}
body:has(.new-problem-page) header.top{border-bottom:2px solid #f0f2f3;background:#fffffff5;backdrop-filter:blur(10px)}
body:has(.new-problem-page) header.top .bar{max-width:1180px;min-height:78px;gap:24px}
body:has(.new-problem-page) header.top .brand{color:#58b900;font-size:25px;display:flex;align-items:center;gap:9px;letter-spacing:-1px}
body:has(.new-problem-page) header.top .brand:before{content:'+';width:29px;height:29px;border-radius:9px;transform:rotate(-8deg);background:#58b900;color:#fff;display:grid;place-items:center;font-size:27px;line-height:1}
body:has(.new-problem-page) header.top nav a{font-size:13px;border-radius:10px;padding:8px 10px}
body:has(.new-problem-page) header.top .right{font-size:11px;gap:8px}
body:has(.new-problem-page) header.top .right a,body:has(.new-problem-page) header.top .right button{font-size:11px}
body:has(.new-problem-page) #view{max-width:1072px;padding:24px 16px 60px}
.new-problem-page a{color:#1596c5;text-decoration:none;font-weight:800}
.new-breadcrumb{display:flex;justify-content:space-between;gap:20px;font-size:13px}
.new-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 36px 28px}
.new-eyebrow{font-weight:800;font-size:12px;color:#7e9d65;letter-spacing:.3px}
.new-hero h1{font-size:37px;line-height:1.35;letter-spacing:-1.1px;margin:12px 0 15px;font-weight:800}
.new-hero h1 em{font-style:normal;color:#58b900}
.new-hero p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}
.new-mascot{width:225px;height:225px;object-fit:contain;margin-right:38px}
.new-section-heading{margin-bottom:20px}
.new-section-heading h2{font-size:21px;margin:0 0 6px;letter-spacing:-.5px}
.new-section-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}
.new-upload-panel{padding:28px;background:#f8fbf5;border:2px solid #e8efdf;border-radius:24px}
.new-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.new-upload-card{min-width:0;padding:21px;background:#fff;border:2px solid #e2e9dc;border-bottom:5px solid #dce6d3;border-radius:19px}
.new-upload-card.solution-card{border-color:#dfe9ef;border-bottom-color:#d5e4ec}
.new-upload-label{display:flex;align-items:center;gap:9px;margin-bottom:15px}
.new-upload-label label{margin:0;font-size:17px;font-weight:800}
.new-required,.new-optional{font-weight:800;font-size:11px;border-radius:7px;padding:3px 8px;background:#eef8e2;color:#5d991d}
.new-optional{background:#edf7fc;color:#4592b1}
.new-problem-page .drop{min-height:194px;border:2px dashed #bcd89d;border-radius:15px;background:#fbfef7;padding:18px;transition:background .15s,border-color .15s}
.new-problem-page .solution-card .drop{border-color:#bad8e7;background:#f7fcff}
.new-problem-page .drop:hover,.new-problem-page .drop.over{background:#f0f9e5;border-color:#65ad22}
.new-drop-empty{display:flex;flex-direction:column;align-items:center;gap:8px}
.new-drop-empty[hidden]{display:none}
.new-file-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#eaf6dc;color:#69a52e;margin-bottom:5px}
.new-file-icon svg{width:31px;height:31px}
.solution-card .new-file-icon{color:#249ecb;background:#e7f5fd}
.new-drop-empty b{font-size:15px;color:#63844b}
.solution-card .new-drop-empty b{color:#558198}
.new-drop-empty small{font-size:12px;color:#89958b}
.new-problem-page .drop img{max-height:260px;object-fit:contain;border-radius:9px}
.new-problem-page .drop .clear{background:#fff;border:2px solid #e0e6e9;border-bottom-width:4px;border-radius:9px;color:#64747c;min-height:34px}
.new-problem-page .drop.disabled{opacity:.45}
.new-upload-tip{color:#879280;font-size:11px;line-height:1.7;margin:14px 0 0}
.new-same{display:flex;gap:9px;align-items:flex-start;font-size:12px;font-weight:400;color:#6e7e88;line-height:1.7;margin:14px 0 0;cursor:pointer}
.new-problem-page input[type=checkbox],.new-problem-page input[type=radio]{accent-color:#58a900;width:17px;height:17px;flex-shrink:0;margin:2px 0 0}
.new-options{margin-top:24px;border:2px solid #e5e9ec;border-bottom:5px solid #e5e9ec;border-radius:23px;padding:28px}
.new-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.new-fields>div{min-width:0}
.new-fields label{font-size:14px;margin:0 0 9px;font-weight:800}
.new-fields label small{font-weight:400;font-size:11px;color:#9aa3a9;margin-left:5px}
.new-problem-page input[type=text],.new-problem-page textarea{border:2px solid #e3e8ec;border-radius:12px;padding:12px 14px;background:#fbfcfd;font-size:14px;min-height:49px;line-height:1.6}
.new-problem-page textarea{height:76px;min-height:76px}
.new-problem-page input::placeholder,.new-problem-page textarea::placeholder{color:#9aa5ac}
.new-models{border:0;padding:0;margin:24px 0 0;min-width:0}
.new-models legend{font-size:14px;font-weight:800;margin-bottom:11px;padding:0}
.new-models .providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.new-models .provider{display:flex;align-items:flex-start;gap:10px;border:2px solid #e3e8ec;border-bottom-width:4px;border-radius:13px;padding:14px;margin:0;background:#fff;min-width:0;opacity:1}
.new-models .provider>span{min-width:0}
.new-models .provider b{font-size:13px;line-height:1.5;display:block}
.new-models .provider small{font-size:11px;color:#87948b;line-height:1.65;display:block;margin-top:5px}
.new-models .provider:has(input:checked){background:#f3fae9;border-color:#a4d06d;border-bottom-color:#92bf5d}
.new-models .provider.off{background:#f7f8f9;color:#929ba2;border-color:#e8ecee}
.new-models .provider.off small{color:#949da4}
.new-submit{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 4px 0}
.new-submit b{font-size:14px}
.new-submit p{font-size:12px;color:#87928b;line-height:1.7;margin:6px 0 0}
.new-problem-page #start{display:flex;align-items:center;justify-content:center;gap:36px;min-width:204px;min-height:53px;padding:13px 24px;background:#58b900;border:2px solid #58b900;border-bottom:5px solid #469600;border-radius:14px;font-size:16px;font-weight:800;color:white}
.new-problem-page #start:hover:not(:disabled){background:#65c513;border-color:#65c513;border-bottom-color:#469600}
.new-problem-page #start:active:not(:disabled){transform:translateY(3px);border-bottom-width:2px}
.new-problem-page #start:disabled{opacity:1;background:#e8eddf;border-color:#e8eddf;border-bottom-color:#d3dcc7;color:#9aa58c}
.new-after-note{text-align:center;font-size:12px;color:#929d89;margin:25px 0 0}
.new-problem-page :is(a,button,input,textarea,.drop):focus-visible{outline:3px solid #f5b63d;outline-offset:4px}
@media(max-width:1000px){body:has(.new-problem-page) header.top .bar{gap:10px 20px}body:has(.new-problem-page) header.top .right{width:100%;justify-content:flex-end}.new-mascot{margin-right:0}.new-models .providers{grid-template-columns:1fr}.new-models .provider{padding:12px 15px}.new-models .provider small{margin-top:3px}}
@media(max-width:700px){body:has(.new-problem-page) header.top .bar{padding:12px 20px;gap:10px;min-height:70px}body:has(.new-problem-page) header.top .brand{font-size:23px}body:has(.new-problem-page) header.top nav{flex:1 1 100%;order:3;justify-content:space-between;gap:0}body:has(.new-problem-page) header.top nav a{padding:6px;font-size:12px}body:has(.new-problem-page) header.top .right{width:auto;margin-left:auto;gap:5px}body:has(.new-problem-page) #model-state{display:none}body:has(.new-problem-page) #view{padding:20px 20px 40px}.new-breadcrumb{font-size:11px}.new-hero{padding:28px 0;gap:8px}.new-hero h1{font-size:27px;letter-spacing:-.8px}.new-eyebrow{font-size:10px}.new-hero p{font-size:12px}.new-mascot{width:115px;height:150px;flex-shrink:0}.new-upload-grid,.new-fields{grid-template-columns:1fr;gap:18px}.new-upload-panel,.new-options{padding:20px 16px;border-radius:20px}.new-section-heading h2{font-size:18px}.new-section-heading p{font-size:12px}.new-upload-card{padding:17px}.new-problem-page .drop{min-height:168px;padding:14px}.new-upload-label label{font-size:15px}.new-drop-empty b{font-size:14px}.new-upload-tip{font-size:11px}.new-options{margin-top:18px}.new-submit{flex-direction:column;align-items:stretch;gap:17px;padding-top:22px}.new-problem-page #start{width:100%}.new-after-note{font-size:11px;line-height:1.8}.new-models{margin-top:23px}}
@media(max-width:370px){.new-mascot{width:88px;height:130px}.new-hero h1{font-size:24px}.new-hero p{font-size:11px}body:has(.new-problem-page) header.top .brand{font-size:20px}body:has(.new-problem-page) header.top .brand:before{width:25px;height:25px}.new-upload-panel,.new-options{padding:18px 12px}.new-upload-card{padding:14px}}
