:root{
  --task-blue:#315d8f;
  --task-blue-soft:#eef5fb;
  --task-line:#dce6ef;
  --task-muted:#66758a;
  --task-green:#22a06b;
  --task-red:#d93636;
  --task-amber:#d58a12;
}

.task-card.custom-task{
  display:block;
  margin-top:16px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--task-line);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 24px rgba(39,69,102,.055);
}

.custom-material-snapshot .task-card.custom-task[data-number]{
  display:block;
  grid-template-columns:none;
  align-items:initial;
  gap:0;
}

.task-card .task-identifiers{display:flex;justify-content:flex-end;align-items:baseline;flex-wrap:wrap;gap:6px 14px;padding:0 18px 12px;color:var(--task-muted);font-size:11px;line-height:1.5}
.task-card .task-identifiers span{min-width:0;max-width:100%;text-align:right;overflow-wrap:anywhere;user-select:text}

.task-card-head{
  --task-head-font-size:14px;
  --task-head-font-weight:400;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;
  gap:12px;
  padding:15px 18px;
  border-bottom:1px solid var(--task-line);
  background:#fbfdff;
}

.task-card-number{
  display:grid;
  width:32px;
  height:32px;
  place-items:center;
  border-radius:50%;
  background:var(--task-blue-soft);
  color:var(--task-blue);
  font-size:var(--task-head-font-size);
  font-weight:800;
  line-height:1;
}

.task-card-prompt{
  min-width:0;
  padding-top:6px;
  color:#17273a;
  font-size:var(--task-head-font-size);
  font-weight:var(--task-head-font-weight);
  line-height:1.45;
  letter-spacing:0;
  text-align:justify;
  text-align-last:left;
  text-justify:inter-word;
  white-space:pre-wrap;
}

.task-card.custom-task .task-card-prompt h3,
.task-card.custom-task .task-card-prompt p,
.task-card.custom-task .task-card-prompt div{
  margin:0;
  color:inherit;
  font:inherit;
  text-align:inherit;
  text-align-last:inherit;
  white-space:inherit;
}

.task-card.custom-task .task-card-prompt p+p,
.task-card.custom-task .task-card-prompt div+div{margin-top:.65em}

/* Numbered answer options use consecutive lines; prose keeps paragraph spacing. */
.task-card.custom-task .task-card-prompt .task-prompt-option+.task-prompt-option{margin-top:0}

.task-card-status,
.task-card-head .status{
  display:block;
  width:12px;
  height:12px;
  min-width:12px;
  min-height:12px;
  margin:10px 0 0;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:50%;
  background:#aeb8c5;
  color:transparent;
  font-size:0;
  line-height:0;
}

.task-card-status.good,
.task-card-head .status.good{background:var(--task-green)}
.task-card-status.bad,
.task-card-head .status.bad{background:var(--task-red)}
.task-card-status.manual,
.task-card-head .status.manual{background:var(--task-amber)}

.task-card-body{
  display:grid;
  gap:14px;
  padding:18px;
  color:#17273a;
  font-size:14px;
  line-height:1.65;
}

body:is(.oge-constructor-ui,.ege-obz-constructor-ui) #tasks{
  display:grid;
  gap:16px;
  margin-top:18px;
}

body:is(.oge-constructor-ui,.ege-obz-constructor-ui) #tasks>.task-card.custom-task{
  margin-top:0;
}

.task-card .obz-answer-source-row{
  display:flex;
  width:100%;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.task-card .obz-answer-source-row>.task-answer-row,
.task-card .obz-answer-source-row>.answerRow{
  flex:0 1 auto;
  margin:0;
}

.task-card .obz-source-code{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  flex:0 0 auto;
  align-items:center;
  margin:0 0 0 auto;
  padding:5px 8px;
  border:1px solid #d8e3ee;
  border-radius:999px;
  background:#f5f8fb;
  color:#52677b;
  font-size:11px;
  font-weight:750;
  text-decoration:none;
}

.task-card-body>.custom-rich,
.task-card-body>.custom-short-task,
.task-card-body>.custom-extended-task,
.task-card-body>.custom-letter-text,
.task-card-body>.lesson-preview-rich,
.task-card-body>.lesson-preview-task-text,
.task-card-body>.custom-work-review-question,
.task-card-body>.custom-work-review-response-text,
.task-card-body>.editableText,
.task-card-body>.essay-rich-input{
  color:#17273a;
  font-size:14px;
  font-weight:400;
  line-height:1.65;
  text-align:justify;
  text-align-last:left;
  text-justify:inter-word;
  white-space:pre-wrap;
}

.task-card-body .custom-rich p,
.task-card-body .custom-rich div,
.task-card-body .lesson-preview-rich p,
.task-card-body .lesson-preview-rich div,
.task-card-body .custom-work-review-rich p,
.task-card-body .custom-work-review-rich div,
.task-card-body .editableText p,
.task-card-body .editableText div,
.task-card-body .essay-rich-input p,
.task-card-body .essay-rich-input div{margin:0}

.task-card-body .custom-rich p+p,
.task-card-body .custom-rich div+div,
.task-card-body .lesson-preview-rich p+p,
.task-card-body .lesson-preview-rich div+div,
.task-card-body .custom-work-review-rich p+p,
.task-card-body .custom-work-review-rich div+div,
.task-card-body .editableText p+p,
.task-card-body .editableText div+div,
.task-card-body .essay-rich-input p+p,
.task-card-body .essay-rich-input div+div{margin-top:.65em}

.task-card .custom-short-task,
.task-card .custom-extended-task{
  margin:0;
  padding:13px 14px;
  border:1px solid #e7edf3;
  border-radius:7px;
  background:#fafcfe;
}

.task-card .custom-answer{
  box-sizing:border-box;
  width:150px;
  max-width:100%;
  height:38px;
  min-height:38px;
  padding:6px 10px;
  border:1px solid #cdd9e5;
  border-radius:7px;
  background:#fff;
  color:#17273a;
  font:inherit;
  font-size:14px;
  outline:0;
}

.task-card .custom-answer:focus{
  border-color:#6c94bd;
  box-shadow:0 0 0 3px rgba(76,120,168,.12);
}

.task-card .custom-answer.is-good{
  border-color:#70bd91;
  background:#eff9f3;
  color:#187447;
  box-shadow:0 0 0 3px rgba(34,160,107,.1);
}

.task-card .custom-answer.is-bad{
  border-color:#df8e8e;
  background:#fff2f2;
  color:#a52f2f;
  box-shadow:0 0 0 3px rgba(217,54,54,.09);
}

.task-card .task-answer-row{
  display:flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:10px;
  margin:0;
}
.task-card .task-answer-label{
  color:#526276;
  font-size:13px;
  font-weight:750;
  line-height:1.3;
}
.task-card .task-editor-answer{
  display:grid;
  min-width:0;
  gap:8px;
}
.task-card[data-answer-type="editor"] .task-editor-answer>.task-answer-label{display:none}

.task-card .custom-options{display:grid;gap:8px}
.task-card .custom-options label{
  display:grid;
  grid-template-columns:20px minmax(0,1fr);
  align-items:start;
  gap:9px;
  padding:10px 12px;
  border:1px solid #e1e9f0;
  border-radius:7px;
  background:#fff;
  font-size:14px;
  line-height:1.45;
  white-space:pre-wrap;
}
.task-card .custom-options input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--task-blue)}
.task-card .custom-options label.is-good{
  border-color:rgba(34,160,107,.55);
  background:rgba(34,160,107,.08);
  color:#187447;
}
.task-card .custom-options label.is-bad{
  border-color:rgba(217,54,54,.5);
  background:rgba(217,54,54,.07);
  color:#a52f2f;
}
.task-card .custom-options label.is-missed{
  border-color:rgba(213,138,18,.55);
  background:rgba(213,138,18,.09);
  color:#805b00;
}

.task-card .word-scatter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.task-card .word-scatter .word-scatter-option{
  display:inline-flex;
  width:auto;
  min-width:0;
  align-items:center;
  gap:0;
  padding:9px 12px;
  border:1px solid #cfdce8;
  border-radius:999px;
  background:#fff;
  color:#263c52;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  cursor:pointer;
  user-select:none;
  transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease;
}
.task-card .word-scatter .word-scatter-option:hover{
  border-color:#7fa2c4;
  box-shadow:0 3px 10px rgba(49,93,143,.1);
}
.task-card .word-scatter .word-scatter-option input{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}
.task-card .word-scatter .word-scatter-option:has(input:focus-visible){
  outline:3px solid rgba(76,120,168,.22);
  outline-offset:2px;
}
.task-card .word-scatter .word-scatter-option.is-selected:not(.is-good):not(.is-bad):not(.is-missed),
.task-card .word-scatter .word-scatter-option:has(input:checked):not(.is-good):not(.is-bad):not(.is-missed){
  border-color:var(--task-blue);
  background:var(--task-blue);
  color:#fff;
}
.task-card .word-scatter .word-scatter-option.is-good{border-color:var(--task-green);background:#edf8f2;color:#187447}
.task-card .word-scatter .word-scatter-option.is-bad{border-color:var(--task-red);background:#fff1f1;color:#a52f2f}
.task-card .word-scatter .word-scatter-option.is-missed{border-color:var(--task-amber);background:#fff8e8;color:#805b00}
.task-card .word-scatter .word-scatter-option:has(input:disabled){cursor:default;box-shadow:none}

.task-card .ege-collection-source-choice{display:none!important}
.task-card label.option:has(>.ege-collection-source-choice){grid-template-columns:minmax(0,1fr)}

.task-card .custom-letter-text{
  word-break:normal;
  overflow-wrap:normal;
  line-height:2.15;
}
.task-letter-word{display:inline-block;white-space:nowrap}
.task-card .custom-letter{
  display:inline-block;
  box-sizing:border-box;
  width:32px;
  height:27px;
  min-height:27px;
  margin:0 2px;
  padding:0 2px;
  border:0;
  border-bottom:2px solid var(--task-blue);
  border-radius:0;
  background:transparent;
  color:var(--task-blue);
  font:inherit;
  font-size:14px;
  font-weight:800;
  line-height:25px;
  text-align:center;
  text-align-last:center;
  text-indent:0;
  vertical-align:middle;
  outline:0;
}
.task-card .custom-letter.is-double{width:42px}
.task-card .custom-letter.is-triple{width:42px;font-size:14px}
.task-card .custom-letter.is-quadruple{width:42px;font-size:12px}
.task-card .preview-type-note{margin:0 0 12px;color:#65758a;font-size:14px;line-height:1.5}
.task-card .custom-letter.good,
.task-card .custom-letter.is-good{border-bottom-color:var(--task-green);color:var(--task-green)}
.task-card .custom-letter.bad,
.task-card .custom-letter.is-bad{border-bottom-color:var(--task-red);color:var(--task-red)}
.task-card .custom-letter.is-missed{border-bottom-color:var(--task-amber);color:#8a6200}
.custom-material-snapshot .task-card .custom-letter.is-good:disabled{color:var(--task-green);-webkit-text-fill-color:currentColor}
.custom-material-snapshot .task-card .custom-letter.is-bad:disabled{color:var(--task-red);-webkit-text-fill-color:currentColor}
.custom-material-snapshot .task-card .custom-letter.is-missed:disabled{color:#8a6200;-webkit-text-fill-color:currentColor}

.task-card .preview-answer-columns{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:12px;
}
.task-card .lesson-preview-columns-context{display:grid;gap:14px}
.task-card .lesson-preview-columns-passage,
.task-card .lesson-preview-columns-review{
  display:grid;
  gap:9px;
  padding:14px 16px;
  border:1px solid #e0e6ec;
  border-radius:8px;
  background:#fff;
}
.task-card .lesson-preview-columns-review{background:#f7fafe}
.task-card .lesson-preview-columns-passage h4,
.task-card .lesson-preview-columns-review h4{
  margin:0;
  color:#4b6076;
  font-size:13px;
  font-weight:850;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.task-card .lesson-preview-columns-passage>div,
.task-card .lesson-preview-columns-review>div{
  color:#17273a;
  font-size:14px;
  line-height:1.65;
  text-align:justify;
  text-align-last:left;
  white-space:pre-wrap;
}
.task-card .preview-answer-column{
  min-width:0;
  padding:12px 14px;
  border:1px solid #e0e6ec;
  border-radius:8px;
  background:#fafcfe;
}
.task-card .preview-answer-column h4{
  margin:0 0 9px;
  padding-bottom:9px;
  border-bottom:1px solid #e0e6ec;
  color:#4b6076;
  font-size:13px;
  font-weight:850;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.task-card .preview-answer-column ol{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.task-card .preview-answer-column li{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:5px;
  color:#263c52;
  font-size:14px;
  line-height:1.5;
}
.task-card .preview-answer-column li>span{white-space:pre-line}
.task-card .preview-answer-column li b{color:var(--task-blue)}

.task-card .taskEditor{margin-top:0;border:0;border-radius:0;background:transparent}
.task-card .editorToolbar{margin:0 0 12px;border-color:#dbe4ec;border-radius:7px;background:#fafcfe}
.task-card .editableText,
.task-card .essay-rich-input{
  box-sizing:border-box;
  width:100%;
  height:auto;
  min-height:48px;
  padding:12px 13px;
  overflow-y:visible;
  border:1px solid #dbe4ec;
  border-radius:7px;
  background:#fff;
  outline:0;
}

.custom-task[data-answer-type="punctuation"] .editableText{
  height:auto;
  min-height:48px;
  max-height:none;
  overflow-y:visible;
}

.task-card .essay-editor{overflow:hidden;border:1px solid #dbe4ec;border-radius:7px;background:#fff}
.task-card .essay-editor-toolbar{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px;
  border-bottom:1px solid #dbe4ec;
  background:#fafcfe;
}
.task-card .essay-editor-toolbar button{
  min-width:34px;
  height:32px;
  padding:0 9px;
  border:1px solid #d5e0ea;
  border-radius:6px;
  background:#fff;
  color:#31506f;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}
.task-card .essay-editor-toolbar-divider{width:1px;height:22px;margin:0 2px;background:#d5e0ea}
.task-card .essay-editor .essay-rich-input{min-height:48px;border:0;border-radius:0}
.task-card .essay-rich-input .task-rich-indent,
.task-card .editableText .task-rich-indent{text-indent:1.5em}

.task-card .structured-task{display:grid;gap:8px}
.task-card .structured-task-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 170px;
  align-items:center;
  gap:10px;
  margin:0;
  padding:9px 10px;
  border:1px solid #e4ebf2;
  border-radius:7px;
  background:#fff;
}
.task-card .structured-task-row.is-good{
  border-color:rgba(34,160,107,.55);
  background:rgba(34,160,107,.08);
}
.task-card .structured-task-row.is-bad{
  border-color:rgba(217,54,54,.5);
  background:rgba(217,54,54,.07);
}
.task-card .structured-task-row.is-missed{
  border-color:rgba(213,138,18,.55);
  background:rgba(213,138,18,.09);
}
.task-card .structured-task-row>span,
.task-card .structured-task-row legend{font-size:14px;font-weight:500;line-height:1.4;white-space:pre-wrap}
.task-card .structured-task-row select{width:100%;min-height:38px;padding:7px 32px 7px 9px;border:1px solid #cdd9e5;border-radius:7px;background:#fff;font:inherit}
.task-card fieldset.structured-task-row{grid-template-columns:minmax(0,1fr) auto auto}
.task-card fieldset.structured-task-row legend{display:contents}
.task-card .structured-task-row>label{display:flex;align-items:center;gap:6px;white-space:nowrap}
.task-card fieldset.structured-task-row>label{
  position:relative;
  box-sizing:border-box;
  display:inline-flex;
  min-width:94px;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border:1px solid transparent;
  border-radius:7px;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease;
}
.task-card fieldset.structured-task-row>label:first-of-type{border-color:#b9dfca;background:#edf8f2;color:#287252}
.task-card fieldset.structured-task-row>label:last-of-type{border-color:#efcaca;background:#fff1f1;color:#a43f3f}
.task-card fieldset.structured-task-row>label:hover:first-of-type{border-color:#79bc97;background:#e1f3e9}
.task-card fieldset.structured-task-row>label:hover:last-of-type{border-color:#dc9292;background:#fbe4e4}
.task-card fieldset.structured-task-row>label:has(input:focus-visible){outline:3px solid rgba(49,93,143,.18);outline-offset:2px}
.task-card fieldset.structured-task-row>label:first-of-type:has(input:checked){border-color:#287b55;background:#2f8d62;color:#fff;box-shadow:0 3px 10px rgba(47,141,98,.18)}
.task-card fieldset.structured-task-row>label:last-of-type:has(input:checked){border-color:#aa4848;background:#bd5353;color:#fff;box-shadow:0 3px 10px rgba(189,83,83,.18)}
.task-card fieldset.structured-task-row>label input{
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}

.task-card .matching-board{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(42px,82px) minmax(0,1fr);
  gap:0;
  isolation:isolate;
}
.task-card .matching-state[hidden]{display:none!important}
.task-card .matching-column{display:grid;align-content:start;gap:10px;z-index:2}
.task-card .matching-column-left{grid-column:1;padding-right:5px}
.task-card .matching-column-right{grid-column:3;padding-left:5px}
.task-card .matching-lines{
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
.task-card .matching-line{
  fill:none;
  stroke:#7398bd;
  stroke-width:2.5;
  stroke-linecap:round;
  opacity:.82;
}
.task-card .matching-line.is-good{stroke:var(--task-green)}
.task-card .matching-line.is-bad{stroke:var(--task-red)}
.task-card .matching-line.is-missed{stroke:var(--task-amber)}
.task-card .matching-card{
  position:relative;
  box-sizing:border-box;
  display:flex;
  width:100%;
  min-height:48px;
  align-items:center;
  padding:9px 13px;
  border:1px solid #d6e2ed;
  border-radius:7px;
  background:#fff;
  color:#20364c;
  font:inherit;
  font-size:14px;
  font-weight:650;
  line-height:1.4;
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.task-card .matching-card:hover:not(:disabled){border-color:#8eabc7;background:#f8fbfe}
.task-card .matching-card:focus-visible{outline:3px solid rgba(49,93,143,.18);outline-offset:2px}
.task-card .matching-card.is-selected{border-color:var(--task-blue);background:#eef5fb;box-shadow:0 0 0 3px rgba(49,93,143,.11)}
.task-card .matching-card.is-connected{border-color:#a9bfd4;background:#fbfdff}
.task-card .matching-card.is-good{border-color:#75bd98;background:#edf8f2;color:#246c4c}
.task-card .matching-card.is-bad{border-color:#df9191;background:#fff1f1;color:#943d3d}
.task-card .matching-card.is-missed{border-color:#dbbd62;background:#fff9df;color:#7d5d0e}
.task-card .matching-card:disabled{cursor:default}
.task-card .matching-node{
  position:absolute;
  top:50%;
  width:10px;
  height:10px;
  border:2px solid #789aba;
  border-radius:50%;
  background:#fff;
  transform:translateY(-50%);
}
.task-card .matching-card-left .matching-node{right:-7px}
.task-card .matching-card-right .matching-node{left:-7px}
.task-card .matching-card.is-selected .matching-node,
.task-card .matching-card.is-connected .matching-node{border-color:var(--task-blue);background:var(--task-blue)}
.task-card .matching-card.is-good .matching-node{border-color:var(--task-green);background:var(--task-green)}
.task-card .matching-card.is-bad .matching-node{border-color:var(--task-red);background:var(--task-red)}
.task-card .matching-card.is-missed .matching-node{border-color:var(--task-amber);background:var(--task-amber)}
.task-card .matching-card-text{min-width:0;white-space:pre-wrap}
.task-card .matching-correct{
  position:absolute;
  z-index:4;
  top:calc(100% + 6px);
  left:10px;
  display:block;
  max-width:calc(100% - 20px);
  padding:6px 8px;
  border:1px solid #a9d9bd;
  border-radius:6px;
  background:#edf8f1;
  color:#24734d;
  font-size:11px;
  font-weight:750;
  line-height:1.3;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-2px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.task-card .matching-card.is-bad:hover .matching-correct,
.task-card .matching-card.is-bad:focus-visible .matching-correct,
.task-card .matching-card.is-missed:hover .matching-correct,
.task-card .matching-card.is-missed:focus-visible .matching-correct{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.task-card .classification-board{display:grid;gap:14px}
.task-card .classification-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.task-card .classification-zone,
.task-card .classification-pool{padding:11px;border:1px solid #dce5ed;border-radius:7px;background:#f8fbfe;box-shadow:none}
.task-card .classification-zone{min-height:112px;border-style:dashed}
.task-card .classification-zone.is-over{border-color:#4f83b6;background:#edf6ff}
.task-card .classification-zone-title,
.task-card .classification-pool-title{display:block;margin-bottom:9px;color:#40566d;font-size:13px;font-weight:800}
.task-card .classification-zone-cards,
.task-card .classification-card-pool{display:flex;min-height:38px;align-content:flex-start;gap:7px;flex-wrap:wrap}
.task-card .classification-card-pool:empty::after{color:#8b99a8;font-size:12px;content:"Все карточки распределены"}
.task-card .classification-card{position:relative;padding:7px 9px;border:1px solid #cbd8e4;border-radius:6px;background:#fff;color:#20364c;font:inherit;font-size:13px;font-weight:700;line-height:1.3;cursor:grab;box-shadow:none}
.task-card .classification-card:active{cursor:grabbing}
.task-card .classification-card.is-selected{border-color:#4f83b6;background:#edf6ff;outline:3px solid rgba(79,131,182,.18)}
.task-card .classification-card.is-good{border-color:#55a77b;background:#ecf8f1;color:#287252}
.task-card .classification-card.is-bad{border-color:#c97a7a;background:#fff1f1;color:#a33f3f}
.task-card .classification-card.is-missed{border-color:#d9b94e;background:#fff9df;color:#8a6200}

.task-card .custom-correct-answer{
  box-sizing:border-box;
  display:flex;
  width:100%;
  max-width:none;
  align-items:baseline;
  gap:7px;
  margin:0;
  padding:10px 12px;
  border:1px solid #a9d9bd;
  border-radius:7px;
  background:#edf8f1;
  color:#17273a;
  font-size:13px;
  font-weight:400;
  line-height:1.4;
}
.task-card .custom-correct-answer-label{color:#617386;font-weight:650}
.task-card .custom-correct-answer strong,
.task-card .custom-correct-answer b{color:#17273a;font-weight:850}
.task-card .custom-instant-feedback{display:none!important}

.task-card .lesson-preview-task-context{display:grid;gap:12px;margin:0 0 14px}
.task-card .lesson-preview-context-label{margin:0 0 8px;color:#64788d;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.task-card .lesson-preview-source-block{padding:13px 14px;border:1px solid #dce5ed;border-radius:7px;background:#f8fbfe}
.task-card .lesson-preview-source-block h4{margin:0 0 8px;color:#40566d;font-size:13px;font-weight:800}
.task-card .lesson-preview-preserved-text,
.task-card .work-preview-option span{white-space:pre-line}
.task-card .lesson-preview-preserved-text{line-height:1.6}

.task-card input:disabled,
.task-card textarea:disabled,
.task-card select:disabled,
.task-card button:disabled{opacity:1;color:inherit;-webkit-text-fill-color:currentColor}

@media(max-width:620px){
  .task-card .obz-answer-source-row{flex-wrap:wrap}
  .task-card .preview-answer-columns{grid-template-columns:1fr}
  .task-card-head{align-items:start;padding:13px 14px}
  .task-card-body{padding:15px}
  .task-card-prompt{font-size:14px;text-align:left}
  .task-card-body>.custom-rich,
  .task-card-body>.custom-short-task,
  .task-card-body>.custom-extended-task,
  .task-card-body>.custom-letter-text,
  .task-card-body>.lesson-preview-rich,
  .task-card-body>.lesson-preview-task-text,
  .task-card-body>.custom-work-review-question,
  .task-card-body>.custom-work-review-response-text,
  .task-card-body>.editableText,
  .task-card-body>.essay-rich-input{text-align:left}
  .task-card .structured-task-row,
  .task-card fieldset.structured-task-row{grid-template-columns:1fr}
  .task-card .structured-task-row>label{white-space:normal}
  .task-card fieldset.structured-task-row{grid-template-columns:1fr 1fr}
  .task-card fieldset.structured-task-row legend{grid-column:1/-1;display:block}
  .task-card fieldset.structured-task-row>label{width:100%;min-width:0}
  .task-card .matching-board{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)}
  .task-card .matching-column{gap:8px}
  .task-card .matching-card{min-height:44px;padding:8px 9px;font-size:12px}
  .task-card .classification-groups{grid-template-columns:1fr}
  .task-card .task-answer-row{width:100%}
}
.lesson-choice-warning{
  margin:12px 18px 18px;padding:12px 16px;border:1px solid #efcf73;
  border-radius:10px;background:#fff8df;color:#805e12;font-weight:600;
}
@media(max-width:620px){
  .lesson-choice-warning{margin:10px 15px 15px;}
}
/* Spelling choices: authored text and numbering remain a single text. */
.spelling-text{white-space:pre-wrap;line-height:2.3;overflow-wrap:anywhere}
.spelling-combination{display:inline-block;position:relative;vertical-align:baseline;line-height:1.5;white-space:nowrap;margin-top:16px}
.spelling-label{position:absolute;bottom:calc(100% - 4px);left:50%;transform:translateX(-50%);font-size:10px;line-height:15px;white-space:nowrap}
.spelling-label[data-selection="joined"]{color:#087f8c}
.spelling-label[data-selection="separate"]{color:#8552ad}
.spelling-label[data-selection="hyphen"]{color:#ad5a14}
.spelling-label[data-selection="ignored"]{color:#718097}
.spelling-control{position:relative;display:inline-block;color:#315d8f;font-weight:650}
.spelling-control select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;opacity:0;cursor:pointer;font:inherit}
.spelling-control:focus-within{text-decoration:underline dotted;text-underline-offset:4px}
.spelling-combination.is-good .spelling-word{background:#e4f4e9;border-radius:3px}
.spelling-combination.is-bad .spelling-word{background:#ffe9e6;border-radius:3px}
.spelling-part-status{font-size:13px;color:#617389;margin:8px 0}
.spelling-part-status:empty{display:none}
[data-spelling-author] .letter-task-preview{white-space:normal}
