.qdo-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 3px;
  background: rgba(226, 232, 240, .7);
  pointer-events: none;
}

.qdo-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #8ddfe4, #a9d7f2);
  transition: width .12s linear;
}

.qdo-ambient-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.qdo-ambient-hero .qdo-ambient-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .74;
  pointer-events: none;
}

.qdo-ambient-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(191, 248, 255, .12), transparent 34%),
    linear-gradient(180deg, rgba(8, 16, 31, .1), rgba(8, 16, 31, .46));
  pointer-events: none;
}

.qdo-ambient-hero > * {
  position: relative;
  z-index: 1;
}

.qdo-interactive {
  --qdo-bg: #f7fafc;
  --qdo-panel: #ffffff;
  --qdo-ink: #101827;
  --qdo-muted: #5f6b7a;
  --qdo-line: #dbe5ef;
  --qdo-cyan: #14b8a6;
  --qdo-blue: #4f8cff;
  --qdo-amber: #f59e0b;
  --qdo-red: #f25f5c;
  width: min(1120px, calc(100vw - 36px));
  margin: 42px auto;
  padding: 30px;
  color: var(--qdo-ink);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, .08), transparent 38%),
    linear-gradient(315deg, rgba(79, 140, 255, .09), transparent 42%),
    var(--qdo-bg);
  border: 1px solid var(--qdo-line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  box-sizing: border-box;
}

.qdo-interactive,
.qdo-interactive *,
.qdo-interactive *::before,
.qdo-interactive *::after {
  box-sizing: border-box;
}

.qdo-interactive-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.qdo-article-assistant {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(20, 184, 166, .2), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(79, 140, 255, .18), transparent 30%),
    linear-gradient(135deg, #f8fbff, #eef7f6 46%, #f7fafc);
}

.qdo-article-assistant::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 35%, rgba(20, 184, 166, .2), transparent 16%),
    radial-gradient(circle at 68% 26%, rgba(245, 158, 11, .12), transparent 18%),
    radial-gradient(circle at 54% 70%, rgba(79, 140, 255, .18), transparent 20%);
  filter: blur(20px);
  animation: qdoAssistantDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.qdo-article-assistant::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 82%, transparent);
  pointer-events: none;
}

.qdo-assistant-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: 28px;
  align-items: center;
}

.qdo-assistant-copy {
  max-width: 480px;
}

.qdo-chat-card {
  position: relative;
  min-height: 440px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 90px rgba(15, 23, 42, .16);
}

.qdo-chat-top {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 4px 4px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .28);
}

.qdo-chat-top span {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background:
    linear-gradient(135deg, #14b8a6, #4f8cff);
  box-shadow: 0 10px 24px rgba(20, 184, 166, .28);
}

.qdo-chat-top strong {
  font-size: 15px;
}

.qdo-chat-top em {
  color: #0f766e;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.qdo-chat-thread {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 18px 0 12px;
}

.qdo-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  color: #263244;
  line-height: 1.62;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

.qdo-bubble.qdo-bot {
  justify-self: start;
  background: #fff;
  border-bottom-left-radius: 6px;
}

.qdo-bubble.qdo-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, #101827, #164e63);
  border-bottom-right-radius: 6px;
}

.qdo-chat-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}

.qdo-chat-options button,
.qdo-chat-actions button,
.qdo-chat-actions a {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.qdo-chat-options button {
  padding: 12px;
  color: #101827;
  text-align: left;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(148, 163, 184, .32);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.qdo-chat-options button:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, .54);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.qdo-chat-options button.is-active {
  color: #0f766e;
  border-color: rgba(20, 184, 166, .62);
  background: #ecfdf5;
}

.qdo-chat-result {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #101827;
  color: #fff;
  animation: qdoResultIn .34s ease both;
}

.qdo-chat-result span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #99f6e4;
  font-size: 13px;
  font-weight: 900;
}

.qdo-chat-result h3 {
  margin-bottom: 8px;
  color: #fff;
}

.qdo-chat-result p {
  color: #cbd5e1;
}

.qdo-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.qdo-chat-actions a,
.qdo-chat-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
}

.qdo-chat-actions a {
  color: #101827;
  background: #fff;
}

.qdo-chat-actions button {
  color: #dbeafe;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
}

.qdo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.qdo-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--qdo-cyan), var(--qdo-blue));
}

.qdo-interactive h2,
.qdo-interactive h3,
.qdo-interactive p {
  margin-top: 0;
}

.qdo-interactive h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
}

.qdo-interactive h3 {
  font-size: 24px;
  line-height: 1.24;
}

.qdo-interactive p {
  color: var(--qdo-muted);
  line-height: 1.75;
}

.qdo-quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 22px;
  align-items: stretch;
}

.qdo-quiz-form {
  display: grid;
  gap: 16px;
}

.qdo-quiz-form fieldset,
.qdo-result-panel,
.qdo-loop-detail,
.qdo-checklist-body {
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.qdo-quiz-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
}

.qdo-quiz-form legend {
  padding: 0 4px;
  font-weight: 900;
}

.qdo-quiz-form label,
.qdo-check-items label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #263244;
  line-height: 1.55;
  cursor: pointer;
}

.qdo-quiz-form input,
.qdo-check-items input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--qdo-cyan);
  flex: 0 0 auto;
}

.qdo-result-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  min-height: 100%;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, .96), rgba(11, 18, 32, .96)),
    #101827;
  color: #fff;
  overflow: hidden;
}

.qdo-result-panel::after {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(20, 184, 166, .28), transparent 66%);
  pointer-events: none;
}

.qdo-result-panel h3 {
  color: #fff;
}

.qdo-result-panel p {
  color: #cbd5e1;
}

.qdo-result-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: #bff8ff;
  background: rgba(20, 184, 166, .14);
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.qdo-result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.qdo-result-links a,
.qdo-loop-detail a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #101827;
  background: #fff;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.qdo-result-links a:hover,
.qdo-loop-detail a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 184, 166, .22);
}

.qdo-loop-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, .82fr);
  gap: 22px;
}

.qdo-loop-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qdo-loop-map button {
  min-height: 142px;
  padding: 18px;
  color: var(--qdo-ink);
  text-align: left;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.qdo-loop-map button:hover,
.qdo-loop-map button.is-active {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, .5);
  background: #fff;
  color: #101827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .1);
}

.qdo-loop-map span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #0f766e;
  background: #e7fffb;
  border-radius: 10px;
  font-weight: 900;
}

.qdo-loop-map strong,
.qdo-loop-map small {
  display: block;
}

.qdo-loop-map strong {
  margin-bottom: 6px;
  font-size: 22px;
}

.qdo-loop-map small {
  color: var(--qdo-muted);
  font-size: 14px;
}

.qdo-loop-detail {
  padding: 26px;
}

.qdo-loop-detail span {
  display: block;
  margin-bottom: 14px;
  color: #0f766e;
  font-weight: 900;
}

.qdo-loop-detail a {
  margin-top: 8px;
  color: #fff;
  background: #101827;
}

.qdo-checklist-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 22px;
}

.qdo-check-score {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 170px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, #101827, #164e63);
}

.qdo-check-score strong {
  font-size: 46px;
  line-height: 1;
}

.qdo-check-score span {
  margin-top: 8px;
  color: #cbd5e1;
  font-weight: 800;
}

.qdo-check-items {
  display: grid;
  gap: 12px;
}

.qdo-check-items label {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 12px;
}

.qdo-check-items label:has(input:checked) {
  color: #0f766e;
  border-color: rgba(20, 184, 166, .46);
  background: #f0fdfa;
}

.qdo-validation-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.qdo-validation-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(203, 216, 228, .88);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.96));
  box-shadow: 0 28px 70px rgba(20, 35, 56, .1), 0 10px 24px rgba(20, 35, 56, .055);
  overflow-wrap: anywhere;
}

.qdo-validation-panel h3 {
  margin: 0 0 16px;
}

.qdo-validation-tasks {
  display: grid;
  gap: 12px;
}

.qdo-validation-tasks button {
  min-width: 0;
  width: 100%;
  padding: 16px;
  color: var(--qdo-ink);
  text-align: left;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.qdo-validation-tasks button:hover,
.qdo-validation-tasks button.is-active {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, .45);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .09);
}

.qdo-validation-tasks strong,
.qdo-validation-tasks span {
  display: block;
}

.qdo-validation-tasks strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.qdo-validation-tasks span {
  color: var(--qdo-muted);
  font-size: 14px;
  line-height: 1.6;
}

.qdo-validation-flow {
  position: sticky;
  top: 90px;
}

.qdo-validation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}

.qdo-validation-links a,
.qdo-validation-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  background: #101827;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.qdo-validation-links a + a {
  color: #101827;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .36);
}

.qdo-validation-links a:hover,
.qdo-validation-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.qdo-validation-form {
  display: grid;
  gap: 14px;
}

.qdo-validation-form fieldset {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .74);
}

.qdo-validation-form legend {
  padding: 0 4px;
  font-weight: 900;
}

.qdo-validation-form label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #263244;
  line-height: 1.55;
}

.qdo-validation-form input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--qdo-cyan);
  flex: 0 0 auto;
}

.qdo-validation-note {
  display: grid !important;
  gap: 8px !important;
}

.qdo-validation-note span {
  font-weight: 900;
}

.qdo-validation-note textarea {
  min-width: 0;
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  color: var(--qdo-ink);
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 12px;
  resize: vertical;
}

.qdo-validation-form button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
  box-shadow: none;
}

.qdo-validation-status {
  min-height: 24px;
  margin: 0;
  color: #0f766e;
  font-weight: 800;
}

/* Topic hub polish: remove decorative rainbow strips and make cards feel lighter and lifted. */
.topic-hub .hub-card,
.topic-hub .hub-map > article,
.topic-hub .hub-link-card,
.topic-hub .hub-faq > article,
.topic-hub .hub-faq > div,
.topic-hub .hub-faq details {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(203, 216, 228, .9) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .96)) !important;
  box-shadow:
    0 26px 56px rgba(15, 23, 42, .075),
    0 8px 18px rgba(15, 23, 42, .045),
    inset 0 1px 0 rgba(255, 255, 255, .92) !important;
  transform: translateZ(0) !important;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease !important;
}

.topic-hub .hub-card::before,
.topic-hub .hub-card::after,
.topic-hub .hub-map > article::before,
.topic-hub .hub-map > article::after,
.topic-hub .hub-link-card::before,
.topic-hub .hub-link-card::after,
.topic-hub .hub-faq > article::before,
.topic-hub .hub-faq > article::after,
.topic-hub .hub-faq > div::before,
.topic-hub .hub-faq > div::after,
.topic-hub .hub-faq details::before,
.topic-hub .hub-faq details::after {
  display: none !important;
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.topic-hub .hub-card:hover,
.topic-hub .hub-map > article:hover,
.topic-hub .hub-link-card:hover,
.topic-hub .hub-faq > article:hover,
.topic-hub .hub-faq > div:hover,
.topic-hub .hub-faq details:hover {
  transform: translateY(-7px) translateZ(0) !important;
  border-color: rgba(138, 190, 214, .72) !important;
  background:
    linear-gradient(180deg, #ffffff, #f7fcff) !important;
  box-shadow:
    0 34px 76px rgba(15, 23, 42, .12),
    0 12px 26px rgba(39, 96, 132, .08),
    inset 0 1px 0 rgba(255, 255, 255, .96) !important;
}

.topic-hub .hub-card b,
.topic-hub .hub-card h3,
.topic-hub .hub-map > article h3,
.topic-hub .hub-link-card h3,
.topic-hub .hub-faq summary {
  color: #102033 !important;
}

.topic-hub .hub-card p,
.topic-hub .hub-map > article p,
.topic-hub .hub-link-card p,
.topic-hub .hub-faq p {
  color: #627386 !important;
}

.topic-hub .hub-card a,
.topic-hub .hub-link-card a {
  color: #0f8a8d !important;
  text-decoration-color: rgba(15, 138, 141, .28) !important;
  text-underline-offset: 4px !important;
}

.topic-hub .hub-card a:hover,
.topic-hub .hub-link-card a:hover {
  color: #086d79 !important;
}

.topic-hub .hub-index {
  color: #0f8a8d !important;
  background: #eafafa !important;
  border: 1px solid rgba(136, 208, 212, .48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85) !important;
}

/* Topic hub rhythm: give dense article cards more air and make section titles feel lightly dimensional. */
.topic-hub .hub-section:not(.hub-hero) {
  padding-top: clamp(72px, 7vw, 104px) !important;
  padding-bottom: clamp(76px, 7vw, 110px) !important;
}

.topic-hub .hub-title {
  margin-bottom: clamp(30px, 3.2vw, 46px) !important;
}

.topic-hub .hub-title h2 {
  color: #07162c !important;
  font-weight: 900 !important;
  text-shadow:
    0 1px 0 #d8e7f4,
    0 2px 0 #c9dcea,
    0 3px 0 #b9cfdf,
    0 14px 28px rgba(15, 35, 64, .14),
    0 26px 56px rgba(15, 35, 64, .09) !important;
}

.topic-hub .hub-title p {
  max-width: 920px !important;
  line-height: 1.82 !important;
}

.topic-hub .hub-grid,
.topic-hub .hub-map,
.topic-hub .hub-list {
  gap: clamp(26px, 3vw, 40px) !important;
}

.topic-hub .hub-card,
.topic-hub .hub-link-card {
  padding: clamp(28px, 2.8vw, 40px) !important;
  min-height: 188px !important;
}

.topic-hub .hub-map > article {
  padding: clamp(32px, 3.4vw, 48px) !important;
  min-height: 230px !important;
}

.topic-hub .hub-map > article h3,
.topic-hub .hub-card b,
.topic-hub .hub-link-card h3 {
  margin-bottom: 18px !important;
  line-height: 1.28 !important;
}

.topic-hub .hub-map > article p,
.topic-hub .hub-card p,
.topic-hub .hub-link-card p {
  line-height: 1.82 !important;
}

.topic-hub .hub-product-intro .hub-map + .hub-title {
  margin-top: clamp(72px, 7vw, 104px) !important;
}

body .digo-wrap,
body .topic-hub {
  overflow-x: clip;
}

@media (max-width: 860px) {
  body .digo-wrap {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .digo-section {
    padding: clamp(52px, 9vw, 72px) 20px !important;
  }

  body .digo-hero {
    min-height: auto !important;
    padding-top: 56px !important;
    padding-bottom: 46px !important;
  }

  body .digo-hero-grid,
  body .digo-section-inner,
  body .digo-container {
    width: 100% !important;
    max-width: 680px !important;
    gap: 30px !important;
  }

  body .digo-hero h1,
  body .digo-section-title h2,
  body .topic-hub .hub-title h2,
  body .topic-hub .hub-hero h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body .digo-hero p,
  body .digo-section-title p,
  body .topic-hub .hub-title p,
  body .topic-hub .hub-hero p {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  body .digo-section-title {
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }

  body .digo-grid,
  body .digo-card-grid,
  body .digo-topic-grid,
  body .digo-latest-grid,
  body .digo-latest-list,
  body .topic-hub .hub-grid,
  body .topic-hub .hub-map,
  body .topic-hub .hub-list {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body .digo-card,
  body .digo-latest-card,
  body .digo-latest-item,
  body .topic-hub .hub-card,
  body .topic-hub .hub-link-card,
  body .topic-hub .hub-map > article {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 22px !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 42px rgba(20, 35, 56, .075), 0 8px 18px rgba(20, 35, 56, .045) !important;
  }

  body .topic-hub .hub-section:not(.hub-hero) {
    padding-top: 62px !important;
    padding-bottom: 68px !important;
  }

  body .topic-hub .hub-product-intro .hub-map + .hub-title {
    margin-top: 54px !important;
  }

  body .topic-hub .hub-card:hover,
  body .topic-hub .hub-map > article:hover,
  body .topic-hub .hub-link-card:hover {
    transform: none !important;
  }

  .qdo-interactive {
    width: min(100% - 24px, 1120px);
    margin: 30px auto;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .065);
  }

  .qdo-interactive-head {
    margin-bottom: 18px;
  }

  .qdo-interactive h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.16;
  }

  .qdo-interactive h3 {
    font-size: clamp(20px, 6vw, 24px);
  }

  .qdo-interactive p {
    line-height: 1.68;
  }

  .qdo-quiz-layout,
  .qdo-assistant-shell,
  .qdo-loop-grid,
  .qdo-validation-grid,
  .qdo-checklist-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qdo-result-panel,
  .qdo-validation-flow {
    position: relative;
    top: auto;
  }

  .qdo-assistant-copy {
    max-width: none;
  }

  .qdo-chat-card {
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, .11);
  }

  .qdo-chat-thread {
    min-height: 84px;
    padding: 14px 0 10px;
  }

  .qdo-bubble {
    max-width: 100%;
  }

  .qdo-chat-options {
    grid-template-columns: 1fr;
  }

  .qdo-result-links,
  .qdo-chat-actions,
  .qdo-validation-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .qdo-result-links a,
  .qdo-chat-actions a,
  .qdo-chat-actions button,
  .qdo-loop-detail a,
  .qdo-validation-links a,
  .qdo-validation-form button {
    width: 100%;
  }

  .qdo-loop-map button {
    min-height: 120px;
  }

  .qdo-validation-panel {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(20, 35, 56, .075);
  }
}

@media (max-width: 560px) {
  body .digo-section {
    padding: 44px 18px !important;
  }

  body .digo-hero {
    padding-top: 46px !important;
    padding-bottom: 38px !important;
  }

  body .digo-hero-grid,
  body .digo-section-inner,
  body .digo-container {
    gap: 24px !important;
  }

  body .digo-hero h1,
  body .digo-section-title h2,
  body .topic-hub .hub-title h2,
  body .topic-hub .hub-hero h1 {
    font-size: clamp(30px, 10vw, 38px) !important;
    line-height: 1.12 !important;
  }

  body .digo-hero p,
  body .digo-section-title p,
  body .topic-hub .hub-title p,
  body .topic-hub .hub-hero p {
    font-size: 15px !important;
    line-height: 1.68 !important;
  }

  body .digo-card,
  body .digo-latest-card,
  body .digo-latest-item,
  body .topic-hub .hub-card,
  body .topic-hub .hub-link-card,
  body .topic-hub .hub-map > article {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  body .digo-card a,
  body .digo-latest-card a,
  body .digo-latest-item a,
  body .topic-hub .hub-card a,
  body .topic-hub .hub-link-card a,
  body .topic-hub .hub-map > article a {
    display: inline-flex !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body .topic-hub .hub-section:not(.hub-hero) {
    padding-top: 50px !important;
    padding-bottom: 54px !important;
  }

  .qdo-interactive {
    width: min(100% - 20px, 1120px);
    margin: 24px auto;
    padding: 16px;
    border-radius: 14px;
  }

  .qdo-label {
    gap: 8px;
    font-size: 12px;
  }

  .qdo-label::before {
    width: 18px;
  }

  .qdo-loop-map {
    grid-template-columns: 1fr;
  }

  .qdo-loop-map button {
    min-height: 104px;
    padding: 16px;
  }

  .qdo-loop-map span {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
  }

  .qdo-loop-map strong {
    font-size: 20px;
  }

  .qdo-quiz-form fieldset,
  .qdo-result-panel,
  .qdo-loop-detail,
  .qdo-checklist-body,
  .qdo-validation-form fieldset {
    padding: 16px;
  }

  .qdo-check-score {
    min-height: 132px;
  }

  .qdo-check-score strong {
    font-size: 38px;
  }

  .qdo-validation-tasks button {
    padding: 14px;
  }

  .topic-hub .hub-section:not(.hub-hero) {
    padding-top: 56px !important;
    padding-bottom: 60px !important;
  }

  .topic-hub .hub-card,
  .topic-hub .hub-link-card,
  .topic-hub .hub-map > article {
    min-height: 0 !important;
    padding: 24px !important;
  }

  .topic-hub .hub-title h2 {
    text-shadow:
      0 1px 0 #d8e7f4,
      0 8px 18px rgba(15, 35, 64, .12) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qdo-interactive *,
  .qdo-reading-progress span {
    transition: none !important;
  }
}

@keyframes qdoAssistantDrift {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate3d(5%, 4%, 0) rotate(8deg) scale(1.08);
  }
}

@keyframes qdoResultIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
