#kd-answer-edit-dialog{width:min(850px,calc(100vw - 32px));max-width:850px;max-height:90dvh;padding:0;color:#e5efff;background:#14253c;border:1px solid #577998;border-radius:18px;overflow:auto}
#kd-answer-edit-dialog::backdrop{background:rgba(2,9,20,.75)}
.kd-correction-shell{padding:26px;min-width:0}
.kd-correction-head{display:flex;justify-content:space-between;align-items:center;gap:18px}
.kd-correction-head h2{margin:0}
.kd-correction-shell textarea,.kd-correction-shell select{width:100%;box-sizing:border-box}
.kd-correction-shell textarea{min-height:180px;resize:vertical}
.kd-revision-text{white-space:pre-wrap;overflow-wrap:anywhere}
.kd-revision-entry,.kd-correction-learning{border:1px solid #48617a;border-radius:12px;padding:16px;margin:18px 0}
.kd-revision-entry{background:#102037}
.kd-history-answer-actions{margin:8px 0 18px}
.kd-correction-shell .actions{flex-wrap:wrap;gap:10px}
@media(max-width:600px){.kd-correction-shell{padding:18px}.kd-correction-head{align-items:flex-start}.kd-correction-head h2{font-size:1.3rem}.kd-correction-shell button{min-height:44px}.kd-correction-shell textarea{font-size:16px}}
