:root {
  --paper: #f6f5ef;
  --surface: #fffefa;
  --ink: #243831;
  --muted: #778077;
  --line: #dedfd5;
  --green: #2c5b49;
  --green-pale: #e9eee5;
  --orange: #ba5939;
  --orange-pale: #f9ece3;
  --gold: #a7893c;
  --serif: Georgia, 'Songti SC', 'Noto Serif CJK SC', serif;
  --body: 'Avenir Next', 'PingFang SC', 'Microsoft YaHei', sans-serif
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.65 var(--body)
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select {
  font: inherit
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer
}

button:disabled {
  cursor: not-allowed;
  opacity: .45
}

a,
button,
label,
summary {
  touch-action: manipulation
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #c28645;
  outline-offset: 4px
}

h1,
h2,
h3,
p {
  margin: 0
}

h1,
h2,
h3 {
  font-weight: 500
}

h1 {
  font: 500 44px/1.3 var(--serif);
  letter-spacing: -1.8px
}

h2 {
  font: 500 24px/1.4 var(--serif)
}

h3 {
  font-size: 18px
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0
}

legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  padding: 39px 24px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #eeefe7
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 3px;
  font: 600 25px/1.3 var(--serif)
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 23px;
  border-radius: 12px 2px 12px 2px;
  letter-spacing: 0
}

nav {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.sidebar nav {
  margin-top: 36px
}

nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border-radius: 5px;
  color: #6b776b
}

.nav-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px
}

nav a:hover {
  background: #e3e7dc
}

nav a.active {
  color: var(--green);
  background: #dfe6d8;
  font-weight: 600
}

.sidebar-bottom {
  margin-top: auto;
  font-size: 10px;
  border-top: 1px solid #d7dccf;
  padding: 20px 9px 0;
  color: var(--muted)
}

.workspace {
  margin-left: 222px;
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 48px;
  gap: 20px;
  font-size: 11px;
  color: var(--muted)
}

.topbar a {
  color: var(--green)
}

.topbar a span {
  margin-left: 13px
}

main {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 42px 48px 48px;
  flex: 1
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0 36px;
  gap: 28px
}

.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 15px
}

.title-dot {
  color: var(--orange);
  padding-left: 5px
}

.lead {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.9
}

.hero-index {
  padding-left: 35px;
  border-left: 1px solid var(--line);
  min-width: 196px
}

.hero-index>span {
  font-size: 10px;
  color: var(--muted);
  display: block
}

.hero-index strong {
  font: 56px/1.4 var(--serif);
  letter-spacing: -2px;
  display: block
}

.hero-index i {
  font: 12px var(--body);
  letter-spacing: 0;
  margin-left: 12px
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px
}

.metrics>div {
  padding-left: 30px;
  border-left: 1px solid var(--line)
}

.metrics>div:first-child {
  padding-left: 0;
  border: 0
}

.metrics>div>span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px
}

.metrics strong {
  font: 37px/1.25 var(--serif);
  letter-spacing: -1px
}

.metrics strong small {
  font: 11px var(--body);
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 10px
}

.orange {
  color: var(--orange)
}

.practice-setup {
  background: var(--surface);
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.segmented {
  display: flex;
  background: #f1f3eb;
  border: 1px solid #e3e7dc;
  border-radius: 5px;
  padding: 4px;
  gap: 3px
}

.segmented label {
  flex: 1;
  position: relative;
  cursor: pointer
}

.segmented input,
.count-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer
}

.segmented span {
  display: block;
  text-align: center;
  white-space: nowrap;
  padding: 9px 3px;
  font-size: 11px;
  color: #7b8376;
  border-radius: 3px
}

.segmented input:checked+span {
  background: var(--green);
  color: #fff
}

.segmented input:focus-visible+span,
.count-options input:focus-visible+span {
  outline: 3px solid #c28645;
  outline-offset: 2px
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 600
}

select {
  max-width: 100%;
  height: 43px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 400
}

.count-options {
  display: flex;
  gap: 10px
}

.count-options label {
  position: relative;
  flex: 1;
  cursor: pointer
}

.count-options span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  padding: 8px 2px;
  font-size: 12px;
  background: var(--surface)
}

.count-options input:checked+span {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600
}

.start-row {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px
}

.start-row>span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 12px 21px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
  transition: background .15s, transform .15s
}

.button:hover {
  transform: translateY(-1px)
}

.button.primary {
  background: var(--green);
  color: white
}

.button.primary:hover {
  background: #204935
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--green)
}

.button.secondary:hover {
  background: var(--green-pale)
}

.mini-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px
}

.green {
  background: var(--green)
}

.orange-bg {
  background: var(--orange)
}

.gray-bg {
  background: #bdc5b7
}

.text-link {
  font-size: 12px;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px
}

.bottom-note {
  display: flex;
  gap: 25px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9
}

.bottom-note>span {
  white-space: nowrap;
  color: var(--green)
}

.resume {
  border: 1px solid #d8dfce;
  background: #eaf0e2;
  border-radius: 5px;
  padding: 15px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px
}

.resume>div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.small-label {
  font-size: 10px;
  color: var(--green)
}

.resume strong {
  font-weight: 500;
  font-size: 13px
}

.muted {
  color: var(--muted);
  font-size: 12px
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 5px 0 32px
}

.page-heading.compact {
  margin-bottom: 34px
}

.page-heading.compact h1 {
  font-size: 36px
}

.quiet-link {
  font-size: 11px;
  color: var(--muted)
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 34px;
  align-items: start
}

.question-panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap
}

.badge {
  display: inline-block;
  font-size: 10px;
  background: var(--green-pale);
  color: var(--green);
  padding: 4px 9px;
  border-radius: 3px
}

.question-source {
  margin-left: auto
}

.question-stem {
  font: 500 22px/1.85 var(--body);
  margin: 29px 0 12px;
  white-space: pre-wrap
}

.question-hint {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.answer-option {
  display: flex;
  align-items: center;
  position: relative;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s, border-color .15s
}

.answer-option input {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 0
}

.option-key {
  font: 16px var(--serif);
  color: var(--muted)
}

.option-text {
  font-size: 13px;
  line-height: 1.85;
  flex: 1
}

.answer-option:has(input:checked) {
  background: var(--green-pale);
  border-color: var(--green)
}

.answer-option:hover:not(:has(input:disabled)) {
  background: #f0f3e9
}

.answer-option:has(input:focus-visible) {
  outline: 2px solid #c28645;
  outline-offset: 3px
}

.answer-option.right {
  border-color: #6c936e;
  background: #edf3e8
}

.answer-option.wrong {
  border-color: #cd997e;
  background: #fbf0e9
}

.answer-option:has(input:disabled) {
  cursor: default
}

.option-outcome {
  font-size: 10px;
  color: var(--green);
  white-space: nowrap
}

.wrong .option-outcome {
  color: var(--orange)
}

.answer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 28px
}

.answer-actions>span {
  font-size: 10px;
  color: var(--muted)
}

.round-progress {
  padding-top: 10px;
  position: sticky;
  top: 30px
}

.round-counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px
}

.round-counter strong {
  font: 62px/1.2 var(--serif);
  letter-spacing: -3px
}

.round-counter>span {
  font: 20px var(--serif);
  color: #929c8b
}

.progress-track {
  height: 4px;
  background: #e1e5da;
  border-radius: 3px;
  overflow: hidden
}

.progress-track>span {
  display: block;
  height: 100%;
  background: var(--green)
}

.round-progress>.muted {
  font-size: 10px;
  margin: 12px 0 24px
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px
}

.question-grid a {
  min-height: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 10px;
  border-radius: 3px;
  color: var(--muted)
}

.question-grid a.current {
  outline: 2px solid var(--green);
  outline-offset: 2px
}

.question-grid a.is-correct {
  background: var(--green-pale);
  color: var(--green);
  border-color: #c8d6c0
}

.question-grid a.is-wrong {
  background: var(--orange-pale);
  color: var(--orange);
  border-color: #ecd1bf
}

.progress-legend {
  display: flex;
  gap: 22px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 23px
}

.progress-footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 19px
}

.feedback {
  margin-top: 26px;
  padding: 23px;
  background: #f0f4ea;
  border-radius: 5px;
  border-left: 3px solid var(--green)
}

.feedback.mistake {
  border-left-color: var(--orange);
  background: #fbf2e9
}

.feedback-top {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.feedback-top h3 {
  color: var(--green);
  font-size: 17px
}

.feedback.mistake h3 {
  color: var(--orange)
}

.feedback-top>span {
  font-size: 11px;
  color: var(--muted)
}

.feedback-top b {
  color: var(--ink);
  padding-left: 6px
}

.divider {
  margin: 0 12px;
  color: #b4b8ac
}

.feedback>p {
  font-size: 12px;
  line-height: 2;
  margin: 16px 0
}

.original-note {
  color: var(--muted);
  font-size: 10px
}

.sources {
  font-size: 10px;
  margin-top: 17px;
  display: flex;
  gap: 6px;
  flex-direction: column;
  align-items: start
}

.sources>span {
  color: var(--muted);
  margin-bottom: 3px
}

.sources a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere
}

.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 26px
}

.filter-bar .search {
  flex: 1
}

.filter-bar input {
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 15px;
  width: 100%;
  font-size: 12px;
  min-width: 120px
}

.filter-bar select {
  height: 44px
}

.list-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  padding: 4px 0 17px
}

.question-list {
  border-top: 1px solid var(--line)
}

.review-question {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  transition: background-color .24s ease
}

.review-question[open] {
  background-color: #edf1e9
}

.review-question summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0
}

.review-question summary::-webkit-details-marker {
  display: none
}

.list-number {
  font: 23px var(--serif);
  color: #9caa95;
  min-width: 30px
}

.review-summary {
  flex: 1;
  min-width: 0
}

.meta-small {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px
}

.meta-small span {
  margin: 0 6px
}

.review-summary h2 {
  font: 400 13px/1.9 var(--body)
}

.status-badge {
  font-size: 9px;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 3px;
  color: #758068;
  background: #e8ecdf
}

.status-badge.incorrect {
  background: var(--orange-pale);
  color: var(--orange)
}

.status-badge.ambiguous {
  background: #eee9d9;
  color: #8d7943
}

.status-badge.unanswered {
  background: #e5eceb;
  color: #5b7770
}

.review-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--green)
}

.review-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform .24s ease
}

.review-toggle .hide-review,
.review-question[open] .show-review {
  display: none
}

.review-question[open] .hide-review {
  display: inline
}

.review-question[open] .review-toggle svg {
  transform: rotate(-90deg)
}

.review-content {
  padding: 0 28px 27px 70px
}

.review-options {
  padding: 0;
  list-style: none;
  margin: 0 0 20px
}

.review-options li {
  font-size: 12px;
  padding: 7px 0;
  line-height: 1.8;
  color: #6e776c
}

.review-options b {
  font: 14px var(--serif);
  padding-right: 12px
}

.review-options li.correct-option {
  color: var(--green);
  font-weight: 600
}

.answer-comparison {
  display: flex;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  flex-wrap: wrap
}

.answer-comparison>span {
  font-size: 10px;
  color: var(--muted)
}

.answer-comparison strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  display: block;
  margin-top: 7px
}

.explanation {
  font-size: 12px;
  line-height: 2;
  margin-top: 19px
}

.supplement {
  border-left: 2px solid var(--line);
  padding-left: 12px
}

.explanation-label {
  display: inline-block;
  margin-right: 8px;
  padding: 0 7px;
  border-radius: 3px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 10px;
  line-height: 1.8;
  vertical-align: 1px
}

.supplement .explanation-label {
  background: var(--orange-pale);
  color: var(--orange)
}

.review-content>.muted {
  font-size: 10px;
  margin-top: 10px
}

.empty-state {
  text-align: center;
  padding: 70px 20px
}

.empty-state>span {
  font: 60px var(--serif);
  color: #a3af95
}

.empty-state h2 {
  font-size: 24px
}

.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 24px
}

.empty-state.small {
  padding: 35px 10px;
  background: #eff1e8;
  border-radius: 6px
}

.empty-state.small h2 {
  font-size: 20px
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 0 0 30px
}

.chart-section {
  padding-right: 35px;
  border-right: 1px solid var(--line)
}

.chart {
  height: 208px;
  display: flex;
  gap: 18px
}

.chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0
}

.chart-value {
  font: 13px var(--serif);
  height: 25px;
  white-space: nowrap
}

.chart-value small {
  color: var(--muted);
  font: 9px var(--body)
}

.bar-space {
  height: 148px;
  width: 100%;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--line);
  justify-content: center
}

.chart-bar {
  width: 29px;
  max-width: 90%;
  background: #c6cebc;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  display: flex;
  align-items: end
}

.chart-bar>div {
  width: 100%;
  background: var(--green);
  border-radius: 2px 2px 0 0
}

.chart-label {
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px
}

.chart-caption {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px
}

.chart-caption .mini-dot {
  margin-left: 10px;
  margin-right: 2px
}

.chart-caption .mini-dot:first-child {
  margin-left: 0
}

.chart-caption>span {
  margin-left: auto
}

.type-section {
  padding-top: 2px
}

.type-row {
  margin-top: 26px
}

.type-row>div:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px
}

.type-row strong {
  font-size: 12px;
  font-weight: 500
}

.type-row span {
  font-size: 9px;
  color: var(--muted)
}

.type-row b {
  font: 20px var(--serif);
  margin-left: auto
}

.type-section>.muted {
  font-size: 10px;
  line-height: 1.9;
  margin-top: 24px
}

.history-heading {
  padding-top: 28px;
  border-top: 1px solid var(--line)
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px
}

th {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  padding: 13px 12px;
  background: #ecefe5;
  white-space: nowrap
}

td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line)
}

td small {
  font-size: 9px;
  color: var(--muted)
}

.table-stem {
  max-width: 510px;
  margin-top: 5px;
  line-height: 1.9
}

.nowrap {
  white-space: nowrap
}

.result-pill {
  font-size: 10px;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 3px
}

.result-pill.good {
  background: var(--green-pale);
  color: var(--green)
}

.result-pill.bad {
  background: var(--orange-pale);
  color: var(--orange)
}

.summary-hero {
  text-align: center;
  padding: 15px 0 40px
}

.summary-hero h1 {
  font-size: 40px
}

.score-large {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 22px 0 12px
}

.score-large strong {
  font: 110px/1.1 var(--serif);
  letter-spacing: -7px;
  color: var(--green)
}

.score-large>span {
  font: 32px var(--serif);
  text-align: left
}

.score-large small {
  font: 10px var(--body);
  display: block;
  color: var(--muted);
  margin-top: 9px
}

.summary-counts {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  color: var(--muted)
}

.summary-counts b {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 0 4px
}

.summary-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 27px
}

.result-list {
  border-top: 1px solid var(--line)
}

.result-list>a {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0
}

.result-list>a>div {
  flex: 1;
  min-width: 0
}

.result-list small {
  font-size: 10px;
  color: var(--muted)
}

.result-list p {
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.9
}

.notice {
  border: 1px solid #cbd7bf;
  background: #eaf1e2;
  color: var(--green);
  font-size: 12px;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 25px
}

.notice.error {
  background: var(--orange-pale);
  color: var(--orange);
  border-color: #e7c8b2
}

.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  padding: 10px;
  background: var(--green);
  color: white;
  z-index: 100
}

.skip:focus {
  top: 10px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.resume-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.quiet-button {
  background: none;
  border: 0;
  padding: 6px 2px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px
}

.quiet-button:hover {
  color: var(--orange)
}

.abandon-form {
  margin-top: 14px
}

.button.small {
  padding: 8px 16px;
  font-size: 11px
}

.button.danger {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff
}

.button.danger:hover {
  background: #a34a2d
}

.review-actions {
  margin-top: 18px
}

.good-text {
  color: var(--green)
}

.bad-text {
  color: var(--orange)
}

.answer-comparison strong.bad-text {
  color: var(--orange)
}

.answer-comparison strong.muted-text {
  color: var(--muted)
}

.result-pill.none {
  background: #ecefe5;
  color: var(--muted)
}

.topic-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line)
}

.topic-section .section-heading {
  align-items: flex-end
}

.topic-section .muted b {
  font-weight: 500
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 16px 18px 14px
}

.topic-card.weak {
  border-color: #e7c8b2;
  background: var(--orange-pale)
}

.topic-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px
}

.topic-head strong {
  font-size: 12px;
  font-weight: 500
}

.topic-head b {
  font: 20px var(--serif)
}

.topic-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px
}

.topic-action {
  margin-top: 10px
}

.topic-action .text-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 10px
}

.danger-zone {
  max-width: 560px;
  background: var(--surface);
  border: 1px solid #e7c8b2;
  border-radius: 6px;
  padding: 26px 28px
}

.danger-zone>p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 22px
}

.danger-zone .text-link {
  display: inline
}

.reset-form .field-label {
  display: block;
  margin-bottom: 22px
}

.reset-form input {
  display: block;
  width: 100%;
  margin-top: 8px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface)
}

.bottom-note .quiet-link {
  margin-left: auto;
  align-self: flex-start
}
