.school-problem-dialog,.site-admin-main{font:14px/1.5 Arial,sans-serif;color:#24242b}
.school-problem-dialog{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #dcc4c8;border-radius:12px;padding:22px;background:white}
.school-problem-dialog::backdrop{background:#16151a80}
.school-problem-dialog h2{margin:0;font-size:20px}.problem-form-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}
.school-problem-dialog label,.problem-report-card label{display:grid;gap:6px;margin:12px 0}
.school-problem-dialog input,.school-problem-dialog textarea,.problem-report-card select,.problem-report-card textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d8c5c8;border-radius:7px;padding:10px;font:16px/1.4 Arial}
.school-problem-dialog button,.site-admin-main button{border:1px solid #be1e2d;border-radius:7px;padding:9px 13px;background:white;color:#9d1724;font:14px Arial;cursor:pointer}
.school-problem-dialog button[type=submit]{background:#be1e2d;color:white}.problem-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:14px}
.problem-page{color:#647083;font-size:12px;overflow-wrap:anywhere}.problem-preview img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px 0}
.problem-selection{position:fixed;inset:0;z-index:2147483646;touch-action:none;cursor:crosshair;background:#18345212}
.problem-selection-hint{position:absolute;top:8px;left:50%;transform:translateX(-50%);max-width:95%;padding:8px 12px;border-radius:8px;background:#173e68;color:white;font:13px Arial;text-align:center;z-index:1}
.problem-selection-hint button{margin-left:10px}.problem-region{position:absolute;border:2px solid #1869bd;box-sizing:border-box;background:#216bbb18;pointer-events:none}
.site-admin-main{box-sizing:border-box;max-width:1050px;margin:auto;padding:24px}.site-admin-tabs{display:flex;gap:8px;border-bottom:1px solid #ddd;margin-bottom:24px}.site-admin-tabs a{padding:12px;border-bottom:3px solid #be1e2d;color:#a41b2a;text-decoration:none}
.problem-report-card{padding:20px;border:1px solid #dfdfe6;border-radius:10px;margin:18px 0;background:#fff;overflow-wrap:anywhere}.problem-report-card h3{margin:0}.problem-report-description{white-space:pre-wrap}.problem-report-card img{max-width:100%;max-height:330px;object-fit:contain;display:block}.site-admin-main .problem-delete{background:#be1e2d;color:white}.site-admin-main #site-admin-message{color:#237045}
