:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #17243b;
  background: #f6f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #2163f6;
  --muted: #718097;
  --line: #e5e9f0;
  --surface: #fff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f6f8fc;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #9dbaff;
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid #edf0f5;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #19253c;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

.brand-accent {
  color: var(--blue);
}

.main-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 7px;
  margin-left: 35px;
  margin-right: auto;
}

.nav-link {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 9px;
  color: #58667c;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: #edf3ff;
  color: var(--blue);
}

.nav-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: #fff0f0;
  color: #e84a4a;
  font-size: 11px;
  font-weight: 700;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 6px;
  border: 1px solid #edf0f5;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
}

.avatar {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #eff4ff;
  color: #3969ce;
  font-size: 12px;
  font-weight: 700;
}

.profile-name {
  color: #45536b;
  font-size: 13px;
}

.profile-button svg {
  width: 13px;
  fill: none;
  stroke: #718097;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page-shell {
  width: min(100% - 64px, 1500px);
  margin: 0 auto;
  padding: 34px 0 25px;
}

.reading-part-grid {
  gap: 8px;
}

.reading-part-card {
  padding: 12px;
}

.reading-question-grid {
  gap: 9px;
}

.welcome-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 7px;
  color: #8a97aa;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.welcome-row h1 {
  margin: 0 0 3px;
  color: #15233b;
  font-size: clamp(29px, 3vw, 36px);
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.22;
}

.wave {
  display: inline-block;
  font-size: 24px;
  transform-origin: 70% 70%;
}

.welcome-copy {
  margin: 0;
  color: #748198;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.skill-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding-bottom: 2px;
}

.stat-pill {
  padding: 9px 14px;
  border: 1px solid;
  border-radius: 30px;
  background: white;
  font-size: 14px;
  white-space: nowrap;
}

.stat-pill strong {
  margin-left: 4px;
  font-weight: 700;
}

.listening-pill {
  border-color: #b7f1dd;
  background: #f2fff9;
  color: #008c62;
}

.reading-pill {
  border-color: #c6e8ff;
  background: #f3faff;
  color: #0876c7;
}

.writing-pill {
  border-color: #ffd1e6;
  background: #fff6fa;
  color: #d80066;
}

.speaking-pill {
  border-color: #ffddc3;
  background: #fff8f1;
  color: #df5312;
}

.start-banner,
.guide-banner,
.overview-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.start-banner {
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  border: 2px solid #bed8ff;
  border-radius: 21px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.start-banner:hover {
  box-shadow: 0 10px 28px rgb(34 98 225 / 8%);
  transform: translateY(-1px);
}

.icon-box {
  display: inline-grid;
  width: 57px;
  height: 57px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 17px;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-blue {
  background: #eff5ff;
  color: #2768ff;
}

.icon-green {
  background: #eafbf4;
  color: #00a66d;
}

.icon-cyan {
  background: #eef9ff;
  color: #078bd6;
}

.icon-pink {
  background: #fff1f7;
  color: #eb1373;
}

.icon-orange {
  background: #fff6ed;
  color: #ff5b16;
}

.start-copy {
  flex: 1;
  min-width: 0;
}

.start-copy h2 {
  margin: 0 0 5px;
  color: #15233b;
  font-size: 20px;
  font-weight: 700;
}

.start-copy p {
  margin: 0;
  color: #77849a;
  font-size: 15px;
  line-height: 1.6;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 0;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.primary-button {
  background: var(--blue);
  box-shadow: 0 5px 12px rgb(33 99 246 / 15%);
  color: white;
}

.primary-button:hover {
  background: #1054eb;
  box-shadow: 0 8px 18px rgb(33 99 246 / 23%);
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(0);
}

.skills-section {
  margin-top: 43px;
}

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

.section-heading h2 {
  margin: 0;
  color: #17243b;
  font-size: 18px;
  font-weight: 700;
}

.section-heading > span {
  color: #97a2b3;
  font-size: 13px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.skill-card {
  position: relative;
  display: flex;
  min-height: 226px;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 26px 0;
  border: 1px solid #e4e8ef;
  border-radius: 21px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.skill-card:hover {
  border-color: #cbd9f4;
  box-shadow: 0 12px 28px rgb(26 47 83 / 7%);
  transform: translateY(-3px);
}

.skill-card .icon-box {
  width: 57px;
  height: 57px;
  margin-bottom: 20px;
}

.card-arrow {
  margin-left: auto;
  color: #c6cfdd;
  font-size: 19px;
  font-weight: 400;
  transition: color 160ms ease, transform 160ms ease;
}

.skill-card .card-arrow {
  position: absolute;
  top: 28px;
  right: 25px;
}

.skill-card:hover .card-arrow,
.guide-banner:hover .card-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

.skill-title {
  margin-bottom: 3px;
  color: #17243b;
  font-size: 18px;
  font-weight: 700;
}

.skill-subtitle {
  color: #8290a4;
  font-size: 14px;
}

.skill-meta {
  width: 100%;
  margin-top: auto;
  padding: 14px 0 17px;
  border-top: 1px solid #f0f2f5;
  color: #6f7d92;
  font-size: 14px;
}

.guide-banner {
  display: flex;
  width: 100%;
  min-height: 96px;
  align-items: center;
  gap: 20px;
  margin-top: 39px;
  padding: 16px 21px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.guide-banner:hover {
  border-color: #c8d8f6;
  box-shadow: 0 8px 22px rgb(26 47 83 / 5%);
}

.guide-banner .icon-box {
  width: 57px;
  height: 57px;
}

.guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.guide-copy strong {
  color: #17243b;
  font-size: 17px;
}

.guide-copy > span {
  color: #8390a3;
  font-size: 14px;
}

.guide-banner > .card-arrow {
  margin-right: 1px;
}

.overview-panel {
  overflow: hidden;
  margin-top: 39px;
}

.panel-heading {
  padding: 23px 26px 19px;
  border-bottom: 1px solid #edf0f4;
}

.panel-heading h2 {
  margin: 0 0 3px;
  color: #17243b;
  font-size: 18px;
}

.panel-heading p {
  margin: 0;
  color: #8591a3;
  font-size: 14px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 25px 26px 26px;
}

.overview-column h3 {
  margin: 0 0 11px;
  color: #19263d;
  font-size: 15px;
}

.overview-column > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  color: #718097;
  font-size: 14px;
  line-height: 1.45;
}

.overview-column > div span:last-child {
  text-align: right;
}

.page-footer {
  padding: 24px 0 3px;
  color: #9aa5b5;
  font-size: 12px;
  text-align: center;
}

.page-footer span {
  padding: 0 4px;
}

.is-hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.practice-view {
  min-height: calc(100vh - 128px);
}

.reading-view {
  min-height: calc(100vh - 118px);
}

.reading-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #a0a9b8;
  font-size: 13px;
}

.reading-breadcrumb button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #748198;
  font: inherit;
  cursor: pointer;
}

.reading-breadcrumb button:hover {
  color: var(--blue);
}

.reading-breadcrumb [aria-current="page"] {
  color: #3d4b61;
  font-weight: 600;
}

.reading-hero,
.reading-part-hero,
.writing-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.reading-hero {
  margin-bottom: 45px;
}

.writing-hero {
  margin-bottom: 24px;
}

.writing-hero-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: #fff0f6;
  color: #d34b8e;
}

.writing-hero-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.writing-hero h1 {
  margin: 0 0 6px;
  color: #17243b;
  font-size: 30px;
  letter-spacing: -0.6px;
}

.writing-hero p {
  margin: 0;
  color: #7d899b;
  font-size: 13px;
}

.writing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.writing-start-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid #e6eaf5;
  border-radius: 15px;
  background: linear-gradient(110deg, #f1f5ff, #fff8fb);
}

.writing-banner-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #cf4c8b;
  font-size: 23px;
}

.writing-start-banner h2 {
  margin: 0 0 5px;
  color: #202c41;
  font-size: 15px;
}

.writing-start-banner p {
  margin: 0;
  color: #7d899b;
  font-size: 12px;
  line-height: 1.55;
}

.writing-topics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.writing-topics-heading h2 {
  margin: 0;
  color: #1b2940;
  font-size: 17px;
}

.writing-topics-heading span {
  color: #8793a4;
  font-size: 12px;
}

.writing-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.speaking-view .writing-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.writing-topic-card {
  display: flex;
  min-width: 0;
  min-height: 122px;
  flex-direction: column;
  align-items: stretch;
  padding: 13px 15px 12px;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.writing-topic-card:not(:disabled):hover {
  border-color: #e7c7d7;
  box-shadow: 0 8px 20px rgb(72 38 59 / 7%);
  transform: translateY(-2px);
}

.writing-topic-card:focus-visible {
  outline: 3px solid rgb(211 75 142 / 25%);
  outline-offset: 3px;
}

.writing-topic-card:disabled {
  background: #fafbfc;
  color: #a0a9b8;
  cursor: not-allowed;
}

.writing-topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.writing-topic-number {
  display: inline-flex;
  min-width: 27px;
  height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 12px;
  background: #fff0f6;
  color: #bd4d81;
  font-size: 10px;
  font-weight: 700;
}

.writing-topic-card:disabled .writing-topic-number {
  background: #eef0f3;
  color: #8993a2;
}

.writing-topic-arrow {
  color: #9aa4b3;
  font-size: 15px;
}

.writing-topic-card strong {
  color: #202c41;
  font-size: 13px;
  line-height: 1.4;
}

.writing-topic-card:disabled strong {
  color: #8993a2;
  font-weight: 550;
}

.writing-topic-meta {
  margin-top: auto;
  padding-top: 9px;
  color: #8793a4;
  font-size: 11px;
}

.speaking-hero-icon {
  background: #fff3e7;
  color: #d18438;
}

.speaking-start-banner {
  background: linear-gradient(110deg, #f3f7ff, #fff8f0);
}

.speaking-start-banner .writing-banner-icon {
  color: #d18438;
}

.speaking-view .writing-topic-card:not(:disabled):hover {
  border-color: #efcfaa;
}

.speaking-view .writing-topic-card:focus-visible {
  outline-color: rgb(209 132 56 / 28%);
}

.speaking-view .writing-topic-number {
  background: #fff3e7;
  color: #b66e28;
}

.speaking-topic-card {
  min-height: 148px;
}

.speaking-topic-start {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 8px;
  background: #2163f6;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.speaking-topic-card:disabled .speaking-topic-start {
  background: #e9edf3;
  color: #8993a2;
}

.speaking-view .writing-topic-card:disabled .writing-topic-number {
  background: #eef0f3;
  color: #8993a2;
}

.speaking-part-intro-1 {
  border-left-color: #4a78c2;
  background: #f0f5ff;
  color: #365582;
}

.speaking-part-intro-3 {
  border-left-color: #d5a333;
  background: #fff9e9;
  color: #876824;
}

.speaking-part-intro-4 {
  border-left-color: #c65a5a;
  background: #fff2f2;
  color: #8d4242;
}

.speaking-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 15px 0;
}

.speaking-image-grid[data-image-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.speaking-image-card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
}

.speaking-image-card img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
}

.speaking-image-grid[data-image-count="1"] .speaking-image-card img {
  max-width: 560px;
}

.speaking-source-note {
  margin: 10px 0;
  color: #7a8798;
  font-size: 12px;
  line-height: 1.5;
}

.speaking-unavailable {
  padding: 19px;
  border: 1px dashed #dfe4ec;
  border-radius: 12px;
  background: #fafbfc;
  color: #718097;
  font-size: 12px;
  line-height: 1.55;
}

.speaking-unavailable strong {
  display: block;
  margin-bottom: 5px;
  color: #46536a;
}

.speaking-unavailable p {
  margin: 0;
}

.writing-unavailable {
  padding: 19px;
  border: 1px dashed #dfe4ec;
  border-radius: 12px;
  background: #fafbfc;
  color: #5e6b80;
  font-size: 13px;
  line-height: 1.55;
}

.writing-unavailable p {
  margin: 7px 0 0;
  color: #8793a4;
}

.reading-hero-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
}

.reading-hero-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: #edf3ff;
  color: #2163f6;
  font-size: 28px;
}

.reading-hero-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reading-hero h1,
.reading-part-hero h1 {
  margin: 0 0 6px;
  color: #17243b;
  font-size: 30px;
  letter-spacing: -0.6px;
}

.reading-hero p,
.reading-part-hero p {
  margin: 0;
  color: #7d899b;
  font-size: 13px;
}

.reading-total-pill {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid #e3eaf7;
  border-radius: 20px;
  background: #fff;
  color: #64728a;
  font-size: 12px;
}

.reading-parts-heading,
.reading-question-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.reading-parts-heading h2,
.reading-question-list-heading h2 {
  margin: 0;
  color: #1b2940;
  font-size: 17px;
}

.reading-parts-heading > span,
.reading-question-list-heading > span {
  color: #8793a4;
  font-size: 12px;
}

.reading-part-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reading-part-card {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  align-items: stretch;
  padding: 15px 15px 13px;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.reading-part-card:hover {
  border-color: #cbd9f4;
  box-shadow: 0 8px 20px rgb(29 53 89 / 6%);
  transform: translateY(-2px);
}

.reading-part-card:focus-visible,
.reading-question-card .primary-button:focus-visible {
  outline: 3px solid rgb(39 104 255 / 28%);
  outline-offset: 3px;
}

.reading-part-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.reading-part-label,
.reading-question-label {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 14px;
  background: #edf3ff;
  color: #3867bd;
  font-size: 10px;
  font-weight: 650;
}

.reading-part-arrow {
  color: #8d99aa;
  font-size: 16px;
}

.reading-part-title {
  margin-bottom: 4px;
  color: #202c41;
  font-size: 13px;
  line-height: 1.4;
}

.reading-part-description {
  color: #8793a4;
  font-size: 11px;
  line-height: 1.45;
}

.reading-part-card-bottom {
  margin-top: auto;
  padding-top: 10px;
  color: #69778d;
  font-size: 11px;
}

.reading-part-hero {
  margin-bottom: 23px;
}

.reading-part-hero h1 {
  font-size: 26px;
}

.reading-start-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
  padding: 15px 17px;
  border: 1px solid #dfe9ff;
  border-radius: 13px;
  background: #fff;
}

.reading-start-banner h2 {
  margin: 0 0 4px;
  color: #263650;
  font-size: 14px;
}

.reading-start-banner p {
  margin: 0;
  color: #8290a3;
  font-size: 11px;
  line-height: 1.5;
}

.reading-start-banner .primary-button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11px;
}

.reading-question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.reading-question-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: stretch;
  padding: 13px;
  border: 1px solid #e6eaf0;
  border-radius: 13px;
  background: #fff;
}

.reading-question-card h2 {
  margin: 7px 0 4px;
  color: #202c41;
  font-size: 11px;
  line-height: 1.45;
}

.reading-question-card p {
  margin: 0 0 10px;
  color: #8793a4;
  font-size: 10px;
}

.reading-question-card .primary-button {
  width: 100%;
  min-height: 32px;
  margin-top: auto;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 10px;
}

.reading-question-card .primary-button:disabled {
  background: #edf0f5;
  box-shadow: none;
  color: #8490a2;
  cursor: not-allowed;
}

.reading-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed #dfe5ee;
  border-radius: 13px;
  background: #fff;
  color: #718097;
  font-size: 13px;
  text-align: center;
}

.listening-view {
  min-height: calc(100vh - 118px);
}

.listening-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: #a0a9b8;
  font-size: 13px;
}

.listening-breadcrumb button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #748198;
  font: inherit;
  cursor: pointer;
}

.listening-breadcrumb button:hover {
  color: var(--blue);
}

.listening-breadcrumb [aria-current="page"] {
  color: #3d4b61;
  font-weight: 600;
}

.listening-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.listening-hero-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 19px;
}

.listening-hero-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: #eafbf4;
  color: #00a66d;
}

.listening-hero-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.listening-hero h1 {
  margin: 0 0 7px;
  color: #17243b;
  font-size: 34px;
  letter-spacing: -0.8px;
}

.listening-hero p,
.listening-parts-heading p {
  margin: 0;
  color: #7d899b;
  font-size: 14px;
}

.listening-total-pill {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid #dfe9ff;
  border-radius: 22px;
  background: #f3f7ff;
  color: #3c65bb;
  font-size: 13px;
  font-weight: 650;
}

.listening-parts-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.listening-parts-heading h2 {
  margin: 0 0 6px;
  color: #1b2940;
  font-size: 21px;
  letter-spacing: -0.3px;
}

.listening-parts-heading > span {
  padding-bottom: 2px;
  color: #7d899b;
  font-size: 13px;
}

.listening-part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.listening-part-card {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: stretch;
  padding: 21px 23px 18px;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.listening-part-card:hover {
  border-color: #cbd9f4;
  box-shadow: 0 9px 22px rgb(29 53 89 / 6%);
  transform: translateY(-2px);
}

.listening-part-card:focus-visible {
  outline: 3px solid rgb(39 104 255 / 28%);
  outline-offset: 3px;
}

.listening-part-card-top,
.listening-part-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listening-part-label {
  padding: 5px 10px;
  border-radius: 16px;
  background: #effbf6;
  color: #288b6b;
  font-size: 12px;
  font-weight: 650;
}

.listening-part-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #edf0f5;
  border-radius: 50%;
  color: #718099;
  font-size: 17px;
  transition: color 160ms ease, background 160ms ease;
}

.listening-part-card:hover .listening-part-arrow {
  background: #f3f7ff;
  color: var(--blue);
}

.listening-part-title {
  margin: 13px 0 6px;
  color: #202c41;
  font-size: 17px;
  font-weight: 700;
}

.listening-part-description {
  margin-bottom: 17px;
  color: #8793a4;
  font-size: 13px;
  line-height: 1.55;
}

.listening-part-card-bottom {
  margin-top: auto;
  color: #69778d;
  font-size: 12px;
}

.listening-part-status {
  color: #a77524;
  font-size: 11px;
  font-weight: 600;
}

.listening-part-status.is-available {
  color: #288b6b;
}

.listening-back-link {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #60718a;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.listening-back-link:hover {
  color: var(--blue);
}

.listening-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.listening-list-heading h1 {
  margin: 0 0 7px;
  color: #17243b;
  font-size: 29px;
  letter-spacing: -0.8px;
}

.listening-list-heading .welcome-copy {
  font-size: 14px;
}

.sample-count,
.question-progress {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #dfe9ff;
  border-radius: 22px;
  background: #f3f7ff;
  color: #3c65bb;
  font-size: 13px;
  font-weight: 650;
}

.listening-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.list-question-card {
  display: flex;
  min-height: 184px;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 19px 16px;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.list-question-card:hover {
  border-color: #cbd9f4;
  box-shadow: 0 9px 22px rgb(29 53 89 / 6%);
  transform: translateY(-2px);
}

.question-number {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #effbf6;
  color: #288b6b;
  font-size: 12px;
  font-weight: 650;
}

.list-question-card h2 {
  margin: 0 0 5px;
  color: #202c41;
  font-size: 15px;
  line-height: 1.5;
}

.list-question-card p {
  margin: 0 0 15px;
  color: #8793a4;
  font-size: 12px;
}

.list-question-card .primary-button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border-radius: 10px;
  font-size: 13px;
}

.listening-question-bar {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  padding: 12px 15px;
  border: 1px solid #e7ebf1;
  border-radius: 15px;
  background: #fff;
}

.listen-back-button {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e5e9f0;
  border-radius: 11px;
  background: #fff;
  color: #64728a;
  font-size: 19px;
  cursor: pointer;
}

.listen-back-button:hover {
  border-color: #cbd9f4;
  color: var(--blue);
}

.listen-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #effbf6;
  color: #16a06d;
}

.listen-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.listen-question-title {
  min-width: 0;
  flex: 1;
}

.listen-question-title > span {
  display: block;
  margin-bottom: 2px;
  color: #8290a3;
  font-size: 12px;
}

.listen-question-title h2 {
  margin: 0;
  color: #19263d;
  font-size: 17px;
  line-height: 1.4;
}

.listen-exercise-card {
  width: min(100%, 1090px);
  min-height: 390px;
  margin: 0 auto 92px;
  padding: 21px 22px 24px;
  border: 1px solid #e8ecf2;
  border-radius: 17px;
  background: #fff;
}

.listen-exercise-card > h3 {
  margin: 0 0 17px;
  color: #25334b;
  font-size: 16px;
}

.listen-exercise-card audio {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 9px;
}

.audio-source-label {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 12px;
}

.transcript-section {
  margin-bottom: 18px;
}

.transcript-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 2px 10px auto;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: #3264cb;
  font-size: 13px;
  cursor: pointer;
}

.transcript-toggle:hover {
  color: #1748ae;
}

.transcript-content {
  padding: 14px 16px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #fbfcfe;
  color: #4a586d;
  font-size: 13px;
  line-height: 1.7;
}

.transcript-content p {
  margin: 0 0 6px;
}

.transcript-content p:last-child {
  margin-bottom: 0;
}

.part4-translation {
  margin-top: 18px !important;
  font-style: italic;
}

.part4-tip-source {
  margin-top: 18px !important;
}

.part4-transcript-label {
  margin-top: 22px !important;
  font-weight: 600;
}

.part4-topic {
  font-weight: 600;
}

.part4-topic-spaced {
  margin-top: 22px !important;
  font-weight: 600;
}

.part4-transcript-paragraph {
  margin-top: 10px !important;
}

.part4-transcript-paragraph + .part4-transcript-paragraph {
  margin-top: 12px !important;
}

.transcript-note {
  color: #64748b;
  font-size: 12px;
  font-style: italic;
}

.part2-instructions {
  margin: 0 0 17px;
  color: #64748b;
  font-size: 14px;
}

.part2-speaker-list {
  display: grid;
  gap: 14px;
}

.part2-speaker-card {
  padding: 16px;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  background: #fff;
}

.part2-speaker-card h3 {
  margin: 0 0 8px;
  color: #25334b;
  font-size: 15px;
}

.part2-speaker-card audio {
  margin-bottom: 5px;
}

.part2-transcript {
  margin: 0 0 12px;
}

.part2-transcript summary {
  width: fit-content;
  margin-left: auto;
  padding: 5px 2px;
  color: #3264cb;
  font-size: 13px;
  cursor: pointer;
}

.part2-transcript-content {
  margin-top: 5px;
  padding: 12px 14px;
  border: 1px solid #e9edf2;
  border-radius: 11px;
  background: #fbfcfe;
  color: #4a586d;
  font-size: 13px;
  line-height: 1.7;
}

.part2-transcript-content p {
  margin: 0;
}

.part2-transcript-content p + p {
  margin-top: 38px;
}

.part2-answer-label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.part2-answer-select {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: inherit;
}

.part2-answer-select:focus-visible {
  outline: 3px solid rgb(45 98 220 / 18%);
  border-color: #5a83df;
}

.part2-speaker-card.is-correct {
  border-color: #9bd9bf;
}

.part2-speaker-card.is-incorrect {
  border-color: #f0b5b5;
}

.part2-speaker-status {
  margin: 8px 0 0;
  color: #16835d;
  font-size: 13px;
  font-weight: 650;
}

.part2-speaker-card.is-incorrect .part2-speaker-status {
  color: #bd3d3d;
}

.part2-feedback {
  margin-top: 16px;
}

.part3-instructions {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
}

.part3-prompt {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #fbfcfe;
  color: #4a586d;
  font-size: 14px;
  line-height: 1.7;
}

.part3-audio audio {
  width: 100%;
}

.part3-no-audio {
  margin: 0 0 12px;
  color: #8a94a5;
  font-size: 14px;
  font-style: italic;
}

.part3-source-note {
  margin: 0 0 12px;
  color: #8a6a2d;
  font-size: 12px;
  line-height: 1.6;
}

.part3-statement-list {
  display: grid;
  gap: 12px;
}

.part3-statement-card {
  padding: 14px 16px;
  border: 1px solid #e6eaf0;
  border-left: 3px solid #77a0e8;
  border-radius: 12px;
  background: #fff;
}

.part3-statement-label {
  display: block;
  color: #34445d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.part3-statement-label select {
  display: block;
  margin-top: 8px;
  font-weight: 400;
}

.part3-statement-status {
  margin: 8px 0 0;
  color: #16835d;
  font-size: 13px;
  font-weight: 650;
}

.part3-statement-card.is-incorrect {
  border-color: #f0b5b5;
}

.part3-statement-card.is-incorrect .part3-statement-status {
  color: #bd3d3d;
}

.part3-statement-card.is-correct {
  border-color: #9bd9bf;
}

.part3-statement-card.is-unverified {
  border-color: #e6eaf0;
}

.part3-statement-card.is-unverified .part3-statement-status {
  color: #8a6a2d;
}

.part3-feedback {
  margin-top: 16px;
}

.part4-prompt {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #fbfcfe;
  color: #4a586d;
  font-size: 14px;
  line-height: 1.7;
}

.part4-audio audio {
  width: 100%;
}

.part4-source-note,
.part4-question-source-note {
  margin: 8px 0 0;
  color: #8a6a2d;
  font-size: 12px;
  line-height: 1.6;
}

.part4-question-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.part4-question-card {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fff;
}

.part4-question-title {
  padding: 0 5px;
  color: #34445d;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.part4-options {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.part4-question-status {
  margin: 9px 0 0;
  color: #16835d;
  font-size: 13px;
  font-weight: 650;
}

.part4-question-card.is-incorrect {
  border-color: #f0b5b5;
}

.part4-question-card.is-incorrect .part4-question-status {
  color: #bd3d3d;
}

.part4-question-card.is-correct {
  border-color: #9bd9bf;
}

.part4-question-card.is-unverified {
  border-color: #e6eaf0;
}

.part4-question-card.is-unverified .part4-question-status {
  color: #8a6a2d;
}

.part4-feedback {
  margin-top: 16px;
}

.listening-options {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
}

.listening-option {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid #e7ebf1;
  border-radius: 10px;
  color: #4f5c70;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.listening-option:hover {
  border-color: #c8d8f6;
  background: #fafcff;
}

.listening-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.listening-option.is-correct {
  border-color: #a7e1c4;
  background: #f0fbf5;
  color: #287c56;
}

.listening-option.is-incorrect {
  border-color: #f2c2c2;
  background: #fff5f5;
  color: #aa4848;
}

.listening-feedback {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 17px;
  padding: 13px 14px;
  border: 1px solid #c7ecd9;
  border-radius: 12px;
  background: #f0fbf5;
  color: #277b56;
}

.listening-feedback.is-incorrect {
  border-color: #f1d2c3;
  background: #fff8f2;
  color: #a36039;
}

.listening-feedback > p {
  flex: 1;
  margin: 0;
  font-size: 13px;
}

.listening-feedback .secondary-button {
  min-height: 36px;
  font-size: 12px;
}

.vocabulary-panel {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  background: #f8faff;
}

.vocabulary-panel h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.vocabulary-entry {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-top: 1px solid #e9edf4;
  color: #5f6d82;
  font-size: 13px;
}

.vocabulary-entry strong {
  color: #263650;
}

.listening-footer {
  position: sticky;
  z-index: 4;
  bottom: 0;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 -12px;
  padding: 9px 12px;
  border-top: 1px solid #e6eaf0;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.footer-tools,
.footer-question-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #e7ebf1;
  border-radius: 10px;
  background: #fff;
  color: #526179;
  font-size: 12px;
  cursor: pointer;
}

.footer-button:hover:not(:disabled) {
  border-color: #cbd9f4;
  background: #f9fbff;
  color: #2a5ab7;
}

.footer-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.check-answer-button,
.next-question-button {
  min-height: 39px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.practice-heading {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 22px;
  padding: 0 5px 13px;
  border-bottom: 1px solid #e7ebf1;
}

.reading-question-heading {
  display: flex;
  width: min(100%, 760px);
  min-height: 60px;
  align-items: center;
  gap: 11px;
  margin: 0 auto 12px;
  padding: 8px 13px;
  border: 1px solid #e7ebf1;
  border-top: 2px solid var(--blue);
  border-radius: 12px;
  background: #fff;
}

.reading-question-back {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  background: #fff;
  color: #64728a;
  font-size: 18px;
  cursor: pointer;
}

.reading-question-back:hover {
  border-color: #cbd9f4;
  color: var(--blue);
}

.reading-question-title {
  min-width: 0;
  flex: 1;
}

.reading-question-title p {
  margin: 0 0 2px;
  color: #8290a3;
  font-size: 10px;
}

.reading-question-title h1 {
  overflow: hidden;
  margin: 0;
  color: #19263d;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.reading-question-count {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 14px;
  background: #f0f5ff;
  color: #3768d2;
  font-size: 10px;
  font-weight: 650;
}

.back-button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #5d6b80;
  font-size: 14px;
  cursor: pointer;
}

.back-button:hover {
  color: var(--blue);
}

.session-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #15946c;
  font-size: 13px;
}

.saved-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #26be87;
}

.timer-chip {
  display: inline-flex;
  min-width: 102px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 24px;
  background: #edf3ff;
  color: #3768d2;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.timer-chip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.part-tabs {
  display: flex;
  gap: 8px;
  padding: 13px 0 15px;
  border-bottom: 1px solid #e7ebf1;
}

.part-tab {
  min-height: 37px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f0f2f6;
  color: #59677b;
  font-size: 13px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.part-tab:hover {
  background: #e8efff;
  color: #255ed7;
}

.part-tab[aria-selected="true"] {
  background: var(--blue);
  box-shadow: 0 4px 10px rgb(33 99 246 / 18%);
  color: white;
}

.practice-content {
  width: min(100%, 1090px);
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid #e9edf3;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 24px rgb(30 49 82 / 3%);
}

.practice-view.is-reading-detail .practice-heading,
.practice-view.is-reading-detail .part-tabs,
.practice-view.is-reading-detail .task-intro,
.practice-view.is-reading-detail .progress-label {
  display: none;
}

.practice-view.is-reading-detail .practice-content {
  width: min(100%, 760px);
  margin: 0 auto 100px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.practice-view.is-reading-detail .task-body {
  padding: 0;
}

.practice-view.is-reading-detail .reading-exercise-card {
  margin: 0;
  padding: 14px;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  background: #fff;
}

.practice-view.is-reading-detail .reading-exercise-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b5a70;
  font-size: 12px;
}

.practice-view.is-reading-detail .reading-exercise-title strong {
  margin: 0;
}

.practice-view.is-reading-detail .reading-gap-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-view.is-reading-detail .reading-gap-list .question-card {
  display: block;
  min-height: 38px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #e8ecf2;
  border-radius: 11px;
  background: #fff;
  color: #28364d;
  font-size: 11px;
  line-height: 1.45;
}

.practice-view.is-reading-detail .reading-gap-select {
  min-width: 100px;
  min-height: 30px;
  padding: 3px 8px;
}

.practice-view.is-reading-detail .reading-gap-feedback {
  margin-top: 14px;
}

.practice-view.is-reading-detail .reading-order-exercise-card {
  overflow: hidden;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  background: #fff;
}

.reading-order-prompt {
  padding: 12px 14px 10px;
  border-bottom: 1px solid #f0f2f6;
  color: #28364d;
  font-size: 12px;
}

.reading-order-prompt p {
  margin: 10px 0 0;
  color: #7c899b;
  font-size: 10px;
  line-height: 1.5;
}

.reading-order-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  padding: 12px 14px 14px;
}

.reading-order-slots,
.reading-sentence-bank {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-order-intro,
.reading-order-slot,
.reading-sentence-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font: inherit;
  font-size: 10px;
  line-height: 1.4;
  text-align: left;
}

.reading-order-intro {
  margin-bottom: 7px;
  border: 1px solid #e8ecf2;
  background: #f3f5f8;
  color: #758196;
}

.reading-order-slot {
  border: 1px dashed #dfe5ed;
  background: #fafbfd;
  color: #28364d;
  cursor: pointer;
}

.reading-order-slot.is-filled {
  border-style: solid;
  background: #fff;
}

.reading-order-slot.is-correct {
  border-color: #9bd6af;
  background: #eff9f2;
}

.reading-order-slot.is-incorrect {
  border-color: #e6a7a7;
  background: #fff2f1;
}

.reading-order-slot.is-drag-over {
  border-color: #80a8ff;
  background: #edf3ff;
}

.reading-order-slot-number,
.reading-order-intro > span:first-child {
  flex: 0 0 16px;
  color: #3867bd;
  font-weight: 700;
  text-align: center;
}

.reading-order-slot:focus-visible,
.reading-sentence-option:focus-visible {
  outline: 3px solid rgb(39 104 255 / 28%);
  outline-offset: 2px;
}

.reading-sentence-option {
  border: 1px solid #e8ecf2;
  background: #fff;
  color: #28364d;
  cursor: grab;
}

.reading-sentence-option:hover {
  border-color: #cbd9f4;
}

.reading-sentence-option.is-selected {
  border-color: #83aaff;
  background: #f1f5ff;
  box-shadow: 0 0 0 2px rgb(39 104 255 / 10%);
}

.reading-sentence-option:active {
  cursor: grabbing;
}

.reading-sentence-grip {
  flex: 0 0 auto;
  color: #a4adba;
  font-size: 13px;
  letter-spacing: -3px;
}

.reading-order-feedback .reading-order-answer-key {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 22px;
  color: #4a5870;
  font-size: 12px;
  line-height: 1.5;
}

.reading-order-feedback .reading-order-explanation-title {
  color: #334159;
  font-size: 13px;
}

.reading-order-feedback .reading-order-explanation-title + p {
  margin-top: 9px;
}

.practice-view.is-reading-detail .reading-matching-exercise {
  overflow: hidden;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  background: #fff;
}

.reading-matching-prompt {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f2f6;
  color: #28364d;
  font-size: 12px;
}

.reading-matching-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 12px;
  padding: 12px 14px 14px;
}

.reading-matching-profiles,
.reading-matching-questions {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-matching-profile {
  overflow: hidden;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  background: #fff;
}

.reading-matching-profile h2 {
  margin: 0;
  padding: 7px 10px;
  background: #3478ed;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
}

.reading-matching-profile:nth-child(2) h2 {
  background: #17b85b;
}

.reading-matching-profile:nth-child(3) h2 {
  background: #e8aa00;
}

.reading-matching-profile:nth-child(4) h2 {
  background: #9c3be4;
}

.reading-matching-profile p {
  margin: 0;
  padding: 10px;
  color: #45536b;
  font-size: 10px;
  line-height: 1.55;
}

.reading-matching-question {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  background: #fff;
}

.reading-matching-question label {
  color: #28364d;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.reading-matching-question label > span {
  margin-right: 4px;
}

.reading-matching-question select {
  width: min(100%, 150px);
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #fafbfd;
  color: #28364d;
  font: inherit;
  font-size: 10px;
}

.reading-matching-question select:focus-visible {
  outline: 3px solid rgb(39 104 255 / 28%);
  outline-offset: 2px;
}

.reading-matching-question select.is-correct,
.reading-matching-question.is-correct {
  border-color: #9bd6af;
  background: #eff9f2;
}

.reading-matching-question select.is-incorrect,
.reading-matching-question.is-incorrect {
  border-color: #e6a7a7;
  background: #fff2f1;
}

.reading-matching-feedback {
  margin: 0;
  color: #b74646;
  font-size: 10px;
  line-height: 1.4;
}

.reading-matching-question.is-correct .reading-matching-feedback {
  color: #278248;
}

.practice-view.is-reading-detail .reading-matching-results {
  margin-top: 14px;
}

.reading-matching-answer-key {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 22px;
  color: #4a5870;
  font-size: 12px;
  line-height: 1.5;
}

.reading-matching-answer-key li::marker {
  color: #218755;
  font-weight: 700;
}

.reading-matching-explanations {
  margin: 14px -12px -12px;
  padding: 14px 12px 0;
  border-top: 1px solid #edf0f5;
  scroll-margin-top: 90px;
}

.reading-matching-explanations h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: #263752;
  font-size: 13px;
}

.reading-matching-explanations h3 svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #2764c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.reading-matching-explanation {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: #46536a;
  font-size: 11px;
  line-height: 1.6;
}

.reading-matching-explanation:first-of-type {
  margin-top: 0;
}

.reading-matching-explanation-lead,
.reading-matching-explanation-translation {
  margin: 0;
}

.reading-matching-explanation-lead {
  color: #34425a;
}

.reading-matching-explanation ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-matching-explanation li {
  position: relative;
  padding-left: 12px;
}

.reading-matching-explanation li::before {
  position: absolute;
  left: 0;
  color: #718097;
  content: "-";
}

.practice-view.is-reading-detail .reading-heading-exercise {
  overflow: hidden;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  background: #fff;
}

.reading-heading-prompt {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f2f6;
  color: #28364d;
  font-size: 12px;
  line-height: 1.5;
}

.reading-heading-questions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-heading-question {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f5;
}

.reading-heading-question:last-child {
  border-bottom: 0;
}

.reading-heading-question label {
  padding-top: 8px;
  color: #34425a;
  font-size: 12px;
  font-weight: 650;
}

.reading-heading-question select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #fafbfd;
  color: #28364d;
  font: inherit;
  font-size: 11px;
}

.reading-heading-question select:focus-visible {
  outline: 3px solid rgb(39 104 255 / 28%);
  outline-offset: 2px;
}

.reading-heading-question > p:not(.reading-heading-feedback) {
  grid-column: 1 / -1;
  margin: 0;
  color: #46536a;
  font-size: 11px;
  line-height: 1.6;
}

.reading-heading-feedback {
  grid-column: 1 / -1;
  margin: 0;
  color: #b74646;
  font-size: 11px;
}

.reading-heading-question.is-correct .reading-heading-feedback {
  color: #278248;
}

.reading-heading-question select.is-correct {
  border-color: #9bd6af;
  background: #eff9f2;
}

.reading-heading-question select.is-incorrect {
  border-color: #e6a7a7;
  background: #fff2f1;
}

.practice-view.is-reading-detail .reading-heading-results {
  margin-top: 14px;
}

.reading-heading-answer-key {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  margin: 8px 0 0;
  padding-left: 22px;
  color: #4a5870;
  font-size: 12px;
  line-height: 1.5;
}

.reading-heading-answer-key li::marker {
  color: #218755;
  font-weight: 700;
}

.reading-heading-explanation {
  margin: 8px 0 0;
  color: #46536a;
  font-size: 12px;
  line-height: 1.5;
}

.reading-unavailable-task {
  padding: 22px;
  color: #718097;
  font-size: 12px;
  line-height: 1.5;
}

.reading-bottom-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reading-bottom-left .secondary-button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 10px;
}

.practice-view.is-reading-detail .practice-actions {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 55px;
  justify-content: flex-end;
  padding: 8px max(16px, calc((100vw - 1200px) / 2));
  border-top: 1px solid #e7ebf1;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 -4px 16px rgb(30 49 82 / 4%);
}

.practice-view.is-reading-detail .reading-bottom-left {
  margin-right: auto;
}

.practice-view.is-reading-detail .action-buttons .primary-button,
.practice-view.is-reading-detail .action-buttons .secondary-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 11px;
}

.task-intro {
  padding: 21px 25px 19px;
  background: #f0f5ff;
}

.task-kicker {
  margin: 0 0 6px;
  color: #8290a3;
  font-size: 13px;
}

.task-intro h1 {
  margin: 0;
  color: #18243a;
  font-size: 18px;
  font-weight: 700;
}

.task-body {
  padding: 22px 24px;
}

.task-callout {
  padding: 15px 16px;
  border-left: 3px solid #26b784;
  border-radius: 0 10px 10px 0;
  background: #effbf6;
  color: #28775e;
}

.task-callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.task-callout p {
  margin: 0;
  color: #53836f;
  font-size: 13px;
  line-height: 1.6;
}

.picture-scene {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid #e6ebf0;
  border-radius: 13px;
  background: #e8f4fa;
}

.question-list {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.question-card,
.prompt-card {
  padding: 15px 16px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #fff;
}

.speaking-question-progress {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf4ff;
  color: #2861e8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.question-card strong,
.prompt-card strong {
  display: block;
  margin-bottom: 10px;
  color: #334159;
  font-size: 14px;
  line-height: 1.5;
}

.writing-email {
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid #dce8ff;
  border-radius: 12px;
  background: #f5f8ff;
}

.writing-email h3 {
  margin: 0;
  padding: 12px 15px;
  background: #2861e8;
  color: #fff;
  font-size: 13px;
}

.writing-email-context {
  margin: 14px 15px 0;
  padding: 10px 12px;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  background: #fff;
  color: #718096;
  font-size: 12px;
  font-style: italic;
}

.writing-email-message {
  margin: 12px 15px 15px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  color: #39465a;
  font-size: 14px;
  line-height: 1.65;
}

.writing-email-message p:first-child {
  margin-top: 0;
  font-weight: 650;
}

.writing-email-message p:last-child {
  margin-bottom: 0;
}

.writing-email-task {
  margin-top: 18px;
}

.writing-email-task h3 {
  margin: 0 0 10px;
  color: #34425b;
  font-size: 14px;
}

.writing-ai-panel {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #dce7ff;
  border-radius: 14px;
  background: #f7f9ff;
}

.writing-ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.writing-ai-panel-header h2 {
  margin: 0;
  color: #263a63;
  font-size: 17px;
}

.writing-ai-panel-header p,
.writing-ai-overview p,
.writing-ai-criteria p,
.writing-ai-answer > p,
.writing-ai-errors p {
  margin: 6px 0 0;
  color: #66748a;
  font-size: 13px;
  line-height: 1.6;
}

.writing-ai-panel-header .primary-button {
  flex: 0 0 auto;
}

.writing-ai-panel-header .primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.writing-ai-privacy,
.writing-ai-status {
  margin: 0;
  color: #77849a;
  font-size: 12px;
  line-height: 1.5;
}

.writing-ai-status:empty {
  display: none;
}

.writing-ai-result {
  display: grid;
  gap: 14px;
}

.writing-ai-overview,
.writing-ai-answer {
  padding: 14px;
  border: 1px solid #e3e9f4;
  border-radius: 10px;
  background: #fff;
}

.writing-ai-overview > strong {
  color: #244b9a;
  font-size: 15px;
}

.writing-ai-disclaimer {
  font-size: 12px !important;
}

.writing-ai-criteria,
.writing-ai-answers {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.writing-ai-criteria {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.writing-ai-criteria li,
.writing-ai-errors li {
  padding: 12px;
  border: 1px solid #e3e9f4;
  border-radius: 9px;
  background: #fff;
}

.writing-ai-criteria strong,
.writing-ai-answer h3,
.writing-ai-errors strong {
  color: #34425b;
  font-size: 13px;
}

.writing-ai-answer h3 {
  margin: 0;
}

.writing-ai-errors {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.writing-ai-example {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f4f7fc;
  color: #334159 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .writing-ai-panel {
    padding: 14px;
  }

  .writing-ai-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .writing-ai-panel-header .primary-button {
    width: 100%;
  }

  .writing-ai-criteria {
    grid-template-columns: 1fr;
  }
}

.response-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 13px;
  border: 1px solid #dce7ff;
  border-radius: 9px;
  background: #f3f7ff;
  color: #3264d4;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.response-timer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.response-skip-button {
  border-color: #e4e8ef;
  background: #fff;
  color: #566176;
}

.response-timer-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 15px 0;
  padding: 15px 8px;
  border-top: 1px solid #e8edf4;
  text-align: center;
}

.speaking-timer-countdown {
  color: #2861e8;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 1.1;
}

.speaking-timer-status {
  margin: 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.5;
}

.response-button:hover:not(:disabled) {
  border-color: #b7ccff;
  background: #eaf1ff;
}

.response-skip-button:hover:not(:disabled) {
  border-color: #c8d0dd;
  background: #f7f8fa;
}

.response-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.answer-input,
.answer-area {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #dfe5ee;
  border-radius: 9px;
  background: #fff;
  color: #27364e;
  font: inherit;
  font-size: 14px;
}

.answer-input:focus,
.answer-area:focus {
  border-color: #80a8ff;
  outline: 3px solid #eaf0ff;
}

.answer-area {
  min-height: 95px;
  resize: vertical;
  line-height: 1.6;
}

.answer-area.large {
  min-height: 180px;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice-option {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #e8edf3;
  border-radius: 9px;
  color: #56657a;
  font-size: 14px;
  cursor: pointer;
}

.choice-option:hover {
  border-color: #cbd9f4;
  background: #f8faff;
}

.choice-option input {
  accent-color: var(--blue);
}

.reading-gap-list .question-card {
  line-height: 1.65;
}

.reading-gap-select {
  min-width: 108px;
  min-height: 34px;
  margin: 0 4px;
  padding: 4px 8px;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: #fff;
  color: #27364e;
  font: inherit;
  vertical-align: middle;
}

.reading-gap-select:focus {
  border-color: #80a8ff;
  outline: 3px solid #eaf0ff;
}

.reading-gap-select.is-correct {
  border-color: #9bd9bf;
  background: #f0fbf5;
  color: #287c56;
}

.reading-gap-select.is-incorrect {
  border-color: #f0b5b5;
  background: #fff5f5;
  color: #aa4848;
}

.reading-gap-feedback {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.reading-gap-feedback[hidden] {
  display: none;
}

.reading-gap-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e9edf2;
  border-radius: 11px;
}

.reading-gap-result.is-correct {
  border-color: #b8e4cd;
  background: #f0fbf5;
  color: #287c56;
}

.reading-gap-result.is-incorrect {
  border-color: #f0d2cf;
  background: #fff5f5;
  color: #aa4848;
}

.reading-gap-result p {
  margin: 4px 0 0;
}

.reading-answer-key {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 28px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.reading-gap-feedback h3 {
  margin: 18px 0 8px;
  color: #334159;
  font-size: 15px;
}

.reading-gap-feedback .prompt-card p {
  margin: 12px 0;
  line-height: 1.6;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: #fbfcfe;
}

.audio-toggle {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--blue);
  cursor: pointer;
}

.audio-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-track {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 6px;
  background: #e6ebf3;
}

.audio-progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 350ms ease;
}

.audio-time {
  color: #8491a4;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 19px 0;
}

.compare-card {
  display: grid;
  min-height: 128px;
  place-items: center;
  border: 1px solid #e7edf3;
  border-radius: 13px;
  background: linear-gradient(135deg, #eaf7f3, #f8f5e9);
  color: #517766;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.compare-card:last-child {
  background: linear-gradient(135deg, #eaf2ff, #f8f0ea);
  color: #627293;
}

.inline-hint {
  margin: 12px 0 0;
  color: #8b97a8;
  font-size: 12px;
}

.practice-actions {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 23px;
  border-top: 1px solid #edf0f4;
  background: #fff;
}

.progress-label {
  color: #8793a5;
  font-size: 13px;
}

.action-buttons {
  display: flex;
  gap: 9px;
}

.secondary-button {
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid #e1e6ee;
  background: #fff;
  color: #546279;
  font-size: 13px;
}

.secondary-button:hover {
  border-color: #c7d6f4;
  background: #f8faff;
}

.action-buttons .primary-button {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 17px;
  border: 1px solid #e0e6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(28 43 70 / 12%);
  color: #31415b;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 48px, 1500px);
  }

  .main-nav {
    gap: 2px;
    margin-left: 18px;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 12px;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  .welcome-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .writing-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skill-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .reading-breadcrumb {
    margin-bottom: 18px;
  }

  .reading-hero,
  .reading-part-hero,
  .writing-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .reading-hero {
    margin-bottom: 28px;
  }

  .writing-hero {
    margin-bottom: 20px;
  }

  .reading-heading-answer-key {
    grid-template-columns: 1fr;
  }

  .reading-hero-main {
    gap: 12px;
  }

  .reading-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .reading-hero h1 {
    font-size: 26px;
  }

  .writing-hero h1 {
    font-size: 26px;
  }

  .reading-part-hero h1 {
    font-size: 23px;
  }

  .reading-part-grid,
  .reading-question-grid,
  .writing-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .writing-start-banner {
    align-items: flex-start;
    padding: 14px;
  }

  .speaking-image-grid {
    grid-template-columns: 1fr;
  }

  .speaking-view .writing-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .writing-topic-card {
    min-height: 118px;
    padding: 11px;
  }

  .reading-part-card {
    min-height: 145px;
    padding: 11px;
  }

  .reading-start-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .reading-question-heading {
    gap: 8px;
    padding: 8px;
  }

  .reading-question-title h1 {
    font-size: 12px;
  }

  .reading-order-layout {
    grid-template-columns: 1fr;
  }

  .reading-matching-layout {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .reading-matching-question {
    grid-template-columns: 1fr;
  }

  .practice-view.is-reading-detail .practice-actions {
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 8px;
  }

  .practice-view.is-reading-detail .reading-bottom-left,
  .practice-view.is-reading-detail .action-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .practice-view.is-reading-detail .reading-bottom-left .secondary-button,
  .practice-view.is-reading-detail .action-buttons .primary-button,
  .practice-view.is-reading-detail .action-buttons .secondary-button {
    min-height: 33px;
    padding: 0 8px;
    font-size: 10px;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .main-nav {
    gap: 0;
    margin-left: auto;
    margin-right: 8px;
  }

  .nav-link {
    height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .nav-link[data-start="Reading"],
  .nav-link[data-start="Writing"],
  .nav-link[data-start="Speaking"],
  .nav-link[data-toast],
  .nav-link[data-guide] {
    display: none;
  }

  .profile-button {
    gap: 0;
    padding: 3px;
  }

  .profile-name,
  .profile-button svg {
    display: none;
  }

  .page-shell {
    width: calc(100% - 32px);
    padding-top: 25px;
  }

  .welcome-row {
    margin-bottom: 22px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .welcome-row h1 {
    font-size: 29px;
  }

  .welcome-copy {
    font-size: 15px;
  }

  .skill-stats {
    gap: 7px;
  }

  .stat-pill {
    padding: 7px 10px;
    font-size: 11px;
  }

  .start-banner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 13px;
    padding: 16px;
    border-radius: 17px;
  }

  .start-banner .icon-box,
  .guide-banner .icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .start-banner .icon-box svg,
  .guide-banner .icon-box svg {
    width: 23px;
    height: 23px;
  }

  .start-copy {
    width: calc(100% - 59px);
    flex: 1 1 calc(100% - 59px);
  }

  .start-copy h2 {
    font-size: 17px;
  }

  .start-copy p {
    font-size: 12px;
    line-height: 1.55;
  }

  .start-banner > .primary-button {
    width: 100%;
    min-height: 43px;
    margin-top: 1px;
    border-radius: 11px;
    font-size: 13px;
  }

  .skills-section {
    margin-top: 31px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .section-heading > span {
    font-size: 11px;
    text-align: right;
  }

  .skill-grid {
    gap: 11px;
  }

  .skill-card {
    min-height: 189px;
    padding: 16px 15px 0;
    border-radius: 16px;
  }

  .skill-card .icon-box {
    width: 46px;
    height: 46px;
    margin-bottom: 15px;
    border-radius: 14px;
  }

  .skill-card .icon-box svg {
    width: 23px;
    height: 23px;
  }

  .skill-card .card-arrow {
    top: 17px;
    right: 14px;
    font-size: 16px;
  }

  .skill-title {
    font-size: 15px;
  }

  .skill-subtitle,
  .skill-meta {
    font-size: 12px;
  }

  .skill-meta {
    padding: 12px 0;
  }

  .guide-banner {
    min-height: 76px;
    gap: 12px;
    margin-top: 25px;
    padding: 12px;
    border-radius: 16px;
  }

  .guide-copy strong {
    font-size: 14px;
  }

  .guide-copy > span {
    font-size: 11px;
    line-height: 1.45;
  }

  .overview-panel {
    margin-top: 25px;
    border-radius: 16px;
  }

  .panel-heading {
    padding: 17px 16px 14px;
  }

  .panel-heading h2 {
    font-size: 16px;
  }

  .panel-heading p {
    font-size: 12px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px 16px 20px;
  }

  .overview-column > div {
    margin-top: 9px;
    font-size: 12px;
  }

  .practice-heading {
    gap: 10px;
    padding-bottom: 10px;
  }

  .back-button {
    font-size: 12px;
  }

  .session-status {
    gap: 5px;
    font-size: 11px;
  }

  .timer-chip {
    min-width: 78px;
    height: 35px;
    gap: 5px;
    font-size: 13px;
  }

  .part-tabs {
    gap: 6px;
    overflow-x: auto;
    padding: 11px 0;
  }

  .part-tab {
    min-width: max-content;
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }

  .practice-content {
    margin-top: 19px;
    border-radius: 15px;
  }

  .task-intro {
    padding: 17px 16px;
  }

  .task-kicker {
    font-size: 11px;
  }

  .task-intro h1 {
    font-size: 16px;
  }

  .task-body {
    padding: 16px 14px;
  }

  .task-callout {
    padding: 12px;
  }

  .task-callout p,
  .question-card strong,
  .prompt-card strong {
    font-size: 12px;
  }

  .compare-grid {
    gap: 9px;
  }

  .compare-card {
    min-height: 100px;
    padding: 8px;
    font-size: 12px;
  }

  .practice-actions {
    min-height: 62px;
    padding: 10px 13px;
  }

  .progress-label {
    font-size: 11px;
  }

  .action-buttons {
    gap: 6px;
  }

  .secondary-button,
  .action-buttons .primary-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 11px;
  }

  .listening-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .listening-breadcrumb {
    margin-bottom: 22px;
  }

  .listening-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
  }

  .listening-hero-main {
    gap: 13px;
  }

  .listening-hero-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .listening-hero-icon svg {
    width: 25px;
    height: 25px;
  }

  .listening-hero h1 {
    font-size: 27px;
  }

  .listening-hero p {
    font-size: 12px;
    line-height: 1.5;
  }

  .listening-parts-heading {
    align-items: flex-start;
  }

  .listening-parts-heading h2 {
    font-size: 19px;
  }

  .listening-parts-heading p {
    font-size: 12px;
  }

  .listening-part-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .listening-part-card {
    min-height: 180px;
    padding: 16px;
    border-radius: 15px;
  }

  .listening-part-title {
    font-size: 15px;
  }

  .listening-part-description {
    font-size: 12px;
  }

  .listening-list-heading h1 {
    font-size: 24px;
  }

  .listening-question-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .list-question-card {
    min-height: 160px;
    padding: 15px;
    border-radius: 15px;
  }

  .listening-question-bar {
    gap: 8px;
    padding: 10px;
  }

  .listen-back-button {
    width: 34px;
    height: 34px;
  }

  .listen-icon {
    width: 33px;
    height: 33px;
  }

  .listen-question-title h2 {
    font-size: 13px;
  }

  .question-progress {
    padding: 7px 9px;
    font-size: 10px;
  }

  .listen-exercise-card {
    min-height: 0;
    margin-bottom: 85px;
    padding: 16px 13px 18px;
    border-radius: 15px;
  }

  .listen-exercise-card > h3 {
    font-size: 14px;
  }

  .listening-option {
    min-height: 43px;
    font-size: 12px;
  }

  .listening-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    margin: 0 -8px;
    padding: 8px;
  }

  .footer-tools,
  .footer-question-nav {
    justify-content: space-between;
    gap: 6px;
  }

  .footer-button {
    min-height: 35px;
    padding: 0 9px;
    font-size: 10px;
  }

  .check-answer-button,
  .next-question-button {
    min-height: 35px;
    padding: 0 11px;
    font-size: 10px;
  }
}

@media (max-width: 440px) {
  .reading-part-grid,
  .reading-question-grid,
  .writing-topic-grid,
  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .speaking-view .writing-topic-grid {
    grid-template-columns: 1fr;
  }

  .reading-question-card {
    min-height: 130px;
  }

  .listening-footer {
    font-size: 10px;
  }
}

.guide-page-heading {
  margin-bottom: 32px;
}

.guide-page-heading h1,
.guide-article-heading h1 {
  margin-bottom: 8px;
  color: #17243b;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.8px;
  line-height: 1.25;
}

.guide-page-heading p,
.guide-article-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.guide-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.guide-list-heading h2 {
  margin: 0;
  font-size: 20px;
}

.guide-list-heading > span {
  color: var(--muted);
  font-size: 13px;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-article-card:hover {
  transform: translateY(-2px);
  border-color: #c8d8f6;
  box-shadow: 0 10px 24px rgb(26 47 83 / 7%);
}

.guide-article-card-cover {
  display: flex;
  min-height: 118px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(135deg, #eaf1ff, #f3f6fd);
}

.guide-article-card:nth-child(3n + 2) .guide-article-card-cover {
  background: linear-gradient(135deg, #e8f7f3, #f2faf8);
}

.guide-article-card:nth-child(3n) .guide-article-card-cover {
  background: linear-gradient(135deg, #fff1e9, #fff8f4);
}

.guide-article-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(33 99 246 / 10%);
  border-radius: 13px;
  background: rgb(255 255 255 / 84%);
  color: var(--blue);
}

.guide-article-card-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.guide-article-card-arrow {
  color: #8390a3;
  font-size: 20px;
}

.guide-article-card-copy {
  display: flex;
  min-height: 143px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 18px 16px;
}

.guide-article-category {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.guide-article-card-copy strong {
  color: #24324a;
  font-size: 15px;
  line-height: 1.5;
}

.guide-article-link {
  margin-top: auto;
  padding-top: 16px;
  color: #62728b;
  font-size: 12px;
  font-weight: 650;
}

.guide-article-heading {
  margin: 0 auto 28px;
  max-width: 900px;
}

.guide-article-heading h1 {
  font-size: clamp(25px, 3vw, 34px);
}

.guide-article-content {
  max-width: 900px;
  margin: 0 auto;
}

.guide-article-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.guide-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  background: var(--surface);
  color: #344967;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.guide-back-button:hover {
  border-color: #b9c8e4;
  background: #f8faff;
  color: var(--blue);
}

.guide-vocabulary-section {
  margin-bottom: 26px;
}

.guide-vocabulary-section h2 {
  margin: 0 0 12px;
  color: #22324b;
  font-size: 18px;
  line-height: 1.4;
}

.guide-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.guide-vocabulary-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.guide-vocabulary-table th,
.guide-vocabulary-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #edf0f5;
  font-size: 13px;
  line-height: 1.5;
  vertical-align: top;
}

.guide-vocabulary-table th {
  background: #f7f9fc;
  color: #53627a;
  font-size: 12px;
  font-weight: 700;
}

.guide-vocabulary-table td:first-child {
  width: 34%;
  color: #25344d;
  font-weight: 600;
}

.guide-vocabulary-table th:nth-child(2),
.guide-vocabulary-table td:nth-child(2) {
  width: 31%;
}

.guide-wide-table {
  min-width: 860px;
  table-layout: fixed;
}

.guide-wide-table td:first-child,
.guide-wide-table th:nth-child(2),
.guide-wide-table td:nth-child(2) {
  width: auto;
}

.guide-numbered-table th:first-child,
.guide-numbered-table td:first-child {
  width: 52px;
}

.guide-numbered-table th:nth-child(2),
.guide-numbered-table td:nth-child(2) {
  width: 48%;
}

.guide-band-section > h2 {
  margin-bottom: 15px;
}

.guide-speaking-criteria-intro {
  margin: 22px 0 10px;
  color: #263650;
  font-size: 18px;
  line-height: 1.5;
}

.guide-speaking-criteria-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #263650;
  font-size: 18px;
  line-height: 1.55;
}

.guide-speaking-criteria-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.guide-speaking-criteria-list strong {
  color: #17243b;
  font-weight: 750;
}

.guide-speaking-criteria-list span {
  color: #53627a;
}

.guide-band-section h3 {
  margin: 0 0 10px;
  color: #263650;
  font-size: 15px;
  line-height: 1.45;
}

.guide-band-group {
  margin-top: 20px;
}

.guide-band-principles {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: #475771;
  line-height: 1.6;
}

.guide-band-examples,
.guide-band-patterns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-band-example,
.guide-band-pattern {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.guide-band-example > span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #4774ca;
  font-size: 12px;
  font-weight: 700;
}

.guide-band-example h3 {
  margin-bottom: 10px;
}

.guide-band-example p,
.guide-band-pattern p,
.guide-band-note p {
  margin: 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.65;
}

.guide-band-pattern-meaning {
  margin-bottom: 11px !important;
  color: #4774ca !important;
  font-size: 13px !important;
  font-weight: 600;
}

.guide-band-translation {
  margin-top: 7px !important;
  color: #68758a !important;
  font-style: italic;
}

.guide-band-section-description {
  margin: -4px 0 12px;
  color: #53627a;
  line-height: 1.6;
}

.guide-band-note {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-left: 3px solid #6b8ee8;
  border-radius: 0 12px 12px 0;
  background: #f5f7fd;
}

.guide-writing-section .guide-writing-block + .guide-writing-block {
  margin-top: 16px;
}

.guide-writing-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.guide-writing-block h3 {
  margin: 0 0 12px;
  color: #263650;
  font-size: 15px;
  line-height: 1.45;
}

.guide-writing-formulas,
.guide-writing-notes {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 21px;
  color: #475771;
  font-size: 14px;
  line-height: 1.65;
}

.guide-writing-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.guide-writing-example {
  padding: 13px;
  border-radius: 9px;
  background: #f5f7fd;
}

.guide-writing-example strong,
.guide-writing-question strong {
  display: block;
  margin-bottom: 5px;
  color: #344967;
  font-size: 13px;
}

.guide-writing-example p,
.guide-writing-prose p,
.guide-writing-question p,
.guide-writing-summary p {
  margin: 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.65;
}

.guide-writing-notes {
  margin-top: 14px;
}

.guide-writing-prose {
  display: grid;
  gap: 10px;
}

.guide-writing-prompt {
  margin: 0 0 14px;
  color: #4774ca;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.guide-writing-qa {
  display: grid;
  gap: 14px;
}

.guide-writing-question + .guide-writing-question {
  padding-top: 13px;
  border-top: 1px solid #edf0f5;
}

.guide-writing-question p {
  margin-top: 5px;
}

.guide-writing-emails {
  display: grid;
  gap: 14px;
}

.guide-writing-email {
  padding: 15px;
  border-radius: 10px;
  background: #f5f7fd;
}

.guide-writing-email h4 {
  margin: 0 0 11px;
  color: #344967;
  font-size: 14px;
}

.guide-writing-summary {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.guide-info-section > h2 {
  margin-bottom: 14px;
}

.guide-info-paragraphs,
.guide-info-list {
  color: #53627a;
  font-size: 14px;
  line-height: 1.7;
}

.guide-info-paragraphs {
  display: grid;
  gap: 10px;
}

.guide-info-paragraphs p,
.guide-info-faq p,
.guide-info-note,
.guide-info-closing {
  margin: 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.7;
}

.guide-info-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.guide-info-faq {
  display: grid;
  gap: 13px;
}

.guide-info-faq article + article {
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}

.guide-info-faq h3,
.guide-info-group h3,
.guide-info-examples h3 {
  margin: 0 0 6px;
  color: #344967;
  font-size: 14px;
  line-height: 1.5;
}

.guide-inline-link {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-info-groups {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.guide-info-group,
.guide-info-examples article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.guide-info-group .guide-info-list {
  margin-top: 8px;
}

.guide-info-examples {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.guide-info-note {
  margin-top: 14px;
  padding: 14px;
  border-left: 3px solid #6b8ee8;
  border-radius: 0 10px 10px 0;
  background: #f5f7fd;
}

.guide-info-closing {
  margin-top: 12px;
  font-weight: 600;
}

.guide-resource-section > h2 {
  margin-bottom: 12px;
}

.guide-resource-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-resource-list li {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.guide-resource-list a {
  display: grid;
  gap: 5px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}

.guide-resource-list a:hover {
  text-decoration: underline;
}

.guide-resource-url {
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}

.guide-ipa {
  color: #4c5870;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px !important;
  font-style: italic;
  white-space: nowrap;
}

.guide-vocabulary-table tr:last-child td {
  border-bottom: 0;
}

.guide-unavailable {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: #53627a;
  line-height: 1.6;
}

.guide-unavailable strong {
  color: #263650;
}

.guide-unavailable p {
  margin: 7px 0 0;
}

@media (max-width: 1100px) {
  .guide-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-page-heading {
    margin-bottom: 25px;
  }

  .guide-page-heading h1 {
    font-size: 27px;
  }

  .guide-page-heading p,
  .guide-article-heading > div > p:last-child {
    font-size: 13px;
  }

  .guide-list-heading h2 {
    font-size: 17px;
  }

  .guide-card-grid {
    gap: 12px;
  }

  .guide-article-card {
    border-radius: 13px;
  }

  .guide-article-card-cover {
    min-height: 82px;
    padding: 12px;
  }

  .guide-article-card-icon {
    width: 36px;
    height: 36px;
  }

  .guide-article-card-copy {
    min-height: 150px;
    padding: 13px;
  }

  .guide-article-card-copy strong {
    font-size: 13px;
  }

  .guide-article-heading h1 {
    font-size: 24px;
  }

  .guide-vocabulary-section h2 {
    font-size: 16px;
  }

  .guide-vocabulary-table th,
  .guide-vocabulary-table td {
    padding: 9px 10px;
    font-size: 12px;
  }

  .guide-band-examples,
  .guide-band-patterns {
    grid-template-columns: 1fr;
  }

  .guide-band-example,
  .guide-band-pattern {
    padding: 15px;
  }

  .guide-writing-examples {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .guide-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
