/* TOEFL page kit (web/templates/toefl/_kit.html) — every TOEFL page: the /toefl hub, the
   official-test, rehearsal and take pages, and /learn/toefl (body.lx-toefl only).
   Loaded AFTER 43-ielts.css, so the `.tfk …` overrides of the shared ie-* blocks win without
   touching the IELTS hub.

   Design (owner, 2026-11-24): never grey text on dark blue — prose ≥ #cbd5e1, key text
   #e2e8f0/#f1f5f9, headings near-white; icons ≥ 20px, each kind of work its own colour as a
   vivid gradient badge with a white glyph; dense prose becomes bullets with bold key words.

   One tone per kind of work, everywhere: brand teal, Reading emerald, Listening sky, Writing
   violet, Speaking amber, official ETS indigo, rehearsal rose, lessons cyan, notes fuchsia,
   library blue, score lime. A tone sets --g1/--g2 (badge gradient) and --tfk-rgb (accents). */

.tfk-brand     { --g1: #2dd4bf; --g2: #0e7490; --tfk-rgb: 45, 212, 191; }
.tfk-reading   { --g1: #34d399; --g2: #047857; --tfk-rgb: 52, 211, 153; }
.tfk-listening { --g1: #38bdf8; --g2: #2563eb; --tfk-rgb: 56, 189, 248; }
.tfk-writing   { --g1: #a78bfa; --g2: #6d28d9; --tfk-rgb: 167, 139, 250; }
.tfk-speaking  { --g1: #fbbf24; --g2: #c2410c; --tfk-rgb: 251, 191, 36; }
.tfk-official  { --g1: #818cf8; --g2: #3730a3; --tfk-rgb: 129, 140, 248; }
.tfk-rehearsal { --g1: #fb7185; --g2: #be123c; --tfk-rgb: 251, 113, 133; }
.tfk-lessons   { --g1: #22d3ee; --g2: #0e7490; --tfk-rgb: 34, 211, 238; }
.tfk-notes     { --g1: #e879f9; --g2: #a21caf; --tfk-rgb: 232, 121, 249; }
.tfk-library   { --g1: #60a5fa; --g2: #1d4ed8; --tfk-rgb: 96, 165, 250; }
.tfk-score     { --g1: #a3e635; --g2: #3f6212; --tfk-rgb: 163, 230, 53; }

/* ── atoms ─────────────────────────────────────────────────────────────────── */
.tfk-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: .85rem;
  background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px var(--g2, #0e7490);
}
/* White glyph on the gradient in BOTH themes ("data-theme" keeps the light-theme builder off). */
.tfk-tile, html[data-theme] .tfk-tile { color: #fff; }
.tfk-tile .tfk-glyph { width: 1.45rem; height: 1.45rem; }
.tfk-tile--sm { width: 2.1rem; height: 2.1rem; border-radius: .65rem; }
.tfk-tile--sm .tfk-glyph { width: 1.2rem; height: 1.2rem; }
.tfk-tile--lg { width: 3.1rem; height: 3.1rem; border-radius: .95rem; }
.tfk-tile--lg .tfk-glyph { width: 1.65rem; height: 1.65rem; }
.tfk-tile--xl { width: 4rem; height: 4rem; border-radius: 1.15rem; }
.tfk-tile--xl .tfk-glyph { width: 2.2rem; height: 2.2rem; }
.tfk-inline { width: 1.25rem; height: 1.25rem; flex: none; }
.tfk-go { width: 1.35rem; height: 1.35rem; flex: none; margin-left: auto; color: rgb(var(--tfk-rgb, 45, 212, 191)); transition: transform .15s; }

.tfk-h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: #f8fafc; }
.tfk-eyebrow { margin: 0 0 .3rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(94, 234, 212); }
.tfk-h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; line-height: 1.2; color: #f8fafc; }
.tfk-h2--sm { font-size: 1.2rem; }
.tfk-h3 { margin: 0; font-size: 1.12rem; font-weight: 700; color: #f8fafc; }
.tfk-lead { margin: .2rem 0 1rem; max-width: 48rem; font-size: 1.02rem; line-height: 1.6; color: #e2e8f0; }
.tfk-lead--small { font-size: .92rem; color: #cbd5e1; margin-top: .75rem; }
.tfk-lead strong, .tfk-points strong, .tfk-hero-lead strong, .tfk-facts strong, .tfk-total strong { color: #fff; font-weight: 700; }
.tfk-source { margin: .9rem 0 0; font-size: .86rem; line-height: 1.55; color: #cbd5e1; }
.tfk-source a { color: rgb(94, 234, 212); text-decoration: underline; text-underline-offset: 2px; }

.tfk-points { list-style: none; margin: .25rem 0 1.1rem; padding: 0; display: grid; gap: .5rem; max-width: 50rem; }
.tfk-points li { position: relative; padding-left: 1.7rem; font-size: 1rem; line-height: 1.55; color: #e2e8f0; }
.tfk-points li::before {
  content: ""; position: absolute; left: .2rem; top: .42rem; width: .7rem; height: .7rem; border-radius: 50%;
  background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490));
  box-shadow: 0 0 0 3px rgba(var(--tfk-rgb, 45, 212, 191), .18);
}
.tfk-points--small li { font-size: .9rem; color: #cbd5e1; }
.tfk-points--small li::before { width: .55rem; height: .55rem; top: .45rem; }

.tfk-chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: #f1f5f9;
  background: rgba(var(--tfk-rgb, 45, 212, 191), .16); border: 1px solid rgba(var(--tfk-rgb, 45, 212, 191), .4);
}
.tfk-chip .tfk-inline { width: 1rem; height: 1rem; color: rgb(var(--tfk-rgb, 45, 212, 191)); }
.tfk-badge {
  display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .2rem .65rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(145deg, var(--g1), var(--g2));
}
.tfk-badge, html[data-theme] .tfk-badge { color: #fff; }

.tfk-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .95rem; border-radius: .75rem;
  font-size: .95rem; font-weight: 700; text-decoration: none; color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  transition: border-color .15s, background-color .15s, transform .15s;
}
.tfk-btn .tfk-inline { width: 1.15rem; height: 1.15rem; color: rgb(var(--tfk-rgb, 45, 212, 191)); }
.tfk-btn:hover, .tfk-btn:focus-visible { border-color: rgba(var(--tfk-rgb, 45, 212, 191), .7); background: rgba(var(--tfk-rgb, 45, 212, 191), .12); }
.tfk-btn--solid { border-color: transparent; background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); box-shadow: 0 8px 20px -10px var(--g2, #0e7490); }
.tfk-btn--solid, html[data-theme] .tfk-btn--solid, .tfk-btn--solid .tfk-inline, html[data-theme] .tfk-btn--solid .tfk-inline { color: #fff; }
.tfk-btn--solid:hover, .tfk-btn--solid:focus-visible { border-color: transparent; background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); filter: brightness(1.08); transform: translateY(-1px); }
.tfk-btn-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 999px; font-size: .8rem; background: rgba(0, 0, 0, .25); }

/* ── page frame ─────────────────────────────────────────────────────────────── */
:where(.tfk) { --tfk-rgb: 45, 212, 191; }
.tfk-section { margin: 0 0 3.25rem; scroll-margin-top: 5rem; }
.tfk-sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .85rem; margin: 0 0 1rem; }
.tfk-sec-link { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .95rem; color: rgb(94, 234, 212); text-decoration: none; }
.tfk-sec-link:hover { text-decoration: underline; }

/* hero */
.tfk-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  margin: .5rem 0 1.75rem; padding: 2rem; border-radius: 1.5rem;
  border: 1px solid rgba(45, 212, 191, .3);
  background: radial-gradient(110% 130% at 0% 0%, rgba(45, 212, 191, .2), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(56, 189, 248, .16), transparent 55%), var(--space-deep, #0b1020);
}
.tfk-hero-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.tfk-hero-lead { margin: 0 0 1.25rem; font-size: 1.12rem; line-height: 1.6; color: #e2e8f0; max-width: 40rem; }
.tfk-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tfk-facts li { display: flex; align-items: center; gap: .65rem; font-size: .98rem; color: #e2e8f0; }
.tfk-hero-media { min-width: 0; }
.tfk-hero-watch { display: flex; align-items: center; gap: .45rem; margin: 0 0 .55rem; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(94, 234, 212); }

/* start-here cards */
.tfk-start { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: .75rem; margin: 0 0 3rem; }
.tfk-start-card {
  display: flex; align-items: center; gap: .85rem; min-height: 4.6rem; padding: .85rem 1rem; border-radius: 1rem;
  text-decoration: none; color: inherit;
  border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  transition: border-color .15s, transform .15s, background-color .15s;
}
.tfk-start-card:hover, .tfk-start-card:focus-visible { border-color: rgba(var(--tfk-rgb), .7); transform: translateY(-2px); }
.tfk-start-card:hover .tfk-go { transform: translateX(3px); }
.tfk-start-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tfk-start-title { font-size: 1.02rem; font-weight: 800; color: #f8fafc; line-height: 1.25; }
.tfk-start-meta { font-size: .86rem; color: #cbd5e1; line-height: 1.35; }

/* time line */
.tfk-timeline { display: flex; gap: .3rem; margin: .5rem 0 .6rem; border-radius: 1rem; overflow: hidden; }
.tfk-tl-seg {
  flex-basis: 0; min-width: 9rem; display: flex; flex-direction: column; justify-content: center; gap: .1rem;
  padding: .75rem .85rem; min-height: 4.4rem;
  background: linear-gradient(145deg, var(--g1), var(--g2));
}
.tfk-tl-seg, html[data-theme] .tfk-tl-seg { color: #fff; }
.tfk-tl-name { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: 1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); min-width: 0; }
.tfk-tl-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfk-tl-time { font-size: .9rem; font-weight: 700; opacity: .95; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tfk-total { margin: 0 0 1.2rem; font-size: .98rem; color: #e2e8f0; }
.tfk-glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.tfk-glance-card {
  padding: 1rem; border-radius: 1rem; border: 1px solid rgba(var(--tfk-rgb), .35);
  background: linear-gradient(180deg, rgba(var(--tfk-rgb), .12), rgba(var(--tfk-rgb), .02));
}
.tfk-glance-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.tfk-glance-stat { margin: .15rem 0 0; font-size: .9rem; color: #cbd5e1; }
.tfk-glance-stat strong { color: rgb(var(--tfk-rgb)); }
.tfk-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; counter-reset: tfk-task; }
.tfk-tasks li { position: relative; padding-left: 1.85rem; font-size: .93rem; line-height: 1.45; color: #e2e8f0; counter-increment: tfk-task; }
.tfk-tasks li::before {
  content: counter(tfk-task); position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; border-radius: .4rem;
  display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800;
  color: rgb(var(--tfk-rgb)); background: rgba(var(--tfk-rgb), .16);
}

/* official tests */
.tfk-off-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .85rem; }
.tfk-off-card {
  --tfk-rgb: 129, 140, 248;
  display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.1rem; border-radius: 1.05rem;
  text-decoration: none; color: inherit;
  border: 1px solid rgba(129, 140, 248, .3); background: linear-gradient(180deg, rgba(129, 140, 248, .12), rgba(129, 140, 248, .02));
  transition: border-color .15s, transform .15s;
}
.tfk-off-card:hover, .tfk-off-card:focus-visible { border-color: rgba(129, 140, 248, .8); transform: translateY(-2px); }
.tfk-off-card.is-current { border-color: rgba(129, 140, 248, .9); box-shadow: inset 0 0 0 1px rgba(129, 140, 248, .5); }
.tfk-off-top { display: flex; align-items: center; gap: .8rem; }
.tfk-off-num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .85rem;
  font-size: 1.3rem; font-weight: 800; background: linear-gradient(145deg, #818cf8, #3730a3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px #3730a3;
}
.tfk-off-num, html[data-theme] .tfk-off-num { color: #fff; }
.tfk-off-titles { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.tfk-off-title { font-size: 1.05rem; font-weight: 800; color: #f8fafc; line-height: 1.25; }
.tfk-off-sub { font-size: .88rem; color: #cbd5e1; }
.tfk-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.tfk-pill {
  display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem .2rem .4rem; border-radius: .55rem;
  font-size: .88rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #f1f5f9;
  background: rgba(var(--tfk-rgb), .16); border: 1px solid rgba(var(--tfk-rgb), .45);
}
.tfk-pill .tfk-inline { width: 1rem; height: 1rem; color: rgb(var(--tfk-rgb)); }
.tfk-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: 1rem; color: rgb(165, 180, 252); }
.tfk-cta .tfk-inline { width: 1.1rem; height: 1.1rem; transition: transform .15s; }
.tfk-off-card:hover .tfk-cta .tfk-inline { transform: translateX(3px); }

/* video cards: an existing lesson's designed thumbnail (dark in both themes) */
.tfk-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.tfk-video {
  display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid rgba(var(--tfk-rgb), .35); background: linear-gradient(180deg, rgba(var(--tfk-rgb), .1), rgba(var(--tfk-rgb), .02));
  transition: border-color .15s, transform .15s;
}
.tfk-video:hover, .tfk-video:focus-visible { border-color: rgba(var(--tfk-rgb), .85); transform: translateY(-2px); }
.tfk-video-thumb, .tfk-skill-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1020; overflow: hidden; }
.tfk-video-thumb img, .tfk-skill-video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tfk-video:hover img, .tfk-skill-video:hover img { transform: scale(1.04); }
.tfk-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); box-shadow: 0 6px 22px rgba(0, 0, 0, .5);
}
.tfk-video-play, html[data-theme] .tfk-video-play { color: #fff; }
.tfk-video-play .tfk-glyph { width: 1.35rem; height: 1.35rem; margin-left: .15rem; fill: currentColor; }
.tfk-video-len {
  position: absolute; right: .5rem; bottom: .5rem; padding: .12rem .45rem; border-radius: .4rem;
  font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
/* On the (dark) thumbnail in both themes. */
.tfk-video-len, html[data-theme] .tfk-video-len { color: #fff; background: rgba(2, 6, 23, .82); }
.tfk-video-body { display: flex; flex-direction: column; gap: .2rem; padding: .75rem .9rem .9rem; }
.tfk-video-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--tfk-rgb)); }
.tfk-video-title { font-size: .98rem; font-weight: 700; line-height: 1.35; color: #f1f5f9; }
.tfk-hero .tfk-video { background: rgba(2, 6, 23, .45); }

/* the score scale */
.tfk-scale { margin-top: 1.25rem; padding: 1.1rem; border-radius: 1rem; border: 1px solid rgba(163, 230, 53, .3); background: var(--reading-surface, #01040e); }
.tfk-scale .tfk-h3 { margin-bottom: .8rem; }
.tfk-scale-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3rem; }
.tfk-scale-band {
  display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .65rem .25rem; border-radius: .6rem;
  /* A1 → C2: one ramp from sky through teal to lime, brighter as the level rises. */
  background: color-mix(in srgb, #38bdf8 calc(100% - var(--i) * 20%), #a3e635);
  opacity: calc(.62 + var(--i) * .075);
}
.tfk-scale-band, html[data-theme] .tfk-scale-band { color: #04121c; }
.tfk-scale-lvl { font-size: 1.15rem; font-weight: 900; }
.tfk-scale-rng { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* the four sections */
.tfk-skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tfk-skill {
  display: flex; flex-direction: column; padding: 1.25rem; border-radius: 1.15rem;
  border: 1px solid rgba(var(--tfk-rgb), .35); border-top: 4px solid rgb(var(--tfk-rgb));
  background: linear-gradient(180deg, rgba(var(--tfk-rgb), .1), rgba(var(--tfk-rgb), .015) 60%);
}
.tfk-skill-head { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.tfk-skill-name { margin: 0; font-size: 1.4rem; font-weight: 800; color: #f8fafc; }
.tfk-skill-head .tfk-chip { margin-left: auto; }
.tfk-skill .tfk-points { margin-bottom: 1rem; }
.tfk-skill-video {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; padding: .55rem; border-radius: .9rem; text-decoration: none; color: inherit;
  border: 1px solid rgba(var(--tfk-rgb), .3); background: rgba(2, 6, 23, .35); transition: border-color .15s;
}
.tfk-skill-video:hover, .tfk-skill-video:focus-visible { border-color: rgba(var(--tfk-rgb), .8); }
.tfk-skill-video-thumb { flex: none; width: 9.5rem; border-radius: .6rem; }
.tfk-skill-video .tfk-video-play { width: 2.3rem; height: 2.3rem; }
.tfk-skill-video .tfk-video-play .tfk-glyph { width: 1rem; height: 1rem; }
.tfk-skill-video-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tfk-skill-video-k { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--tfk-rgb)); }
.tfk-skill-video-t { font-size: .95rem; font-weight: 700; color: #f1f5f9; line-height: 1.3; }
.tfk-skill-video-len { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: #cbd5e1; }
.tfk-skill-video-len .tfk-inline { width: .95rem; height: .95rem; }
.tfk-skill-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }

/* practice shelves (ie-shelf/ie-row markup kept for toefl.js and check_toefl.py) */
.tfk .tfk-shelf { padding: 1.2rem 1.25rem 1.3rem; border-radius: 1.15rem; border-color: rgba(var(--tfk-rgb), .35);
  background: linear-gradient(180deg, rgba(var(--tfk-rgb), .08), rgba(var(--tfk-rgb), .01) 40%), var(--reading-surface, #01040e); margin-bottom: 1.1rem; }
.tfk-shelf-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.tfk-shelf-note { margin: .15rem 0 0; font-size: .92rem; line-height: 1.5; color: #cbd5e1; }
.tfk .ie-row { min-height: 56px; padding: .6rem .8rem; border-color: rgba(255, 255, 255, .12); transition: border-color .15s, transform .15s; }
.tfk .ie-row:hover, .tfk .ie-row:focus-visible { border-color: rgba(var(--accent-rgb), .75); transform: translateY(-1px); }
.tfk .ie-row-n { width: 2.25rem; height: 2.25rem; border-radius: .65rem; font-size: .95rem;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), .9), rgba(var(--accent-rgb), .55)); }
.tfk .ie-row-n, html[data-theme] .tfk .ie-row-n { color: #04121c; }
.tfk .ie-row-n .tfk-inline { width: 1.2rem; height: 1.2rem; }
.tfk .ie-row-title { font-size: .95rem; color: #f1f5f9; }
.tfk .ie-row-meta { font-size: .84rem; color: #cbd5e1; }
.tfk .ie-row--feature { border-color: rgba(var(--accent-rgb), .55); background: linear-gradient(90deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .03)); }
.tfk .ie-row--feature .ie-row-title { color: #fff; }
.tfk .ie-family { margin-top: 1.2rem; }
.tfk .ie-family-h { align-items: center; font-size: 1rem; color: #f1f5f9; margin-bottom: .6rem; }
.tfk .ie-family-h .tfk-inline { color: rgb(var(--accent-rgb)); }
.tfk .ie-family-n { font-size: .86rem; color: #cbd5e1; }
.tfk .ie-pill { font-size: .95rem; border-color: rgba(var(--accent-rgb), .45); color: #f1f5f9; }
.tfk .ie-pill:hover, .tfk .ie-pill:focus-visible { background: rgba(var(--accent-rgb), .18); border-color: rgba(var(--accent-rgb), .85); }
.tfk .ie-pill--wide { font-size: .9rem; color: #f1f5f9; }
.tfk .ie-pill-n { background: rgba(var(--accent-rgb), .22); color: rgb(var(--accent-rgb)); }
.tfk .ie-more summary { font-size: .92rem; color: rgb(196, 181, 253); }

.tfk-coach {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 1rem; text-decoration: none; color: inherit;
  border: 1px solid rgba(167, 139, 250, .5); background: linear-gradient(110deg, rgba(167, 139, 250, .2), rgba(167, 139, 250, .04));
  transition: border-color .15s, transform .15s;
}
.tfk-coach:hover, .tfk-coach:focus-visible { border-color: rgba(167, 139, 250, .9); transform: translateY(-1px); }
.tfk-coach .tfk-go { --tfk-rgb: 196, 181, 253; }
.tfk-coach-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.tfk-coach-title { font-size: 1.1rem; font-weight: 800; color: #f8fafc; }
.tfk-coach-text { font-size: .93rem; line-height: 1.55; color: #e2e8f0; }
.tfk-coach-counts { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: rgb(196, 181, 253); }

.tfk-rehearse .ie-row-n { --accent-rgb: 251, 113, 133; }

/* the two closing info cards */
.tfk-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.tfk-info { padding: 1.25rem; border-radius: 1.15rem; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); scroll-margin-top: 5rem; }
.tfk-warn { display: flex; gap: .7rem; margin: 0 0 1rem; padding: .8rem .9rem; border-radius: .85rem; border: 1px solid rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); }
.tfk-warn .tfk-points { margin: 0; --g1: #fbbf24; --g2: #c2410c; --tfk-rgb: 251, 191, 36; }
.tfk-warn-ico { flex: none; width: 1.5rem; height: 1.5rem; color: rgb(251, 191, 36); margin-top: .1rem; }

/* the calculator (ie-calc markup: toefl.js reads it) */
.tfk .tfk-calc { padding: 1.25rem; border-radius: 1.1rem; border-color: rgba(163, 230, 53, .3); }
.tfk .ie-calc-field { --tfk-rgb: var(--accent-rgb); }
.tfk .ie-calc-label { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; letter-spacing: .02em; text-transform: none; font-weight: 800; }
.tfk .ie-calc-label .tfk-inline { width: 1.1rem; height: 1.1rem; }
.tfk .ie-calc-target .ie-calc-label { color: rgb(190, 242, 100); }
.tfk .ie-calc-select { min-height: 46px; font-size: 1.05rem; font-weight: 700; color: #f8fafc; border-color: rgba(255, 255, 255, .2); }
.tfk .ie-calc-overall-label { font-size: .85rem; color: #e2e8f0; }
.tfk .ie-calc-overall-n { color: rgb(190, 242, 100); }
.tfk .ie-calc-verdict { font-size: 1rem; color: #f1f5f9; }
.tfk .ie-calc-out .tfk-points { margin-top: .9rem; }
.tfk .ie-meter-name, .tfk .ie-meter-val { color: #e2e8f0; }

/* ── take pages: header and the "before you start" card ─────────────────────── */
.tfk-take-head { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.2rem; margin: .5rem 0 1.25rem; }
.tfk-take-head .tfk-take-titles { flex: 1 1 18rem; min-width: 0; }
.tfk-take-kind { margin: 0 0 .2rem; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--tfk-rgb, 45, 212, 191)); }
.tfk-take-title { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; color: #f8fafc; }
.tfk-take-sub { margin: .25rem 0 0; font-size: 1rem; color: #cbd5e1; }
.tfk-intro {
  margin: 0 0 1.25rem; padding: 1.1rem 1.2rem; border-radius: 1.05rem;
  border: 1px solid rgba(var(--tfk-rgb, 45, 212, 191), .35); background: linear-gradient(180deg, rgba(var(--tfk-rgb, 45, 212, 191), .09), rgba(var(--tfk-rgb, 45, 212, 191), .015));
}
.tfk-intro-h { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-size: 1.05rem; font-weight: 800; color: #f8fafc; }
.tfk-intro .tfk-points { margin-bottom: 0; }
.tfk-intro .tfk-source { margin-top: .8rem; }
.tfk-intro-text { margin: 0; font-size: 1rem; line-height: 1.6; color: #e2e8f0; }
.tfk-facts-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }

/* buttons of the take pages, in the page's own tone */
.tfk-page .ie-take-start, .tfk-page .ie-take-submit {
  min-height: 46px; padding: .6rem 1.2rem; border-radius: .8rem; font-size: 1rem; font-weight: 800; border: 0;
  background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); box-shadow: 0 8px 20px -10px var(--g2, #0e7490);
}
.tfk-page .ie-take-start, .tfk-page .ie-take-submit, html[data-theme] .tfk-page .ie-take-start, html[data-theme] .tfk-page .ie-take-submit { color: #fff; }
.tfk-page .ie-take-start:hover, .tfk-page .ie-take-submit:hover { background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); filter: brightness(1.08); }
.tfk-page .ie-take-time { color: #f8fafc; }
.tfk-page .ie-take-answered { color: #cbd5e1; font-size: .92rem; }
.tfk-page .ie-item-q { font-size: 1rem; color: #f1f5f9; }
.tfk-page .ie-opt { font-size: .95rem; color: #e2e8f0; }
.tfk-page .ie-result-note { color: #cbd5e1; font-size: .86rem; }
.tfk-page .ie-h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; font-weight: 800; color: #f8fafc; }

/* ── /learn/toefl (body.lx-toefl): the video strip and quick links above the units ── */
.tfk-learn { margin: 0 0 1.5rem; }
.tfk-learn .tfk-video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.tfk-learn .tfk-video-title { font-size: .9rem; }
.tfk-learn-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.1rem; }
.lx-toefl .lx-topic { border-color: rgba(var(--accent-rgb), .35) !important; border-left: 4px solid rgb(var(--accent-rgb)) !important;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .09), rgba(var(--accent-rgb), .01) 55%); }
.lx-toefl .lx-topic-title { font-size: 1.15rem; font-weight: 800; }
.lx-toefl .lx-topic-num { font-size: .85rem; }
.lx-toefl .lx-topic-summary .practice-card-icon-bg { width: 3rem; height: 3rem; border-radius: .9rem;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 1), color-mix(in srgb, rgb(var(--accent-rgb)) 55%, #0f172a)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px rgba(var(--accent-rgb), .9); }
.lx-toefl .lx-topic-summary .practice-card-icon-bg, html[data-theme] .lx-toefl .lx-topic-summary .practice-card-icon-bg { color: #fff; }
.lx-toefl .lx-topic-summary .practice-card-icon, html[data-theme] .lx-toefl .lx-topic-summary .practice-card-icon { color: #fff; stroke: #fff; }
.lx-toefl .lx-topic-count { font-size: .85rem; color: #cbd5e1 !important; }
.lx-toefl .lx-leaf { min-height: 3.2rem; }
.lx-toefl .lx-lt-main { font-size: 1rem; color: #f1f5f9; }
.lx-toefl .lx-lt-sub { color: #cbd5e1; }
.lx-toefl .site-hero p { color: #e2e8f0; }

/* ── page heroes, official-test parts, done banners ─────────────────────────── */
.tfk-hero--page { grid-template-columns: minmax(0, 1fr); padding: 1.6rem 1.75rem; }
.tfk-hero--page .tfk-points { margin-bottom: 0; }
.tfk-official .tfk-hero--page { border-color: rgba(129, 140, 248, .4);
  background: radial-gradient(110% 130% at 0% 0%, rgba(129, 140, 248, .24), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(56, 189, 248, .14), transparent 55%), var(--space-deep, #0b1020); }
.tfk-rehearsal .tfk-hero--page { border-color: rgba(251, 113, 133, .4);
  background: radial-gradient(110% 130% at 0% 0%, rgba(251, 113, 133, .22), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(167, 139, 250, .14), transparent 55%), var(--space-deep, #0b1020); }
.tfk-h1--page { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.tfk-sec-head--gap { margin-top: 2.5rem; }
.tfk-parts { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.tfk-part {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 1.05rem; text-decoration: none; color: inherit;
  border: 1px solid rgba(var(--tfk-rgb), .4); background: linear-gradient(90deg, rgba(var(--tfk-rgb), .16), rgba(var(--tfk-rgb), .03));
  transition: border-color .15s, transform .15s;
}
.tfk-part:hover, .tfk-part:focus-visible { border-color: rgba(var(--tfk-rgb), .85); transform: translateY(-1px); }
.tfk-part-n { flex: none; width: 2rem; font-size: 1.6rem; font-weight: 900; text-align: center; color: rgb(var(--tfk-rgb)); }
.tfk-part-body { flex: 1; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.tfk-part-title { font-size: 1.15rem; font-weight: 800; color: #f8fafc; }
.tfk-part-meta { font-size: .95rem; color: #cbd5e1; }
.tfk .tfk-state { flex: none; margin: 0; padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; font-weight: 800; color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.tfk .tfk-state.is-done { color: rgb(110, 231, 183); border-color: rgba(52, 211, 153, .6); background: rgba(52, 211, 153, .14); }
.tfk-done { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 1rem; padding: .85rem 1rem; border-radius: .9rem;
  font-size: 1rem; line-height: 1.55; color: #ecfdf5; border: 1px solid rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .12); }
.tfk-done[hidden] { display: none !important; }
.tfk-done .tfk-inline { color: rgb(110, 231, 183); margin-top: .15rem; }
.tfk-done a { color: rgb(110, 231, 183); font-weight: 800; }
.tfk-back { margin: 1.5rem 0 0; }
.tfk-flip { transform: scaleX(-1); }

.tfk-eyebrow--rose { color: rgb(253, 164, 175); }
.tfk-intro--quiet { --tfk-rgb: 148, 163, 184; border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.tfk-intro--quiet .tfk-intro-h .tfk-inline { color: rgb(125, 211, 252); }
.tfk .tfk-forms { margin: 0 0 1rem; }
.tfk .tfk-forms a { gap: .45rem; font-weight: 800; font-size: 1rem; color: #e2e8f0; border-radius: .8rem; padding: .55rem 1rem; }
.tfk .tfk-forms a .tfk-inline { width: 1.1rem; height: 1.1rem; color: rgb(253, 164, 175); }
.tfk .tfk-forms a[aria-current="page"] { color: #fff; border-color: rgba(251, 113, 133, .8); background: rgba(251, 113, 133, .16); }
.tfk .tfk-forms a:hover { color: #fff; border-color: rgba(251, 113, 133, .8); }

/* ── take-page parts: clock, steps, timed-run instruction cards ─────────────── */
.tfk .tf-rehearsal-list { max-width: none; }
.tfk-clock { display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem .45rem .9rem; border-radius: 1rem;
  border: 1px solid rgba(var(--tfk-rgb), .45); background: rgba(var(--tfk-rgb), .1); }
.tfk-clock[hidden] { display: none !important; }
.tfk-clock > .tfk-inline { color: rgb(var(--tfk-rgb)); width: 1.4rem; height: 1.4rem; }
.tfk-page .tfk-clock .ie-take-time { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tfk-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.tfk-steps li { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border-radius: .85rem; font-size: .98rem; line-height: 1.4; color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); counter-increment: tfk-step; }
.tfk-steps strong { color: #fff; }
.tfk-phase-cards { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem; }
.tfk-phase-card { display: flex; align-items: center; gap: .9rem; padding: 1rem; border-radius: 1rem;
  border: 1px solid rgba(var(--tfk-rgb), .45); background: linear-gradient(90deg, rgba(var(--tfk-rgb), .16), rgba(var(--tfk-rgb), .03)); }
.tfk-phase-body { display: flex; flex-direction: column; gap: .15rem; }
.tfk-phase-title { font-size: 1.15rem; font-weight: 800; color: #f8fafc; }
.tfk-phase-meta { font-size: .95rem; color: #cbd5e1; }
.tfk-phase-meta strong { color: rgb(var(--tfk-rgb)); }
.tfk-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1rem; }
.tfk-rule { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .035); }
.tfk-rule h3 { margin: .2rem 0 .55rem; font-size: 1.05rem; font-weight: 800; color: #f8fafc; }
.tfk-rule .tfk-points { margin: 0; }
.tfk-rule .tfk-points li { font-size: .95rem; }
.tfk-warn-line { display: flex; align-items: flex-start; gap: .55rem; margin: .8rem 0 0; padding: .7rem .85rem; border-radius: .8rem;
  color: #fef3c7; border: 1px solid rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .1); }
.tfk-warn-line .tfk-inline { color: rgb(251, 191, 36); margin-top: .15rem; }
.tfk-quip { font-style: italic; color: #e2e8f0; }
.tfk-intro-text a, .tfk-intro a { color: rgb(125, 211, 252); text-decoration: underline; }
.tfk-run.tf-run { padding: 1.5rem; border-radius: 1.25rem; border: 1px solid rgba(255, 255, 255, .08); }
.tfk-run .tfk-points, .tfk-run .tfk-steps { list-style: none; padding: 0; }
.tfk-run .tfk-points { margin: .25rem 0 1rem; }
.tfk-run .tfk-intro-h { font-size: 1.05rem; margin: 0 0 .75rem; }
.tfk-run .tfk-take-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.tfk-run.tf-run .tfk-start-btn, .tfk-start-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .7rem 1.5rem; border: 0; border-radius: .9rem;
  font-size: 1.1rem; font-weight: 800; cursor: pointer;
  background: linear-gradient(145deg, var(--g1, #2dd4bf), var(--g2, #0e7490)); box-shadow: 0 10px 24px -12px var(--g2, #0e7490);
}
.tfk-start-btn, html[data-theme] .tfk-start-btn, html[data-theme] .tfk-run.tf-run .tfk-start-btn { color: #fff; }
.tfk-start-btn:hover { filter: brightness(1.08); }
@media (max-width: 760px) {
  .tfk-steps, .tfk-rules { grid-template-columns: minmax(0, 1fr); }
  .tfk-run.tf-run { padding: 1rem; }
  .tfk-take-head .tfk-tile--xl { width: 3.2rem; height: 3.2rem; }
}

/* "Learn it first": the section's existing lesson video beside a take page's intro */
.tfk-learnfirst { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; padding: .7rem; border-radius: 1rem; text-decoration: none; color: inherit;
  border: 1px solid rgba(var(--tfk-rgb), .35); background: linear-gradient(90deg, rgba(var(--tfk-rgb), .12), rgba(var(--tfk-rgb), .02)); }
.tfk-learnfirst .tfk-skill-video { margin: 0; border: 0; padding: 0; background: none; flex: 1; min-width: 0; }
.tfk-learnfirst .tfk-btn { flex: none; }
@media (max-width: 640px) { .tfk-learnfirst { flex-direction: column; align-items: stretch; } }

/* ── light theme: hand tuning the generated block cannot decide (one step more specific) ── */
html[data-theme="light"] .tfk .tfk-hero {
  border-color: rgba(13, 148, 136, .35);
  background: radial-gradient(110% 130% at 0% 0%, rgba(45, 212, 191, .22), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(56, 189, 248, .18), transparent 55%), #f8fffe;
}
html[data-theme="light"] .tfk .tfk-hero .tfk-video { background: #fff; }
html[data-theme="light"] .tfk.tfk-official .tfk-hero--page { background: radial-gradient(110% 130% at 0% 0%, rgba(129, 140, 248, .22), transparent 55%), #f8f9ff; border-color: rgba(79, 70, 229, .3); }
html[data-theme="light"] .tfk.tfk-rehearsal .tfk-hero--page { background: radial-gradient(110% 130% at 0% 0%, rgba(251, 113, 133, .2), transparent 55%), #fff8f9; border-color: rgba(225, 29, 72, .3); }
html[data-theme="light"] .tfk .tfk-eyebrow, html[data-theme="light"] .tfk .tfk-hero-watch { color: rgb(15, 118, 110); }
html[data-theme="light"] .tfk .tfk-eyebrow--rose { color: rgb(190, 18, 60); }

/* ── responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tfk-video-grid, .tfk-learn .tfk-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfk-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tfk-hero { grid-template-columns: minmax(0, 1fr); padding: 1.4rem; }
  .tfk-skills, .tfk-info-grid { grid-template-columns: minmax(0, 1fr); }
  .tfk .ie-rows--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tfk-hero { padding: 1.15rem; border-radius: 1.2rem; gap: 1.25rem; }
  .tfk-hero-lead { font-size: 1.02rem; }
  .tfk-facts { grid-template-columns: minmax(0, 1fr); }
  .tfk-tile--xl { width: 3.3rem; height: 3.3rem; }
  .tfk-tile--xl .tfk-glyph { width: 1.8rem; height: 1.8rem; }
  .tfk-start { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .tfk-glance { grid-template-columns: minmax(0, 1fr); }
  .tfk-timeline { flex-wrap: wrap; border-radius: .9rem; }
  .tfk-tl-seg { flex-basis: calc(50% - .15rem); flex-grow: 1 !important; min-height: 3.6rem; border-radius: .5rem; }
  .tfk-video-grid, .tfk-learn .tfk-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .tfk-learn .tfk-video:first-child { grid-column: 1 / -1; }
  .tfk-video-body { padding: .55rem .65rem .7rem; }
  .tfk-video-title { font-size: .86rem; }
  .tfk-video-kicker { font-size: .7rem; }
  .tfk-video-play { width: 2.5rem; height: 2.5rem; }
  .tfk .ie-rows, .tfk .ie-rows--three { grid-template-columns: minmax(0, 1fr); }
  .tfk-skill { padding: 1rem; }
  .tfk-skill-name { font-size: 1.2rem; }
  .tfk-skill-video-thumb { width: 7.5rem; }
  .tfk-scale-lvl { font-size: 1rem; }
  .tfk-scale-rng { font-size: .72rem; }
  .tfk-sec-link { margin-left: 0; }
  .tfk-points li { font-size: .97rem; }
  .tfk .tfk-shelf { padding: 1rem; }
  .tfk-coach { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tfk-start-card, .tfk-off-card, .tfk-video, .tfk-video img, .tfk-btn, .tfk .ie-row, .tfk-coach, .tfk-go { transition: none; }
}

/* ▼▼ LIGHT THEME — GENERATED by scripts/build_light_theme.py from the rules above. Do not edit by hand: run the builder. Hand tuning goes in 36-theme-light.css. ▼▼ */
html[data-theme="light"] .tfk-tile{box-shadow:0 8px 18px -8px var(--g2, #0e7490)}
html[data-theme="light"] .tfk-go{color:color-mix(in srgb,rgb(var(--tfk-rgb, 45, 212, 191)) 44%,#0f172a)}
html[data-theme="light"] .tfk-h1{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-eyebrow{color:rgb(12 114 98)}
html[data-theme="light"] .tfk-h2{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-h3{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-lead{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-lead--small{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-lead strong,html[data-theme="light"] .tfk-points strong,html[data-theme="light"] .tfk-hero-lead strong,html[data-theme="light"] .tfk-facts strong,html[data-theme="light"] .tfk-total strong{color:rgb(51 63 82)}
html[data-theme="light"] .tfk-source{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-source a{color:rgb(12 114 98)}
html[data-theme="light"] .tfk-points li{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-points li::before{box-shadow:0px 0px 0px 3px color-mix(in srgb,rgba(var(--tfk-rgb, 45, 212, 191), .18) 62%,#0f172a)}
html[data-theme="light"] .tfk-points--small li{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-chip{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-chip .tfk-inline{color:color-mix(in srgb,rgb(var(--tfk-rgb, 45, 212, 191)) 44%,#0f172a)}
html[data-theme="light"] .tfk-btn{color:rgb(38 66 94);border-color:rgb(15 23 42/0.18);background-color:rgb(15 23 42/0.05)}
html[data-theme="light"] .tfk-btn .tfk-inline{color:color-mix(in srgb,rgb(var(--tfk-rgb, 45, 212, 191)) 44%,#0f172a)}
html[data-theme="light"] .tfk-btn-n{background-color:rgb(255 255 255/0.25)}
html[data-theme="light"] .tfk-sec-link{color:rgb(12 114 98)}
html[data-theme="light"] .tfk-hero{background:radial-gradient(110% 130% at 0% 0%, rgba(45, 212, 191, .2), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(56, 189, 248, .16), transparent 55%), var(--space-deep, rgb(247 247 251))}
html[data-theme="light"] .tfk-hero-lead{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-facts li{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-hero-watch{color:rgb(12 114 98)}
html[data-theme="light"] .tfk-start-card{border-color:rgb(15 23 42/0.14);background-image:linear-gradient(180deg, rgb(15 23 42/0.06), rgb(15 23 42/0.02))}
html[data-theme="light"] .tfk-start-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-start-meta{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-tl-name{text-shadow:0px 1px 2px rgb(15 23 42/0.096)}
html[data-theme="light"] .tfk-tl-time{text-shadow:0px 1px 2px rgb(15 23 42/0.096)}
html[data-theme="light"] .tfk-total{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-glance-stat{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-glance-stat strong{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-tasks li{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-tasks li::before{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-off-card.is-current{box-shadow:inset 0px 0px 0px 1px rgb(10 26 184/0.55)}
html[data-theme="light"] .tfk-off-num{box-shadow:0px 8px 18px -8px rgb(15 23 42/0.2)}
html[data-theme="light"] .tfk-off-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-off-sub{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-pill{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-pill .tfk-inline{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-cta{color:rgb(1 24 131)}
html[data-theme="light"] .tfk-video-thumb,html[data-theme="light"] .tfk-skill-video-thumb{background-color:rgb(247 247 251)}
html[data-theme="light"] .tfk-video-play{box-shadow:0px 6px 22px rgb(15 23 42/0.16)}
html[data-theme="light"] .tfk-video-kicker{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-video-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-hero .tfk-video{background-color:rgb(250 251 252/0.45)}
html[data-theme="light"] .tfk-scale{background:var(--reading-surface, rgb(252 252 253))}
html[data-theme="light"] .tfk-skill-name{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-skill-video{background-color:rgb(250 251 252/0.35)}
html[data-theme="light"] .tfk-skill-video-k{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-skill-video-t{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-skill-video-len{color:rgb(48 65 85)}
html[data-theme="light"] .tfk .tfk-shelf{background:linear-gradient(180deg, rgba(var(--tfk-rgb), .08), rgba(var(--tfk-rgb), .01) 40%), var(--reading-surface, rgb(252 252 253))}
html[data-theme="light"] .tfk-shelf-note{color:rgb(48 65 85)}
html[data-theme="light"] .tfk .ie-row{border-color:rgb(15 23 42/0.168)}
html[data-theme="light"] .tfk .ie-row-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk .ie-row-meta{color:rgb(48 65 85)}
html[data-theme="light"] .tfk .ie-row--feature .ie-row-title{color:rgb(51 63 82)}
html[data-theme="light"] .tfk .ie-family-h{color:rgb(38 66 94)}
html[data-theme="light"] .tfk .ie-family-h .tfk-inline{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk .ie-family-n{color:rgb(48 65 85)}
html[data-theme="light"] .tfk .ie-pill{color:rgb(38 66 94)}
html[data-theme="light"] .tfk .ie-pill--wide{color:rgb(38 66 94)}
html[data-theme="light"] .tfk .ie-pill-n{color:color-mix(in srgb,rgb(var(--accent-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk .ie-more summary{color:rgb(28 0 132)}
html[data-theme="light"] .tfk-coach-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-coach-text{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-coach-counts{color:rgb(28 0 132)}
html[data-theme="light"] .tfk-info{border-color:rgb(15 23 42/0.168);background-image:linear-gradient(180deg, rgb(15 23 42/0.055), rgb(15 23 42/0.015))}
html[data-theme="light"] .tfk-warn-ico{color:rgb(127 92 0)}
html[data-theme="light"] .tfk .ie-calc-target .ie-calc-label{color:rgb(73 112 7)}
html[data-theme="light"] .tfk .ie-calc-select{color:rgb(38 66 94);border-color:rgb(15 23 42/0.18)}
html[data-theme="light"] .tfk .ie-calc-overall-label{color:rgb(44 63 88)}
html[data-theme="light"] .tfk .ie-calc-overall-n{color:rgb(73 112 7)}
html[data-theme="light"] .tfk .ie-calc-verdict{color:rgb(38 66 94)}
html[data-theme="light"] .tfk .ie-meter-name,html[data-theme="light"] .tfk .ie-meter-val{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-take-kind{color:color-mix(in srgb,rgb(var(--tfk-rgb, 45, 212, 191)) 44%,#0f172a)}
html[data-theme="light"] .tfk-take-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-take-sub{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-intro-h{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-intro-text{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-page .ie-take-time{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-page .ie-take-answered{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-page .ie-item-q{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-page .ie-opt{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-page .ie-result-note{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-page .ie-h2{color:rgb(38 66 94)}
html[data-theme="light"] .lx-toefl .lx-topic-summary .practice-card-icon-bg{background-image:linear-gradient(145deg, rgba(var(--accent-rgb), 1), color-mix(in srgb, rgb(var(--accent-rgb)) 55%, rgb(244 245 249)))!important;box-shadow:0px 8px 18px -8px rgb(15 23 42/0.14)}
html[data-theme="light"] .lx-toefl .lx-topic-count{color:rgb(48 65 85)!important}
html[data-theme="light"] .lx-toefl .lx-lt-main{color:rgb(38 66 94)}
html[data-theme="light"] .lx-toefl .lx-lt-sub{color:rgb(48 65 85)}
html[data-theme="light"] .lx-toefl .site-hero p{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-official .tfk-hero--page{background:radial-gradient(110% 130% at 0% 0%, rgba(129, 140, 248, .24), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(56, 189, 248, .14), transparent 55%), var(--space-deep, rgb(247 247 251))}
html[data-theme="light"] .tfk-rehearsal .tfk-hero--page{background:radial-gradient(110% 130% at 0% 0%, rgba(251, 113, 133, .22), transparent 55%),
              radial-gradient(100% 120% at 100% 100%, rgba(167, 139, 250, .14), transparent 55%), var(--space-deep, rgb(247 247 251))}
html[data-theme="light"] .tfk-part-n{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-part-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-part-meta{color:rgb(48 65 85)}
html[data-theme="light"] .tfk .tfk-state{color:rgb(44 63 88);border-color:rgb(15 23 42/0.18);background-color:rgb(15 23 42/0.05)}
html[data-theme="light"] .tfk .tfk-state.is-done{color:rgb(16 111 73)}
html[data-theme="light"] .tfk-done{color:rgb(9 116 66)}
html[data-theme="light"] .tfk-done .tfk-inline{color:rgb(16 111 73)}
html[data-theme="light"] .tfk-done a{color:rgb(16 111 73)}
html[data-theme="light"] .tfk-eyebrow--rose{color:rgb(133 0 16)}
html[data-theme="light"] .tfk-intro--quiet{border-color:rgb(15 23 42/0.18);background-color:rgb(15 23 42/0.03)}
html[data-theme="light"] .tfk-intro--quiet .tfk-intro-h .tfk-inline{color:rgb(0 90 133)}
html[data-theme="light"] .tfk .tfk-forms a{color:rgb(44 63 88)}
html[data-theme="light"] .tfk .tfk-forms a .tfk-inline{color:rgb(133 0 16)}
html[data-theme="light"] .tfk .tfk-forms a[aria-current="page"]{color:rgb(51 63 82)}
html[data-theme="light"] .tfk .tfk-forms a:hover{color:rgb(51 63 82)}
html[data-theme="light"] .tfk-clock > .tfk-inline{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-steps li{color:rgb(44 63 88);border-color:rgb(15 23 42/0.168);background-color:rgb(15 23 42/0.04)}
html[data-theme="light"] .tfk-steps strong{color:rgb(51 63 82)}
html[data-theme="light"] .tfk-phase-title{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-phase-meta{color:rgb(48 65 85)}
html[data-theme="light"] .tfk-phase-meta strong{color:color-mix(in srgb,rgb(var(--tfk-rgb)) 44%,#0f172a)}
html[data-theme="light"] .tfk-rule{border-color:rgb(15 23 42/0.168);background-color:rgb(15 23 42/0.035)}
html[data-theme="light"] .tfk-rule h3{color:rgb(38 66 94)}
html[data-theme="light"] .tfk-warn-line{color:rgb(117 94 0)}
html[data-theme="light"] .tfk-warn-line .tfk-inline{color:rgb(127 92 0)}
html[data-theme="light"] .tfk-quip{color:rgb(44 63 88)}
html[data-theme="light"] .tfk-intro-text a,html[data-theme="light"] .tfk-intro a{color:rgb(0 90 133)}
html[data-theme="light"] .tfk-run.tf-run{border-color:rgb(15 23 42/0.112)}
/* ▲▲ LIGHT THEME END ▲▲ */
