.interview-app {
  --iv-blue: #1769e0;
  --iv-ink: #25354b;
  --iv-line: #dce4ee;
  min-height: 100dvh;
  background: #f3f5f8;
  color: var(--iv-ink);
  font:
    16px/1.75 'Microsoft YaHei',
    'PingFang SC',
    sans-serif;
  overflow-wrap: anywhere;
}
.iv-mock-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 24px;
  align-items: start;
}
.iv-mock-field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-weight: 600;
}
.iv-mock-field textarea,
.iv-mock-field input,
.iv-mock-field select {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--iv-line);
  border-radius: 7px;
  background: white;
  color: var(--iv-ink);
  font: inherit;
  font-weight: 400;
}
.iv-mock-field textarea {
  resize: vertical;
  line-height: 1.75;
}
.iv-mock-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.iv-mock-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.iv-mock-actions .primary {
  background: var(--iv-blue);
  color: white;
  border-color: var(--iv-blue);
}
.iv-mock-notice {
  padding: 12px 16px;
  border-left: 3px solid #b17b20;
  background: #fff8e9;
}
.iv-mock-status:not(:empty) {
  padding: 14px;
  background: #fff8e9;
}
.iv-mock-status button {
  margin-left: 12px;
}
.iv-mock-history-item {
  padding: 16px 0;
  border-top: 1px solid var(--iv-line);
}
.iv-mock-history-item p {
  font-size: 14px;
  color: #526479;
}
.iv-mock-message {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--iv-line);
  border-radius: 8px;
}
.iv-mock-message.user {
  background: #f1f6ff;
}
.iv-mock-message p,
.iv-mock-report p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.iv-mock-report {
  border-top: 2px solid var(--iv-blue);
  margin-top: 24px;
}
@media (max-width: 760px) {
  .iv-mock-layout,
  .iv-mock-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .iv-mock-options {
    gap: 0;
  }
}
.interview-app * {
  box-sizing: border-box;
}
.interview-app [hidden] {
  display: none !important;
}
.interview-app button,
.interview-app select,
.interview-app input {
  font: inherit;
}
.interview-app button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--iv-line);
  border-radius: 7px;
  background: white;
  color: var(--iv-ink);
  cursor: pointer;
  white-space: normal;
  line-height: 1.5;
}
.interview-app button:disabled {
  opacity: 0.55;
  cursor: default;
}
.interview-app :focus-visible {
  outline: 3px solid #397dd4;
  outline-offset: 3px;
}
.interview-app a {
  color: #1455b2;
  text-underline-offset: 3px;
}
.iv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: white;
  border-bottom: 1px solid var(--iv-line);
}
.iv-brand {
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}
.iv-brand small {
  display: block;
  color: #5e6b7d;
  font-size: 13px;
  font-weight: 400;
}
.iv-header nav {
  display: flex;
  flex-direction: row;
  width: auto;
  gap: 8px;
  flex-wrap: wrap;
}
.iv-header nav button,
.iv-question-nav button {
  width: auto;
  flex: 0 0 auto;
}
.iv-question-nav span {
  white-space: nowrap;
  flex-shrink: 0;
}
.iv-main {
  max-width: 1220px;
  margin: auto;
  padding: 26px 20px 50px;
}
.iv-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--iv-line);
  margin-bottom: 28px;
  padding-bottom: 12px;
}
.iv-tabs a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
}
.iv-tabs a[aria-current='page'] {
  background: #e3edfc;
  font-weight: 700;
}
.iv-topic-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.iv-topic-group {
  margin-top: 32px;
  scroll-margin-top: 20px;
}
.iv-topic-group > h2 {
  font-size: 21px;
  border-bottom: 1px solid var(--iv-line);
  padding-bottom: 12px;
}
.iv-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.interview-app .iv-topic-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: white;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--iv-ink);
}
.iv-topic-card:hover {
  border-color: #1769e0;
}
.iv-topic-card small,
.iv-topic-card span {
  font-size: 13px;
  color: #536176;
}
.iv-topic-card h3 {
  font-size: 18px;
  margin: 0;
}
.iv-topic-card p {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.iv-topic-card strong {
  color: #1455b2;
  font-size: 14px;
}
.iv-topic-detail {
  max-width: 900px;
  margin: auto;
  background: white;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  padding: clamp(18px, 4vw, 40px);
  min-width: 0;
}
.iv-topic-detail h1 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.5;
}
.iv-topic-detail > .iv-meta {
  margin-top: 20px;
}
.iv-topic-detail section {
  margin-top: 30px;
}
.iv-topic-detail h2 {
  font-size: 21px;
}
.iv-topic-detail h3 {
  font-size: 18px;
}
.iv-topic-detail pre {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--iv-line);
  border-radius: 8px;
  background: #f5f7fb;
  padding: 18px;
  font:
    14px/1.8 Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.iv-topic-boundary {
  font-size: 14px;
  color: #536176;
}
.iv-pitfall {
  background: #fff7e9;
  border-left: 3px solid #bd6e13;
  padding: 2px 20px;
}
.iv-topic-exercises {
  padding-left: 24px;
}
.iv-topic-exercises li {
  margin: 12px 0;
}
.iv-knowledge-link {
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
}
.iv-intro {
  border-left: 4px solid var(--iv-blue);
  padding-left: 20px;
  margin: 8px 0 28px;
}
.iv-intro h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 10px;
}
.iv-intro p {
  margin: 7px 0;
  color: #536176;
}
.iv-progress {
  font-size: 14px;
}
.iv-progression {
  background: #eaf1fb;
  border-left: 3px solid var(--iv-blue);
  padding: 14px 18px;
  font-size: 14px;
  margin: 20px 0;
}
.iv-meta .iv-difficulty {
  color: #164b96;
  background: #e3edfc;
}
.iv-controls {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.iv-controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.iv-controls select,
.iv-controls input {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #bccbdc;
  border-radius: 6px;
  background: white;
  color: var(--iv-ink);
}
.iv-search {
  display: flex;
  align-items: end;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.iv-search label {
  flex: 1;
  min-width: 0;
}
.iv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-basis: 100%;
}
.interview-app .iv-primary {
  background: var(--iv-blue);
  color: white;
  border-color: var(--iv-blue);
}
.interview-app .iv-active {
  background: #e5efff;
  border-color: var(--iv-blue);
}
.iv-status {
  min-height: 24px;
  margin: 12px 0;
  color: #174e8d;
}
.iv-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.iv-list {
  max-height: 76vh;
  overflow: auto;
  padding-right: 8px;
}
.iv-list h2 {
  font-size: 16px;
  margin: 0;
}
.iv-list > p {
  font-size: 13px;
  color: #637085;
  margin: 4px 0 12px;
}
.iv-list button {
  width: 100%;
  display: block;
  text-align: left;
  margin-bottom: 8px;
  border-color: transparent;
  background: transparent;
  font-size: 14px;
}
.iv-list button[aria-current='true'] {
  background: #e3edfc;
  border-color: #aec9f2;
  color: #164b96;
}
.iv-list small {
  display: block;
  color: #5e6d81;
  margin-bottom: 4px;
}
.iv-directory-nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 0;
  margin-bottom: 8px;
  background: #f3f5f8;
}
.iv-directory-nav span {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #637085;
}
.iv-directory-nav button {
  margin: 0;
  padding: 8px;
  text-align: center;
  background: white;
  border-color: var(--iv-line);
}
.iv-question {
  background: white;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  padding: 28px;
  min-width: 0;
}
.iv-question h2 {
  font-size: 23px;
  line-height: 1.6;
  margin: 14px 0;
}
.iv-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #536176;
}
.iv-meta span {
  padding: 2px 8px;
  background: #f0f4fa;
  border-radius: 4px;
}
.iv-context {
  font-size: 14px;
  color: #596c81;
  border-bottom: 1px solid var(--iv-line);
  padding-bottom: 18px;
}
.iv-question fieldset {
  border: 0;
  padding: 0;
  margin: 22px 0 16px;
  min-width: 0;
}
.iv-question legend {
  font-size: 14px;
  margin-bottom: 12px;
  color: #536176;
}
.iv-option {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #d7e0ec;
  border-radius: 7px;
  margin: 10px 0;
  cursor: pointer;
  min-height: 52px;
}
.iv-option:has(input:checked) {
  border-color: var(--iv-blue);
  background: #f1f6ff;
}
.iv-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 5px;
  accent-color: var(--iv-blue);
}
.iv-option b {
  margin-right: 12px;
}
.iv-result {
  padding: 18px 20px;
  background: #f2f7fd;
  border-left: 4px solid #1769e0;
  margin-top: 24px;
}
.iv-result h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.iv-result ul {
  padding-left: 22px;
}
.iv-result li {
  margin: 12px 0;
}
.iv-correct {
  border-color: #167347;
}
.iv-wrong {
  border-color: #bb5a13;
}
.iv-sources {
  margin-top: 24px;
  font-size: 14px;
}
.iv-sources summary,
.iv-qa summary {
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
  font-weight: 700;
}
.iv-qa {
  margin-bottom: 20px;
}
.iv-qa p {
  white-space: pre-line;
}
.iv-study-summary {
  padding: 22px 24px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
}
.iv-study-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.iv-study-heading h2 {
  margin: 0;
  font-size: 21px;
}
.iv-study-heading p {
  margin: 4px 0 0;
  color: #536176;
}
.interview-app .iv-continue {
  display: inline-block;
  background: var(--iv-blue);
  color: white;
  border-radius: 7px;
  padding: 10px 18px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
}
.iv-study-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--iv-line);
}
.iv-study-stats p {
  font-size: 13px;
  color: #536176;
  margin-bottom: 10px;
}
.iv-study-stats strong {
  display: block;
  font-size: 24px;
  color: var(--iv-ink);
}
.iv-study-summary small {
  color: #536176;
  font-size: 13px;
}
.iv-goals,
.iv-study-completion,
.iv-self-rating {
  background: #f4f7fb;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0;
}
.iv-goals h2,
.iv-study-completion h2,
.iv-self-rating h3 {
  margin-top: 0;
  font-size: 19px;
}
.iv-self-rating > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.iv-self-rating button[aria-pressed='true'] {
  background: #e3edfc;
  border-color: var(--iv-blue);
  font-weight: 700;
}
.iv-knowledge > section {
  padding: 16px;
  margin: 12px -16px;
  scroll-margin-top: 24px;
}
.iv-knowledge > .iv-knowledge-target {
  background: #eef5ff;
  border-radius: 8px;
  outline: 2px solid #1769e0;
}
.iv-knowledge p,
.iv-question h2,
.iv-question .iv-context {
  white-space: pre-line;
}
.iv-point-exercises {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.iv-point-exercises a {
  padding: 8px 0;
}
.iv-point-link {
  display: inline-block;
  margin: 6px 10px 6px 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eef5ff;
  font-size: 14px;
}
.iv-next-lesson,
.iv-return-question {
  display: inline-block;
  margin: 8px 0 8px 20px;
}
.iv-review-knowledge {
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
}
.iv-question-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--iv-line);
  padding-top: 20px;
  margin-top: 24px;
}
.iv-question-nav span {
  font-size: 14px;
}
@media (max-width: 760px) {
  .iv-study-summary {
    padding: 18px 16px;
  }
  .iv-study-stats {
    gap: 8px;
  }
  .iv-goals,
  .iv-study-completion,
  .iv-self-rating {
    padding: 16px;
  }
  .iv-next-lesson,
  .iv-return-question {
    display: block;
    margin-left: 0;
  }
  .iv-header {
    align-items: start;
    flex-direction: column;
    padding: 16px;
  }
  .iv-header nav {
    width: 100%;
  }
  .iv-header button {
    font-size: 14px;
  }
  .iv-main {
    padding: 22px 14px 40px;
  }
  .iv-intro {
    padding-left: 14px;
  }
  .iv-intro h1 {
    font-size: 25px;
  }
  .iv-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .iv-list {
    max-height: 300px;
    border-bottom: 1px solid var(--iv-line);
  }
  .iv-list button {
    margin-bottom: 4px;
  }
  .iv-question {
    padding: 20px 16px;
  }
  .iv-question h2 {
    font-size: 21px;
  }
  .iv-controls {
    gap: 12px;
  }
  .iv-controls > label {
    flex: 1;
    min-width: 120px;
  }
  .iv-search {
    flex-basis: 100%;
  }
  .iv-result {
    padding: 15px 12px;
  }
  .iv-actions {
    gap: 8px;
  }
  .iv-actions button {
    font-size: 14px;
    padding: 8px 10px;
  }
}
