.tnt-progression{margin:22px 0}.tnt-progression-card{border:1px solid #dcdcde;border-radius:8px;padding:18px 20px;background:#fff;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.tnt-progression-card strong{font-size:18px}.tnt-progression-card span{flex-basis:100%}.tnt-progression-pass{border-left:4px solid #008a20}.tnt-progression-fail{border-left:4px solid #b32d2e}.tnt-progression-button{display:inline-block;margin-top:4px;padding:10px 16px;border-radius:5px;text-decoration:none;font-weight:700;background:#2f5bf3;color:#fff!important}.tnt-progression-button:hover,.tnt-progression-button:focus{opacity:.9}.tnt-progression-note{font-size:14px;color:#646970}

/* v0.4.4 — global learner shell polish. */
header .site-title a,
.site-header .site-title a,
.site-title a { text-decoration:none; }

footer#site-footer,
.site-footer {
  margin-top:48px;
  border-top:1px solid #e5e7eb;
}
footer#site-footer .footer-inner,
.site-footer .footer-inner {
  max-width:990px;
  margin:0 auto;
  padding-top:20px;
  padding-bottom:20px;
  justify-content:flex-start;
}
.tnt-legal-footer {
  margin:0!important;
  font-size:13px!important;
  line-height:1.5;
  color:#667085;
  text-align:left!important;
}

/* v0.4.6 — learner convenience controls. */
.tnt-bookmark-home {
  display:inline-block;
  margin-left:12px;
  padding:10px 14px;
  border:1px solid #d0d5dd;
  border-radius:5px;
  background:#fff;
  color:#344054;
  font:inherit;
  font-weight:600;
  cursor:pointer;
  vertical-align:middle;
}
.tnt-bookmark-home:hover,
.tnt-bookmark-home:focus {
  border-color:#98a2b3;
  background:#f9fafb;
}
.tnt-bookmark-toast {
  position:fixed;
  left:50%;
  bottom:24px;
  z-index:99999;
  transform:translateX(-50%);
  max-width:min(560px, calc(100vw - 32px));
  padding:12px 16px;
  border:1px solid #d0d5dd;
  border-radius:6px;
  background:#fff;
  color:#101828;
  box-shadow:0 8px 24px rgba(16,24,40,.14);
  font-size:14px;
  line-height:1.45;
  opacity:1;
  transition:opacity .3s ease;
}
.tnt-bookmark-toast-hide { opacity:0; }

@media (max-width: 640px) {
  .tnt-bookmark-home {
    display:block;
    margin:10px 0 0;
  }
}

/* v0.4.8 — module-level learner progression. */
.tnt-module-locked {
  position:relative;
  opacity:.62;
}
.tnt-module-locked a,
.tnt-module-locked button {
  cursor:not-allowed!important;
}
.tnt-module-lock-label {
  display:inline-flex;
  align-items:center;
  margin-left:12px;
  padding:5px 9px;
  border:1px solid #d0d5dd;
  border-radius:999px;
  background:#f8fafc;
  color:#475467;
  font-size:12px;
  font-weight:700;
  line-height:1.25;
}
.tnt-module-lock-page {
  max-width:820px;
  margin:56px auto;
  padding:0 24px;
}
.tnt-module-lock-card {
  padding:28px 30px;
  border:1px solid #d0d5dd;
  border-left:4px solid #344054;
  border-radius:8px;
  background:#fff;
}
.tnt-module-lock-kicker {
  margin:0 0 8px;
  color:#667085;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.tnt-module-lock-card h1 { margin-top:0; }
.tnt-module-lock-button {
  display:inline-block;
  margin-top:8px;
  padding:10px 16px;
  border-radius:5px;
  background:#2f5bf3;
  color:#fff!important;
  font-weight:700;
  text-decoration:none;
}


/* v0.4.11 — Digital Workbook module-card render repair. */
.tnt-workbook-course-page {
  --tnt-navy:#112b4a;
  --tnt-blue:#245fbd;
  --tnt-pink:#c82b62;
  --tnt-green:#17824b;
  --tnt-soft:#f7f9fc;
  --tnt-border:#dbe3ee;
  --tnt-muted:#667085;
}

.tnt-workbook-course-page .tnt-workbook-guide {
  margin:20px 0 30px;
  padding:22px 24px;
  border:1px solid var(--tnt-border);
  border-left:5px solid var(--tnt-pink);
  border-radius:12px;
  background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 6px 18px rgba(17,43,74,.06);
}
.tnt-workbook-course-page .tnt-workbook-guide-title {
  margin:0 0 8px!important;
  color:var(--tnt-navy);
  font-size:26px!important;
  line-height:1.2!important;
}
.tnt-workbook-course-page .tnt-workbook-guide-copy {
  margin:0!important;
  max-width:920px;
  color:#344054;
  line-height:1.65;
}
.tnt-workbook-course-page .tnt-workbook-modules-heading {
  margin:30px 0 14px!important;
  color:var(--tnt-navy);
}

.tnt-workbook-course-page .ld-progress {
  padding:12px 16px!important;
  border:1px solid var(--tnt-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 3px 12px rgba(17,43,74,.04);
}
.tnt-workbook-course-page .ld-progress-bar {
  height:8px!important;
  border-radius:999px!important;
  background:#edf2f7!important;
  overflow:hidden!important;
}
.tnt-workbook-course-page .ld-progress-bar-percentage {
  border-radius:999px!important;
  background:linear-gradient(90deg,var(--tnt-blue),#3f78cf)!important;
}
.tnt-workbook-course-page .ld-progress-percentage {
  color:var(--tnt-navy)!important;
  font-weight:700!important;
  text-transform:none!important;
}
.tnt-workbook-course-page .ld-status {
  border-radius:999px!important;
  text-transform:none!important;
  letter-spacing:0!important;
}

.tnt-workbook-course-page .ld-item-list-items {
  display:grid!important;
  gap:14px!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card {
  margin:0!important;
  border:1px solid var(--tnt-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(17,43,74,.055)!important;
  overflow:hidden!important;
  opacity:1!important;
  transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease;
}
.tnt-workbook-course-page .tnt-workbook-module-card:hover {
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(17,43,74,.09)!important;
}

/* Keep LearnDash's native content hierarchy intact; only restyle the preview. */
.tnt-workbook-course-page .tnt-workbook-module-card > .ld-item-list-item-preview,
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-list-item-preview {
  position:relative!important;
  min-height:82px!important;
  padding:16px 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-status-icon {
  display:none!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .tnt-module-index {
  flex:0 0 42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  background:#eef4ff!important;
  color:var(--tnt-blue)!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-name {
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  display:block!important;
  color:var(--tnt-navy)!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-decoration:none!important;
  white-space:normal!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-name .ld-item-title,
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-title {
  display:block!important;
  width:auto!important;
  max-width:none!important;
  white-space:normal!important;
  line-height:1.35!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-components,
.tnt-workbook-course-page .tnt-workbook-module-card .tnt-module-section-count {
  display:block!important;
  margin:5px 0 0!important;
  padding:0!important;
  color:var(--tnt-muted)!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .tnt-module-status-wrap {
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:150px!important;
}
.tnt-workbook-course-page .tnt-module-status-badge {
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
}
.tnt-workbook-course-page .tnt-module-status-badge[data-status="available"] {
  background:#edf4ff!important;
  color:#245fbd!important;
}
.tnt-workbook-course-page .tnt-module-status-badge[data-status="complete"] {
  background:#eaf7ef!important;
  color:#147a46!important;
}
.tnt-workbook-course-page .tnt-module-status-badge[data-status="locked"] {
  background:#f2f4f7!important;
  color:#667085!important;
}
.tnt-workbook-course-page .tnt-module-prereq {
  color:#667085!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.25!important;
  text-align:right!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-details {
  flex:0 0 auto!important;
  margin-left:0!important;
}
.tnt-workbook-course-page .tnt-workbook-module-card .ld-expand-button {
  color:var(--tnt-blue)!important;
  font-size:13px!important;
  font-weight:800!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.tnt-workbook-course-page .tnt-module-available {
  border-left:4px solid var(--tnt-blue)!important;
}
.tnt-workbook-course-page .tnt-module-complete {
  border-left:4px solid var(--tnt-green)!important;
}
.tnt-workbook-course-page .tnt-module-complete .tnt-module-index {
  background:#eaf7ef!important;
  color:var(--tnt-green)!important;
}
.tnt-workbook-course-page .tnt-module-locked {
  opacity:1!important;
  border-left:4px solid #cbd5e1!important;
  background:#fafbfc!important;
}
.tnt-workbook-course-page .tnt-module-locked:hover {
  transform:none!important;
  box-shadow:0 4px 14px rgba(17,43,74,.04)!important;
}
.tnt-workbook-course-page .tnt-module-locked .tnt-module-index {
  background:#f2f4f7!important;
  color:#98a2b3!important;
}
.tnt-workbook-course-page .tnt-module-locked .ld-item-name {
  color:#667085!important;
}
.tnt-workbook-course-page .tnt-module-locked a,
.tnt-workbook-course-page .tnt-module-locked button,
.tnt-workbook-course-page .tnt-module-locked .ld-expand-button {
  cursor:not-allowed!important;
}
.tnt-workbook-course-page .tnt-module-locked .ld-expand-button {
  color:#98a2b3!important;
}
.tnt-workbook-course-page .ld-item-list-item-expanded {
  border-top:1px solid #edf1f6!important;
  background:#fbfcfe!important;
}

/* The LearnDash expand-all pill keeps its native action, but matches our label. */
.tnt-workbook-course-page .ld-expand-button.tnt-open-all-modules,
.tnt-workbook-course-page .tnt-open-all-modules {
  color:#fff!important;
}
.tnt-workbook-course-page .tnt-open-all-modules .ld-text,
.tnt-workbook-course-page .tnt-open-all-modules span {
  color:#fff!important;
}

@media (max-width:760px) {
  .tnt-workbook-course-page .tnt-workbook-module-card > .ld-item-list-item-preview,
  .tnt-workbook-course-page .tnt-workbook-module-card .ld-item-list-item-preview {
    flex-wrap:wrap!important;
    align-items:flex-start!important;
  }
  .tnt-workbook-course-page .tnt-workbook-module-card .ld-item-name {
    flex:1 1 calc(100% - 60px)!important;
  }
  .tnt-workbook-course-page .tnt-workbook-module-card .tnt-module-status-wrap {
    flex:1 1 100%!important;
    min-width:0!important;
    padding-left:56px!important;
    align-items:flex-start!important;
  }
  .tnt-workbook-course-page .tnt-module-prereq { text-align:left!important; }
  .tnt-workbook-course-page .tnt-workbook-module-card .ld-item-details {
    margin-left:56px!important;
  }
}



/* v0.4.11: keep LearnDash's nested name wrapper flexible beside our module index. */
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-list-item-preview > a.ld-item-name,
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-list-item-preview > .ld-item-name,
.tnt-workbook-course-page .tnt-workbook-module-card .ld-item-list-item-preview > .ld-item-list-item-preview-heading {
  flex:1 1 auto!important;
  min-width:0!important;
}


/* v0.4.13 — Module lesson page: merge each native Topic + Quiz pair into one
   clear learner-facing Digital Workbook activity card. Native LearnDash rows
   remain in the DOM and are only hidden visually. */
.tnt-workbook-module-page {
  --tnt-navy:#112b4a;
  --tnt-blue:#245fbd;
  --tnt-green:#17824b;
  --tnt-soft:#f7f9fc;
  --tnt-border:#dbe3ee;
  --tnt-muted:#667085;
}
.tnt-workbook-module-page .ld-table-list {
  border:1px solid var(--tnt-border)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(17,43,74,.055)!important;
}
.tnt-workbook-module-page .ld-table-list-header {
  padding:16px 20px!important;
  background:var(--tnt-navy)!important;
  border:0!important;
}
.tnt-workbook-module-page .ld-table-list-header,
.tnt-workbook-module-page .ld-table-list-header * {
  color:#fff!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.tnt-workbook-module-page .ld-table-list-header .ld-table-list-title,
.tnt-workbook-module-page .ld-table-list-header .ld-text {
  font-size:17px!important;
  font-weight:800!important;
}
.tnt-workbook-module-page .ld-table-list-items {
  display:grid!important;
  gap:10px!important;
  padding:12px!important;
  background:#f8fafc!important;
}
.tnt-workbook-module-page .tnt-ld-original-section-row {
  display:none!important;
}
.tnt-workbook-module-page .tnt-section-activity-card {
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:74px!important;
  padding:13px 15px!important;
  border:1px solid var(--tnt-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 2px 7px rgba(17,43,74,.035)!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.tnt-workbook-module-page .tnt-section-activity-card:hover {
  border-color:#bfd0e8!important;
  box-shadow:0 5px 13px rgba(17,43,74,.07)!important;
  transform:translateY(-1px);
}
.tnt-workbook-module-page .tnt-section-activity-card.is-complete {
  border-left:4px solid var(--tnt-green)!important;
}
.tnt-workbook-module-page .tnt-section-activity-index {
  flex:0 0 48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:48px!important;
  height:38px!important;
  padding:0 8px!important;
  border-radius:9px!important;
  background:#eef4ff!important;
  color:var(--tnt-blue)!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
}
.tnt-workbook-module-page .is-complete .tnt-section-activity-index {
  background:#eaf7ef!important;
  color:var(--tnt-green)!important;
}
.tnt-workbook-module-page .tnt-section-activity-body {
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
}
.tnt-workbook-module-page .tnt-section-activity-title {
  color:var(--tnt-navy)!important;
  font-size:15px!important;
  font-weight:750!important;
  line-height:1.35!important;
  text-decoration:none!important;
}
.tnt-workbook-module-page a.tnt-section-activity-title:hover,
.tnt-workbook-module-page a.tnt-section-activity-title:focus {
  color:var(--tnt-blue)!important;
  text-decoration:underline!important;
}
.tnt-workbook-module-page .tnt-section-activity-meta {
  color:var(--tnt-muted)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.3!important;
}
.tnt-workbook-module-page .tnt-section-activity-actions {
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.tnt-workbook-module-page .tnt-section-complete-badge {
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#eaf7ef!important;
  color:var(--tnt-green)!important;
  font-size:12px!important;
  font-weight:800!important;
}
.tnt-workbook-module-page .tnt-section-activity-open {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:112px!important;
  padding:9px 13px!important;
  border-radius:7px!important;
  background:var(--tnt-blue)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.tnt-workbook-module-page .tnt-section-activity-open:hover,
.tnt-workbook-module-page .tnt-section-activity-open:focus {
  background:#1c4f9f!important;
  color:#fff!important;
}
.tnt-workbook-module-page .ld-progress {
  border:1px solid var(--tnt-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 3px 12px rgba(17,43,74,.04)!important;
}
.tnt-workbook-module-page .ld-progress-bar-percentage {
  background:linear-gradient(90deg,var(--tnt-blue),#3f78cf)!important;
}
.tnt-workbook-module-page .ld-status {
  text-transform:none!important;
  letter-spacing:0!important;
  border-radius:999px!important;
}
@media (max-width:720px) {
  .tnt-workbook-module-page .tnt-section-activity-card {
    flex-wrap:wrap!important;
    align-items:flex-start!important;
  }
  .tnt-workbook-module-page .tnt-section-activity-body {
    flex:1 1 calc(100% - 64px)!important;
  }
  .tnt-workbook-module-page .tnt-section-activity-actions {
    flex:1 1 100%!important;
    padding-left:62px!important;
    justify-content:flex-start!important;
  }
}
