@charset "UTF-8";
:root {
  --ink: #213a33;
  --forest: #183e35;
  --green: #2f2f6d;
  --muted: #757580;
  --line: #dcdee5;
  --paper: #eff1f6;
  --white: #fff;
  --amber: #b87d29;
  --red: #a3433e;
  --radius: 18px;
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b37e38;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 18px;
  font-weight: 700;
}
h3 {
  font-size: 15px;
}
p {
  color: #656574;
}
small {
  font-size: 12px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}
.sidebar {
  padding: 33px 22px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: 0.5px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 1px;
}
.brand-mark {
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  border-radius: 12px 12px 12px 2px;
  font-size: 24px;
  font-weight: 500;
}
.course-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 38px;
}
.course-label span {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 6px;
  color: var(--green);
}
.course-name {
  font-weight: 650;
  font-size: 14px;
  margin: 7px 0 26px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  color: #6b6b74;
  white-space: nowrap;
}
.sidebar nav a:hover {
  background: #f0f1f6;
  text-decoration: none;
}
.sidebar nav a.active {
  background: #e7e8f0;
  color: var(--forest);
  font-weight: 750;
}
.sidebar nav a > span {
  font-size: 19px;
  width: 21px;
  line-height: 1;
}
.sidebar nav i {
  font-style: normal;
  font-size: 9px;
  background: #e9d4a9;
  color: #6e4f24;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: auto;
}
.sidebar nav b {
  font-size: 11px;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 14px;
}
.sidebar-bottom a,
.sidebar-bottom button {
  font-size: 12px;
  color: #656574;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
}
.sidebar-bottom p {
  font-size: 10px;
  line-height: 1.8;
  color: #8f9098;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  background: #ffffff70;
  font-size: 12px;
  color: var(--muted);
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.top-separator {
  color: #adafba;
  margin: 0 13px;
}
.local-dot {
  width: 6px;
  height: 6px;
  background: #5b5e8c;
  border-radius: 50%;
  display: inline-block;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  margin-left: 10px;
  color: #656574;
  font-size: 12px;
}
#main {
  max-width: 1380px;
  padding: 37px 42px 48px;
  margin: auto;
  outline: none;
  min-height: calc(100vh - 140px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2.5px;
  color: #7c7d89;
  margin-bottom: 10px;
}
h1 {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 9px;
}
.date-chip {
  font-size: 11px;
  color: #787c90;
  text-align: right;
  border-left: 1px solid #cacddb;
  padding: 0 0 0 16px;
  min-width: 90px;
}
.date-chip b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 23px;
}
.stat > span {
  font-size: 12px;
  color: #7a7b84;
}
.stat strong {
  display: block;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 600;
  margin: 9px 0 5px;
  font-variant-numeric: tabular-nums;
}
.stat strong small {
  font-size: 12px;
  font-weight: 400;
  color: #898b97;
  margin-left: 8px;
}
.stat p {
  font-size: 11px;
  color: #868893;
}
.home-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.hero-card {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  min-height: 348px;
  position: relative;
  overflow: hidden;
}
.hero-card .eyebrow {
  color: #a9aabf;
  font-size: 9px;
  margin-bottom: 16px;
}
.hero-tag {
  font-size: 11px;
  background: #353559;
  padding: 5px 9px;
  border-radius: 5px;
  color: #ced1e3;
}
.hero-card h2 {
  font-size: 25px;
  line-height: 1.7;
  font-weight: 550;
  margin-top: 17px;
  position: relative;
  z-index: 2;
  letter-spacing: 0.2px;
}
.hero-card p {
  color: #b9baca;
  font-size: 12px;
  margin: 13px 0 22px;
  position: relative;
  z-index: 2;
}
.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.primary {
  background: var(--forest);
  color: #fff;
}
.primary:hover {
  background: #282758;
}
.secondary {
  background: #fff;
  border-color: #d7d9e1;
  color: #555569;
}
.secondary:hover {
  background: #edeef4;
}
.cream {
  background: #c6cfe9;
  color: var(--forest);
  position: relative;
  z-index: 2;
}
.cream:hover {
  background: #f3f1d7;
}
.wide {
  width: 100%;
}
.paper-illustration {
  position: absolute;
  width: 176px;
  height: 223px;
  right: 20px;
  bottom: -23px;
  transform: rotate(9deg);
  background: #dadfee;
  border-radius: 12px;
  color: var(--forest);
  padding: 22px 16px;
  box-shadow: -12px 5px 0 #414363;
  opacity: 0.95;
}
.paper-label {
  font-size: 7px;
  letter-spacing: 1.4px;
  margin-bottom: 16px;
  color: #6a6e84;
}
.paper-illustration > div:not(.paper-label) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  position: relative;
}
.paper-illustration i {
  font-style: normal;
  display: grid;
  place-items: center;
  background: #46486a;
  color: #fff;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  font-size: 13px;
}
.paper-illustration .unchecked {
  background: transparent;
  border: 1px solid #9399b0;
}
.paper-illustration span {
  height: 4px;
  background: #afb6cc;
  width: 80px;
  border-radius: 5px;
}
.paper-illustration b {
  font-size: 10px;
  position: absolute;
  right: 0;
  top: -5px;
  color: #8b612a;
  transform: rotate(-9deg);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}
.section-head > span {
  font-size: 10px;
  color: #838593;
}
.section-head h2 {
  font-size: 16px;
}
.route {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e7e9f0;
  padding: 20px 0;
  color: var(--ink);
}
.route:hover {
  text-decoration: none;
}
.route:first-of-type {
  border-top: 0;
  padding-top: 7px;
}
.route:last-child {
  padding-bottom: 3px;
}
.route-no {
  font-size: 14px;
  color: #9699aa;
  background: #edeef5;
  border-radius: 8px;
  width: 33px;
  height: 36px;
  display: grid;
  place-items: center;
}
.route strong {
  font-size: 13px;
}
.route p {
  font-size: 11px;
  margin-top: 3px;
  color: #878994;
}
.route b {
  margin-left: auto;
  font-weight: 400;
  font-size: 20px;
  color: #7b819c;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.topic-row {
  margin: 16px 0;
}
.topic-row > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 7px;
}
.topic-row small {
  color: #9094a3;
  font-size: 10px;
}
.progress-track {
  height: 5px;
  background: #e6e8f0;
  border-radius: 5px;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  background: #686b8a;
  border-radius: 5px;
}
.source-note {
  background: #e2e5ef;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.source-stamp {
  font-size: 9px;
  letter-spacing: 1px;
  color: #5d6484;
  border: 1px solid #bdc1d4;
  border-radius: 4px;
  padding: 3px 6px;
  margin-bottom: 14px;
}
.source-note h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.source-note p {
  font-size: 12px;
  line-height: 1.9;
}
.source-note a {
  font-size: 11px;
  margin-top: 17px;
}
.footer {
  max-width: 1380px;
  margin: auto;
  padding: 0 42px 23px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #888b99;
}
.resume-card {
  padding: 17px 22px;
  background: #f0eddd;
  border: 1px solid #dfd7ba;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 12px;
  margin-bottom: 23px;
}
.resume-card strong {
  font-size: 13px;
}
.resume-card p {
  font-size: 11px;
  margin-top: 3px;
}
.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 24px;
}
.setup {
  padding: 30px;
}
.setup form {
  display: grid;
  gap: 20px;
}
.setup label {
  font-size: 12px;
  font-weight: 650;
  display: grid;
  gap: 8px;
}
select,
input[type="search"] {
  width: 100%;
  height: 46px;
  border: 1px solid #d5d7e2;
  background: #f8f9fc;
  color: var(--ink);
  padding: 0 12px;
  border-radius: 7px;
}
select {
  cursor: pointer;
}
.guide-symbol {
  display: grid;
  place-items: center;
  font-size: 28px;
  background: #e6e8f2;
  color: #5b6184;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin: 5px 0 23px;
}
.guide h2 {
  margin-bottom: 13px;
}
.guide p,
.panel > p {
  font-size: 13px;
  line-height: 1.9;
  margin: 10px 0;
}
.guide a {
  font-size: 12px;
}
.subtle {
  color: #828492;
  font-size: 12px;
}
.diagnostic-demo {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 17px 0;
}
.diagnostic-demo > span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}
.good {
  background: #e4e4f0;
  color: #2c2d6d;
}
.bad {
  background: #f9e7e3;
  color: #a64e43;
}
.missed {
  background: #f8eed6;
  color: #a07926;
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 23px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.review-summary > div:last-child {
  margin-left: auto;
}
.review-summary strong {
  display: block;
  font-size: 30px;
  font-weight: 600;
}
.review-summary span {
  font-size: 11px;
  color: #858795;
}
.hint {
  font-size: 11px;
  color: #828697;
  line-height: 1.9;
  margin: 15px 0 25px;
}
.question-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 20px 0;
  color: var(--ink);
}
.question-row:hover .row-content strong {
  color: #5a6191;
}
.type-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 7px;
  background: #e5e7f0;
  font-size: 12px;
  color: #555a7a;
}
.type-dot.multiple {
  background: #f8edd3;
  color: #a07b2e;
}
.row-content {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.row-content small {
  color: #7c7f90;
  font-size: 10px;
}
.row-content strong {
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-content .subtle {
  font-size: 10px;
}
.empty {
  text-align: center;
  padding: 46px 22px;
}
.empty-icon {
  font-size: 34px;
  color: #888da6;
  margin-bottom: 15px;
}
.empty h2 {
  font-size: 17px;
}
.empty p {
  font-size: 12px;
  line-height: 1.9;
  margin: 12px auto 22px;
  max-width: 360px;
}
.exam-card .eyebrow {
  color: #727791;
}
.exam-numbers {
  display: flex;
  justify-content: space-around;
  border-block: 1px solid var(--line);
  padding: 27px 0;
  margin: 24px 0;
}
.exam-numbers div {
  text-align: center;
}
.exam-numbers strong {
  display: block;
  font-weight: 550;
  font-size: 34px;
}
.exam-numbers span {
  font-size: 11px;
  color: #848795;
}
.plain-list {
  padding-left: 20px;
  font-size: 13px;
  color: #5d6179;
  line-height: 2.2;
}
.exam-history {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 11px;
}
.exam-history strong {
  font-size: 26px;
}
.exam-history small {
  font-weight: 400;
  font-size: 11px;
  color: #84879a;
}
.pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}
.green {
  color: #4b4e77;
  background: #e5e7f1;
}
.amber {
  color: #956c28;
  background: #f7eed8;
}
.rose {
  color: #ad584d;
  background: #f9e9e5;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #7f8395;
  background: #f1f2f8;
  padding: 12px;
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td strong {
  font-size: 11px;
  letter-spacing: 1px;
}
td small {
  color: #7b8096;
  font-size: 10px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}
.panel > h2 {
  margin-bottom: 12px;
}
.session-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 12px;
}
.session-heading > div {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #7f8294;
}
.timer {
  font-size: 20px;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.session-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 23px;
  align-items: start;
}
.question-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 29px;
}
.question-top,
.question-top > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.question-top {
  justify-content: space-between;
}
.bookmark {
  border: 0;
  background: transparent;
  color: #9197ae;
  font-size: 28px;
  padding: 0 7px;
  line-height: 1;
}
.bookmark.active {
  color: #b88b39;
}
.q-meta {
  font-size: 10px;
  color: #8388a1;
  margin: 17px 0 10px;
}
.q-meta span {
  margin: 0 5px;
}
.question-text {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0;
  white-space: pre-wrap;
}
.selection-hint {
  font-size: 11px;
  color: #8b8f9e;
  margin: 15px 0 23px;
}
.options {
  display: grid;
  gap: 12px;
}
.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid #d8dae5;
  border-radius: 10px;
  text-align: left;
  background: #fff;
  line-height: 1.8;
  color: #3a3d52;
  width: 100%;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.option:not(:disabled):hover {
  border-color: #7a82a6;
  background: #f4f5fa;
}
.option:disabled {
  opacity: 1;
}
.letter {
  display: grid;
  place-items: center;
  width: 29px;
  min-width: 29px;
  height: 29px;
  border-radius: 6px;
  font-size: 12px;
  background: #ebedf4;
  color: #707690;
  font-weight: 650;
}
.option-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  padding-top: 1px;
}
.option-text small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
}
.check-box {
  width: 16px;
  height: 16px;
  border: 1px solid #bcc1d6;
  border-radius: 4px;
  margin-top: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.check-box.single {
  border-radius: 50%;
}
.option.selected {
  border-color: #50557d;
  background: #eef0f7;
}
.selected .letter {
  background: var(--forest);
  color: #fff;
}
.selected .check-box {
  background: #4a4f75;
  color: #fff;
  border-color: #4a4f75;
}
.option.answer {
  border-color: #7378a5;
  background: #eeeff7;
}
.option.answer .option-text small {
  color: #444b7e;
}
.option.wrong {
  border-color: #c9897a;
  background: #fff4ef;
}
.option.wrong .option-text small {
  color: #ae5b49;
}
.option.miss {
  border-style: dashed;
  border-color: #cca657;
  background: #fffaf0;
}
.option.miss .option-text small {
  color: #a37d29;
}
.question-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 27px;
  padding-top: 22px;
  border-top: 1px solid #e6e8f0;
}
.question-actions > div {
  display: flex;
  gap: 8px;
}
.question-side .panel {
  padding: 20px;
}
.question-side .section-head h2 {
  font-size: 13px;
}
.question-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  max-height: 370px;
  overflow-y: auto;
  padding: 3px;
}
.question-nav button {
  height: 31px;
  font-size: 11px;
  border: 1px solid #d9dce8;
  background: #fff;
  color: #6e7594;
  border-radius: 5px;
  position: relative;
}
.question-nav button.answered {
  background: #e3e5f1;
  color: #424873;
  border-color: #e3e5f1;
}
.question-nav button.current {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}
.question-nav button.flagged:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ce9a32;
  right: 3px;
  top: 3px;
}
.nav-legend {
  display: flex;
  gap: 12px;
  color: #7f859c;
  font-size: 10px;
  margin: 17px 0 25px;
}
.nav-legend i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 5px;
}
.green-dot {
  background: #6973a6;
}
.amber-dot {
  background: #cfa352;
}
.side-note {
  font-size: 11px;
  color: #868a9e;
  line-height: 1.9;
  padding: 15px 7px;
}
.feedback {
  border-radius: var(--radius);
  border: 1px solid #d0d4e6;
  background: #fff;
  padding: 25px;
  margin-top: 22px;
}
.feedback-title {
  display: flex;
  gap: 13px;
  align-items: center;
}
.feedback-title > span {
  font-size: 26px;
  color: #5d679a;
}
.feedback-title h2 {
  font-size: 17px;
}
.feedback-title p {
  font-size: 12px;
  margin-top: 5px;
}
.feedback-title p span {
  margin: 0 8px;
  color: #a3a7b9;
}
.incorrect .feedback-title > span {
  color: #ac8446;
}
.explanation {
  margin-top: 21px;
  border-top: 1px solid #dfe2ec;
  padding-top: 19px;
}
.explanation > p {
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.9;
}
.source-link {
  font-size: 11px;
  display: inline-block;
  margin-top: 18px;
}
.option-explanation {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #e7e9f1;
  padding: 12px 0;
  align-items: flex-start;
}
.option-explanation b {
  color: #5b6288;
  background: #e7eaf4;
  border-radius: 4px;
  padding: 0 7px;
  font-size: 11px;
}
.option-explanation p {
  font-size: 12px;
  line-height: 1.9;
}
.law-box {
  padding: 17px;
  background: #ebedf5;
  border-radius: 9px;
  margin-top: 20px;
  font-size: 12px;
}
.law-box p {
  margin: 7px 0 10px;
  font-size: 12px;
}
.law-box small {
  display: block;
  color: #7d839b;
  margin-top: 8px;
  font-size: 10px;
}
.note-panel {
  margin-top: 22px;
}
.note-panel label {
  font-size: 13px;
  font-weight: 600;
}
.note-panel textarea {
  display: block;
  width: 100%;
  margin: 11px 0 5px;
  border: 1px solid #d6d9e5;
  border-radius: 8px;
  padding: 12px;
  background: #f9fafd;
  color: var(--ink);
  font-size: 13px;
  resize: vertical;
}
.note-panel small {
  font-size: 10px;
  color: #868ba0;
}
.figures {
  margin: 20px 0;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
}
.figures > div {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-top: 12px;
}
.figures img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}
.result-hero {
  background: #e1e4f0;
  border: 1px solid #c8cce0;
  border-radius: var(--radius);
  padding: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.result-hero > div > span {
  font-size: 12px;
  color: #6d7494;
}
.result-hero strong {
  font-size: 65px;
  font-weight: 500;
  display: block;
  line-height: 1.3;
  margin: 9px 0;
}
.result-hero strong small {
  font-size: 17px;
  margin-left: 10px;
  color: #757b98;
}
.result-hero p {
  font-size: 12px;
}
.result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 35px;
  text-align: center;
}
.result-metrics b {
  display: block;
  font-size: 25px;
  font-weight: 550;
}
.result-metrics span {
  font-size: 11px;
  color: #7a809c;
}
.result-list {
  margin-top: 25px;
}
.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  background: #fff;
  color: var(--ink);
}
.result-row > span:nth-child(2) {
  flex: 1;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.result-row small {
  white-space: nowrap;
  color: #797f99;
  font-size: 11px;
}
.notice {
  display: none;
}
.notice.visible {
  display: block;
  margin: 15px 42px 0;
  padding: 13px 18px;
  border: 1px solid #dfd4aa;
  background: #fff9df;
  color: #8c6d2c;
  border-radius: 9px;
  font-size: 12px;
}
.danger-text {
  color: var(--red) !important;
}
dialog {
  border: 1px solid #d1d4e3;
  border-radius: 16px;
  padding: 27px;
  max-width: 440px;
  width: calc(100% - 35px);
  color: var(--ink);
  box-shadow: 0 25px 100px #18192740;
}
dialog::backdrop {
  background: #12122460;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
}
dialog p {
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.9;
}
dialog .button-row {
  justify-content: flex-end;
}
.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  background: #fff;
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1600px) {
  .hero-card {
    min-height: 370px;
    padding: 35px;
  }
  .hero-card h2 {
    font-size: 30px;
  }
  .paper-illustration {
    right: 32px;
    width: 210px;
    height: 245px;
    bottom: -20px;
  }
}
@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .sidebar {
    width: 206px;
    padding-inline: 15px;
  }
  .brand {
    font-size: 18px;
  }
  .sidebar nav a {
    padding-inline: 10px;
    gap: 9px;
    font-size: 13px;
  }
  .topbar {
    padding-inline: 25px;
  }
  #main {
    padding: 30px 25px;
  }
  .home-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .hero-card {
    padding: 26px;
  }
  .hero-card h2 {
    font-size: 23px;
  }
  .paper-illustration {
    opacity: 0.35;
    right: 0;
  }
  .session-grid {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 16px;
  }
  .question-card {
    padding: 23px;
  }
  .question-side .panel {
    padding: 15px;
  }
  .question-nav {
    gap: 5px;
  }
  .question-actions .btn {
    font-size: 11px;
    padding: 9px 11px;
  }
  .review-summary {
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    padding: 11px 18px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 16px;
    gap: 8px;
    width: max-content;
  }
  .brand-mark {
    width: 31px;
    height: 33px;
    font-size: 20px;
    border-radius: 7px;
  }
  .brand small {
    font-size: 7px;
  }
  .course-label,
  .course-name,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 3px;
    margin-top: 9px;
    padding-bottom: 1px;
  }
  .sidebar nav a {
    font-size: 11px;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 6px;
  }
  .sidebar nav a > span {
    font-size: 14px;
    width: auto;
  }
  .sidebar nav i {
    display: none;
  }
  .sidebar nav b {
    font-size: 9px;
  }
  .workspace {
    grid-column: 1;
  }
  .topbar {
    height: 45px;
    padding: 0 22px;
    font-size: 10px;
  }
  .text-button {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .stat {
    padding: 17px;
  }
  .home-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .hero-card h2 {
    font-size: 23px;
  }
  .daily {
    padding: 20px;
  }
  .route {
    padding: 19px 0;
  }
  .bottom-grid {
    gap: 17px;
  }
  .session-grid {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 15px;
  }
  .question-side .section-head > span {
    display: none;
  }
  .question-card {
    padding: 20px;
  }
  .question-text {
    font-size: 19px;
  }
  .footer {
    padding-inline: 25px;
  }
  .review-summary {
    gap: 20px;
    padding: 20px;
  }
  .review-summary strong {
    font-size: 26px;
  }
}
@media (max-width: 680px) {
  #main {
    padding: 25px 17px 34px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .date-chip {
    display: none;
  }
  .stat-grid {
    gap: 8px;
    margin-bottom: 17px;
  }
  .stat {
    padding: 13px 11px;
    border-radius: 11px;
  }
  .stat > span {
    font-size: 10px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat strong small {
    font-size: 9px;
    margin-left: 4px;
  }
  .stat p {
    font-size: 9px;
    line-height: 1.7;
  }
  .home-grid,
  .bottom-grid,
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .hero-card {
    min-height: 350px;
    padding: 26px;
  }
  .hero-card h2 {
    font-size: 26px;
  }
  .hero-card p {
    font-size: 12px;
  }
  .paper-illustration {
    opacity: 0.75;
    width: 138px;
    height: 195px;
    right: 15px;
    bottom: -24px;
  }
  .paper-illustration span {
    width: 55px;
  }
  .paper-illustration .paper-label {
    font-size: 6px;
  }
  .daily {
    padding: 22px;
  }
  .panel {
    padding: 21px;
  }
  .route {
    padding: 18px 0;
  }
  .route-no {
    width: 35px;
    height: 37px;
  }
  .route strong {
    font-size: 14px;
  }
  .route p {
    font-size: 11px;
  }
  .source-note {
    padding: 25px;
  }
  .footer {
    padding: 0 18px 20px;
    display: grid;
    gap: 3px;
    font-size: 9px;
  }
  .resume-card {
    padding: 14px;
  }
  .resume-card strong {
    font-size: 12px;
  }
  .resume-card .btn {
    font-size: 11px;
    padding: 8px 12px;
  }
  .review-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    padding: 20px 15px;
  }
  .review-summary > div:last-child {
    grid-column: 1/-1;
    margin: 8px 0 0;
  }
  .review-summary .btn {
    width: 100%;
  }
  .review-summary span {
    font-size: 10px;
  }
  .review-summary strong {
    font-size: 29px;
  }
  .question-row {
    gap: 10px;
    padding: 18px 0;
  }
  .question-row strong {
    font-size: 12px;
  }
  .session-grid {
    display: flex;
    flex-direction: column;
  }
  .session-grid > div {
    width: 100%;
  }
  .question-side {
    width: 100%;
  }
  .question-side .panel {
    padding: 19px;
  }
  .question-side .section-head > span {
    display: block;
  }
  .question-nav {
    grid-template-columns: repeat(10, 1fr);
    max-height: 180px;
    gap: 7px;
  }
  .question-nav button {
    height: 30px;
  }
  .question-card {
    padding: 19px 16px;
  }
  .question-text {
    font-size: 18px;
    line-height: 1.9;
  }
  .session-heading {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .session-heading > div {
    gap: 12px;
  }
  .timer {
    font-size: 18px;
  }
  .q-meta {
    font-size: 9px;
  }
  .question-top .subtle {
    font-size: 10px;
  }
  .option {
    gap: 10px;
    padding: 13px 11px;
  }
  .option-text {
    font-size: 13px;
  }
  .letter {
    width: 26px;
    min-width: 26px;
    height: 26px;
  }
  .check-box {
    min-width: 15px;
    width: 15px;
    height: 15px;
  }
  .question-actions {
    gap: 8px;
    align-items: stretch;
  }
  .question-actions > div {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .question-actions .btn {
    font-size: 11px;
    padding: 9px 12px;
  }
  .feedback {
    padding: 20px 17px;
  }
  .feedback-title h2 {
    font-size: 16px;
  }
  .feedback-title p {
    font-size: 11px;
  }
  .result-hero {
    display: block;
    padding: 26px;
  }
  .result-hero strong {
    font-size: 59px;
  }
  .result-metrics {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #c2c8e1;
    margin-top: 23px;
    padding-top: 19px;
  }
  .result-metrics b {
    font-size: 22px;
  }
  .result-metrics span {
    font-size: 9px;
  }
  .result-row {
    gap: 8px;
    align-items: flex-start;
  }
  .result-row .pill {
    font-size: 9px;
  }
  .result-row small {
    font-size: 9px;
  }
  .notice.visible {
    margin-inline: 17px;
  }
  .button-row .btn {
    flex: 1;
    font-size: 12px;
  }
  .exam-numbers strong {
    font-size: 31px;
  }
  .option-text small {
    font-size: 10px;
  }
  .figures img {
    max-height: 250px;
  }
  .topbar {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.bank-search {
  margin-top: 24px;
}
.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;
}
.original-layout {
  margin: 15px 0;
  font-size: 11px;
  color: #6f7591;
}
.original-layout summary {
  cursor: pointer;
  padding: 8px 0;
}
.original-layout > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.original-layout img {
  width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}
.footer nav,
.reading-footer nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.footer a {
  color: #5f647c;
}
.check-label {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px !important;
  background: #eef0f7;
  border-radius: 8px;
  padding: 13px;
}
.check-label input {
  accent-color: var(--forest);
  width: 17px;
  height: 17px;
}
.check-label small {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.editorial-caution {
  background: #fff7e6;
  border: 1px solid #e8d09f;
  border-radius: 10px;
  padding: 16px 19px;
  margin: 20px 0;
  color: #795c28;
  font-size: 13px;
}
.editorial-caution p {
  font-size: 12px;
  color: #795c28;
  line-height: 1.9;
  margin: 7px 0 0;
}
.prose {
  font-size: 15px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 20px;
  margin: 30px 0 12px;
  color: var(--forest);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 18px 0 9px;
}
.prose p {
  font-size: 14px;
  margin: 13px 0 19px;
  line-height: 2;
}
.prose ul {
  color: #656574;
  padding-left: 24px;
}
.prose a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .option-explanation p {
  margin: 0;
  font-size: 14px;
}
.library-intro {
  margin-bottom: 23px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}
.library-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
}
.library-card:hover {
  background: #e8eaf3;
  text-decoration: none !important;
}
.library-card .eyebrow {
  font-size: 9px;
  margin: 0;
}
.library-card h2 {
  font-size: 18px;
  margin: 0 !important;
}
.library-card p {
  font-size: 12px !important;
  margin: 0 !important;
  line-height: 1.9;
}
.library-card > span:last-child {
  font-size: 11px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--green);
}
.library-list {
  margin-top: 20px;
}
.library-item {
  display: block;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--ink);
  text-decoration: none !important;
}
.library-item:hover h3 {
  color: var(--green);
}
.library-item > span {
  font-size: 10px;
  color: #747992;
}
.library-item h3 {
  font-size: 15px;
  line-height: 1.9;
  margin: 5px 0;
}
.library-item p {
  font-size: 12px;
  margin: 5px 0 0;
  line-height: 1.9;
}
.reading-header {
  max-width: 1140px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.reading-header nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.reading-main {
  max-width: 900px;
  margin: 43px auto 65px;
  padding: 0 28px;
}
.reading-main > h1 {
  font-size: 32px;
  line-height: 1.7;
  letter-spacing: 0;
}
.reading-description {
  font-size: 15px;
  margin: 15px 0 28px;
  line-height: 1.9;
}
.reading-main > .prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
}
.reading-footer {
  max-width: 1080px;
  margin: auto;
  padding: 25px 30px 35px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.reading-footer p {
  margin-bottom: 13px;
}
.article-meta {
  font-size: 11px !important;
  color: #737891;
}
.article-options {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.article-options li {
  background: #edeff6;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 8px;
  color: #3d3f55;
  font-size: 14px;
}
.article-options b {
  margin-right: 10px;
}
.answer-summary {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin: 25px 0;
}
.answer-summary h2 {
  margin-top: 15px !important;
}
.answer-summary p {
  margin-bottom: 0;
}
.article-original {
  font-size: 12px;
  color: var(--green);
}
.article-original summary {
  cursor: pointer;
}
.article-original img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
}
.report-form {
  display: grid;
  gap: 19px;
  margin-top: 24px;
}
.report-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}
.report-form textarea,
.report-form input,
#report-preview {
  width: 100%;
  min-width: 0;
  border: 1px solid #c9ccdd;
  border-radius: 8px;
  padding: 12px;
  background: #f8f9fc;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.report-form textarea,
#report-preview {
  resize: vertical;
  line-height: 1.9;
}
.report-form .btn {
  justify-self: start;
}
#report-preview {
  margin-top: 9px;
  background: #eff0f7;
}
.prose .hint {
  font-size: 11px;
}
.reading-page .library-grid {
  grid-template-columns: 1fr;
}
.reading-page .library-card {
  background: #f1f2f8;
}
@media (max-width: 1000px) {
  .library-grid {
    grid-template-columns: 1fr;
  }
  .library-card {
    padding: 20px;
  }
  .reading-header .brand {
    font-size: 17px;
  }
}
.prose a.library-card,
.prose a.library-item {
  text-decoration: none;
}
@media (max-width: 680px) {
  .reading-header {
    padding: 17px;
    align-items: flex-start;
  }
  .reading-header nav {
    font-size: 11px;
    gap: 8px;
    flex-direction: column;
  }
  .reading-header .brand {
    font-size: 16px;
  }
  .reading-main {
    padding: 0 16px;
    margin: 28px auto 40px;
  }
  .reading-main > h1 {
    font-size: 25px;
    line-height: 1.7;
  }
  .reading-main > .prose {
    padding: 23px 18px;
  }
  .prose h2 {
    font-size: 18px;
  }
  .prose p {
    font-size: 13px;
  }
  .reading-description {
    font-size: 13px;
  }
  .reading-footer {
    padding: 22px 18px;
  }
  .footer nav {
    margin-top: 9px;
    gap: 11px;
  }
  .report-form .btn {
    width: 100%;
  }
  .editorial-caution {
    padding: 14px;
  }
  .article-options li {
    font-size: 13px;
  }
  .reading-main .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar,
  .workspace,
  .session-grid,
  .session-grid > div,
  .question-side {
    min-width: 0;
  }
  .workspace {
    width: 100%;
  }
  .sidebar nav > a {
    flex-shrink: 0;
  }
  .option-text {
    overflow-wrap: anywhere;
  }
}

.learning-point {
  padding: 16px 18px;
  margin: 18px 0;
  background: #ecedf4;
  border-left: 3px solid #676b8b;
  border-radius: 0 10px 10px 0;
}
.learning-point h2,
.learning-point h3 {
  margin: 0 0 7px;
  font-size: 15px;
}
.learning-point p,
.learning-point li {
  font-size: 14px;
  line-height: 1.85;
  color: #43435b;
}
.learning-point ol {
  padding-left: 22px;
  margin: 8px 0 0;
}
.memory-point {
  background: #faf3e4;
  border-color: #bc9652;
}
.reason-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin: 0 8px 3px 0;
}
.reason-tag.bad {
  background: #f5e6e4;
  color: #913e38;
}
.reason-tag.missed {
  background: #f5ecd6;
  color: #806024;
}
.law-box > a {
  display: block;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
