.workflow-nav {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 8px;
}
.tw-ai-grade-suggestion{margin:12px 0;border-left:3px solid #0875c9}.tw-ai-grade-suggestion .el-alert__title{display:flex;align-items:center;gap:12px}.tw-ai-grade-suggestion p{margin:5px 0 0;color:#52677a;white-space:pre-wrap;line-height:1.5}
.workflow-nav section {
  margin-bottom: 8px;
}
.workflow-nav h2 {
  font-size: 12px;
  line-height: 26px;
  color: #607487;
  padding: 0 10px;
  margin: 0;
  font-weight: 600;
}
.workflow-nav button {
  display: block;
  width: 100%;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 3px;
  text-align: left;
  padding: 0 10px 0 18px;
  height: 30px;
  line-height: 30px;
  color: #1d2d3e;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}
.workflow-nav button:hover {
  background: #f0f7ff;
}
.workflow-nav button.active {
  color: #0a6ed1;
  border-left-color: #0a6ed1;
  background: #eaf3fc;
  font-weight: 600;
}
#app.sidebar-collapsed {
  --navigation-width: 132px;
}
#app.sidebar-collapsed .workflow-nav button {
  font-size: 12px;
  padding-left: 7px;
}
#app .content-wrapper.training-workspace-active {
  padding: 12px;
  overflow: hidden;
  min-width: 0;
}
.tw-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #d9dfe5;
  border-radius: 4px;
  padding: 16px;
  gap: 12px;
}
.tw-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.tw-heading h2 {
  font-size: 20px;
  margin: 0;
}
.tw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: none;
}
.tw-toolbar > .el-input,
.tw-toolbar > .el-select {
  width: 210px;
}
.tw-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px;
}
.tw-body h3 {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
  margin: 10px 0;
}
.tw-body p {
  margin: 10px 0;
  line-height: 1.6;
  white-space: pre-wrap;
}
.tw-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
  padding-top: 10px;
  border-top: 1px solid #e5eaf0;
}
.tw-footer > span:first-child {
  margin-right: auto;
  font-size: 12px;
  color: #607487;
}
.tw-footer > .el-input {
  width: 220px;
}
.tw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5eaf0;
  padding: 12px 4px;
}
.tw-row > div:first-child,
.tw-row > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tw-row strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}
.tw-row small {
  display: block;
  color: #607487;
  margin-top: 6px;
}
.tw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tw-shell .el-button + .el-button {
  margin-left: 0;
}
.tw-columns {
  display: flex;
  gap: 20px;
}
.tw-columns > * {
  flex: 1;
  min-width: 0;
}
.tw-answer .el-radio-group,
.tw-answer .el-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.tw-answer .el-radio,
.tw-answer .el-checkbox {
  white-space: normal;
  line-height: 1.6;
}
.tw-answer .el-radio__label,
.tw-answer .el-checkbox__label,
.tw-row .el-checkbox__label {
  white-space: normal;
  overflow-wrap: anywhere;
}
.tw-answer pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  line-height: 1.7;
  padding: 10px;
  background: #f5f7fa;
}
.tw-drawing canvas {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 5/3;
  border: 1px solid #ccd6df;
  touch-action: none;
  background: white;
}
.tw-detail {
  max-height: 65vh;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tw-detail article {
  border-bottom: 1px solid #d9dfe5;
  padding: 12px 0;
}
.tw-detail h3,
.tw-detail h4 {
  margin: 10px 0;
}
.tw-error {
  flex: none;
}
.tw-shell .el-tag {
  margin: 4px;
}
.tw-filterbar,
.tw-pick-tools {
  align-items: flex-end;
  padding: 12px 14px;
  border: 1px solid #e1e9f0;
  border-radius: 8px;
  background: #f8fafc;
}
.tw-filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 190px;
}
.tw-filter-field > span {
  color: #61778b;
  font-size: 11px;
  line-height: 1.2;
}
.tw-filter-field .el-input,
.tw-filter-field .el-select {
  width: 100%;
}
.tw-toolbar-hint {
  color: #61778b;
  font-size: 12px;
  margin-left: 4px;
}
.tw-toolbar-hint i {
  color: #0a6ed1;
  margin-right: 4px;
}
.tw-empty-state {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #71859a;
  padding: 28px 16px;
}
.tw-empty-state > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #4d86bd;
  background: #edf5ff;
  font-size: 25px;
  margin-bottom: 14px;
}
.tw-empty-state h3 {
  color: #2a435b;
  font-size: 16px;
  margin: 0 0 6px;
}
.tw-empty-state p {
  color: #71859a;
  margin: 0 0 18px;
  max-width: 440px;
  line-height: 1.7;
}
.tw-empty-state .el-button + .el-button {
  margin-left: 8px;
}
.tw-section-intro,
.tw-form-section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 14px;
  color: #2a435b;
}
.tw-section-intro strong,
.tw-form-section-title strong {
  font-size: 14px;
}
.tw-section-intro span,
.tw-form-section-title span {
  color: #71859a;
  font-size: 12px;
}
.tw-pick-layout {
  align-items: stretch;
  gap: 14px;
}
.tw-pick-layout > section {
  padding: 14px;
  border-color: #dce6ef;
  background: #fafdff;
}
.tw-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5edf4;
}
.tw-panel-title strong,
.tw-panel-title small {
  display: block;
}
.tw-panel-title strong {
  color: #2a435b;
  font-size: 13px;
}
.tw-panel-title small {
  color: #71859a;
  font-size: 11px;
  margin-top: 3px;
}
.tw-panel-empty {
  border: 1px dashed #b9cad9;
  border-radius: 7px;
  color: #71859a;
  text-align: center;
  padding: 36px 12px;
  background: #fff;
}
.tw-form-exam {
  max-width: 860px !important;
}
.tw-form-exam > .tw-form-section-title:not(:first-child) {
  margin-top: 22px;
}
.tw-form-exam > .el-form-item:first-of-type {
  max-width: 640px;
}
.tw-date-fields,
.tw-audience-fields,
.tw-score-fields {
  margin: 0;
  align-items: center;
}
.tw-date-fields .el-date-editor,
.tw-score-fields .el-date-editor {
  width: 250px;
}
.tw-audience-fields .el-select:first-child {
  width: 150px;
}
.tw-audience-fields .el-select:nth-child(2) {
  flex: 1;
  min-width: 270px;
}
.tw-target-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #e1e9f0;
  border-radius: 6px;
  background: #fbfcfe;
  color: #9aaabd;
  font-size: 12px;
}
.tw-target-chips .el-tag {
  margin: 2px 6px 2px 0;
}
.tw-review-summary {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #dce6ef;
  border-radius: 9px;
  background: #fbfdff;
}
.tw-review-summary h3 {
  color: #173b59;
  margin: 10px 0;
}
.tw-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.tw-summary-grid span {
  padding: 10px;
  border-radius: 6px;
  background: #f0f6fb;
  color: #61778b;
  font-size: 12px;
}
.tw-summary-grid b {
  display: block;
  color: #234966;
  font-size: 14px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.tw-row-title {
  min-width: 0;
}
.tw-row-title > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tw-task-row {
  align-items: center;
}
.tw-task-row small em {
  font-style: normal;
  color: #b2bfcb;
  margin: 0 4px;
}
.tw-question-index {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid #dce6ef;
  border-radius: 7px;
  background: #f8fafc;
}
.tw-question-index > span {
  color: #435b73;
  font-size: 12px;
  font-weight: 600;
}
.tw-question-index > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tw-question-index > small {
  color: #71859a;
  font-size: 11px;
}
.tw-question-card,
.tw-grade-question {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid #dce6ef;
  border-radius: 9px;
  background: #fff;
}
.tw-question-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0a6ed1;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f5;
}
.tw-question-card h3,
.tw-grade-question > h3 {
  color: #1b344b;
  line-height: 1.75;
  margin: 15px 0 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tw-grade-progress {
  display: grid;
  grid-template-columns: 70px minmax(120px, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #61778b;
  font-size: 12px;
}
.tw-grade-progress .el-progress {
  width: 100%;
}
.tw-grade-progress small {
  color: #8b9bab;
}
.tw-question-editor {
  max-width: 1080px;
}
.tw-author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  min-width: 0;
  gap: 16px;
  padding: 0 18px 12px;
  overflow: hidden;
}
.tw-author-layout > .tw-question-editor {
  min-width: 0;
  max-width: none;
  padding: 8px 10px 16px 4px;
}
.tw-author-layout .tw-fields-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.tw-author-layout .el-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.tw-author-layout .el-radio-button__inner {
  padding: 10px 12px;
}
.tw-live-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 1px solid #dce6ef;
  border-radius: 9px;
  background: #f5f8fc;
  overflow: hidden;
}
.tw-live-preview-heading {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce6ef;
  background: #edf5fd;
}
.tw-live-preview-heading strong {
  display: block;
  color: #1b344b;
  font-size: 14px;
}
.tw-live-preview-heading span:not(.el-tag) {
  display: block;
  color: #607487;
  font-size: 11px;
  margin-top: 5px;
}
.tw-live-preview-heading .el-tag {
  flex: none;
  margin: 0;
}
.tw-live-preview-body {
  min-height: 0;
  flex: 1;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.tw-author-summary .el-alert {
  margin-top: 16px;
}
.tw-staged-exam {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #c8ddf2;
  border-left: 3px solid #0a6ed1;
  border-radius: 5px;
  background: #f3f8fd;
}
.tw-staged-exam > div {
  flex: 1;
  min-width: 0;
}
.tw-staged-exam strong,
.tw-staged-exam span {
  display: block;
}
.tw-staged-exam strong {
  color: #1d2d3e;
  font-size: 13px;
}
.tw-staged-exam span {
  margin-top: 3px;
  color: #607487;
  font-size: 12px;
}
.tw-mobile-question-type {
  display: none;
}
@media (max-width: 900px) {
  .tw-staged-exam {
    flex-wrap: wrap;
  }
  .tw-staged-exam > div {
    flex-basis: 100%;
  }
  .tw-author-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
    padding: 0 10px 8px;
  }
  .tw-author-layout > .tw-question-editor {
    padding: 6px 4px 12px;
  }
  .tw-live-preview-heading {
    padding: 8px 10px;
  }
  .tw-live-preview-heading span:not(.el-tag) {
    display: none;
  }
  .tw-live-preview-body {
    padding: 10px;
  }
  .tw-author-layout .tw-mobile-question-type {
    display: block;
    width: 100%;
  }
  .tw-author-layout .tw-desktop-question-types,
  .tw-author-layout .tw-form-section-title > span,
  .tw-author-layout .tw-field-help {
    display: none;
  }
  .tw-author-layout .tw-form-section-title {
    margin-bottom: 8px;
  }
  .tw-author-layout .el-form-item {
    margin-bottom: 10px;
  }
  .tw-author-layout .tw-stem-input .el-textarea__inner {
    height: 88px !important;
    min-height: 88px !important;
  }
}
.tw-question-form {
  max-width: 980px !important;
}
.tw-question-form > .el-form-item {
  max-width: 920px;
}
.tw-field-help {
  display: block;
  color: #71859a;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 5px;
}
.tw-subsection-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 12px;
  padding-top: 18px;
  border-top: 1px solid #edf1f5;
}
.tw-subsection-title strong {
  color: #2a435b;
  font-size: 14px;
}
.tw-subsection-title span {
  color: #71859a;
  font-size: 12px;
}
.tw-option-editor,
.tw-blank-editor,
.tw-keyword-editor {
  max-width: 760px;
}
.tw-option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.tw-option-row > b,
.tw-option-row > span {
  flex: 0 0 48px;
  color: #435b73;
  font-size: 13px;
  text-align: center;
}
.tw-option-row > .el-input,
.tw-option-row > .el-input-number {
  flex: 1;
}
.tw-option-row > .el-button {
  flex: 0 0 auto;
}
.tw-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
  max-width: 920px;
}
.tw-fields-grid .el-select,
.tw-fields-grid .el-input {
  width: 100%;
}
.tw-image-uploader {
  padding: 10px 12px;
  border: 1px dashed #b9cad9;
  border-radius: 7px;
  background: #fbfdff;
}
.tw-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.tw-image-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px 2px 9px;
  border-radius: 4px;
  color: #435b73;
  background: #edf5ff;
  font-size: 12px;
}
.tw-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid #b9d6ef;
  border-radius: 5px;
  color: #0a6ed1;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}
.tw-upload-button:hover {
  background: #edf5ff;
}
.tw-upload-button.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tw-upload-button input {
  display: none;
}
.tw-image-uploader > small {
  color: #8b9bab;
  font-size: 11px;
  margin-left: 8px;
}
.tw-upload-error {
  color: #b4493c;
  font-size: 11px;
  margin: 5px 0 0;
}
.tw-question-preview {
  max-width: 980px;
}
.tw-student-preview {
  min-width: 0;
  color: #1d2d3e;
}
.tw-trial-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #506b85;
  font-size: 13px;
}
.tw-student-preview .tw-question-card {
  margin: 0;
}
.tw-trial-note {
  font-size: 12px;
  line-height: 1.7;
  color: #607487;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.tw-preview-paper {
  padding: 22px;
  border: 1px solid #dce6ef;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 10px #15385908;
}
.tw-preview-meta,
.tw-preview-attrs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #71859a;
  font-size: 12px;
}
.tw-preview-paper h3 {
  color: #1b344b;
  line-height: 1.8;
  margin: 16px 0;
  white-space: pre-wrap;
}
.tw-preview-paper > p {
  margin: 9px 0;
  line-height: 1.7;
}
.tw-preview-attrs {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}
.workflow-nav {
  padding: 8px;
}
.workflow-nav section {
  margin-bottom: 14px;
}
.workflow-nav h2 {
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 3px;
}
.workflow-nav button {
  height: 34px;
  line-height: 34px;
  border-radius: 5px;
  margin: 2px 0;
}
.workflow-nav button.active {
  box-shadow: 0 1px 3px #0a6ed110;
}
.tw-shell {
  padding: 0;
  gap: 0;
  border-radius: 10px;
  border-color: #dce5ee;
  box-shadow: 0 3px 16px #15385908;
  color: #1d2d3e;
}
.tw-heading {
  padding: 20px 24px 17px;
  border-bottom: 1px solid #e8eef4;
  gap: 12px;
  background: linear-gradient(110deg, #f2f8ff, #fff 65%);
  border-radius: 10px 10px 0 0;
}
.tw-heading-main {
  min-width: 0;
}
.tw-heading h2 {
  font-size: 22px;
  letter-spacing: 0.4px;
  color: #152e47;
}
.tw-heading p {
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0 0;
  color: #61778b;
}
.tw-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tw-workspace-label {
  color: #5c738a;
  font-size: 12px;
  border-right: 1px solid #dce5ee;
  padding-right: 14px;
}
.tw-workspace-label i {
  margin-right: 5px;
}
.tw-shell > .tw-toolbar {
  margin: 16px 20px 12px;
}
.tw-shell > .el-steps {
  flex: none;
  margin: 16px 24px 8px;
  background: #f2f6fa;
  border: 1px solid #e8eef4;
  border-radius: 8px;
}
.tw-shell > .el-progress {
  flex: none;
  margin: 0 24px 6px;
}
.tw-body {
  padding: 12px 24px 18px;
  scrollbar-width: thin;
  scrollbar-color: #c2cfdb transparent;
}
.tw-body > .el-form {
  max-width: 1100px;
}
.tw-body .el-form-item {
  margin-bottom: 18px;
}
.tw-body .el-form-item__label {
  color: #435b73;
  font-weight: 600;
  padding-bottom: 5px;
  line-height: 24px;
}
.tw-body .el-input__inner,
.tw-body .el-textarea__inner {
  border-radius: 6px;
  border-color: #cbd8e4;
}
.tw-body .el-textarea__inner {
  padding: 12px;
  line-height: 1.7;
  resize: vertical;
}
.tw-form-stem {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  column-gap: 24px;
}
.tw-form-stem > .el-form-item:first-child {
  grid-column: 1/-1;
}
.tw-form-stem .tw-stem-field .el-textarea__inner {
  min-height: 210px;
}
.tw-form-stem .tw-options-field .el-textarea__inner {
  min-height: 210px;
}
.tw-row {
  border: 1px solid #e1e9f0;
  border-left: 3px solid #d1e4f6;
  border-radius: 8px;
  margin: 0 0 10px;
  padding: 16px;
  background: #fff;
}
.tw-row:hover {
  border-color: #aacceb;
  background: #fbfdff;
}
.tw-row strong {
  font-weight: 600;
  line-height: 1.6;
}
.tw-row small {
  font-size: 12px;
  line-height: 1.6;
}
.tw-row small .el-tag {
  margin: 0 8px 0 0;
}
.tw-actions .el-button {
  border-radius: 5px;
}
.tw-footer {
  border-radius: 0 0 10px 10px;
  border-top: 1px solid #dce5ee;
  background: #f8fafc;
  padding: 12px 24px;
  box-shadow: 0 -2px 8px #1d2d3e03;
}
.tw-context {
  background: #f3f8fd;
  border: 1px solid #dce9f5;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
}
.tw-context strong {
  margin-right: auto;
}
.tw-save-state {
  color: #607487;
  font-size: 12px;
}
.tw-answer .el-radio,
.tw-answer .el-checkbox {
  margin-right: 0;
  padding: 10px 14px;
  border: 1px solid #e1e9f0;
  border-radius: 6px;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
}
.tw-answer .is-checked {
  border-color: #8fbde9;
  background: #edf6ff;
}
.tw-answer .el-radio-group,
.tw-answer .el-checkbox-group {
  gap: 10px;
  width: 100%;
}
.tw-columns > section {
  border: 1px solid #e1e9f0;
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfe;
}
.tw-columns h4 {
  color: #435b73;
  font-size: 13px;
  margin-top: 0;
}
.tw-error {
  margin: 10px 20px 0;
  width: auto;
}
.tw-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 20px 12px;
  flex: none;
}
.tw-metric {
  border: 1px solid #dfe8f0;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
}
.tw-metric > i {
  color: #0a6ed1;
  background: #edf5ff;
  padding: 11px;
  border-radius: 9px;
  font-size: 20px;
}
.tw-metric span {
  color: #61778b;
  font-size: 12px;
  display: block;
}
.tw-metric strong {
  color: #183b59;
  font-size: 25px;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}
.tw-tone-amber > i {
  color: #aa6400;
  background: #fff5df;
}
.tw-tone-green > i {
  color: #17835c;
  background: #e8f6ee;
}
.tw-tone-neutral > i {
  color: #607487;
  background: #f0f3f6;
}
.tw-report-note {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #61778b;
  margin: 0 24px 8px;
  line-height: 1.6;
}
.tw-report-note .el-button {
  flex-shrink: 0;
}
.tw-result-head,
.tw-result-row {
  display: grid;
  grid-template-columns:
    minmax(160px, 1.6fr) minmax(80px, 0.8fr) minmax(90px, 1fr)
    minmax(100px, 1fr) 88px;
  align-items: center;
  gap: 14px;
}
.tw-result-head {
  color: #607487;
  font-size: 12px;
  padding: 12px 16px;
  background: #f2f6fa;
  border-radius: 6px;
}
.tw-result-row {
  padding: 17px 16px;
  border-bottom: 1px solid #e7edf3;
  font-size: 13px;
}
.tw-result-row:hover {
  background: #f8fbff;
}
.tw-result-row small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #71859a;
}
.tw-result-row strong {
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.tw-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tw-person > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tw-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0a6ed1;
  background: #edf5ff;
  font-weight: 600;
}
.tw-score-total strong {
  color: #183b59;
  font-size: 15px;
}
.tw-result-row .tw-passed {
  color: #17835c;
}
.tw-result-row .tw-failed {
  color: #b4493c;
}
.tw-report-tools > .el-select:first-child {
  width: 290px;
}
.ai-author-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 16px 20px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: linear-gradient(110deg, #f2f8ff, #fff);
}
.ai-author-heading h2 {
  margin: 0;
  font-size: 22px;
  color: #152e47;
}
.ai-author-heading p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #61778b;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .tw-result-head,
  .tw-result-row {
    grid-template-columns: minmax(100px, 1.3fr) 80px 85px minmax(90px, 1fr) 80px;
    gap: 8px;
  }
  .tw-metric {
    padding: 10px;
    gap: 8px;
  }
  .tw-metric > i {
    padding: 8px;
    font-size: 17px;
  }
}
@media (max-width: 768px) {
  #app .sidebar {
    display: flex;
  }
  #app {
    --navigation-width: 132px;
  }
  .tw-shell {
    padding: 0;
    gap: 0;
  }
  .tw-heading {
    padding: 12px;
    align-items: flex-start;
  }
  .tw-heading p {
    font-size: 11px;
  }
  .tw-heading-actions {
    gap: 0;
  }
  .tw-workspace-label {
    display: none;
  }
  .tw-shell > .el-steps {
    margin: 10px 8px 4px;
  }
  .tw-shell > .tw-toolbar {
    margin: 10px 10px 8px;
  }
  .tw-body {
    padding: 10px;
  }
  .tw-footer {
    padding: 10px;
  }
  .tw-form-stem {
    display: block;
  }
  .tw-form-stem .el-textarea__inner {
    min-height: 120px;
  }
  .tw-metrics {
    gap: 6px;
    margin: 0 10px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tw-metric {
    padding: 8px;
  }
  .tw-metric strong {
    font-size: 20px;
  }
  .tw-metric > i {
    display: none;
  }
  .tw-report-note {
    margin: 0 10px 5px;
    flex-wrap: wrap;
  }
  .tw-result-head {
    display: none;
  }
  .tw-result-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    border: 1px solid #e1e9f0;
    border-radius: 7px;
    margin-bottom: 10px;
    padding: 12px;
  }
  .tw-person {
    grid-column: 1/-1;
  }
  .tw-result-row .tw-actions {
    grid-column: 1/-1;
  }
  .ai-author-heading {
    padding: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .tw-columns {
    flex-direction: column;
    gap: 8px;
  }
  .tw-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .tw-footer .el-button {
    padding: 8px;
  }
  .tw-heading h2 {
    font-size: 17px;
  }
  .tw-filterbar,
  .tw-pick-tools {
    align-items: stretch;
    padding: 10px;
  }
  .tw-filter-field {
    min-width: 0;
    flex: 1 1 100%;
  }
  .tw-toolbar-hint {
    display: block;
    width: 100%;
    margin: 0;
  }
  .tw-section-intro,
  .tw-form-section-title {
    display: block;
    line-height: 1.6;
  }
  .tw-section-intro span,
  .tw-form-section-title span {
    display: block;
    margin-top: 3px;
  }
  .tw-pick-layout > section {
    padding: 10px;
  }
  .tw-date-fields .el-date-editor,
  .tw-score-fields .el-date-editor {
    width: 100%;
  }
  .tw-audience-fields .el-select:first-child,
  .tw-audience-fields .el-select:nth-child(2) {
    width: 100%;
    min-width: 0;
  }
  .tw-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tw-review-summary {
    padding: 14px;
  }
  .tw-empty-state {
    min-height: 240px;
  }
  .tw-question-index {
    align-items: flex-start;
    flex-direction: column;
  }
  .tw-question-index > div {
    width: 100%;
  }
  .tw-question-card,
  .tw-grade-question {
    padding: 12px;
  }
  .tw-grade-progress {
    grid-template-columns: 58px minmax(80px, 1fr);
  }
  .tw-grade-progress small {
    grid-column: 1/-1;
  }
  .tw-subsection-title {
    display: block;
    line-height: 1.6;
  }
  .tw-subsection-title span {
    display: block;
  }
  .tw-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tw-option-row {
    align-items: flex-start;
  }
  .tw-option-row > b,
  .tw-option-row > span {
    flex-basis: 38px;
    padding-top: 9px;
  }
  .tw-image-uploader > small {
    display: block;
    margin: 7px 0 0;
  }
  .tw-preview-paper {
    padding: 14px;
  }
  .tw-shell .el-steps--simple {
    padding: 10px 4px;
  }
  .tw-shell .el-step__title {
    font-size: 12px;
  }
}
@media (max-width: 500px) {
  .tw-shell > .el-steps--simple {
    overflow: hidden;
    width: auto;
    min-width: 0;
  }
  .tw-shell > .el-steps--simple .el-step {
    min-width: 0 !important;
  }
  .tw-shell > .el-steps--simple .el-step__main {
    min-width: 0;
    overflow: hidden;
  }
  .tw-shell > .el-steps--simple .el-step__arrow {
    flex: 0 0 10px;
  }
  .tw-shell .el-steps--simple {
    counter-reset: phase;
    padding: 10px 6px;
    gap: 5px;
  }
  .tw-shell .el-steps--simple .el-step {
    counter-increment: phase;
    flex: 0 0 24px;
    align-items: center;
    gap: 6px;
  }
  .tw-shell .el-steps--simple .el-step::before {
    content: counter(phase);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    font-size: 11px;
    border: 1px solid #ccd8e5;
    border-radius: 50%;
    color: #607487;
    background: #fff;
  }
  .tw-shell .el-steps--simple .el-step:has(.is-process) {
    flex: 1;
  }
  .tw-shell .el-steps--simple .el-step:has(.is-process)::before {
    color: #fff;
    background: #0a6ed1;
    border-color: #0a6ed1;
  }
  .tw-shell .el-steps--simple .el-step__head,
  .tw-shell .el-steps--simple .el-step__arrow {
    display: none;
  }
  .tw-shell .el-steps--simple .el-step__title {
    display: none;
  }
  .tw-shell .el-steps--simple .el-step__title.is-process {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
    max-width: none;
  }
  .tw-shell .el-steps--simple .el-step__main {
    flex-grow: 0;
  }
  .tw-heading p {
    line-height: 1.5;
  }
  .tw-heading-actions .el-button {
    padding: 7px;
  }
  #app .sidebar {
    width: 112px;
  }
  .workflow-nav {
    padding: 4px 2px;
  }
  .workflow-nav button {
    font-size: 11px;
    padding-left: 5px;
  }
  .tw-toolbar > .el-input,
  .tw-toolbar > .el-select {
    width: 100%;
  }
  .tw-heading h2 {
    font-size: 15px;
  }
  .tw-shell .el-steps--simple .el-step__icon {
    display: none;
  }
}
