.problem-form,.problem-card{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:22px;margin:16px 0;max-width:100%}
.problem-form{max-width:850px}.problem-form label,.problem-card label{display:block;font-weight:600;margin:14px 0 6px}.problem-form textarea,.problem-card textarea,.problem-card select{display:block;width:100%;margin-top:6px}.problem-form input{max-width:100%}.problem-context{font-size:13px;color:var(--steel);line-height:1.7}.problem-text{white-space:pre-wrap;overflow-wrap:anywhere}.problem-card summary{cursor:pointer;overflow-wrap:anywhere}.problem-card .tag{margin:0 8px}.problem-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;flex-wrap:wrap}.problem-pager button{padding:10px 16px;cursor:pointer}#problemPreview{max-width:100%;max-height:280px;display:block;margin:12px 0}#problemPreview[hidden]{display:none}#problemResult{font-weight:600}.problem-card h3{margin:16px 0 6px}
