.mtd-hc-focus-page #ld-focus-sidebar,
.mtd-hc-focus-page #ld-focus-sidebar-toggle,
.mtd-hc-focus-page .ld-focus-sidebar-trigger,
.mtd-hc-focus-page .ld-lesson-navigation-toggle,
.mtd-hc-focus-page .ld-virtual-instructor-chatbox,
.mtd-hc-focus-page .ld-virtual-instructor-chatbox-toggle {
  display: none !important;
}

body.mtd-hc-focus-page .ld-focus-main,
body.mtd-hc-focus-page #ld-focus-content,
.mtd-hc-focus-page .learndash-wrapper--lesson.ld-layout--no-sidebar,
.mtd-hc-focus-page main.ld-layout__content,
.mtd-hc-focus-page .ld-tab-bar,
.mtd-hc-focus-page #ld-tab-panel-content,
.mtd-hc-focus-page #ld-tab-panel-content > *,
.mtd-hc-focus-page #hc-app-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.mtd-hc-focus-page .ld-focus-main {
  margin-left: 0 !important;
}

body.mtd-hc-focus-page #ld-focus-content {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.mtd-hc-focus-page #ld-tab-panel-content {
  padding: 0 !important;
}

.mtd-hc-app {
  --hc-bg: #edf4fb;
  --hc-panel: #ffffff;
  --hc-panel-alt: #f5faff;
  --hc-border: #d5e2ee;
  --hc-border-strong: #aec4dc;
  --hc-ink: #10253a;
  --hc-muted: #536b81;
  --hc-blue: #145fc2;
  --hc-blue-strong: #0d4c99;
  --hc-blue-soft: #e8f2ff;
  --hc-navy: #0f2238;
  --hc-gold: #e3a62d;
  --hc-shadow: 0 24px 60px rgba(13, 46, 88, 0.14);
  color: var(--hc-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  width: min(100%, 1760px);
  margin: 0 auto;
}

.mtd-hc-app * {
  box-sizing: border-box;
}

.mtd-hc-shell {
  display: grid;
  grid-template-columns: clamp(320px, 24vw, 390px) minmax(0, 1fr);
  height: clamp(720px, calc(100vh - 140px), 1080px);
  border: 1px solid var(--hc-border);
  border-radius: 26px;
  overflow: hidden;
  background: var(--hc-panel);
  box-shadow: var(--hc-shadow);
  isolation: isolate;
}

.mtd-hc-sidebar {
  background:
    radial-gradient(circle at top left, rgba(20, 95, 194, 0.16), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  border-right: 1px solid rgba(20, 95, 194, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.mtd-hc-sidebar-head {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--hc-border);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(237, 244, 251, 0.98) 100%);
  box-shadow: 0 14px 30px rgba(15, 56, 104, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mtd-hc-sidebar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mtd-hc-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(15, 95, 200, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hc-blue-strong);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mtd-hc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 95, 200, 0.1);
  color: var(--hc-blue-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mtd-hc-sidebar-title {
  margin: 14px 0 8px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  color: #10253b;
}

.mtd-hc-sidebar-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-muted);
}

.mtd-hc-search-wrap {
  position: relative;
  margin-top: 16px;
}

.mtd-hc-search {
  width: 100%;
  border: 1px solid var(--hc-border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--hc-ink);
  outline: none;
}

.mtd-hc-search:focus {
  border-color: var(--hc-blue);
  box-shadow: 0 0 0 3px rgba(15, 95, 200, 0.12);
}

.mtd-hc-nav {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 10px 18px;
  scrollbar-gutter: stable;
}

.mtd-hc-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mtd-hc-nav-item {
  width: 100%;
  border: 1px solid rgba(20, 95, 194, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  color: #17324b;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.mtd-hc-nav-item:hover {
  background: rgba(15, 95, 200, 0.06);
  border-color: rgba(15, 95, 200, 0.12);
  transform: translateX(2px);
  box-shadow: 0 12px 26px rgba(18, 55, 101, 0.08);
}

.mtd-hc-nav-item.is-active {
  background: linear-gradient(135deg, rgba(15, 95, 200, 0.13), rgba(255, 255, 255, 0.86));
  border-color: rgba(15, 95, 200, 0.18);
  box-shadow: inset 3px 0 0 var(--hc-blue);
}

.mtd-hc-nav-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.mtd-hc-nav-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--hc-muted);
}

.mtd-hc-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(20, 95, 194, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(236, 245, 255, 0.82) 0%, rgba(255, 255, 255, 0) 22%),
    var(--hc-bg);
}

.mtd-hc-main-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 36px 42px 48px;
  scrollbar-gutter: stable;
}

.mtd-hc-shell.is-sidebar-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.mtd-hc-shell.is-sidebar-collapsed .mtd-hc-sidebar {
  display: none;
}

.mtd-hc-shell.is-sidebar-collapsed .mtd-hc-mobile-toggle {
  display: inline-flex;
  margin-bottom: 16px;
}

.mtd-hc-mobile-toggle {
  display: none;
}

.mtd-hc-hero {
  display: block;
  padding: 30px;
  border: 1px solid var(--hc-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at right top, rgba(20, 95, 194, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  box-shadow: 0 20px 44px rgba(13, 46, 88, 0.08);
}

.mtd-hc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.mtd-hc-hero-copy {
  display: grid;
  gap: 18px;
}

.mtd-hc-hero-side {
  display: grid;
  gap: 16px;
}

.mtd-hc-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mtd-hc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 95, 200, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--hc-blue-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtd-hc-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 800;
  color: #10253b;
}

.mtd-hc-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--hc-muted);
  max-width: 900px;
}

.mtd-hc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mtd-hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--hc-border-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--hc-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mtd-hc-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 95, 200, 0.4);
  box-shadow: 0 10px 24px rgba(15, 56, 104, 0.1);
}

.mtd-hc-btn-primary {
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-blue-strong));
  border-color: transparent;
  color: #fff;
}

.mtd-hc-btn-primary:hover {
  border-color: transparent;
}

.mtd-hc-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hc-muted);
}

.mtd-hc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mtd-hc-stat {
  padding: 16px 16px 14px;
  border: 1px solid rgba(20, 95, 194, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.mtd-hc-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-muted);
}

.mtd-hc-stat-value {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  color: var(--hc-navy);
}

.mtd-hc-focus-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(20, 95, 194, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 248, 255, 0.96) 100%);
}

.mtd-hc-focus-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 95, 194, 0.1);
  color: var(--hc-blue-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtd-hc-focus-title {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--hc-navy);
}

.mtd-hc-focus-copy {
  margin: 0;
  color: var(--hc-muted);
  line-height: 1.65;
}

.mtd-hc-focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mtd-hc-focus-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 95, 194, 0.1);
}

.mtd-hc-focus-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mtd-hc-focus-item-title {
  font-weight: 700;
  color: var(--hc-ink);
}

.mtd-hc-focus-item-meta {
  font-size: 12px;
  color: var(--hc-muted);
  text-align: right;
}

.mtd-hc-section-intro {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--hc-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 34px rgba(13, 46, 88, 0.05);
}

.mtd-hc-groups {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.mtd-hc-group {
  border: 1px solid var(--hc-border);
  border-radius: 22px;
  background: var(--hc-panel);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(13, 46, 88, 0.06);
}

.mtd-hc-group-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--hc-border);
  background: linear-gradient(180deg, var(--hc-panel-alt), #fff);
}

.mtd-hc-group-copy {
  margin-top: 12px;
}

.mtd-hc-group-media {
  padding: 18px 18px 0;
}

.mtd-hc-group-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #14314c;
}

.mtd-hc-group-cards {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.mtd-hc-card {
  border: 1px solid var(--hc-border);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f9fcff);
  box-shadow: 0 14px 28px rgba(13, 46, 88, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mtd-hc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 95, 194, 0.16);
  box-shadow: 0 22px 42px rgba(13, 46, 88, 0.08);
}

.mtd-hc-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mtd-hc-rule-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 95, 200, 0.1);
  color: var(--hc-blue-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtd-hc-rule-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  color: #17324b;
}

.mtd-hc-copy,
.mtd-hc-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #23384e;
}

.mtd-hc-copy > * + * {
  margin-top: 14px;
}

.mtd-hc-copy ul,
.mtd-hc-copy ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.mtd-hc-copy li + li {
  margin-top: 8px;
}

.mtd-hc-copy a {
  color: var(--hc-blue-strong);
}

.mtd-hc-bullets {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #23384e;
}

.mtd-hc-bullets li + li {
  margin-top: 8px;
}

.mtd-hc-laws {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 95, 200, 0.3);
  background: var(--hc-blue-soft);
  color: #17324b;
  font-size: 14px;
  line-height: 1.65;
}

.mtd-hc-laws strong {
  color: #9a5a00;
}

.mtd-hc-images {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin-top: 16px;
}

.mtd-hc-figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hc-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mtd-hc-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 62vh);
  object-fit: contain;
  object-position: center top;
  background: #f8fbff;
}

.mtd-hc-figure.is-loading::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(200px, 28vw, 320px);
  background:
    linear-gradient(110deg, rgba(233, 239, 246, 0.95) 18%, rgba(248, 251, 255, 0.98) 34%, rgba(233, 239, 246, 0.95) 55%);
  background-size: 240% 100%;
  animation: mtd-hc-image-shimmer 1.4s linear infinite;
}

.mtd-hc-figure.is-loading img {
  visibility: hidden;
}

.mtd-hc-figure.is-loaded::before,
.mtd-hc-figure.is-broken::before,
.mtd-hc-figure.is-reference::before {
  display: none;
}

.mtd-hc-figure.is-loaded img {
  visibility: visible;
}

.mtd-hc-figure-fallback {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-height: clamp(200px, 28vw, 320px);
  padding: 22px 18px;
  background:
    radial-gradient(circle at top left, rgba(15, 95, 200, 0.08), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  text-align: center;
  color: var(--hc-muted);
}

.mtd-hc-figure.is-broken img,
.mtd-hc-figure.is-reference img {
  display: none;
}

.mtd-hc-figure.is-broken .mtd-hc-figure-fallback,
.mtd-hc-figure.is-reference .mtd-hc-figure-fallback {
  display: flex;
}

.mtd-hc-reference-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 95, 200, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--hc-blue-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.mtd-hc-reference-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hc-muted);
}

.mtd-hc-figure figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--hc-muted);
}

@media (max-width: 760px) {
  .mtd-hc-figure img {
    max-height: none;
  }

  .mtd-hc-figure.is-loading::before,
  .mtd-hc-figure-fallback {
    min-height: 180px;
    height: 180px;
  }
}

.mtd-hc-table-wrap {
  margin-top: 16px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--hc-border);
}

.mtd-hc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  background: #fff;
}

.mtd-hc-table th,
.mtd-hc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hc-border);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.mtd-hc-table th {
  background: #eef5fd;
  color: #123354;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtd-hc-empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed var(--hc-border-strong);
  background: #fff;
  color: var(--hc-muted);
  text-align: center;
}

.mtd-hc-error {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #f4b7b7;
  background: #fff4f4;
  color: #8b1e1e;
}

.mtd-hc-strong-law {
  color: #9a5a00;
  font-weight: 800;
}

@keyframes mtd-hc-image-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (max-width: 1023px) {
  body.mtd-hc-focus-page #ld-focus-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .mtd-hc-shell {
    grid-template-columns: 1fr;
    position: relative;
    overflow: visible;
    height: auto;
  }

  .mtd-hc-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--hc-border-strong);
    border-radius: 14px;
    background: #fff;
    color: var(--hc-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .mtd-hc-sidebar {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(320px, calc(100vw - 24px));
    max-width: 86vw;
    border-right: 1px solid var(--hc-border);
    border-radius: 20px;
    box-shadow: var(--hc-shadow);
    transform: translateX(-102%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    z-index: 5;
  }

  .mtd-hc-shell.is-nav-open .mtd-hc-sidebar {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mtd-hc-main-scroll {
    padding: 16px 14px 24px;
  }

  .mtd-hc-hero {
    padding: 20px;
  }

  .mtd-hc-hero-grid {
    grid-template-columns: 1fr;
  }

  .mtd-hc-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.mtd-hc-focus-page #ld-focus-content {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .mtd-hc-title {
    font-size: 30px;
  }

  .mtd-hc-subtitle {
    font-size: 16px;
  }

  .mtd-hc-card {
    padding: 16px;
  }

  .mtd-hc-main-scroll {
    padding: 14px 10px 20px;
  }

  .mtd-hc-hero {
    padding: 18px;
    border-radius: 22px;
  }

  .mtd-hc-group-head {
    padding: 16px 18px;
  }

  .mtd-hc-group-cards {
    padding: 14px;
  }

  .mtd-hc-stat-grid {
    grid-template-columns: 1fr;
  }

  .mtd-hc-focus-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .mtd-hc-focus-item-meta {
    text-align: left;
  }
}
