.oh-page{max-width:1160px;margin:auto;color:#243247;font-size:14px}
.oh-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.oh-heading h2{font-size:26px;margin:5px 0 8px;letter-spacing:-1px}.oh-heading p,.oh-help{color:#718096;font-size:13px;line-height:1.7}.oh-eyebrow{color:#6071a0;font-size:10px;font-weight:800;letter-spacing:2px}.oh-save{font-size:12px;color:#52765c;max-width:320px}.oh-save.oh-error{color:#b42318}
.oh-page button{font:inherit;border:1px solid #dbe2ec;background:#fff;color:#34445c;padding:9px 14px;border-radius:9px;cursor:pointer;white-space:nowrap}.oh-page button:hover{background:#f2f5fa}.oh-page button:disabled{opacity:.5;cursor:wait}.oh-page .oh-primary{background:#425ec9;border-color:#425ec9;color:white}.oh-page .oh-primary:hover{background:#344db0}.oh-page .oh-danger{color:#b42318}.oh-page input:not([type=checkbox]):not([type=radio]),.oh-page select,.oh-page textarea{box-sizing:border-box;max-width:100%;border:1px solid #d8e0eb;border-radius:8px;padding:10px 12px;font:inherit;color:#243247;background:white}.oh-page textarea{width:100%;resize:vertical;line-height:1.7}.oh-page input:focus,.oh-page textarea:focus,.oh-page select:focus{outline:2px solid #bac8ff;outline-offset:1px}.oh-page input[type=checkbox],.oh-page input[type=radio]{accent-color:#425ec9;min-width:17px;min-height:17px}
.oh-tabs{display:flex;gap:6px;border-bottom:1px solid #e0e6ee;padding-bottom:12px;margin-bottom:22px}.oh-tabs button{border:0;background:transparent}.oh-tabs button.active,.oh-question-nav button.active{background:#eaf0ff;color:#334db5;font-weight:700}.oh-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}.oh-toolbar h3{margin:0;flex:1}.oh-list{display:grid;gap:12px}.oh-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;border:1px solid #e0e6ee;border-radius:14px;padding:22px}.oh-card h3{margin:9px 0;font-size:17px}.oh-card p{margin:5px 0;color:#718096}.oh-card small{color:#8793a5}.oh-actions{display:flex;gap:7px}.oh-badge{display:inline-block;padding:3px 8px;border-radius:5px;background:#f0f2f5;color:#657286;font-size:11px;font-weight:700}.oh-ready{background:#eaf7ef;color:#247044}.oh-empty{text-align:center;padding:70px 20px;color:#718096;background:white;border:1px dashed #d7dfeb;border-radius:14px}
.oh-bank-title{display:block;margin-bottom:18px}.oh-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}.oh-field>span{font-size:12px;font-weight:700;color:#58677e}.oh-field input,.oh-field select{width:100%}.oh-page details{border-top:1px solid #e8edf4;padding-top:12px;margin-top:12px}.oh-page summary{cursor:pointer;font-weight:600;color:#61718b;padding-bottom:12px}.oh-editor{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start}.oh-question-nav{display:flex;flex-direction:column;gap:6px;position:sticky;top:12px;max-height:70vh;overflow:auto}.oh-question-nav button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.oh-paper{background:#fff;border:1px solid #e0e6ee;border-radius:14px;padding:26px;margin-bottom:18px;min-width:0}.oh-paper h3{margin-top:0}.oh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.oh-answer-editor{border-top:1px solid #e0e6ee;margin-top:24px;padding-top:12px}.oh-problem-image{display:block;max-width:100%;max-height:600px;object-fit:contain;margin:14px 0}.oh-steps{display:flex;gap:24px;margin:16px 0 24px;color:#929eaf}.oh-steps .active{color:#425ec9;font-weight:700}.oh-pick-list{max-height:420px;overflow:auto;margin:16px 0}.oh-pick-list>label{display:flex;gap:12px;align-items:start;border-bottom:1px solid #edf0f6;padding:13px 4px}.oh-pick-list b{font-weight:500}.oh-pick-list small{display:block;margin-top:6px;color:#8793a5}.oh-students{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:20px 0}.oh-students label{display:flex;gap:8px;align-items:center}.oh-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px 0;position:sticky;bottom:0;background:rgba(248,250,253,.96);border-top:1px solid #e0e6ee}
.oh-solve{max-width:800px;margin:auto}.oh-problem{background:white;border:1px solid #e0e6ee;border-radius:14px;padding:26px;margin-bottom:20px}.oh-paper>.oh-problem{border:0;padding:0}.oh-problem-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:20px}.oh-problem-head>span{font-size:12px;color:#8290a5}.oh-problem h3{font-size:17px;line-height:1.8;white-space:pre-wrap}.oh-passage{background:#f7f9fc;border-left:3px solid #c5d0e4;padding:20px;white-space:pre-wrap;line-height:1.95;margin-bottom:20px}.oh-passage u{text-underline-offset:5px;text-decoration-thickness:2px}.oh-options{display:grid;gap:9px}.oh-options label{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e4e9f2;border-radius:8px;cursor:pointer}.oh-feedback{padding:20px;margin-top:24px;border-radius:10px;background:#fff5f1;color:#82452e}.oh-feedback.correct{background:#eef8f1;color:#28633c}.oh-text{white-space:pre-wrap;line-height:1.85}.oh-summary{background:#edf2ff;padding:24px;border-radius:14px;display:flex;align-items:center;gap:24px;margin-bottom:18px}.oh-summary strong{font-size:28px;color:#425ec9}.oh-summary span{color:#61718b}.oh-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.oh-metrics>div{border:1px solid #e0e6ee;background:white;border-radius:12px;padding:20px}.oh-metrics span,.oh-metrics small{display:block;color:#8290a5;font-size:12px}.oh-metrics strong{display:block;font-size:27px;margin:10px 0}.oh-table-wrap{overflow:auto}.oh-page table{width:100%;border-collapse:collapse;white-space:nowrap}.oh-page th,.oh-page td{text-align:left;padding:14px 10px;border-bottom:1px solid #edf0f5;font-size:13px}.oh-page th{color:#8290a5;font-weight:500}.oh-page td small{display:block;margin-top:5px;color:#8290a5}.oh-area-stat{display:flex;align-items:center;gap:18px;margin:16px 0}.oh-area-stat>span{width:90px}.oh-area-stat progress{flex:1;accent-color:#425ec9}.oh-area-stat b{font-size:12px}
@media(max-width:760px){.oh-heading{align-items:start;flex-direction:column;gap:4px}.oh-editor{grid-template-columns:1fr}.oh-question-nav{position:static;flex-direction:row;max-height:none;overflow:auto}.oh-question-nav button{max-width:160px;flex-shrink:0}.oh-grid{grid-template-columns:1fr}.oh-card{align-items:start;flex-direction:column;padding:18px}.oh-paper,.oh-problem{padding:18px}.oh-metrics{grid-template-columns:repeat(2,1fr)}.oh-summary{flex-direction:column;align-items:start;gap:8px}.oh-tabs{overflow:auto}.oh-page{min-width:0}.oh-toolbar>input{width:100%}.oh-steps{gap:14px;font-size:12px}}
.oh-editor[hidden]{display:none}.oh-bulk textarea{min-height:330px;line-height:1.9}.oh-bulk .oh-field{max-width:360px}.oh-bulk-preview{border-top:1px solid #e0e6ee;padding-top:16px}.oh-bulk-item{padding:14px 0;border-bottom:1px solid #edf0f5}.oh-bulk-item small{display:block;margin-top:6px;color:#718096}.oh-bulk-item .oh-error{font-size:12px;color:#b42318}.oh-bulk-preview>button{margin-top:18px}

.oh-page button[data-oh="group-add"]{background:#d9f99d;border-color:#a3d65c;color:#365314}
.oh-page button[data-oh="group-add"]:hover{background:#bef264;border-color:#84cc16}

.oh-deadline-dialog{width:min(480px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #dce3ee;border-radius:16px;padding:24px;color:#18304f;max-height:90vh;overflow:auto}.oh-deadline-dialog::backdrop{background:rgba(15,23,42,.4)}.oh-deadline-dialog .oh-toolbar{margin-top:20px;justify-content:flex-end}.oh-deadline-dialog input{max-width:100%;box-sizing:border-box}
.oh-page button[data-oh="preview"]{background:#15803d;border-color:#15803d;color:#fff}
.oh-page button[data-oh="preview"]:hover{background:#166534;border-color:#166534}
.oh-page button[data-oh="preview"]:focus-visible{outline:3px solid #86efac;outline-offset:2px}
.oh-page .oh-student-link{border:0;background:transparent;color:#334db5;padding:4px 0;font-weight:700;text-decoration:underline;text-underline-offset:3px}.oh-page .oh-student-link:hover{color:#203889;background:#eef2ff}
.oh-image-import{margin-bottom:20px}.oh-image-import summary{cursor:pointer;font-weight:700}.oh-image-body{padding-top:12px}.oh-image-drop{padding:18px;border:2px dashed #c5d0e4;border-radius:10px;background:#f7f9fc}.oh-image-drop input{display:block;margin-top:10px;max-width:100%}.oh-image-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.oh-image-columns>div{min-width:0}.oh-image-columns canvas{display:block;width:100%;height:auto;border:1px solid #dce3ee;cursor:crosshair;touch-action:none}.oh-image-columns textarea{width:100%;min-height:320px;line-height:1.8}.oh-image-import select{max-width:100%;min-width:0}.oh-image-import [data-hi-status]{color:#425bd6;white-space:pre-wrap}.oh-image-import button.active{background:#edf2ff;color:#334db5}.oh-image-import button{overflow-wrap:anywhere}
@media(max-width:760px){.oh-image-columns{grid-template-columns:1fr}.oh-image-import .oh-toolbar{flex-wrap:wrap}.oh-image-import select{width:100%}}
