:root {
  --orange: #ff641f;
  --orange-soft: #fff2e9;
  --ink: #191a1c;
  --muted: #737880;
  --line: #e8eaed;
  --canvas: #f7f8fa;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font: 15px/1.6 var(--font);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ff8c52;
  outline-offset: 3px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--orange);
}
button svg,
a svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  background: var(--orange);
  color: #151515;
}
.primary:hover {
  background: #ff793e;
}
.ink {
  background: var(--ink);
  color: #fff;
}
.outline {
  background: #fff;
  border-color: #dfe2e7;
}
.outline:hover {
  background: #fafafa;
}
.soft {
  background: var(--orange-soft);
  color: #a74615;
}
.btn.small {
  padding: 9px 14px;
  font-size: 12px;
}
.icon-btn {
  border: 1px solid transparent;
  background: none;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 7px;
}
.icon-btn:hover {
  background: #f1f2f4;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 550;
  color: #bd541f;
}
.text-link:hover {
  color: #f66b29;
}
.text-link.light {
  color: #ffd2bb;
}
.is-saved {
  color: #f46b2b !important;
  background: #fff2e9 !important;
}
.is-saved svg {
  fill: #ffe0ce;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font: 750 19px var(--display);
  letter-spacing: -0.8px;
}
.brand-number {
  font: 800 31px var(--display);
  letter-spacing: -2.3px;
  color: var(--orange);
  line-height: 1;
}
.brand-dot {
  color: var(--orange);
}
.mouse-icon {
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.eyebrow,
.mini-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1.5;
  color: #8c7365;
}
.mini-label {
  font-size: 8px;
  letter-spacing: 1px;
}
.muted,
.footnote {
  color: var(--muted);
}
.footnote {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 18px;
}
.small-copy {
  font-size: 12px;
}
.tiny {
  font-size: 10px;
}
.skip-link {
  position: fixed;
  top: -50px;
  left: 20px;
  z-index: 1000;
  background: #fff;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.boot-state {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  gap: 20px;
}
.boot-state h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.boot-state p {
  color: var(--muted);
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #1c1d1f;
  color: #babdc2;
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.sidebar > .brand {
  color: #fff;
  margin: 0 7px 29px;
}
.workspace-switch {
  border: 1px solid #343639;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 25px;
}
.exam-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  background: #35302d;
  color: #ffaf85;
  border: 1px solid #66422f;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
}
.workspace-switch strong {
  display: block;
  font-size: 12px;
  color: #eee;
  font-weight: 500;
}
.workspace-switch small {
  display: block;
  font-size: 9px;
  color: #888e96;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #9b9fa7;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
}
.nav-item:hover {
  background: #27292c;
  color: #eee;
}
.nav-item.active {
  color: #ffb18a;
  background: #3a2b24;
}
.nav-item b {
  margin-left: auto;
  background: #343638;
  color: #babdc2;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-plan {
  padding: 17px 13px 15px;
  border: 1px solid #36383c;
  border-radius: 11px;
  margin-bottom: 17px;
  background: linear-gradient(130deg, #292726, #222325);
}
.sidebar-plan .mini-label {
  color: #a7998f;
  font-size: 8px;
}
.sidebar-plan > strong {
  display: block;
  color: #f4f4f4;
  font-size: 15px;
  letter-spacing: -0.3px;
  margin: 9px 0 6px;
}
.sidebar-plan p {
  font-size: 10px;
  line-height: 1.7;
  color: #91949b;
}
.sidebar-plan > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e39a73;
  font-size: 11px;
  margin-top: 14px;
}
.local-status {
  display: block;
  text-align: center;
  color: #757c84;
  font-size: 9px;
  margin-top: 16px;
}
.local-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #82a795;
  margin-right: 5px;
}
.app-body {
  min-width: 0;
}
.app-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #ffffffed;
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(16px);
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breadcrumb {
  font-size: 12px;
  color: #5f6670;
}
.breadcrumb > span {
  padding: 0 10px;
  color: #c3c6cc;
}
.preview-label {
  font-size: 10px;
  color: #9398a0;
}
.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff9f4;
  border: 1px solid #f0dacb;
  border-radius: 30px;
  padding: 3px 12px 3px 5px;
  font-size: 12px;
}
.credit-pill strong {
  font-size: 14px;
}
.credit-pill span {
  color: #8f796a;
  font-size: 10px;
}
.avatar {
  background: #eceef1;
  border: 1px solid #e3e5e8;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 11px;
  color: #626b76;
}
.mobile-menu {
  display: none;
}
.workspace-main {
  max-width: 1390px;
  margin: auto;
  padding: 38px 38px 45px;
}
.app-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 38px;
  padding: 18px 0;
  font-size: 10px;
  color: #989da5;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
}
.page-heading .eyebrow {
  margin-bottom: 9px;
}
.page-heading h1 {
  font-size: 29px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -1.1px;
}
.page-heading p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: 0 2px 5px #19253601;
}
.dark-card {
  background: #1b1c1e;
  color: #fff;
  border: 1px solid #2a2c2f;
  border-radius: var(--radius);
  padding: 26px;
}
.dark-card .eyebrow {
  color: #d5a88f;
}
.dashboard-top {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 20px;
}
.daily-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 33px;
}
.daily-progress h2 {
  font-size: 25px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 10px 0 13px;
}
.daily-progress p {
  font-size: 12px;
  color: #8a8f97;
  max-width: 265px;
  margin-bottom: 24px;
}
.daily-progress .text-link {
  font-size: 11px;
}
.progress-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) var(--progress), #f0f1f3 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.progress-ring > div {
  width: 126px;
  height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  transform: rotate(90deg);
}
.progress-ring strong {
  font: 600 32px var(--display);
  letter-spacing: -1px;
}
.progress-ring strong span {
  font: 400 17px var(--font);
  color: #c3c7ce;
}
.progress-ring small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #9da3ad;
  margin-top: 7px;
}
.dashboard-plan h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 10px 0 15px;
  font-weight: 550;
  letter-spacing: -0.7px;
}
.plan-inline-price {
  font: 600 32px var(--display);
  letter-spacing: -1px;
}
.plan-inline-price small {
  font: 400 10px var(--font);
  color: #a1a2a6;
  margin-left: 7px;
  letter-spacing: 0;
}
.dashboard-plan > p {
  font-size: 10px;
  color: #c5b09f;
  margin: 10px 0 16px;
}
.dashboard-plan .btn {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px 23px;
}
.stat > span {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: #8f96a0;
}
.stat > strong {
  display: block;
  font: 600 28px var(--display);
  letter-spacing: -1px;
  margin: 8px 0 6px;
}
.stat > small {
  font-size: 10px;
  color: #939aa5;
  display: block;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.section-heading p {
  font-size: 12px;
  color: #8a919a;
  margin-top: 6px;
}
.section-heading > .muted {
  font-size: 10px;
}
.practice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 30px;
}
.practice-card {
  display: block;
  padding: 24px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.practice-card:hover {
  border-color: #e8b99f;
  transform: translateY(-2px);
}
.practice-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-token {
  display: inline-grid;
  place-items: center;
  min-width: 37px;
  height: 34px;
  padding: 0 7px;
  background: #f3f4f6;
  color: #727b89;
  border: 1px solid #e9ebef;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 550;
}
.card-number {
  font-size: 10px;
  color: #c7cbd1;
}
.practice-card h3 {
  font-size: 15px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  font-weight: 600;
}
.practice-card > p {
  font-size: 11px;
  color: #949aa4;
}
.practice-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f1f3;
  padding-top: 17px;
  margin-top: 21px;
  color: #9ba0a8;
  font-size: 9px;
}
.practice-card-footer svg {
  color: #cc6b35;
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 20px;
}
.recent-card .section-heading {
  margin-bottom: 4px;
}
.recent-row {
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #eef0f3;
  padding: 20px 0;
}
.recent-row:last-child {
  border-bottom: 0;
  padding-bottom: 5px;
}
.session-symbol {
  display: grid;
  place-items: center;
  background: #f5f6f8;
  border: 1px solid #e9ecf0;
  border-radius: 10px;
  width: 40px;
  height: 42px;
  color: #8f97a2;
  flex-shrink: 0;
}
.recent-row > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.recent-row strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.recent-row small {
  display: block;
  font-size: 9px;
  color: #9199a4;
  margin-top: 4px;
}
.recent-score {
  text-align: right;
  margin-right: 9px;
  min-width: 67px;
}
.recent-score strong {
  font-size: 16px;
  font-weight: 600;
}
.recent-score strong span {
  font-size: 10px;
  color: #959ca6;
  font-weight: 400;
}
.recent-row .text-link {
  font-size: 10px;
}
.companion-card {
  text-align: center;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.companion-card img {
  object-fit: contain;
  width: 100px;
  height: 100px;
  margin-top: -6px;
}
.companion-card .eyebrow {
  font-size: 8px;
  margin-top: 7px;
}
.companion-card h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
  margin: 9px 0 10px;
  line-height: 1.5;
  font-weight: 600;
}
.companion-card p {
  font-size: 11px;
  color: #8a939f;
  line-height: 1.8;
  max-width: 235px;
  margin-bottom: 17px;
}
.companion-card .text-link {
  font-size: 11px;
}
.library-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7e8794;
  margin: 0 0 23px;
}
.library-summary strong {
  color: #303946;
}
.section-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-tabs button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 8px;
  padding: 9px 16px;
  color: #828b99;
  font-size: 12px;
}
.section-tabs button span {
  font-size: 10px;
  background: #f1f3f5;
  padding: 1px 6px;
  border-radius: 4px;
}
.section-tabs button.active {
  background: #24272c;
  border-color: #24272c;
  color: #fff;
}
.section-tabs button.active span {
  background: #ffffff18;
  color: #c8ccd2;
}
.library-card {
  padding: 0;
  overflow: hidden;
}
.filter-bar {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 220px;
  background: #fafbfc;
  border: 1px solid #e7eaee;
  border-radius: 8px;
  color: #9ba3af;
  padding: 0 11px;
}
.search-box input {
  border: 0;
  background: none;
  width: 100%;
  padding: 10px 0;
  font-size: 12px;
  outline: none;
  color: #374151;
}
.search-box:focus-within {
  outline: 2px solid #ffc7a7;
}
.filter-bar select,
select {
  border: 1px solid #e2e6eb;
  padding: 9px 27px 9px 10px;
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  color: #657081;
  max-width: 100%;
}
.filter-bar select {
  max-width: 180px;
}
.table-label {
  display: flex;
  justify-content: space-between;
  padding: 14px 23px 10px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a0a7b2;
}
.bank-row {
  padding: 22px 23px;
  display: flex;
  gap: 17px;
  align-items: center;
  border-bottom: 1px solid #edf0f3;
}
.bank-row-copy {
  min-width: 0;
  flex: 1;
}
.bank-row-copy > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.source-tag {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid #e0e5ea;
  border-radius: 4px;
  background: #f6f7f9;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #7d8693;
  line-height: 1.4;
}
.source-tag.pyq {
  color: #9a5d24;
  border-color: #f0d8b7;
  background: #fff8ef;
}
.free-tag {
  font-size: 8px;
  color: #3c936b;
  letter-spacing: 0.5px;
}
.difficulty {
  font-size: 9px;
  color: #9b8a76;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.difficulty:before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.difficulty.easy {
  color: #659682;
}
.difficulty.hard {
  color: #b17b79;
}
.bank-row h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 7px 0 4px;
}
.bank-row p {
  font-size: 12px;
  line-height: 1.65;
  color: #778191;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 660px;
}
.bank-row-copy > small {
  display: block;
  font-size: 9px;
  color: #a1a8b1;
  margin-top: 8px;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #8c96a4;
  padding: 15px 23px;
}
.pagination > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.pagination .icon-btn {
  border-color: #e4e8ed;
  width: 29px;
  height: 29px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff6ef;
  border: 1px solid #f0ddcf;
  border-radius: 9px;
  padding: 14px 17px;
  font-size: 12px;
  color: #9a765f;
  line-height: 1.7;
  margin: 18px 0;
}
.notice.subtle {
  background: #f0f3f7;
  border-color: #e6eaf0;
  color: #8490a0;
}
.notice svg {
  flex-shrink: 0;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mock-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-number {
  position: absolute;
  right: 25px;
  top: 12px;
  font: 700 72px var(--display);
  letter-spacing: -5px;
  color: #f0f2f5;
}
.mock-card h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 25px 0 9px;
}
.mock-card p {
  font-size: 12px;
  color: #9098a5;
}
.mock-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.mock-specs span {
  font-size: 10px;
  color: #8390a2;
  border: 1px solid #e6ebf0;
  background: #fafbfc;
  padding: 5px 9px;
  border-radius: 5px;
}
.mock-card .btn {
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
}
.mock-card > small {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #9ca5b2;
  margin-top: 12px;
}
.resume-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  padding: 25px;
  border-radius: 13px;
  background: #fff2e9;
  border: 1px solid #f1d3be;
  gap: 20px;
}
.resume-card h3 {
  font-size: 18px;
  margin-top: 6px;
}
.resume-card p {
  font-size: 12px;
  color: #9f816d;
  margin-top: 6px;
}
.empty-state {
  text-align: center;
  padding: 65px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 270px;
  color: #a8b0bb;
}
.empty-state h3 {
  font-size: 19px;
  color: #414b5a;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.empty-state p {
  font-size: 13px;
  color: #8994a3;
  max-width: 420px;
  line-height: 1.8;
}
.empty-state .btn {
  margin-top: 5px;
}
.analysis-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid #f2d4c0;
  border-radius: 14px;
  padding: 25px 28px;
  background: #fff7f0;
  margin-bottom: 24px;
}
.analysis-callout h2 {
  font-size: 22px;
  margin-top: 8px;
  letter-spacing: -0.5px;
  font-weight: 600;
}
.analysis-callout p {
  font-size: 12px;
  color: #9d8677;
  margin-top: 8px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.analytics-grid + .card {
  margin-bottom: 22px;
}
.accuracy-chart {
  height: 205px;
  display: flex;
  gap: 15px;
  padding: 18px 15px 0;
}
.chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  font-size: 10px;
  color: #8e99a8;
}
.chart-column strong {
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 8px;
}
.chart-column > div {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #e8ecf2;
}
.chart-column i {
  display: block;
  width: min(32px, 100%);
  margin: auto auto 0;
  background: #ffae86;
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.chart-column:hover i {
  background: var(--orange);
}
.chart-column small {
  margin-top: 9px;
  font-size: 9px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fcfaf7;
}
.insight-card h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 12px 0;
  font-weight: 550;
}
.insight-card p {
  font-size: 13px;
  color: #8a8b8e;
  line-height: 1.9;
}
.insight-card .text-link {
  margin-top: 24px;
}
.table-scroll {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  font-size: 10px;
  font-weight: 550;
  color: #8f9aaa;
  border-bottom: 1px solid #e5eaf1;
  padding: 13px 13px 13px 0;
}
.data-table td {
  font-size: 12px;
  padding: 17px 13px 17px 0;
  border-bottom: 1px solid #edf0f5;
  color: #778294;
}
.data-table td strong {
  font-weight: 500;
  color: #485567;
}
.data-table td small {
  display: block;
  font-size: 9px;
  color: #acb4bf;
  margin-top: 4px;
}
.data-table tr:last-child td {
  border: 0;
}
.data-table tbody th {
  font-size: 12px;
  color: #657285;
  font-weight: 500;
}
.compare-card {
  margin-top: 23px;
}
.compare-selects {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.compare-selects select {
  flex: 1;
}
.compare-selects span {
  font-size: 11px;
  color: #a4afbd;
}
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}
.membership-grid > section {
  padding: 32px;
}
.membership-grid h2 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 12px 0 8px;
}
.membership-grid p {
  font-size: 13px;
  color: #8e98a7;
}
.membership-price {
  font: 550 49px var(--display);
  letter-spacing: -2px;
  margin: 27px 0 22px;
}
.membership-price > span {
  font: 400 12px var(--font);
  color: #a5a7ac;
  letter-spacing: 0;
}
.feature-list {
  list-style: none;
  padding: 23px 0 10px;
  margin: 0 0 25px;
  border-top: 1px solid #e5e9ee;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 15px 0;
  font-size: 13px;
}
.feature-list svg {
  color: #ea6f32;
  width: 17px;
}
.membership-grid .btn {
  width: 100%;
  justify-content: space-between;
}
.membership-grid > section > small {
  display: block;
  font-size: 10px;
  color: #9ea7b3;
  text-align: center;
  margin-top: 15px;
}
.membership-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.membership-full .feature-list {
  border-color: #353639;
}
.membership-full .feature-list li {
  color: #dedfe2;
}
.membership-full > .text-link {
  display: flex;
  justify-content: center;
  margin-top: 17px;
  font-size: 11px;
}
.credit-explainer {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}
.credit-explainer h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.credit-explainer p {
  font-size: 13px;
  color: #8590a0;
  line-height: 1.9;
}
.credit-explainer .footnote {
  display: block;
  font-size: 10px;
}
.back-link {
  display: inline-flex;
  font-size: 11px;
  color: #929aa7;
  margin-bottom: 20px;
}
.result-heading h1 {
  font-size: 31px;
}
.parent-test-link {
  display: block;
  font-size: 12px;
  color: #b0643c;
  margin: -9px 0 23px;
}
.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1fr;
  gap: 16px;
}
.result-stats > div {
  padding: 23px;
  border: 1px solid #e1e6ed;
  border-radius: 13px;
  background: white;
}
.result-stats > div > span {
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 1px;
  color: #8e98a6;
}
.result-stats strong {
  display: block;
  font: 550 32px var(--display);
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin-top: 12px;
}
.result-stats strong small {
  font: 400 17px var(--font);
  color: #abb3c0;
  letter-spacing: 0;
}
.result-stats p {
  font-size: 10px;
  color: #8e99a9;
  margin-top: 10px;
}
.result-stats .result-score {
  background: #1d1f22;
  color: #fff;
  border-color: #1d1f22;
}
.result-score > span {
  color: #efb89c !important;
}
.score-breakdown {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.score-breakdown b {
  font: 500 26px var(--display);
  color: #8b98a9;
}
.score-breakdown b.green {
  color: #5b987c;
}
.score-breakdown b.red {
  color: #c17d73;
}
.score-breakdown small {
  display: block;
  font: 400 9px var(--font);
  color: #9ca5b2;
  margin-top: 4px;
}
.analysis-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e1e6ed;
  margin: 30px 0 25px;
  overflow: auto;
}
.analysis-tabs button {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 14px;
  background: none;
  font-size: 12px;
  color: #8a95a5;
  white-space: nowrap;
}
.analysis-tabs button.active {
  color: #363e4c;
  border-color: var(--orange);
}
.analysis-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  margin-bottom: 22px;
}
.overview-summary {
  padding: 30px;
}
.overview-summary h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.overview-summary p {
  font-size: 13px;
  color: #8994a4;
  line-height: 1.8;
  max-width: 410px;
}
.overview-summary .btn {
  margin-top: 25px;
  font-size: 12px;
}
.related-promo {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fffaf6;
}
.related-promo h2 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: -0.8px;
  margin: 9px 0;
}
.related-promo p {
  font-size: 12px;
  color: #938b86;
  line-height: 1.8;
}
.related-promo .text-link {
  font-size: 11px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.section-performance {
  display: flex;
  gap: 30px;
}
.section-performance > div {
  flex: 1;
  border-right: 1px solid #edf0f5;
  padding: 4px 25px 4px 0;
}
.section-performance > div:last-child {
  border: 0;
}
.section-performance h3 {
  font-size: 12px;
  color: #7f8a99;
  font-weight: 450;
  margin: 10px 0;
}
.section-performance strong {
  font: 550 29px var(--display);
  letter-spacing: -0.8px;
}
.section-performance strong small {
  font: 400 14px var(--font);
  color: #a8b1bf;
}
.topic-meter {
  height: 5px;
  background: #f0f3f7;
  border-radius: 5px;
  margin: 18px 0 13px;
}
.topic-meter i {
  display: block;
  height: 100%;
  background: #f39364;
  border-radius: 5px;
}
.section-performance p {
  font-size: 10px;
  color: #8190a3;
}
.section-performance p span {
  margin: 0 4px;
  color: #b8c2ce;
}
.section-performance > div > small {
  font-size: 9px;
  color: #a1acba;
  display: block;
  margin-top: 6px;
}
.review-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.review-rail {
  padding: 0;
  position: sticky;
  top: 96px;
  overflow: hidden;
}
.review-rail-heading {
  display: flex;
  justify-content: space-between;
  padding: 19px 17px 13px;
  font-size: 12px;
}
.review-rail-heading span {
  color: #a2adba;
  font-size: 10px;
}
.review-filters {
  display: flex;
  gap: 7px;
  padding: 0 11px 12px;
}
.review-filters select {
  min-width: 0;
  width: 50%;
  font-size: 9px;
  padding: 7px 18px 7px 7px;
}
.review-question-list {
  padding: 5px;
  max-height: 515px;
  overflow: auto;
}
.review-question-list > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 9px;
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 2px;
  text-align: left;
}
.review-question-list > button.active {
  border-color: #f2d4c0;
  background: #fff7f0;
}
.review-question-list > button > div {
  min-width: 0;
  flex: 1;
}
.review-question-list strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #788291;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-question-list small {
  display: block;
  font-size: 8px;
  color: #a3adbb;
  margin-top: 3px;
}
.review-question-list > button > span:last-child {
  font-size: 10px;
  color: #a0aaba;
}
.question-status {
  width: 29px;
  height: 30px;
  border-radius: 6px;
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.question-status.correct {
  background: #edf5ef;
  color: #689e7c;
}
.question-status.incorrect {
  background: #fff0eb;
  color: #c48b78;
}
.question-status.skipped {
  background: #f0f3f7;
  color: #9da9b9;
}
.rail-empty {
  font-size: 11px;
  color: #9da7b4;
  padding: 20px;
  text-align: center;
}
.review-main {
  padding: 0;
  overflow: clip;
}
.review-question-header {
  padding: 25px 28px;
}
.review-question-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-question-header > div > span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #9ba4b1;
}
.review-question-header .difficulty {
  margin-left: auto;
}
.review-question-header h2 {
  font: 550 18px/1.7 var(--font);
  letter-spacing: -0.2px;
  margin: 17px 0 12px;
}
.review-question-header > p {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #9da6b4;
}
.review-mode-tabs {
  display: flex;
  gap: 27px;
  padding: 0 27px;
  border-block: 1px solid #edf0f4;
}
.review-mode-tabs button {
  display: flex;
  gap: 5px;
  align-items: center;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 12px;
  color: #9ba6b5;
  padding: 13px 0;
}
.review-mode-tabs button.active {
  color: #4e5a6c;
  border-bottom-color: var(--orange);
}
.solution-body {
  padding: 26px 28px;
}
.passage-disclosure {
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fafbfd;
  padding: 15px 18px;
  margin-bottom: 23px;
}
.passage-disclosure summary {
  font-size: 11px;
  font-weight: 550;
  color: #7a8799;
  cursor: pointer;
}
.passage-disclosure > div {
  font-size: 14px;
  line-height: 1.95;
  color: #647185;
  margin-top: 18px;
}
.answer-status {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 17px;
}
.answer-status strong {
  font-weight: 500;
}
.answer-status.correct {
  background: #eef7f1;
  color: #548a69;
}
.answer-status.incorrect {
  background: #fff1eb;
  color: #ba7c65;
}
.answer-status.skipped {
  background: #f1f4f8;
  color: #8795a8;
}
.solution-options {
  display: grid;
  gap: 10px;
}
.solution-options > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5eaf1;
  padding: 12px 14px;
  border-radius: 8px;
}
.solution-options > div > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: #f2f4f8;
  color: #94a0b1;
  font-size: 10px;
  flex-shrink: 0;
}
.solution-options p {
  flex: 1;
  font-size: 13px;
  color: #657286;
}
.solution-options small {
  font-size: 9px;
  color: #98a5b6;
}
.solution-options .right {
  background: #f6fbf7;
  border-color: #cbe4d3;
}
.solution-options .right small {
  color: #6c9479;
}
.solution-options .wrong {
  background: #fff8f5;
  border-color: #efcec0;
}
.solution-options .wrong small {
  color: #c48d76;
}
.numeric-review {
  display: flex;
  gap: 16px;
}
.numeric-review > div {
  padding: 18px;
  border: 1px solid #e5eaf0;
  flex: 1;
  border-radius: 9px;
}
.numeric-review span {
  font-size: 9px;
  color: #92a0b2;
}
.numeric-review strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 550;
}
.explanation {
  padding: 23px;
  background: #f6f8fb;
  border-radius: 10px;
  margin: 23px 0;
}
.explanation p {
  font-size: 14px;
  line-height: 1.9;
  color: #67768a;
  margin-top: 12px;
}
.mistake-label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  color: #8998ac;
}
.field-note {
  font-size: 10px;
  color: #a2aebe;
  margin-top: 7px;
  margin-bottom: 24px;
}
.solution-body > .btn {
  font-size: 12px;
}
.matching-state {
  padding: 55px 25px;
  text-align: center;
  min-height: 280px;
}
.matching-state h3 {
  font-size: 17px;
  font-weight: 500;
  color: #6c7a8e;
  margin-top: 18px;
}
.matching-state p {
  font-size: 12px;
  color: #a0adbe;
  margin-top: 9px;
}
.loading-dot {
  width: 25px;
  height: 25px;
  border: 2px solid #ffe5d3;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.unlock-panel {
  text-align: center;
  padding: 34px 35px 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 350px;
}
.unlock-panel > .eyebrow {
  font-size: 8px;
  margin-top: 13px;
}
.unlock-panel h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin: 9px 0 10px;
}
.unlock-panel p {
  font-size: 12px;
  color: #8997aa;
  line-height: 1.8;
  max-width: 385px;
}
.unlock-panel > .btn {
  margin: 22px 0 11px;
  font-size: 12px;
  min-width: 230px;
  padding: 9px 17px;
}
.unlock-panel > small {
  font-size: 10px;
  color: #9cabbf;
}
.related-scope {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  color: #98a6b8;
  flex-wrap: wrap;
  margin-top: 20px;
}
.related-scope label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
}
.related-scope input {
  width: 14px;
  height: 14px;
}
.locked-match-note {
  margin-top: 15px !important;
  font-size: 10px !important;
}
.locked-match-note a {
  color: #c17046;
}
.related-controls {
  padding: 20px 25px 0;
}
.unlock-confirmed {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7c9d85;
  font-size: 9px;
  margin-bottom: 15px;
}
.source-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.source-filter button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #e2e8ef;
  border-radius: 7px;
  background: white;
  font-size: 10px;
  color: #8d9caf;
}
.source-filter button span {
  background: #f1f4f8;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
}
.source-filter button.active {
  background: #2b3442;
  color: white;
  border-color: #2b3442;
}
.source-filter button.active span {
  background: #ffffff20;
}
.related-list-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 25px 13px;
  font-size: 11px;
  color: #8394ab;
}
.related-list-title .text-link {
  font-size: 10px;
}
.related-rows {
  padding: 0 13px 14px;
}
.related-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid transparent;
  border-bottom-color: #edf1f6;
  padding: 19px 12px;
  border-radius: 8px;
}
.related-row.selected {
  background: #fffaf6;
  border-color: #f1d7c7;
}
.related-row > input {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex-shrink: 0;
}
.related-row > div {
  min-width: 0;
  flex: 1;
}
.related-row > div > div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.related-row .difficulty {
  margin-left: auto;
}
.related-row h4 {
  font: 500 14px/1.8 var(--font);
  color: #62718a;
  margin: 10px 0;
}
.related-row p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #a1afc1;
  align-items: center;
}
.related-row p > .text-link {
  font-size: 10px;
  flex-shrink: 0;
  color: #8091a8;
}
.load-more {
  display: block;
  margin: 0 auto 20px;
  background: white;
  border: 1px solid #e5ebf3;
  border-radius: 7px;
  padding: 9px 30px;
  font-size: 10px;
  color: #95a5bc;
}
.related-tray {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 23px;
  background: #fcfdff;
  border-top: 1px solid #e4ebf4;
  box-shadow: 0 -4px 16px #203c6204;
}
.related-tray > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-tray strong {
  font-size: 13px;
  font-weight: 550;
}
.related-tray strong small {
  font-size: 10px;
  color: #a2b0c4;
  font-weight: 400;
}
.related-tray > div:first-child > span {
  display: block;
  font-size: 9px;
  color: #a1afc3;
  margin-top: 3px;
}
.related-tray .text-link {
  font-size: 10px;
  white-space: nowrap;
}
.related-tray select {
  font-size: 10px;
  padding: 8px;
}
.related-tray .btn {
  font-size: 10px;
  padding: 10px;
}
.review-main #related-selection {
  position: sticky;
  bottom: 0;
  z-index: 8;
}
.selected-review {
  max-height: 45vh;
  overflow: auto;
}
.selected-review > div {
  padding: 16px 0;
  border-bottom: 1px solid #e8eef5;
}
.selected-review p {
  font-size: 13px;
  color: #8190a6;
  margin: 8px 0;
}
.selected-review .text-link {
  font-size: 11px;
}
#analysis-content > section.card {
  margin-bottom: 22px;
}
.status-pill {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
}
.status-pill.correct {
  background: #eff7f1;
  color: #7c9f86;
}
.status-pill.incorrect {
  background: #fff2eb;
  color: #bf8f77;
}
.status-pill.skipped {
  background: #f0f4f9;
  color: #99a9c0;
}
.coach-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}
.coach-heading h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 6px 0;
}
.coach-heading p {
  font-size: 12px;
  color: #8f9db1;
}
.coach-heading > .source-tag {
  margin-left: auto;
}
.coach-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: #fff0e4;
  border: 1px solid #f1d5bf;
  color: #da8858;
  border-radius: 15px;
  flex-shrink: 0;
}
.coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  margin-bottom: 24px;
}
.coach-insight {
  padding: 27px;
}
.insight-number {
  font: 600 32px var(--display);
  color: #e0e7f0;
}
.coach-insight h3 {
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 9px 0 13px;
  font-weight: 550;
}
.coach-insight p {
  font-size: 13px;
  line-height: 1.9;
  color: #8797ad;
}
.coach-insight > div {
  display: flex;
  gap: 7px;
  margin-top: 21px;
  flex-wrap: wrap;
}
.evidence-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f9fc;
  border: 1px solid #e3eaf4;
  border-radius: 6px;
  padding: 7px 10px;
  color: #8194af;
  font-size: 10px;
}
.ai-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #fcfbfa;
}
.ai-card h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 8px 0;
}
.ai-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #8d9aae;
  max-width: 650px;
}
.notice-inline {
  display: block;
  font-size: 10px;
  color: #aa9482;
  margin-top: 13px;
}
.ai-card .btn {
  font-size: 11px;
}
.exam-shell {
  min-height: 100vh;
  background: #f7f8fa;
  padding-bottom: 80px;
}
.exam-header {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-bottom: 1px solid #e1e6ee;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 25;
}
.exam-name {
  border-left: 1px solid #e9edf3;
  padding-left: 25px;
  flex: 1;
  min-width: 0;
}
.exam-name strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exam-name span {
  display: block;
  font-size: 10px;
  color: #929fb2;
  margin-top: 3px;
}
.exam-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.exam-header-actions > .text-link {
  font-size: 10px;
  color: #8495ae;
}
.exam-timer {
  padding: 0 22px;
  border-inline: 1px solid #e6ebf3;
  text-align: center;
}
.exam-timer span {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #9aa9be;
}
.exam-timer strong {
  font: 550 22px var(--display);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  display: block;
  color: #4d5d75;
}
.exam-sectionbar {
  height: 54px;
  background: #fff;
  border-bottom: 1px solid #e2e8f1;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.exam-sectionbar > div {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.exam-sectionbar button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  height: 100%;
  font-size: 11px;
  color: #94a2b8;
  padding: 0 12px;
}
.exam-sectionbar button span {
  font-size: 9px;
  background: #f2f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  color: #a0aec1;
}
.exam-sectionbar button.active {
  color: #394c67;
  border-bottom-color: var(--orange);
}
#save-status {
  font-size: 9px;
  color: #879c90;
}
.exam-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 22px;
  max-width: 1580px;
  margin: 25px auto;
  padding: 0 25px;
  align-items: start;
}
.exam-content {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.exam-question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid #edf1f6;
  font-size: 10px;
  color: #9eacc0;
}
.exam-question-meta > div {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.exam-question-meta strong {
  color: #4f6380;
  font-weight: 600;
}
.marking {
  font-size: 9px;
  color: #9eacc0;
}
.question-reading {
  padding: 28px 30px;
}
.question-reading.split-reading {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  padding: 0;
}
.reading-passage {
  padding: 25px 28px;
  border-right: 1px solid #e8edf5;
  line-height: 1.95;
  color: #657993;
  font-size: 15px;
}
.reading-passage > .eyebrow {
  font-size: 9px;
  color: #93a1b5;
  margin-bottom: 18px;
}
.split-reading > .reading-passage {
  max-height: calc(100vh - 310px);
  overflow: auto;
  min-height: 420px;
}
.answer-area {
  min-width: 0;
}
.split-reading > .answer-area {
  padding: 26px;
  max-height: calc(100vh - 310px);
  overflow: auto;
  min-height: 420px;
}
.question-label {
  font-size: 10px;
  color: #8699b2;
  margin-bottom: 18px;
}
.question-label span {
  color: #aab6c7;
  margin-left: 4px;
}
.question-prompt {
  font: 500 20px/1.8 var(--font);
  letter-spacing: -0.25px;
  color: #3a4b64;
  margin-bottom: 25px;
}
.answer-options {
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
}
.answer-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 9px;
  padding: 15px 17px;
  min-height: 58px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.answer-option:hover {
  border-color: #edbf9f;
  background: #fffdfb;
}
.answer-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.answer-option:has(input:checked) {
  border-color: #f6b78e;
  background: #fff6ef;
}
.answer-option:has(input:focus-visible) {
  outline: 3px solid #ffb684;
  outline-offset: 3px;
}
.answer-option > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  font-size: 10px;
  color: #8da0b9;
  flex-shrink: 0;
}
.answer-option > div {
  font-size: 14px;
  color: #687e9b;
  line-height: 1.7;
  flex: 1;
}
.answer-option:has(input:checked) > span {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.answer-option i {
  border: 1px solid #d2dce9;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.answer-option:has(input:checked) i {
  border: 4px solid var(--orange);
}
.answer-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.answer-tools .text-link {
  font-size: 11px;
  color: #9caac0;
}
.answer-tools > span {
  font-size: 9px;
  color: #b2bdce;
}
.numeric-label {
  display: block;
  font-size: 11px;
  color: #8da0b8;
  margin-bottom: 8px;
}
.numeric-answer {
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  padding: 15px;
  font: 500 23px var(--display);
  width: min(270px, 100%);
  color: #647b98;
}
.field-error {
  color: #bd7d66;
  font-size: 11px;
  min-height: 23px;
}
.exam-sidebar {
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  padding: 21px;
  position: sticky;
  top: 99px;
}
.palette-heading .eyebrow {
  font-size: 9px;
  color: #93a1b5;
}
.palette-heading > strong {
  font-size: 21px;
  font-weight: 550;
  display: block;
  margin-top: 9px;
  color: #647991;
}
.palette-heading > strong > span {
  font-size: 10px;
  font-weight: 400;
  color: #99aac0;
}
.palette-progress {
  background: #eff3f8;
  height: 4px;
  border-radius: 4px;
  margin: 15px 0 22px;
}
.palette-progress i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #f7a677;
}
.question-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.question-palette button {
  position: relative;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: 7px;
  aspect-ratio: 1;
  font-size: 10px;
  color: #99abc3;
}
.question-palette button.answered {
  color: #508d70;
  background: #edf7f0;
  border-color: #c9e3d2;
}
.question-palette button.visited {
  color: #b27863;
  background: #fff1e9;
  border-color: #efccba;
}
.question-palette button.flagged {
  color: #9884bc;
  background: #f5effe;
  border-color: #ddd0ee;
}
.question-palette button.current {
  box-shadow: 0 0 0 2px #f7a575;
  border-color: #fff;
}
.question-palette button.answered.flagged:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 6px;
  height: 6px;
  background: #73a98a;
  border-radius: 50%;
  border: 1px solid white;
}
.palette-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 8px;
  color: #99a9bf;
}
.palette-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.palette-legend > span:last-child {
  grid-column: 1/-1;
}
.palette-legend i {
  width: 9px;
  height: 9px;
  border: 1px solid #d9e3f0;
  border-radius: 3px;
  background: #fff;
}
.palette-legend i.answered {
  background: #e9f6ee;
  border-color: #c3e0cd;
}
.palette-legend i.visited {
  background: #ffede3;
  border-color: #efc5af;
}
.palette-legend i.flagged {
  background: #f4eafc;
  border-color: #d9c7e9;
}
.palette-legend i.answered.flagged {
  box-shadow: 2px 2px 0 #8cb6a0;
}
.exam-sidebar-note {
  border-top: 1px solid #eaf0f7;
  margin-top: 22px;
  padding-top: 22px;
  color: #adbbce;
}
.exam-sidebar-note p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 7px;
}
.exam-sidebar > .btn {
  width: 100%;
  padding: 11px;
  font-size: 11px;
  margin-top: 22px;
}
.exam-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: #ffffffed;
  border-top: 1px solid #e2eaf5;
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 30px;
}
.exam-bottom > div {
  display: flex;
  gap: 12px;
}
.exam-bottom .btn {
  font-size: 12px;
}
.exam-bottom > .btn {
  color: #9480aa;
  border-color: #e2d8ed;
  background: #fbf8fe;
}
.question-preview {
  max-height: 48vh;
  overflow: auto;
  margin: 20px 0;
}
.question-preview h3 {
  font: 500 17px/1.8 var(--font);
  color: #5e7494;
}
.question-preview .reading-passage {
  border: 0;
  background: #f7f9fc;
  border-radius: 8px;
  margin-bottom: 20px;
}
.question-preview ol {
  font-size: 14px;
  line-height: 1.8;
  padding-left: 23px;
  color: #8397b2;
}
.question-preview li {
  padding: 8px 0;
}
dialog {
  border: 1px solid #e0e7f1;
  border-radius: 18px;
  padding: 35px;
  width: min(570px, calc(100% - 30px));
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 25px 90px #152b4730;
  color: var(--ink);
}
dialog::backdrop {
  background: #17223660;
  backdrop-filter: blur(4px);
}
dialog .dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  color: #b0bdcf;
}
dialog h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 12px 0 14px;
  padding-right: 20px;
  line-height: 1.4;
}
dialog > p {
  font-size: 13px;
  line-height: 1.9;
  color: #8b9eb9;
}
dialog > .eyebrow {
  font-size: 9px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 26px;
  align-items: center;
}
.dialog-actions .btn {
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 23px;
}
.form-grid label,
.form-label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: #94a5be;
}
.form-grid select {
  width: 100%;
  font-size: 12px;
  padding: 11px;
}
.form-label {
  margin: 25px 0;
}
.form-label input {
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
}
.instructions {
  font-size: 13px;
  color: #869bb7;
  line-height: 1.9;
  padding-left: 22px;
  margin: 25px 0;
}
.instructions li {
  padding: 6px 0;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #8b9eb9;
}
.check-line input {
  width: 17px;
  height: 17px;
}
.submit-breakdown {
  display: flex;
  gap: 10px;
  margin: 23px 0;
}
.submit-breakdown span {
  background: #f3f6fa;
  border-radius: 7px;
  font-size: 11px;
  padding: 9px 13px;
  color: #91a3bd;
}
.upload-zone {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  border: 1px dashed #cfdceb;
  border-radius: 12px;
  padding: 28px;
  background: #f8fafc;
  margin: 25px 0;
  cursor: pointer;
  color: #92a5bf;
}
.upload-zone strong {
  font-size: 13px;
  font-weight: 500;
}
.upload-zone span {
  font-size: 10px;
  color: #a5b3c7;
}
.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.format-help {
  font-size: 11px;
  color: #97a9c1;
}
.format-help summary {
  cursor: pointer;
}
.format-help pre {
  font-size: 10px;
  background: #f5f8fb;
  border-radius: 8px;
  padding: 15px;
  overflow: auto;
  max-height: 220px;
}
.format-help p {
  line-height: 1.8;
}
#import-status {
  font-size: 12px;
  color: #aa885f;
}
.settings-lines {
  margin: 25px 0;
}
.settings-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #edf2f8;
  font-size: 11px;
}
.settings-lines strong {
  font-weight: 500;
  color: #6b83a4;
}
.settings-lines span {
  color: #9bacbf;
}
.wallet-note {
  font-size: 11px;
  background: #fff6ec;
  border: 1px solid #f0dfc9;
  padding: 14px;
  border-radius: 8px;
  color: #b09a7b;
  margin: 20px 0;
}
.ledger {
  max-height: 250px;
  overflow: auto;
}
.ledger > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf2f8;
  color: #879cb9;
}
.ledger small {
  display: block;
  font-size: 9px;
  color: #a5b5cb;
  margin-top: 3px;
}
.ledger > p {
  font-size: 12px;
  color: #a0b0c7;
}
#calc-output {
  display: block;
  margin: 22px 0 0;
  font: 550 27px var(--display);
  color: #7e94b2;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #293344;
  color: #fff;
  border: 1px solid #475771;
  border-radius: 10px;
  padding: 13px 21px;
  font-size: 12px;
  box-shadow: 0 6px 20px #23395725;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: min(540px, calc(100% - 30px));
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .workspace-main {
    padding-top: 44px;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .daily-progress h2 {
    font-size: 28px;
  }
  .card {
    border-radius: 17px;
  }
  .sidebar {
    padding-top: 33px;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 12px;
  }
  .sidebar > .brand {
    font-size: 16px;
    gap: 6px;
  }
  .sidebar .brand-number {
    font-size: 29px;
  }
  .workspace-main {
    padding: 28px 25px;
  }
  .app-header {
    padding-inline: 25px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading > .btn {
    font-size: 11px;
    padding: 11px 14px;
  }
  .dashboard-top {
    grid-template-columns: 1.45fr 1fr;
  }
  .daily-progress {
    padding: 25px;
    gap: 15px;
  }
  .daily-progress h2 {
    font-size: 21px;
  }
  .progress-ring {
    width: 115px;
    height: 115px;
  }
  .progress-ring > div {
    width: 103px;
    height: 103px;
  }
  .progress-ring strong {
    font-size: 28px;
  }
  .progress-ring small {
    font-size: 6px;
  }
  .stats-grid {
    gap: 11px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat > span {
    font-size: 7px;
  }
  .stat > small {
    font-size: 9px;
  }
  .practice-card {
    padding: 20px;
  }
  .practice-card h3 {
    font-size: 13px;
  }
  .practice-card > p {
    font-size: 10px;
  }
  .practice-card-footer {
    font-size: 8px;
  }
  .recent-score {
    display: none;
  }
  .recent-row .text-link {
    font-size: 9px;
  }
  .result-stats {
    gap: 10px;
  }
  .result-stats > div {
    padding: 19px 17px;
  }
  .result-stats strong {
    font-size: 28px;
  }
  .review-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 15px;
  }
  .related-tray {
    display: block;
    padding: 15px 18px;
  }
  .related-tray > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .related-tray > div:last-child {
    justify-content: space-between;
  }
  .exam-main {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 17px;
    padding: 0 18px;
  }
  .exam-sidebar {
    padding: 17px;
  }
  .exam-name {
    padding-left: 18px;
  }
  .exam-header {
    gap: 20px;
    padding: 0 20px;
  }
  .exam-header-actions {
    gap: 12px;
  }
  .split-reading > .answer-area {
    padding: 20px;
  }
  .reading-passage {
    padding: 22px;
    font-size: 14px;
  }
  .question-prompt {
    font-size: 18px;
  }
  .answer-option {
    padding: 12px;
  }
  .answer-option > div {
    font-size: 13px;
  }
}
@media (max-width: 950px) {
  .sidebar-plan {
    display: none;
  }
  .app-shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .sidebar > .brand {
    font-size: 14px;
  }
  .sidebar .brand-number {
    font-size: 26px;
  }
  .nav-item {
    font-size: 11px;
    gap: 9px;
    padding: 11px 10px;
  }
  .workspace-switch {
    padding: 10px;
    gap: 7px;
  }
  .workspace-switch small {
    font-size: 8px;
  }
  .dashboard-top {
    grid-template-columns: 1fr;
  }
  .dashboard-plan {
    display: none;
  }
  .daily-progress h2 {
    font-size: 24px;
  }
  .progress-ring {
    width: 140px;
    height: 140px;
  }
  .progress-ring > div {
    width: 126px;
    height: 126px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .practice-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .practice-card {
    padding: 20px;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 14px;
  }
  .practice-card > div:first-child {
    grid-row: 1/4;
    margin: 0;
    align-items: start;
  }
  .card-number {
    display: none;
  }
  .practice-card h3 {
    font-size: 15px;
  }
  .practice-card > p {
    font-size: 11px;
  }
  .practice-card-footer {
    font-size: 9px;
    grid-column: 2;
    padding-top: 10px;
    margin-top: 13px;
  }
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  .companion-card {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading > .btn {
    font-size: 10px;
    padding: 10px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .header-right {
    gap: 9px;
  }
  .preview-label {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .app-header {
    padding-inline: 20px;
  }
  .workspace-main {
    padding: 25px 20px;
  }
  .bank-row {
    padding: 19px 17px;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .bank-row-copy {
    flex-basis: calc(100% - 65px);
  }
  .row-actions {
    margin-left: auto;
    margin-top: 3px;
  }
  .row-actions .btn {
    padding: 7px 11px;
  }
  .table-label {
    display: none;
  }
  .filter-bar select {
    flex: 1;
    min-width: 100px;
  }
  .library-summary {
    font-size: 10px;
    align-items: flex-start;
    gap: 15px;
  }
  .mock-grid {
    grid-template-columns: 1fr;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .analysis-callout {
    padding: 22px;
    display: block;
  }
  .analysis-callout > .text-link {
    margin-top: 18px;
  }
  .membership-grid {
    grid-template-columns: 1fr;
  }
  .membership-grid > section {
    padding: 28px;
  }
  .membership-price {
    font-size: 42px;
  }
  .credit-explainer {
    align-items: flex-start;
    padding: 22px;
    gap: 18px;
  }
  .credit-explainer > .mouse-icon {
    width: 65px;
    height: 65px;
  }
  .credit-explainer h2 {
    font-size: 18px;
  }
  .result-stats {
    grid-template-columns: 1fr 1fr;
  }
  .analysis-tabs {
    gap: 20px;
  }
  .analysis-tabs button {
    font-size: 11px;
  }
  .analysis-overview-grid {
    grid-template-columns: 1fr;
  }
  .related-promo {
    padding: 25px;
  }
  .section-performance {
    gap: 15px;
  }
  .section-performance > div {
    padding-right: 15px;
  }
  .section-performance h3 {
    font-size: 10px;
  }
  .section-performance strong {
    font-size: 24px;
  }
  .section-performance p {
    font-size: 9px;
  }
  .review-layout {
    display: block;
  }
  .review-rail {
    position: static;
    margin-bottom: 15px;
  }
  .review-rail-heading {
    padding: 15px 17px 10px;
  }
  .review-filters {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 210px;
  }
  .review-rail-heading > span {
    display: none;
  }
  .review-question-list {
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding: 8px;
  }
  .review-question-list > button {
    flex: 0 0 85px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 9px;
  }
  .review-question-list > button > div {
    width: 100%;
  }
  .review-question-list > button > span:last-child {
    display: none;
  }
  .review-question-list strong {
    font-size: 8px;
  }
  .review-question-list small {
    font-size: 8px;
  }
  .question-status {
    width: 27px;
    height: 27px;
  }
  .coach-grid {
    grid-template-columns: 1fr;
  }
  .coach-heading {
    gap: 13px;
  }
  .coach-heading > .source-tag {
    display: none;
  }
  .coach-heading h2 {
    font-size: 19px;
  }
  .coach-heading p {
    font-size: 11px;
  }
  .ai-card {
    display: block;
  }
  .ai-card .btn {
    margin-top: 18px;
  }
  .exam-header {
    height: auto;
    min-height: 74px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 20px;
  }
  .exam-header > .brand {
    font-size: 16px;
  }
  .exam-header .brand-number {
    font-size: 28px;
  }
  .exam-name {
    flex: 1;
    border: 0;
    padding: 0;
  }
  .exam-header-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 18px;
  }
  .exam-timer {
    border: 0;
    padding: 0 8px;
  }
  .exam-header-actions > .icon-btn {
    margin-right: auto;
  }
  .exam-sectionbar {
    padding: 0 18px;
  }
  .exam-main {
    display: flex;
    flex-direction: column;
    margin: 17px auto;
  }
  .exam-content {
    width: 100%;
  }
  .exam-sidebar {
    position: static;
    width: 100%;
    padding: 20px;
  }
  .question-palette {
    grid-template-columns: repeat(10, 1fr);
    max-width: 550px;
    gap: 10px;
    margin-top: 15px;
  }
  .question-palette button {
    max-width: 40px;
  }
  .palette-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .palette-heading > strong {
    margin: 0;
  }
  .palette-progress {
    margin: 12px 0;
  }
  .palette-legend {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .palette-legend i {
    width: 10px;
    height: 10px;
  }
  .exam-sidebar-note {
    display: none;
  }
  .exam-sidebar > .btn {
    margin-top: 19px;
    width: auto;
  }
  .question-reading.split-reading {
    grid-template-columns: 1fr 1fr;
  }
  .split-reading > .reading-passage,
  .split-reading > .answer-area {
    max-height: 550px;
    min-height: 400px;
  }
  .exam-bottom {
    padding: 14px 20px;
  }
  .question-prompt {
    font-size: 18px;
  }
  .answer-option > div {
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    width: 230px;
    transition: left 0.2s;
  }
  .sidebar.is-open {
    left: 0;
    box-shadow: 10px 0 40px #0004;
  }
  .sidebar > .brand {
    font-size: 19px;
  }
  .sidebar .brand-number {
    font-size: 31px;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .app-header {
    height: 64px;
    padding: 0 16px;
  }
  .header-left {
    gap: 7px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb > span {
    padding: 0 6px;
  }
  .header-right {
    gap: 8px;
  }
  .avatar {
    display: none;
  }
  .credit-pill {
    gap: 4px;
    padding-right: 9px;
  }
  .credit-pill .mouse-icon {
    width: 27px;
    height: 27px;
  }
  .credit-pill strong {
    font-size: 12px;
  }
  .credit-pill > span {
    font-size: 9px;
  }
  .workspace-main {
    padding: 25px 16px 30px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  .page-heading > .btn {
    margin-top: 17px;
    font-size: 12px;
    padding: 11px 15px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .daily-progress {
    padding: 24px;
    gap: 15px;
  }
  .daily-progress h2 {
    font-size: 20px;
  }
  .daily-progress p {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 17px;
  }
  .progress-ring {
    width: 105px;
    height: 105px;
  }
  .progress-ring > div {
    width: 94px;
    height: 94px;
  }
  .progress-ring strong {
    font-size: 25px;
  }
  .progress-ring strong > span {
    font-size: 13px;
  }
  .progress-ring small {
    font-size: 5px;
  }
  .daily-progress .text-link {
    font-size: 9px;
  }
  .stats-grid {
    gap: 10px;
    margin: 15px 0 28px;
  }
  .stat {
    padding: 18px;
  }
  .stat > span {
    font-size: 7px;
  }
  .stat > strong {
    font-size: 25px;
  }
  .stat > small {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-heading .text-link {
    font-size: 10px;
  }
  .card {
    border-radius: 13px;
    padding: 21px;
  }
  .practice-card {
    display: block;
    padding: 22px;
  }
  .practice-card > div:first-child {
    display: flex;
    margin-bottom: 17px;
  }
  .card-number {
    display: block;
  }
  .practice-card h3 {
    font-size: 16px;
  }
  .practice-card > p {
    font-size: 12px;
  }
  .practice-card-footer {
    font-size: 10px;
    margin-top: 18px;
    padding-top: 14px;
  }
  .recent-row {
    gap: 11px;
    padding: 17px 0;
  }
  .recent-row strong {
    font-size: 11px;
  }
  .recent-row small {
    font-size: 9px;
  }
  .recent-row .text-link {
    font-size: 9px;
  }
  .session-symbol {
    width: 32px;
    height: 36px;
  }
  .app-footer {
    margin: 0 17px;
    font-size: 9px;
  }
  .library-card {
    padding: 0;
  }
  .library-summary {
    display: block;
    margin-bottom: 18px;
  }
  .library-summary > span {
    display: block;
    font-size: 11px;
  }
  .library-summary > span + span {
    font-size: 10px;
    margin-top: 4px;
  }
  .section-tabs {
    gap: 5px;
  }
  .section-tabs button {
    padding: 8px 10px;
    font-size: 10px;
    gap: 7px;
  }
  .section-tabs button > span {
    font-size: 9px;
  }
  .filter-bar {
    padding: 15px;
    gap: 8px;
  }
  .search-box {
    flex-basis: 100%;
    min-width: 0;
  }
  .filter-bar select {
    font-size: 10px;
    min-width: 75px;
    padding: 9px 21px 9px 8px;
    max-width: none;
  }
  .bank-row {
    gap: 10px;
    padding: 18px 16px;
  }
  .bank-row p {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }
  .bank-row h3 {
    font-size: 14px;
  }
  .bank-row-copy > small {
    font-size: 8px;
  }
  .bank-row-copy > div {
    gap: 7px;
  }
  .source-tag {
    font-size: 8px;
  }
  .bank-row .section-token {
    min-width: 31px;
    height: 30px;
    font-size: 9px;
  }
  .row-actions .btn {
    font-size: 10px;
  }
  .pagination {
    padding: 12px 16px;
    font-size: 9px;
  }
  .pagination > div {
    gap: 9px;
  }
  .pagination .icon-btn {
    width: 25px;
    height: 25px;
  }
  .footnote {
    font-size: 10px;
  }
  .notice {
    font-size: 11px;
    padding: 14px;
  }
  .mock-card {
    padding: 25px;
  }
  .mock-card h2 {
    font-size: 22px;
  }
  .mock-card p {
    font-size: 12px;
  }
  .mock-specs {
    gap: 7px;
  }
  .mock-specs span {
    font-size: 9px;
  }
  .mock-card .btn {
    font-size: 12px;
  }
  .empty-state {
    padding: 45px 18px;
    min-height: 230px;
  }
  .empty-state h3 {
    font-size: 18px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .empty-state .btn {
    font-size: 12px;
  }
  .analytics-grid {
    gap: 15px;
  }
  .analysis-callout {
    padding: 22px;
  }
  .analysis-callout h2 {
    font-size: 21px;
  }
  .accuracy-chart {
    height: 185px;
    gap: 8px;
    padding: 15px 2px 0;
  }
  .chart-column strong {
    font-size: 8px;
  }
  .insight-card h2 {
    font-size: 22px;
  }
  .data-table td {
    font-size: 11px;
  }
  .data-table th {
    font-size: 9px;
  }
  .compare-selects {
    flex-wrap: wrap;
    gap: 7px;
  }
  .compare-selects select {
    flex-basis: 100%;
    font-size: 10px;
  }
  .compare-selects > span {
    margin: auto;
    font-size: 10px;
  }
  .membership-grid > section {
    padding: 27px;
  }
  .membership-grid h2 {
    font-size: 26px;
  }
  .membership-head > .mouse-icon {
    width: 70px;
    height: 70px;
  }
  .membership-price {
    font-size: 46px;
  }
  .membership-price > span {
    font-size: 10px;
  }
  .feature-list li {
    font-size: 12px;
  }
  .credit-explainer {
    padding: 22px;
    gap: 17px;
  }
  .credit-explainer > .mouse-icon {
    width: 50px;
    height: 50px;
  }
  .credit-explainer h2 {
    font-size: 17px;
  }
  .credit-explainer p {
    font-size: 11px;
  }
  .credit-explainer .footnote {
    font-size: 9px;
  }
  .result-heading > .btn {
    font-size: 10px;
    padding: 9px 12px;
  }
  .result-stats {
    gap: 10px;
  }
  .result-stats > div {
    padding: 19px 17px;
  }
  .result-stats > div > span {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .result-stats strong {
    font-size: 28px;
  }
  .result-stats p {
    font-size: 9px;
    line-height: 1.7;
  }
  .score-breakdown b {
    font-size: 24px;
  }
  .score-breakdown small {
    font-size: 8px;
  }
  .score-breakdown {
    gap: 7px;
  }
  .analysis-tabs {
    gap: 23px;
    margin: 24px 0 20px;
  }
  .analysis-tabs button {
    font-size: 11px;
    padding-bottom: 12px;
  }
  .overview-summary {
    padding: 25px;
  }
  .overview-summary h2 {
    font-size: 23px;
  }
  .related-promo {
    padding: 24px;
    gap: 16px;
  }
  .related-promo > .mouse-icon {
    width: 66px;
    height: 66px;
  }
  .related-promo h2 {
    font-size: 21px;
  }
  .related-promo p {
    font-size: 11px;
  }
  .related-promo .eyebrow {
    font-size: 7px;
  }
  .related-promo .text-link {
    font-size: 10px;
  }
  .section-performance {
    display: block;
  }
  .section-performance > div {
    border-right: 0;
    border-bottom: 1px solid #eef2f7;
    padding: 17px 0;
  }
  .section-performance h3 {
    display: inline;
    margin-left: 10px;
    font-size: 11px;
  }
  .section-performance strong {
    display: block;
    font-size: 28px;
    margin-top: 13px;
  }
  .section-performance p {
    font-size: 11px;
  }
  .section-performance > div > small {
    font-size: 10px;
  }
  .review-rail {
    padding: 0;
  }
  .review-main {
    padding: 0;
  }
  .review-question-header {
    padding: 21px;
  }
  .review-question-header > div {
    gap: 9px;
  }
  .review-question-header > div > span:nth-child(2) {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .review-question-header h2 {
    font-size: 16px;
    margin-top: 15px;
  }
  .review-question-header > p {
    gap: 9px;
    font-size: 9px;
  }
  .review-mode-tabs {
    padding: 0 20px;
    gap: 24px;
  }
  .review-mode-tabs button {
    font-size: 11px;
  }
  .solution-body {
    padding: 22px 20px;
  }
  .passage-disclosure {
    padding: 13px 15px;
  }
  .passage-disclosure > div {
    font-size: 13px;
  }
  .solution-options > div {
    gap: 10px;
    padding: 12px;
    flex-wrap: wrap;
  }
  .solution-options p {
    font-size: 13px;
  }
  .solution-options small {
    margin-left: 35px;
    width: 100%;
    font-size: 9px;
  }
  .explanation {
    padding: 19px;
  }
  .explanation p {
    font-size: 14px;
  }
  .solution-body > .btn {
    font-size: 11px;
    gap: 8px;
    padding: 10px 14px;
  }
  .unlock-panel {
    padding: 25px 23px 33px;
  }
  .unlock-panel h3 {
    font-size: 21px;
  }
  .unlock-panel p {
    font-size: 12px;
  }
  .unlock-panel > .eyebrow {
    font-size: 7px;
  }
  .unlock-panel > .btn {
    font-size: 11px;
    min-width: 0;
  }
  .related-controls {
    padding: 19px 18px 0;
  }
  .related-scope {
    gap: 11px;
    font-size: 9px;
    align-items: center;
    margin-top: 15px;
  }
  .source-filter {
    gap: 5px;
  }
  .source-filter button {
    font-size: 9px;
    gap: 6px;
    padding: 8px;
  }
  .related-list-title {
    padding: 19px 18px 12px;
    font-size: 10px;
  }
  .related-list-title .text-link {
    font-size: 9px;
  }
  .related-row {
    gap: 9px;
    padding: 17px 8px;
  }
  .related-rows {
    padding: 0 9px 12px;
  }
  .related-row h4 {
    font-size: 13px;
  }
  .related-row .source-tag {
    font-size: 7px;
  }
  .related-row .difficulty {
    font-size: 8px;
  }
  .related-row p {
    font-size: 8px;
    gap: 9px;
  }
  .related-row p > .text-link {
    font-size: 9px;
  }
  .related-tray {
    padding: 14px 16px;
  }
  .related-tray > div:first-child > span {
    font-size: 8px;
  }
  .related-tray strong {
    font-size: 12px;
  }
  .related-tray > div:last-child {
    gap: 8px;
  }
  .related-tray .text-link {
    font-size: 9px;
  }
  .related-tray .btn {
    font-size: 10px;
    padding: 10px;
  }
  .related-tray select {
    font-size: 9px;
    max-width: 87px;
  }
  .coach-symbol {
    width: 45px;
    height: 45px;
    border-radius: 11px;
  }
  .coach-heading h2 {
    font-size: 18px;
  }
  .coach-heading p {
    font-size: 11px;
  }
  .coach-insight {
    padding: 24px;
  }
  .coach-insight h3 {
    font-size: 19px;
  }
  .coach-insight p {
    font-size: 13px;
  }
  .ai-card h2 {
    font-size: 20px;
  }
  .ai-card p {
    font-size: 12px;
  }
  .ai-card .notice-inline {
    font-size: 9px;
  }
  .exam-header {
    padding: 13px 16px;
    gap: 10px;
  }
  .exam-header > .brand {
    font-size: 14px;
    gap: 5px;
  }
  .exam-header .brand-number {
    font-size: 25px;
  }
  .exam-name {
    text-align: right;
    min-width: 130px;
  }
  .exam-name strong {
    font-size: 11px;
  }
  .exam-name span {
    font-size: 8px;
  }
  .exam-header-actions {
    gap: 15px;
  }
  .exam-header-actions > .text-link {
    font-size: 9px;
  }
  .exam-header-actions > .btn {
    font-size: 10px;
    padding: 8px 11px;
  }
  .exam-timer strong {
    font-size: 21px;
  }
  .exam-timer span {
    font-size: 7px;
  }
  .exam-sectionbar {
    height: 47px;
    padding: 0 14px;
    gap: 8px;
  }
  .exam-sectionbar > div {
    gap: 8px;
  }
  .exam-sectionbar button {
    font-size: 10px;
    gap: 6px;
    padding: 0 7px;
  }
  .exam-sectionbar button span {
    font-size: 8px;
  }
  #save-status {
    font-size: 8px;
  }
  .exam-main {
    padding: 0 12px;
    margin: 13px auto;
    gap: 14px;
  }
  .exam-question-meta {
    padding: 15px 17px;
    gap: 9px;
    font-size: 9px;
    align-items: flex-start;
  }
  .exam-question-meta > div {
    gap: 8px;
  }
  .exam-question-meta .source-tag {
    font-size: 7px;
  }
  .exam-question-meta .difficulty {
    font-size: 8px;
  }
  .exam-question-meta .icon-btn {
    width: 25px;
    height: 25px;
    padding: 4px;
  }
  .marking {
    font-size: 8px;
  }
  .question-reading {
    padding: 23px 20px;
  }
  .question-reading.split-reading {
    display: block;
  }
  .split-reading > .reading-passage {
    border-right: 0;
    border-bottom: 1px solid #e7edf6;
    min-height: 0;
    max-height: 330px;
    padding: 21px;
    font-size: 14px;
    line-height: 1.9;
  }
  .split-reading > .answer-area {
    min-height: 0;
    max-height: none;
    padding: 23px 20px;
  }
  .question-prompt {
    font-size: 18px;
    line-height: 1.8;
  }
  .question-label {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .question-label span {
    font-size: 8px;
  }
  .answer-option {
    padding: 14px 13px;
    gap: 11px;
  }
  .answer-option > div {
    font-size: 14px;
  }
  .answer-option > span {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
  .answer-tools > span {
    display: none;
  }
  .answer-tools .text-link {
    font-size: 10px;
  }
  .exam-sidebar {
    padding: 20px;
  }
  .palette-heading > strong {
    font-size: 18px;
  }
  .palette-heading > strong > span {
    font-size: 9px;
  }
  .question-palette {
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
  }
  .question-palette button {
    font-size: 10px;
    max-width: 40px;
  }
  .palette-legend {
    font-size: 8px;
    gap: 12px;
  }
  .exam-bottom {
    padding: 13px;
    gap: 8px;
  }
  .exam-bottom .btn {
    font-size: 10px;
    padding: 10px;
    gap: 7px;
  }
  .exam-bottom > div {
    gap: 7px;
  }
  .exam-bottom > .btn {
    font-size: 9px;
  }
  .exam-bottom > .btn svg {
    width: 13px;
  }
  .numeric-answer {
    font-size: 23px;
  }
  .exam-shell {
    padding-bottom: 77px;
  }
  dialog {
    padding: 27px 23px;
    border-radius: 15px;
  }
  dialog h2 {
    font-size: 23px;
  }
  dialog > p {
    font-size: 13px;
  }
  .dialog-actions {
    gap: 9px;
    flex-wrap: wrap;
  }
  .dialog-actions .btn {
    font-size: 11px;
    padding: 10px 15px;
  }
  .instructions {
    font-size: 12px;
  }
  .form-grid {
    gap: 13px;
  }
  .form-grid label {
    font-size: 10px;
  }
  .form-grid select {
    font-size: 11px;
    padding: 10px;
  }
  .check-line {
    font-size: 11px;
  }
  .wallet-note {
    font-size: 10px;
  }
  .settings-lines > div {
    font-size: 10px;
  }
  .upload-zone {
    padding: 25px 20px;
  }
  .question-preview h3 {
    font-size: 16px;
  }
  #toast {
    font-size: 11px;
    bottom: 18px;
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* Readable secondary text on every practice surface. */
.stat > small,
.page-heading p,
.bank-row p,
.recent-row small,
.card > p,
.related-row h4,
.related-row p,
.solution-options p,
.explanation p,
.question-label,
.answer-option > div,
.question-prompt,
.reading-passage,
.coach-insight p,
.unlock-panel p,
.review-question-header > p,
.data-table td {
  color: #667488;
}
.stat > span,
.source-tag,
.difficulty,
.eyebrow,
.footnote,
.filter-bar select,
.sidebar-plan p {
  font-weight: 500;
}

/* Clear, neutral reading surfaces and accessible small-screen navigation. */
.question-prompt,
.answer-option > div,
.reading-passage,
.solution-options p,
.explanation p,
.question-preview h3 {
  color: #303a46;
}
.instructions,
dialog > p,
.form-grid label,
.form-label,
.check-line,
.question-preview ol,
.numeric-label,
.small-copy,
.settings-lines span,
.settings-lines strong {
  color: #586474;
}
.field-error {
  color: #a33924;
}
.answer-tools .text-link {
  color: #8f431c;
}
.stat > span,
.result-stats > div > span {
  font-size: 10px;
  color: #647081;
}
.stat > small {
  font-size: 11px;
}
.nav-item {
  font-size: 13px;
  color: #b6bac1;
}
.workspace-switch small {
  font-size: 10px;
}
.source-tag {
  font-size: 10px;
}
.palette-legend {
  font-size: 10px;
  color: #586474;
}
.question-label {
  font-size: 12px;
}
.question-palette button {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
}
.sidebar-close {
  display: none;
}
@media (max-width: 700px) {
  .sidebar {
    visibility: hidden;
    transition:
      left 0.2s,
      visibility 0.2s;
  }
  .sidebar.is-open {
    visibility: visible;
  }
  .sidebar-close {
    display: grid;
    position: absolute;
    right: 5px;
    top: 5px;
    color: #fff;
    font-size: 24px;
  }
  .sidebar-bottom {
    padding-top: 10px;
  }
  .sidebar {
    overflow: auto;
  }
  .question-prompt {
    font-size: 18px;
  }
  .stat > span {
    font-size: 9px;
  }
  .stat > small {
    font-size: 10px;
  }
  .source-tag {
    font-size: 9px;
  }
  .field-note,
  .footnote,
  .related-scope,
  .review-question-header > p {
    font-size: 11px;
  }
  .dialog-actions .btn {
    font-size: 12px;
  }
  .related-row p {
    font-size: 11px;
  }
}

.passage-table-wrap {
  overflow: auto;
  margin: 19px 0;
}
.passage-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 330px;
  font-size: 12px;
  line-height: 1.6;
}
.passage-table td,
.passage-table th {
  padding: 10px 11px;
  border: 1px solid #dfe4e8;
  text-align: left;
  vertical-align: top;
}
.passage-table thead {
  background: #f3f5f6;
  color: #4f5b65;
}
.passage-table th {
  font-weight: 550;
}
.reading-passage p + p,
.passage-disclosure p + p {
  margin-top: 16px;
}
.ai-report > h3 {
  font-size: 25px;
  margin: 12px 0;
}
.ai-report > p {
  margin-bottom: 25px;
  line-height: 1.9;
  color: #515e70;
}
.ai-report .coach-insight {
  padding: 20px;
  border: 1px solid #e9edf1;
  border-radius: 10px;
}
.ai-report .coach-insight p + p {
  margin-top: 12px;
}

.library-summary .text-link {
  font-size: 11px;
}
.sidebar {
  overflow-y: auto;
}
.sidebar-bottom {
  flex-shrink: 0;
}
@media (max-height: 820px) {
  .sidebar-plan {
    display: none;
  }
  .sidebar-bottom {
    padding-top: 15px;
  }
  .sidebar > .brand {
    margin-bottom: 20px;
  }
  .workspace-switch {
    margin-bottom: 15px;
  }
}
/* Topic-first practice, with quiet progress and consistent actions. */
:root {
  --canvas: #fafafa;
  --line: #e7e7e9;
  --muted: #6d6d76;
}
body {
  font-size: 16px;
}
.nav-item {
  font-size: 14px;
}
.sidebar {
  background: #191919;
}
.sidebar-plan p {
  font-size: 13px;
  line-height: 1.7;
}
.sidebar-plan .mini-label {
  font-size: 11px;
  letter-spacing: 0.09em;
}
.page-heading p {
  font-size: 16px;
}
.app-footer {
  font-size: 12px;
}
.breadcrumb {
  font-size: 14px;
}
.credit-pill {
  gap: 5px;
  padding: 3px 10px 3px 5px;
  background: #f6f6f7;
  border-color: #e9e9ec;
}
.credit-pill img {
  width: 29px;
  height: 29px;
}
.credit-pill strong {
  font-size: 13px;
}
.credit-pill > span {
  font-size: 12px;
}
.dashboard-plan p {
  font-size: 14px;
}
.dashboard-plan p > img {
  display: none;
}
.membership-head {
  min-height: 99px;
}
.credit-explainer {
  gap: 16px;
  padding: 21px 25px;
  align-items: center;
}
.credit-explainer > img {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.credit-explainer h2 {
  font-size: 17px;
  letter-spacing: -0.025em;
}
.credit-explainer p {
  font-size: 14px;
}
.credit-explainer .footnote {
  font-size: 12px;
}
.bank-heading-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.catalogue-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 31px;
}
.catalogue-heading .eyebrow {
  font-size: 12px;
  color: #797980;
  letter-spacing: 0.09em;
}
.catalogue-heading h1 {
  font: 600 36px/1.2 var(--display);
  letter-spacing: -0.05em;
  margin-top: 13px;
}
.catalogue-heading p {
  color: #72727b;
  font-size: 16px;
  margin-top: 12px;
}
.catalogue-heading .btn {
  background: #fff;
  font-weight: 500;
  flex-shrink: 0;
}
.catalogue-tabs {
  display: flex;
  border-bottom: 1px solid #dfe0e4;
  gap: 32px;
}
.catalogue-tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 9px 0 17px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777780;
  font-size: 14px;
}
.catalogue-tabs button strong {
  font-size: 16px;
  font-weight: 600;
  color: #595960;
}
.catalogue-tabs button.active {
  border-color: #ff641f;
}
.catalogue-tabs button.active strong {
  color: #dc5010;
}
.catalogue-tabs button.active span {
  color: #28282d;
}
.catalogue-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 22px 0 28px;
  color: #7a7a82;
  font-size: 13px;
}
.catalogue-topline strong {
  color: #3d3d44;
  font-weight: 500;
}
.catalogue-topline div > span {
  margin: 0 11px;
  color: #aaa;
}
.catalogue-topline .text-link {
  font-size: 13px;
  font-weight: 500;
}
.catalogue-resume {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 18px 22px;
  border: 1px solid #f7d8c8;
  background: #fff8f4;
  border-radius: 10px;
  margin-bottom: 25px;
}
.catalogue-resume > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.catalogue-resume > div > svg {
  color: #e66524;
}
.catalogue-resume strong,
.catalogue-resume small {
  display: block;
}
.catalogue-resume strong {
  font-size: 15px;
  font-weight: 600;
}
.catalogue-resume small {
  font-size: 13px;
  color: #777780;
  margin-top: 3px;
}
.catalogue-resume .btn {
  padding: 10px 17px;
  font-size: 13px;
  white-space: nowrap;
}
.catalogue-tools {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.catalogue-tools .search-box {
  background: #fff;
  width: 300px;
  max-width: 100%;
  min-height: 44px;
  border-color: #dedee3;
}
.catalogue-tools .search-box input {
  font-size: 14px;
}
.catalogue-access {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #71717a;
  cursor: pointer;
  white-space: nowrap;
}
.catalogue-access input {
  width: 15px;
  height: 15px;
}
.catalogue-progress-key {
  font-size: 12px;
  color: #83838b;
  margin-left: auto;
  white-space: nowrap;
}
.topic-catalogue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.topic-group {
  background: #fff;
  border: 1px solid #e3e3e7;
  border-radius: 13px;
  overflow: hidden;
}
.topic-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #fcfcfc;
  border-bottom: 1px solid #e8e8eb;
}
.topic-group-heading h2 {
  font: 600 19px var(--display);
  letter-spacing: -0.025em;
}
.topic-group-heading > span {
  font-size: 12px;
  color: #85858e;
}
.topic-entry {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 148px 120px;
  align-items: center;
  gap: 30px;
  padding: 23px 24px;
  min-height: 104px;
}
.topic-entry + .topic-entry {
  border-top: 1px solid #eeeef0;
}
.topic-entry-name h3 {
  font: 550 16px/1.5 var(--font);
  letter-spacing: 0;
}
.topic-entry-name p {
  font-size: 12px;
  color: #85858e;
  margin-top: 7px;
  line-height: 1.65;
}
.topic-entry-name p > span:not(.topic-free) {
  margin: 0 6px;
}
.topic-free {
  display: inline-block;
  font-size: 11px;
  color: #a04b20;
  margin-left: 11px;
  border-left: 1px solid #e4e4e7;
  padding-left: 11px;
}
.progress-segments {
  display: flex;
  gap: 4px;
  height: 7px;
}
.progress-segments > span {
  display: block;
  width: 25%;
  background: #eeeeef;
  border-radius: 2px;
  overflow: hidden;
}
.progress-segments i {
  display: block;
  height: 100%;
  background: #ff793a;
}
.topic-progress > small {
  display: block;
  font-size: 12px;
  color: #8b8b93;
  margin-top: 9px;
  text-align: right;
}
.topic-start {
  min-width: 115px;
  min-height: 42px;
  padding: 10px 15px;
  gap: 13px;
  font-size: 14px;
  border-radius: 7px;
  box-shadow: none;
  font-weight: 500;
}
.topic-start.outline {
  background: #fff;
}
.catalogue-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 24px 0 13px;
  font-size: 12px;
  color: #87878f;
}
.catalogue-bottom .text-link {
  font-size: 13px;
}
.topic-setup-summary {
  font-size: 14px;
  background: #f7f7f8;
  border-radius: 8px;
  padding: 13px 16px;
  margin: 18px 0;
}
.workspace-welcome {
  max-width: 560px;
  margin: 65px auto 100px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.workspace-welcome .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #83838b;
}
.workspace-welcome h1 {
  font: 550 41px/1.3 var(--display);
  letter-spacing: -0.05em;
  margin-top: 15px;
}
.workspace-welcome > p {
  font-size: 16px;
  color: #74747d;
  margin-top: 17px;
}
.welcome-device {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.welcome-device > svg {
  color: #e86325;
}
.welcome-device strong,
.welcome-device span {
  display: block;
}
.welcome-device strong {
  font-size: 16px;
  font-weight: 500;
}
.welcome-device span {
  font-size: 13px;
  color: #87878e;
  margin-top: 6px;
}
.workspace-welcome > .btn {
  width: 100%;
  justify-content: space-between;
}
.workspace-welcome > .footnote {
  font-size: 13px;
  line-height: 1.8;
  margin: 22px 0;
}
.workspace-welcome > .text-link {
  font-size: 14px;
}
.form-grid label {
  font-size: 14px;
}
.form-grid select {
  font-size: 15px;
  min-height: 45px;
}
.notice {
  font-size: 14px;
}
.footnote {
  font-size: 12px;
  line-height: 1.75;
}
.eyebrow,
.mini-label {
  font-size: 12px;
}
.section-tabs button {
  font-size: 14px;
}
.bank-row h3 {
  font-size: 16px;
}
.bank-row p {
  font-size: 15px;
}
.membership-full .feature-list {
  font-size: 16px;
}
.section-heading p {
  font-size: 14px;
}
.mock-card p {
  font-size: 16px;
}
.source-tag,
.difficulty {
  font-size: 12px;
}
.question-copy {
  font-size: 20px;
}
@media (min-width: 1600px) {
  .topic-catalogue {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .topic-entry {
    grid-template-columns: minmax(160px, 1fr) 94px 103px;
    gap: 15px;
  }
  .topic-start {
    min-width: 103px;
  }
  .topic-entry-name h3 {
    font-size: 16px;
  }
  .topic-entry-name p .topic-free {
    display: block;
    margin: 4px 0 0;
    border: 0;
    padding: 0;
  }
}
@media (max-width: 1200px) {
  .catalogue-tabs {
    gap: 25px;
  }
  .catalogue-tabs button {
    display: block;
  }
  .catalogue-tabs button span {
    display: block;
    font-size: 13px;
    margin-top: 3px;
  }
  .catalogue-progress-key {
    display: none;
  }
  .topic-entry {
    gap: 22px;
    grid-template-columns: minmax(170px, 1fr) 114px 112px;
  }
  .topic-start {
    min-width: 112px;
  }
  .topic-free {
    display: block;
    margin-left: 0;
    border: 0;
    padding-left: 0;
    margin-top: 3px;
  }
  .catalogue-topline .text-link {
    font-size: 13px;
  }
  .catalogue-heading p {
    max-width: 340px;
  }
  .catalogue-bottom {
    display: block;
  }
  .catalogue-bottom a {
    margin-top: 10px;
  }
}
@media (max-width: 700px) {
  .catalogue-heading {
    align-items: flex-start;
    margin-bottom: 27px;
    gap: 20px;
  }
  .catalogue-heading h1 {
    font-size: 31px;
  }
  .catalogue-heading p {
    font-size: 15px;
    max-width: 260px;
  }
  .catalogue-heading > .btn {
    padding: 10px 12px;
    font-size: 13px;
    gap: 7px;
  }
  .catalogue-heading > .btn svg {
    display: none;
  }
  .catalogue-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .catalogue-tabs {
    gap: 25px;
  }
  .catalogue-tabs button {
    flex: 1;
    padding-top: 0;
    padding-bottom: 14px;
  }
  .catalogue-tabs button strong {
    font-size: 16px;
  }
  .catalogue-tabs button span {
    font-size: 12px;
    line-height: 1.6;
  }
  .catalogue-topline {
    display: block;
    margin: 20px 0;
  }
  .catalogue-topline > div {
    font-size: 12px;
  }
  .catalogue-topline div > span {
    margin: 0 5px;
  }
  .catalogue-topline > a {
    margin-top: 12px;
  }
  .catalogue-tools {
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 22px;
  }
  .catalogue-tools .search-box {
    flex: 1 0 100%;
    width: 100%;
  }
  .catalogue-access {
    font-size: 14px;
  }
  .catalogue-progress-key {
    display: block;
    margin-left: 0;
    font-size: 11px;
  }
  .topic-group-heading {
    padding: 17px 18px;
  }
  .topic-group-heading h2 {
    font-size: 18px;
  }
  .topic-entry {
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 16px 20px;
    padding: 21px 18px;
  }
  .topic-entry-name h3 {
    font-size: 16px;
  }
  .topic-entry-name p {
    font-size: 12px;
  }
  .topic-start {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 106px;
    font-size: 14px;
    padding: 10px 13px;
  }
  .topic-progress {
    max-width: 160px;
    grid-column: 1;
  }
  .progress-segments {
    height: 6px;
  }
  .topic-progress small {
    text-align: left;
    font-size: 11px;
    margin-top: 6px;
  }
  .topic-entry-name p .topic-free {
    display: block;
    font-size: 11px;
  }
  .catalogue-topline .text-link {
    font-size: 14px;
  }
  .catalogue-resume {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 17px;
  }
  .catalogue-resume .btn {
    align-self: flex-end;
    font-size: 14px;
  }
  .catalogue-bottom {
    font-size: 12px;
  }
  .catalogue-bottom .text-link {
    font-size: 14px;
  }
  .workspace-welcome {
    margin: 25px 0 50px;
    padding: 28px 24px;
  }
  .workspace-welcome h1 {
    font-size: 34px;
  }
  .workspace-welcome .eyebrow {
    font-size: 11px;
  }
  .bank-heading-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .credit-explainer {
    padding: 20px;
    align-items: flex-start;
  }
  .credit-explainer h2 {
    font-size: 16px;
  }
  .credit-explainer p {
    font-size: 14px;
  }
  .credit-pill > span {
    display: none;
  }
  .app-footer {
    font-size: 11px;
    gap: 20px;
  }
  .app-footer > span:first-child {
    max-width: 160px;
  }
  .form-grid select {
    font-size: 16px;
  }
}
.mouse-icon {
  border-radius: 50%;
}
.history-type-tabs {
  display: flex;
  gap: 24px;
  margin: 0 0 25px;
  border-bottom: 1px solid var(--line);
}
.history-type-tabs > a {
  font-size: 14px;
  padding: 13px 0;
  border-bottom: 2px solid transparent;
  color: #73737c;
}
.history-type-tabs > a.active {
  color: #ce500e;
  border-color: #ff641f;
}
.related-promo > img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
}
.unlock-panel > img {
  width: 65px;
  height: 65px;
}
@media (max-width: 600px) {
  .history-type-tabs {
    gap: 20px;
  }
  .history-type-tabs > a {
    font-size: 13px;
  }
  .credit-explainer > img {
    border-radius: 50%;
  }
}
