.tdq-root {
  --tdq-navy: #102b50;
  --tdq-blue: #2868c8;
  --tdq-blue-dark: #174b9b;
  --tdq-cyan: #25b9d2;
  --tdq-gold: #d5a536;
  --tdq-text: #24364e;
  --tdq-muted: #718198;
  --tdq-line: #e4eaf2;
  --tdq-green: #16845b;
  --tdq-red: #c8474f;
  display: block;
  width: 100%;
  margin: 22px auto;
  color: var(--tdq-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
  isolation: isolate;
}
.tdq-root * { box-sizing: border-box; }
.tdq-root [hidden] { display: none !important; }
.tdq-shell {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 56, 98, .10);
}
.tdq-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 28px;
  background: #fff;
  border-bottom: 1px solid #edf1f6;
}
.tdq-brand { display: flex; align-items: center; gap: 10px; }
.tdq-brand-mark {
  width: 43px; height: 43px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #1c4c88, #2a8ac8);
  border-radius: 13px; font-size: 17px; font-weight: 850; letter-spacing: -.7px;
  box-shadow: 0 6px 14px rgba(37, 104, 200, .22);
}
.tdq-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.tdq-brand-copy strong { color: var(--tdq-navy); font-size: 15px; letter-spacing: -.2px; }
.tdq-brand-copy small { margin-top: 4px; color: #8291a5; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 750; }
.tdq-topbar-tag { color: #5b7190; border: 1px solid #e3eaf3; border-radius: 99px; padding: 7px 12px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.tdq-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  min-height: 225px; padding: 35px 58px 29px;
  color: #fff; background: linear-gradient(116deg, #102c51 0%, #174b87 62%, #1d72a4 100%);
  position: relative; overflow: hidden;
}
.tdq-hero:before, .tdq-hero:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; pointer-events: none; }
.tdq-hero:before { width: 340px; height: 340px; top: -210px; right: 12%; }
.tdq-hero:after { width: 510px; height: 510px; bottom: -405px; right: -45px; }
.tdq-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.tdq-eyebrow { margin: 0 0 10px; color: #8ed9f0; font-size: 10px; font-weight: 850; letter-spacing: 2px; }
.tdq-hero h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 43px); line-height: 1.1; letter-spacing: -1.5px; font-weight: 850; }
.tdq-hero h2 span { color: #7eddf0; }
.tdq-hero-description { max-width: 550px; margin: 14px 0 0; color: #d4e3f3; font-size: 14px; line-height: 1.7; }
.tdq-mascot-area { width: 180px; min-width: 150px; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.tdq-mascot-glow { position: absolute; width: 135px; height: 35px; bottom: 22px; border-radius: 50%; background: rgba(6, 20, 42, .32); filter: blur(12px); }
.tdq-mascot { width: 150px; height: 142px; position: relative; z-index: 1; filter: drop-shadow(0 13px 14px rgba(0,0,0,.24)); animation: tdq-mascot-float 3s ease-in-out infinite; }
.tdq-mascot-caption { margin-top: -2px; color: #b9e9f4; font-size: 10px; font-weight: 700; letter-spacing: .35px; }
@keyframes tdq-mascot-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1.6deg); } }
.tdq-start-screen { padding: 34px 58px 37px; background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%); }
.tdq-start-card { max-width: 630px; margin: 0 auto; padding: 26px 29px 27px; border: 1px solid #e5ebf3; border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(24, 58, 99, .055); }
.tdq-card-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.tdq-heading-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #a87818; background: #fff5da; font-size: 22px; }
.tdq-card-heading h3 { margin: 0; color: var(--tdq-navy); font-size: 19px; font-weight: 850; letter-spacing: -.4px; }
.tdq-card-heading p { margin: 4px 0 0; color: var(--tdq-muted); font-size: 13px; }
.tdq-start-form label { display: block; margin-bottom: 7px; color: #354a65; font-size: 12px; font-weight: 800; }
.tdq-name-input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; color: #21354f; background: #fbfcff; border: 1px solid #dce4ef; border-radius: 10px; font: inherit; font-size: 14px; outline: none; box-shadow: none; }
.tdq-name-input:focus { border-color: #4384d9; box-shadow: 0 0 0 3px rgba(50, 119, 211, .13); }
.tdq-name-error { margin: 6px 0 0; color: #bd3b48; font-size: 12px; }
.tdq-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.2; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.tdq-button:hover { transform: translateY(-1px); }
.tdq-button:focus-visible, .tdq-option:focus-visible { outline: 3px solid rgba(45, 121, 216, .3); outline-offset: 3px; }
.tdq-button:disabled { opacity: .68; cursor: wait; transform: none; }
.tdq-primary-button { color: #fff; background: linear-gradient(110deg, #225db1, #2987c3); box-shadow: 0 7px 15px rgba(32, 97, 179, .18); }
.tdq-primary-button:hover { color: #fff; background: linear-gradient(110deg, #194d99, #2279b5); box-shadow: 0 9px 20px rgba(32, 97, 179, .24); }
.tdq-start-form .tdq-primary-button { width: 100%; margin-top: 15px; min-height: 49px; }
.tdq-outline-button { color: #36516f; background: #fff; border-color: #d8e1ec; }
.tdq-outline-button:hover { color: #1b5ba8; background: #f8fbff; border-color: #9ebce1; }
.tdq-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 630px; margin: 18px auto 0; }
.tdq-info-card { min-height: 81px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 8px; padding: 12px 14px; border: 1px solid #e9eef5; border-radius: 12px; background: #fff; }
.tdq-info-icon { grid-row: span 2; align-self: center; display: grid; place-items: center; width: 29px; height: 29px; color: #2868c8; background: #edf5ff; border-radius: 9px; font-size: 18px; }
.tdq-info-card strong { align-self: end; color: var(--tdq-navy); font-size: 12px; }
.tdq-info-card small { color: #8492a4; font-size: 10px; }
.tdq-stage { padding: 28px 45px 36px; background: #f8fafd; min-height: 390px; }
.tdq-quiz-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.tdq-candidate-chip { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tdq-candidate-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tdq-candidate-chip small { color: #8291a5; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; font-weight: 800; }
.tdq-candidate-chip strong { max-width: 230px; overflow: hidden; color: var(--tdq-navy); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tdq-mini-mascot { display: inline-flex; flex: 0 0 34px; width: 34px; height: 34px; align-items: center; justify-content: center; }
.tdq-mini-mascot svg { display: block; width: 34px; height: 34px; }
.tdq-quiz-stats { display: flex; align-items: center; gap: 18px; color: #74849a; font-size: 12px; }
.tdq-quiz-stats strong { color: var(--tdq-navy); font-weight: 850; }
.tdq-score-live { padding: 6px 11px; color: #1b6f54; background: #eaf8f1; border-radius: 99px; }
.tdq-progress-track { width: 100%; height: 7px; overflow: hidden; margin-bottom: 19px; background: #e6edf6; border-radius: 30px; }
.tdq-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22b7c8, #2868c8); transition: width .35s ease; }
.tdq-question-card { padding: 24px 27px 25px; border: 1px solid #e4eaf2; border-radius: 17px; background: #fff; box-shadow: 0 9px 25px rgba(28, 59, 96, .055); }
.tdq-question-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tdq-level { display: inline-flex; padding: 5px 10px; border-radius: 99px; font-size: 9px; letter-spacing: 1px; font-weight: 900; }
.tdq-level-easy { color: #147a58; background: #e8f8f1; }
.tdq-level-hard { color: #a24d19; background: #fff0e4; }
.tdq-question-number { color: #97a3b2; font-size: 10px; font-weight: 850; letter-spacing: 1px; }
.tdq-question-heading { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; }
.tdq-question-heading .tdq-mini-mascot { margin-top: -4px; }
.tdq-question-heading h3 { margin: 0; color: var(--tdq-navy); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; font-weight: 800; letter-spacing: -.35px; }
.tdq-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tdq-option { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 11px 13px; text-align: left; border: 1px solid #dfe7f1; border-radius: 11px; background: #fbfcfe; color: #354a64; font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.tdq-option:hover:not(:disabled) { transform: translateY(-1px); border-color: #8db2e3; background: #f5f9ff; }
.tdq-option-letter { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #315f9a; background: #eaf2fc; font-size: 11px; font-weight: 900; }
.tdq-option-text { flex: 1; color: inherit; font-size: 12px; line-height: 1.45; font-weight: 650; }
/* Keep answer wording in its authored case even when the active WordPress theme
   applies text-transform: uppercase to buttons or their descendants. */
.tdq-root .tdq-option,
.tdq-root .tdq-option * { text-transform: none !important; }
.tdq-root .tdq-option-letter { text-transform: uppercase !important; }
.tdq-root .tdq-review-item strong,
.tdq-root .tdq-review-item small { text-transform: none !important; }
.tdq-option-mark { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 900; }
.tdq-option-locked { cursor: default; }
.tdq-option-correct { border-color: #96d9b9; color: #126c4b; background: #effaf4; }
.tdq-option-correct .tdq-option-letter { color: #fff; background: #21966a; }
.tdq-option-correct .tdq-option-mark { color: #fff; background: #20996d; }
.tdq-option-wrong { border-color: #f0c0c1; color: #a53d45; background: #fff5f5; }
.tdq-option-wrong .tdq-option-letter { color: #fff; background: #d05a60; }
.tdq-option-wrong .tdq-option-mark { color: #fff; background: #d05a60; }
.tdq-timer-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 22px; padding-top: 17px; border-top: 1px solid #edf1f6; }
.tdq-timer-label { display: flex; align-items: center; gap: 8px; color: #73839a; font-size: 11px; font-weight: 750; }
.tdq-clock-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #245ba5; background: #edf4ff; font-size: 24px; line-height: 1; transform-origin: 50% 50%; }
@keyframes tdq-clock-toss { 0% { transform: translateY(0) rotate(0) scale(1); } 16% { transform: translateY(-16px) rotate(-34deg) scale(1.08); } 38% { transform: translateY(0) rotate(38deg) scale(.96); } 58% { transform: translateY(-8px) rotate(-20deg) scale(1.03); } 78% { transform: translateY(0) rotate(13deg); } 100% { transform: translateY(0) rotate(0) scale(1); } }
.tdq-clock-toss { animation: tdq-clock-toss .9s cubic-bezier(.2,.8,.2,1) 1; }
.tdq-timer-wrap { display: flex; align-items: center; gap: 12px; width: min(320px, 60%); }
.tdq-timer-track { flex: 1; height: 7px; overflow: hidden; border-radius: 99px; background: #e9eef5; }
.tdq-timer-fill { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #23b9bd, #3d8bce); transition: width .45s linear, background .2s ease; }
.tdq-timer-fill.tdq-timer-low { background: #dc555c; }
.tdq-timer-value { min-width: 47px; color: #2b496e; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 900; }
.tdq-time-danger { color: #c13c47 !important; }
.tdq-feedback { margin-top: 22px; padding-top: 2px; border-top: 1px solid #edf1f6; }
.tdq-result-note { margin: 14px 0 12px; font-size: 13px; font-weight: 800; }
.tdq-note-correct { color: #147a55; }
.tdq-note-incorrect, .tdq-note-timeout { color: #b3444c; }
.tdq-explanation { margin-top: 12px; padding: 15px 17px; border-radius: 11px; }
.tdq-explanation-good { background: #f0faf4; border: 1px solid #d7eee0; }
.tdq-explanation-bad { background: #fff4f4; border: 1px solid #f2dddd; }
.tdq-explanation-title { display: flex; align-items: center; gap: 8px; color: #20664b; font-size: 12px; }
.tdq-explanation-title > span { display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: #26966d; border-radius: 50%; font-weight: 900; }
.tdq-explanation-good p { margin: 8px 0 0 30px; color: #35644f; font-size: 12px; line-height: 1.65; }
.tdq-explanation-bad .tdq-explanation-title { color: #9d3f47; }
.tdq-explanation-bad .tdq-explanation-title > span { background: #d05a60; }
.tdq-explanation-bad ul { list-style: none; padding: 0; margin: 9px 0 0 30px; }
.tdq-explanation-bad li { padding: 7px 0; border-top: 1px solid rgba(202, 112, 118, .13); }
.tdq-explanation-bad li:first-child { border-top: 0; }
.tdq-explanation-bad li strong { display: block; color: #994149; font-size: 11px; }
.tdq-explanation-bad li span { display: block; margin-top: 3px; color: #82565a; font-size: 11px; line-height: 1.55; }
.tdq-next-prompt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #edf1f6; }
.tdq-next-prompt > strong { color: var(--tdq-navy); font-size: 13px; }
.tdq-feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tdq-feedback-actions .tdq-button { min-height: 39px; padding: 9px 13px; font-size: 11px; }
.tdq-mascot-footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; color: #8592a4; font-size: 11px; }
.tdq-mascot-footer .tdq-mini-mascot { width: 26px; height: 26px; flex-basis: 26px; }
.tdq-mascot-footer .tdq-mini-mascot svg { width: 26px; height: 26px; }
.tdq-results-card { max-width: 760px; margin: 0 auto; padding: 28px 30px 26px; text-align: center; border: 1px solid #e2eaf3; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(28, 58, 94, .07); }
.tdq-results-mascot { display: flex; justify-content: center; margin-bottom: 5px; }
.tdq-results-mascot .tdq-mini-mascot { width: 58px; height: 58px; }
.tdq-results-mascot .tdq-mini-mascot svg { width: 58px; height: 58px; }
.tdq-results-card .tdq-eyebrow { color: #6e8bad; margin-bottom: 5px; }
.tdq-results-card h3 { margin: 0; color: var(--tdq-navy); font-size: clamp(22px, 3vw, 30px); line-height: 1.3; font-weight: 850; }
.tdq-results-subtitle { margin: 5px 0 0; color: #77869a; font-size: 13px; }
.tdq-score-circle { width: 142px; height: 142px; display: grid; place-items: center; margin: 22px auto 19px; border-radius: 50%; background: conic-gradient(#22a879 0deg 270deg, #e9f0f5 270deg 360deg); position: relative; }
.tdq-score-circle:before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.tdq-score-circle > div { display: flex; flex-direction: column; position: relative; z-index: 1; }
.tdq-score-circle strong { color: #167b58; font-size: 37px; line-height: 1.1; font-weight: 900; }
.tdq-score-circle span { margin-top: 5px; color: #8390a2; font-size: 9px; letter-spacing: 1.2px; font-weight: 850; }
.tdq-score-fail { background: conic-gradient(#d65b62 0deg 215deg, #e9f0f5 215deg 360deg); }
.tdq-score-fail strong { color: #bd4650; }
.tdq-result-counts { display: flex; justify-content: center; gap: 12px; max-width: 540px; margin: 0 auto; }
.tdq-result-counts > div { flex: 1; display: flex; flex-direction: column; padding: 12px; border: 1px solid #e7edf4; border-radius: 11px; background: #fbfcfe; }
.tdq-result-counts strong { color: var(--tdq-navy); font-size: 23px; font-weight: 900; }
.tdq-result-counts span { color: #8390a2; font-size: 10px; font-weight: 750; }
.tdq-result-caption { color: #718197; font-size: 12px; margin: 13px 0 0; }
.tdq-certificate-panel { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 13px; margin: 22px 0 15px; padding: 15px 17px; text-align: left; background: #fffaf0; border: 1px solid #f1e3bd; border-radius: 13px; }
.tdq-gold-seal { width: 58px; height: 58px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 3px solid #d7a73d; border-radius: 50%; color: #855d13; background: radial-gradient(circle at 35% 27%, #fff5c8, #e6b64c 65%, #bd7f1c); box-shadow: inset 0 0 0 3px rgba(255,255,255,.5), 0 4px 9px rgba(163, 113, 24, .17); }
.tdq-gold-seal span { font-size: 20px; line-height: 1; }
.tdq-gold-seal small { font-size: 8px; font-weight: 900; letter-spacing: .7px; }
.tdq-certificate-panel strong { color: #765316; font-size: 13px; }
.tdq-certificate-panel p { margin: 3px 0 0; color: #927746; font-size: 11px; }
.tdq-certificate-button { color: #fff; background: linear-gradient(110deg, #aa791e, #d3a641); box-shadow: 0 5px 12px rgba(168, 119, 30, .17); font-size: 11px; white-space: nowrap; }
.tdq-certificate-button:hover { color: #fff; background: linear-gradient(110deg, #946617, #c39431); }
.tdq-retry-panel { margin: 22px 0 15px; padding: 15px; text-align: left; border: 1px solid #f0dfe0; border-radius: 12px; background: #fff6f6; }
.tdq-retry-panel strong { color: #a5454d; font-size: 13px; }
.tdq-retry-panel p { color: #835b60; margin: 3px 0 0; font-size: 11px; }
.tdq-results-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.tdq-review-list { max-width: 760px; margin: 18px auto 0; padding: 20px; border: 1px solid #e2eaf3; border-radius: 15px; background: #fff; }
.tdq-review-list h4 { margin: 0 0 10px; color: var(--tdq-navy); font-size: 15px; }
.tdq-review-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid #edf1f6; }
.tdq-review-status { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 900; }
.tdq-review-status.is-correct { background: #24966b; }
.tdq-review-status.is-wrong { background: #cf5960; }
.tdq-review-item > div { min-width: 0; display: flex; flex-direction: column; }
.tdq-review-item strong { color: #2e435e; font-size: 12px; }
.tdq-review-item small { margin-top: 3px; color: #78889c; font-size: 11px; }
.tdq-disclaimer { padding: 15px 25px 18px; color: #8995a4; background: #fbfcfe; border-top: 1px solid #edf1f6; font-size: 10px; line-height: 1.65; }
.tdq-disclaimer strong { color: #65758a; }
.tdq-confetti-canvas { position: absolute; inset: 0 auto auto 0; z-index: 20; pointer-events: none; }

@media (max-width: 720px) {
  .tdq-shell { border-radius: 16px; }
  .tdq-topbar { padding: 13px 17px; }
  .tdq-topbar-tag { padding: 6px 8px; font-size: 8px; letter-spacing: .6px; }
  .tdq-hero { min-height: 190px; padding: 27px 23px; }
  .tdq-mascot-area { width: 115px; min-width: 100px; }
  .tdq-mascot { width: 112px; height: 108px; }
  .tdq-mascot-caption { font-size: 8px; text-align: center; }
  .tdq-hero-description { font-size: 12px; }
  .tdq-start-screen { padding: 24px 18px; }
  .tdq-info-grid { gap: 7px; }
  .tdq-info-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 5px; min-height: 92px; }
  .tdq-info-icon { grid-row: auto; margin-bottom: 3px; }
  .tdq-info-card strong { font-size: 10px; }
  .tdq-info-card small { font-size: 9px; }
  .tdq-stage { padding: 20px 15px 27px; }
  .tdq-question-card { padding: 19px 15px; }
  .tdq-options { grid-template-columns: 1fr; }
  .tdq-option { min-height: 54px; }
  .tdq-certificate-panel { grid-template-columns: 54px 1fr; }
  .tdq-gold-seal { width: 50px; height: 50px; }
  .tdq-certificate-button { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 440px) {
  .tdq-topbar-tag { display: none; }
  .tdq-hero { align-items: flex-start; }
  .tdq-mascot-area { margin-top: 9px; }
  .tdq-mascot-caption { display: none; }
  .tdq-hero h2 { font-size: 27px; }
  .tdq-hero-description { max-width: 235px; font-size: 11px; }
  .tdq-quiz-toolbar { align-items: flex-start; }
  .tdq-quiz-stats { flex-direction: column; align-items: flex-end; gap: 4px; font-size: 10px; }
  .tdq-candidate-chip strong { max-width: 150px; }
  .tdq-timer-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tdq-timer-wrap { width: 100%; }
  .tdq-next-prompt { align-items: flex-start; flex-direction: column; }
  .tdq-feedback-actions { width: 100%; }
  .tdq-feedback-actions .tdq-button { flex: 1; }
  .tdq-results-card { padding: 23px 14px; }
  .tdq-result-counts { gap: 6px; }
  .tdq-result-counts > div { padding: 9px 5px; }
  .tdq-result-counts strong { font-size: 19px; }
  .tdq-result-counts span { font-size: 9px; }
  .tdq-disclaimer { padding: 13px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tdq-root *, .tdq-root *:before, .tdq-root *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@keyframes tdq-mini-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.tdq-mini-mascot svg { animation: tdq-mini-bounce 2.8s ease-in-out infinite; }


/* Responsive layout hardening for WordPress themes and narrow content columns. */
.tdq-root,
.tdq-root .tdq-shell,
.tdq-root .tdq-stage,
.tdq-root .tdq-question-card,
.tdq-root .tdq-results-card,
.tdq-root .tdq-review-list {
  min-width: 0;
  max-width: 100%;
}
.tdq-root {
  width: 100%;
  overflow-wrap: anywhere;
}
.tdq-root img,
.tdq-root svg,
.tdq-root canvas {
  max-width: 100%;
}
.tdq-root button,
.tdq-root input {
  max-width: 100%;
  font-family: inherit;
}
.tdq-root .tdq-question-heading h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  scroll-margin-top: 96px;
}
.tdq-root .tdq-question-heading h3:focus {
  outline: 3px solid rgba(45, 121, 216, .32);
  outline-offset: 5px;
  border-radius: 4px;
}
.tdq-root .tdq-option-text,
.tdq-root .tdq-explanation,
.tdq-root .tdq-review-item,
.tdq-root .tdq-certificate-panel > div {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.tdq-root .tdq-option {
  min-width: 0;
  height: 100%;
}
.tdq-root .tdq-feedback-actions .tdq-button {
  white-space: normal;
}

@media (max-width: 960px) {
  .tdq-root .tdq-hero { padding-left: clamp(22px, 5vw, 42px); padding-right: clamp(22px, 5vw, 42px); }
  .tdq-root .tdq-start-screen { padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }
  .tdq-root .tdq-stage { padding-left: clamp(16px, 3.5vw, 32px); padding-right: clamp(16px, 3.5vw, 32px); }
}
@media (max-width: 600px) {
  .tdq-root { margin: 12px auto; font-size: 15px; }
  .tdq-root .tdq-shell { border-radius: 14px; }
  .tdq-root .tdq-topbar { padding: 12px 14px; }
  .tdq-root .tdq-brand-mark { flex: 0 0 38px; width: 38px; height: 38px; }
  .tdq-root .tdq-brand-copy strong { font-size: 13px; }
  .tdq-root .tdq-hero { min-height: 0; gap: 10px; padding: 22px 16px; }
  .tdq-root .tdq-hero-copy { min-width: 0; }
  .tdq-root .tdq-hero h2 { font-size: clamp(25px, 7vw, 32px); line-height: 1.15; }
  .tdq-root .tdq-mascot-area { flex: 0 0 92px; width: 92px; min-width: 92px; }
  .tdq-root .tdq-mascot { width: 90px; height: 88px; }
  .tdq-root .tdq-start-screen { padding: 18px 13px 22px; }
  .tdq-root .tdq-start-card { padding: 19px 15px; }
  .tdq-root .tdq-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tdq-root .tdq-stage { padding: 16px 12px 22px; }
  .tdq-root .tdq-quiz-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .tdq-root .tdq-quiz-stats { margin-left: auto; gap: 8px; }
  .tdq-root .tdq-question-card { padding: 17px 13px; border-radius: 13px; }
  .tdq-root .tdq-question-heading { gap: 8px; }
  .tdq-root .tdq-question-heading .tdq-mini-mascot { flex: 0 0 28px; width: 28px; height: 28px; }
  .tdq-root .tdq-question-heading .tdq-mini-mascot svg { width: 28px; height: 28px; }
  .tdq-root .tdq-question-heading h3 { font-size: 17px; }
  .tdq-root .tdq-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tdq-root .tdq-option { min-height: 52px; padding: 10px; }
  .tdq-root .tdq-timer-row { align-items: center; gap: 8px; }
  .tdq-root .tdq-timer-wrap { width: min(100%, 280px); }
  .tdq-root .tdq-explanation { padding: 12px; }
  .tdq-root .tdq-explanation-good p,
  .tdq-root .tdq-explanation-bad ul { margin-left: 0; }
  .tdq-root .tdq-next-prompt { align-items: stretch; }
  .tdq-root .tdq-feedback-actions { width: 100%; }
  .tdq-root .tdq-feedback-actions .tdq-button { flex: 1 1 100%; min-width: 0; }
  .tdq-root .tdq-results-card { padding: 21px 13px; }
  .tdq-root .tdq-result-counts { gap: 6px; }
  .tdq-root .tdq-result-counts > div { min-width: 0; padding: 10px 5px; }
  .tdq-root .tdq-result-counts span { overflow-wrap: anywhere; }
  .tdq-root .tdq-certificate-panel { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .tdq-root .tdq-gold-seal { width: 46px; height: 46px; }
  .tdq-root .tdq-results-actions { flex-direction: column; }
  .tdq-root .tdq-results-actions .tdq-button { width: 100%; }
  .tdq-root .tdq-review-list { padding: 14px 12px; }
}
@media (max-width: 380px) {
  .tdq-root .tdq-topbar-tag { display: none; }
  .tdq-root .tdq-hero { align-items: flex-start; }
  .tdq-root .tdq-mascot-area { flex-basis: 72px; width: 72px; min-width: 72px; }
  .tdq-root .tdq-mascot { width: 72px; height: 72px; }
  .tdq-root .tdq-hero h2 { font-size: 25px; }
  .tdq-root .tdq-info-grid { grid-template-columns: 1fr; }
  .tdq-root .tdq-info-card { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; min-height: 0; }
  .tdq-root .tdq-info-icon { grid-row: span 2; }
  .tdq-root .tdq-result-counts { flex-direction: column; }
  .tdq-root .tdq-result-counts > div { flex-direction: row; align-items: center; justify-content: space-between; }
  .tdq-root .tdq-candidate-chip strong { max-width: 125px; }
}
