:root {
  --kh-ink: #0c1834;
  --kh-navy: #08152f;
  --kh-blue: #233f9f;
  --kh-cyan: #00cfe8;
  --kh-sky: #e8f9ff;
  --kh-paper: #ffffff;
  --kh-soft: #f3f7ff;
  --kh-line: #d8e3f3;
  --kh-muted: #58657c;
  --kh-focus: #ffbf47;
  --kh-shadow: 0 22px 64px rgba(16, 35, 87, .12);
  --kh-radius: 24px;
}

html { scroll-behavior: smooth; }
.kh-page { background: #f8fbff; color: var(--kh-ink); }
.kh-page main { overflow: clip; }
.kh-page a:focus-visible,
.kh-page button:focus-visible,
.kh-page input:focus-visible,
.kh-page select:focus-visible,
.kh-page summary:focus-visible,
.kh-page [tabindex]:focus-visible {
  outline: 3px solid var(--kh-focus);
  outline-offset: 3px;
}
.dc-skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--kh-navy);
  font-weight: 900;
  transform: translateY(-150%);
}
.dc-skip-link:focus { transform: translateY(0); }
.kh-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.kh-eyebrow,
.kh-section-head > span {
  display: inline-block;
  color: #3153b4;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Compact discovery hero: useful controls remain above the fold. */
.kh-hub-hero {
  min-height: 530px;
  display: grid;
  align-items: center;
  padding: clamp(50px, 6vw, 82px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 84% 16%, rgba(0, 207, 232, .32), transparent 25%),
    radial-gradient(circle at 7% 82%, rgba(103, 112, 230, .31), transparent 30%),
    linear-gradient(140deg, #071329 0%, #142765 62%, #2548a3 100%);
}
.kh-hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.kh-hub-hero .kh-eyebrow { color: #76efff; }
.kh-hub-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: clamp(2.55rem, 5.7vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .2);
}
.kh-hub-hero p { max-width: 720px; margin: 0; color: #dce8ff; font-size: clamp(1rem, 1.45vw, 1.17rem); }
.kh-search { max-width: 760px; margin-top: 28px; }
.kh-search label { display: block; margin-bottom: 8px; color: #fff; font-size: .84rem; font-weight: 850; }
.kh-search > div { display: grid; grid-template-columns: 1fr auto; padding: 6px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(0, 0, 0, .22); }
.kh-search input { width: 100%; min-height: 48px; padding: 0 16px; border: 0; background: transparent; color: var(--kh-ink); font: inherit; }
.kh-search input:focus { outline: 0; }
.kh-search button,
.kh-tool-form button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3858bf, #172b78);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.kh-search #kh-search-help { margin: 9px 0 0; color: #b8cbee; font-size: .8rem; }
.kh-mascot-stage { position: relative; justify-self: center; width: min(310px, 100%); min-height: 360px; display: grid; place-items: center; }
.kh-mascot-stage::before { content: ""; position: absolute; inset: 12% -10% 7%; border-radius: 50%; background: radial-gradient(circle, rgba(84, 229, 255, .35), transparent 67%); filter: blur(4px); }
.kh-mascot-stage img { position: relative; z-index: 1; width: auto; height: 345px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .35)); }
.kh-mascot-stage > span { position: absolute; z-index: 2; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(7, 19, 41, .72); font-size: .75rem; font-weight: 900; backdrop-filter: blur(12px); }
.kh-mascot-stage > span:first-child { top: 20%; left: -4%; }
.kh-mascot-stage > span:nth-of-type(2) { top: 45%; right: -4%; }
.kh-mascot-stage > strong { position: absolute; z-index: 2; right: 2%; bottom: 7%; max-width: 170px; padding: 10px 13px; border-radius: 14px; background: #fff; color: #152761; font-size: .78rem; box-shadow: var(--kh-shadow); }
.kh-hub-hero-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: rgba(3, 12, 31, .5);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .34);
}
.kh-hub-hero-visual picture,
.kh-hub-hero-visual img {
  display: block;
  width: 100%;
}
.kh-hub-hero-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.kh-hub-hero-visual figcaption {
  display: grid;
  gap: 3px;
  padding: 13px 16px 15px;
  color: #dce8ff;
  font-size: .78rem;
}
.kh-hub-hero-visual figcaption strong { color: #fff; font-size: .9rem; }

.kh-hub-section,
.kh-search-results { padding: clamp(58px, 7vw, 92px) 0; }
.kh-hub-section-alt { background: #edf4ff; }
.kh-section-head { max-width: 760px; margin-bottom: 28px; }
.kh-section-head h2 { margin: 8px 0 10px; font-size: clamp(1.85rem, 3.4vw, 3.2rem); line-height: 1.06; letter-spacing: -.04em; }
.kh-section-head p { margin: 0; color: var(--kh-muted); font-size: 1.02rem; }
.kh-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.kh-feature-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--kh-line);
  border-radius: var(--kh-radius);
  background: var(--kh-paper);
  box-shadow: 0 13px 38px rgba(20, 43, 101, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.kh-feature-card:hover { transform: translateY(-4px); border-color: #8fb3ee; box-shadow: var(--kh-shadow); }
.kh-feature-card small,
.kh-intent-grid span,
.kh-related-grid small { color: #3354ac; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.kh-feature-card h3 { margin: auto 0 8px; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; }
.kh-feature-card p { margin: 0 0 15px; color: var(--kh-muted); }
.kh-feature-card > span { color: #2346aa; font-weight: 900; }
.kh-intent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kh-intent-grid a { min-height: 174px; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid #cad8ef; border-radius: 20px; background: rgba(255, 255, 255, .75); }
.kh-intent-grid strong { margin-top: auto; font-size: 1.08rem; line-height: 1.3; }
.kh-page .kh-intent-grid small { color: #4b5871 !important; font-weight: 700; }
.kh-subject-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kh-subject-grid a { min-height: 210px; padding: 25px; border-radius: 22px; background: linear-gradient(155deg, #101e4e, #253f95); color: #fff; box-shadow: 0 18px 45px rgba(17, 39, 97, .18); }
.kh-subject-grid span { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 16px; background: rgba(116, 238, 255, .14); color: #7cf0ff; font-weight: 950; }
.kh-subject-grid strong { display: block; font-size: 1.12rem; }
.kh-subject-grid p { color: #c9d7fa; font-size: .88rem; }
.kh-method-grid,
.kh-ask .kh-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.kh-editorial-method { color: #fff; background: var(--kh-navy); }
.kh-editorial-method .kh-eyebrow { color: #7ceeff; }
.kh-editorial-method h2 { margin: 9px 0 12px; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.04; }
.kh-editorial-method h2 { background: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.kh-editorial-method p { color: #c5d3f1; }
.kh-editorial-method a { display: inline-flex; align-items: center; min-height: 44px; color: #77edff; font-weight: 900; }
.kh-editorial-method details { padding: 22px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.kh-editorial-method summary { min-height: 44px; cursor: pointer; font-weight: 900; }
.kh-ask { background: #fff; }
.kh-ask h2 { margin: 7px 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.kh-ask p { color: var(--kh-muted); }
.kh-ask .kh-shell > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Search result state */
.kh-search-results { background: #fff; border-bottom: 1px solid var(--kh-line); }
.kh-filter-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.kh-filter-row label { display: grid; gap: 5px; color: var(--kh-muted); font-size: .76rem; font-weight: 800; }
.kh-filter-row select { min-width: 180px; min-height: 44px; padding: 0 38px 0 12px; border: 1px solid #b9c9e3; border-radius: 12px; background: #fff; color: var(--kh-ink); font: inherit; }
.kh-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kh-result-card { min-height: 175px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--kh-line); border-radius: 18px; background: #fafdff; }
.kh-result-card small { color: #3151a9; font-weight: 900; text-transform: capitalize; }
.kh-result-card h3 { margin: auto 0 8px; font-size: 1.08rem; line-height: 1.25; }
.kh-result-card p { margin: 0; color: var(--kh-muted); font-size: .88rem; }
.kh-no-results { padding: 28px; border: 1px dashed #9dafcf; border-radius: 18px; background: var(--kh-soft); }
.kh-no-results h3 { margin-top: 0; }
.kh-no-results a { color: #2648a7; font-weight: 900; }

/* Article and reference templates */
.kh-breadcrumbs { padding: 18px 0 8px; }
.kh-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--kh-muted); font-size: .78rem; }
.kh-breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #9aa9c1; }
.kh-breadcrumbs a { display: inline-flex; align-items: center; min-height: 24px; color: #3150a4; font-weight: 800; }
.kh-article-hero { padding: clamp(42px, 6vw, 76px) 0; color: #fff; background: radial-gradient(circle at 87% 13%, rgba(0, 207, 232, .3), transparent 27%), linear-gradient(140deg, #07152e, #1c367f); }
.kh-article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); align-items: center; gap: 40px; }
.kh-article-hero .kh-eyebrow { color: #7aedff; }
.kh-article-hero h1 { max-width: 900px; margin: 11px 0 17px; font-size: clamp(2.25rem, 4.9vw, 4.65rem); line-height: .99; letter-spacing: -.052em; }
.kh-article-hero h1 { background: none !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.kh-dek { max-width: 770px; color: #d6e2fb; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.kh-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.kh-meta span { padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #dce8ff; font-size: .73rem; font-weight: 800; }
.kh-concept-orbit { min-height: 240px; display: grid; place-items: center; position: relative; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: radial-gradient(circle, rgba(0, 207, 232, .17), transparent 60%); }
.kh-concept-orbit::before,
.kh-concept-orbit::after { content: ""; position: absolute; inset: 17%; border: 1px dashed rgba(122, 237, 255, .45); border-radius: 50%; }
.kh-concept-orbit::after { inset: 34%; }
.kh-concept-orbit strong { z-index: 1; max-width: 120px; text-align: center; text-transform: capitalize; }
.kh-article-visual {
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 9px;
  border: 1px solid #d4e1f6;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 44, 105, .16);
}
.kh-article-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}
.kh-article-visual figcaption {
  padding: 11px 10px 5px;
  color: var(--kh-muted);
  font-size: .82rem;
}
.kh-concept-orbit span { position: absolute; z-index: 1; padding: 7px 10px; border-radius: 999px; background: #fff; color: #1b367e; font-size: .72rem; font-weight: 900; }
.kh-concept-orbit span:first-child { top: 11%; left: 2%; }
.kh-concept-orbit span:last-child { right: 1%; bottom: 13%; }
.kh-article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: clamp(34px, 6vw, 82px); padding-block: clamp(48px, 7vw, 92px); }
.kh-toc { position: sticky; top: 112px; align-self: start; display: grid; gap: 4px; max-height: calc(100vh - 140px); overflow: auto; padding: 18px; border: 1px solid var(--kh-line); border-radius: 18px; background: #fff; }
.kh-toc strong { margin-bottom: 7px; }
.kh-toc a { min-height: 44px; display: flex; align-items: center; padding: 6px 9px; border-radius: 9px; color: #43526d; font-size: .79rem; font-weight: 700; }
.kh-toc a:hover { background: var(--kh-soft); color: #2446a2; }
.kh-article-body { min-width: 0; }
.kh-answer { margin-bottom: 34px; padding: 25px; border-left: 5px solid var(--kh-cyan); border-radius: 0 18px 18px 0; background: #eaf9ff; }
.kh-answer span { color: #1b4b8e; font-size: .74rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.kh-answer p { margin: 8px 0 0; font-size: clamp(1.08rem, 1.65vw, 1.3rem); line-height: 1.65; }
.kh-content-section { padding: 18px 0 28px; scroll-margin-top: 112px; }
.kh-content-section h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.035em; }
.kh-content-section p { color: #344158; font-size: 1.02rem; line-height: 1.78; }
.kh-content-section ul,
.kh-content-section ol { display: grid; gap: 9px; padding-left: 22px; color: #344158; }
.kh-content-section li::marker { color: #3152ad; font-weight: 900; }
.kh-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.kh-inline-card { min-height: 150px; padding: 20px; border: 1px solid var(--kh-line); border-radius: 17px; background: #fff; }
.kh-inline-card h3 { margin: 0 0 7px; font-size: 1.03rem; }
.kh-inline-card p { margin: 0 0 10px; font-size: .9rem; line-height: 1.55; }
.kh-inline-card a { display: inline-flex; align-items: center; min-height: 44px; color: #2649a8; font-weight: 900; }
.kh-callout { margin-top: 20px; padding: 21px; border: 1px solid #b7cae9; border-radius: 17px; background: #f2f7ff; }
.kh-callout[data-tone="safety"] { border-color: #e7bd60; background: #fff8e9; }
.kh-callout strong { display: block; margin-bottom: 5px; }
.kh-callout p { margin: 0; font-size: .94rem; line-height: 1.6; }
.kh-table-wrap { max-width: 100%; margin: 20px 0; overflow-x: auto; border: 1px solid var(--kh-line); border-radius: 17px; background: #fff; }
.kh-table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; }
.kh-table-wrap caption { padding: 16px 18px; text-align: left; color: var(--kh-ink); font-weight: 900; }
.kh-table-wrap th,
.kh-table-wrap td { padding: 13px 16px; border-top: 1px solid var(--kh-line); text-align: left; vertical-align: top; }
.kh-table-wrap thead th { background: #edf4ff; color: #203c88; font-size: .78rem; }
.kh-table-wrap tbody th { color: var(--kh-ink); }
.kh-table-wrap td { color: #455269; }
.kh-table-wrap a { color: #274aa8; font-weight: 900; }
.kh-sources { margin-top: 28px; padding-top: 28px; border-top: 2px solid var(--kh-line); scroll-margin-top: 112px; }
.kh-sources h2 { font-size: 1.65rem; }
.kh-sources ol { display: grid; gap: 13px; padding-left: 22px; }
.kh-sources a { display: inline-block; min-height: 24px; color: #2447a4; font-weight: 850; line-height: 1.65; text-decoration: underline; text-underline-offset: 3px; }
.kh-sources small { display: block; margin-top: 3px; color: var(--kh-muted); }
.kh-related { padding: 0 0 clamp(58px, 8vw, 104px); }
.kh-related h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
.kh-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kh-related-grid a { min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--kh-line); border-radius: 19px; background: #fff; }
.kh-related-grid strong { margin-top: 8px; color: #183678; }
.kh-editorial { padding: 24px 0; color: #cedafa; background: var(--kh-navy); }
.kh-editorial .kh-shell { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.kh-editorial strong { color: #78efff; }
.kh-editorial p { margin: 0; font-size: .85rem; }
.kh-editorial a { display: inline-flex; align-items: center; min-height: 24px; color: #fff; line-height: 1.65; text-decoration: underline; }
body.dalmia-prime.kh-page .kh-editorial p,
body[data-dalmia-prime="true"].kh-page .kh-editorial p { color: #cedafa !important; }
body.dalmia-prime.kh-page .kh-editorial a,
body[data-dalmia-prime="true"].kh-page .kh-editorial a { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.dalmia-prime.kh-page > footer.dp-footer:not(.admin-footer) { background: #0e1638 !important; color: #fff !important; }
body.dalmia-prime.kh-page > footer.dp-footer a,
body.dalmia-prime.kh-page > footer.dp-footer strong { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.dalmia-prime.kh-page > footer.dp-footer h2 { color: #75efff !important; -webkit-text-fill-color: #75efff !important; }
body.dalmia-prime.kh-page > footer.dp-footer p,
body.dalmia-prime.kh-page > footer.dp-footer small,
body.dalmia-prime.kh-page > footer.dp-footer span { color: #c5d3f3 !important; }
body.dalmia-prime.kh-page .dp-topbar a,
body[data-dalmia-prime="true"].kh-page .dp-topbar a,
body.dalmia-prime.kh-page .dp-category-ribbon__inner a,
body[data-dalmia-prime="true"].kh-page .dp-category-ribbon__inner a { display: inline-flex; align-items: center; min-height: 44px; }
body.dalmia-prime.kh-page > footer.dp-footer a,
body[data-dalmia-prime="true"].kh-page > footer.dp-footer a { display: inline-flex; align-items: center; min-height: 24px; }
.kh-page .dp-mobile-cta a:last-child { background: #087438 !important; color: #fff !important; }
.kh-mobile-swipe-hint { display: none; }

/* Calculator */
.kh-tool { margin: 0 0 40px; padding: clamp(24px, 4vw, 38px); border: 1px solid #b9ccea; border-radius: 24px; background: linear-gradient(145deg, #edf7ff, #fff); }
.kh-tool .kh-section-head { margin-bottom: 22px; }
.kh-tool .kh-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.kh-tool-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kh-tool-form label { display: grid; gap: 7px; color: #263654; font-size: .82rem; font-weight: 850; }
.kh-tool-form input,
.kh-tool-form select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #adbed9; border-radius: 12px; background: #fff; color: var(--kh-ink); font: inherit; }
.kh-tool-form button { grid-column: 1 / -1; justify-self: start; }
.kh-tool-error { padding: 12px; border-radius: 10px; background: #fff0f0; color: #8a1721; font-weight: 850; }
.kh-tool-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 20px; }
.kh-tool-results article { min-width: 0; padding: 17px; border: 1px solid var(--kh-line); border-radius: 14px; background: #fff; }
.kh-tool-results small { display: block; color: var(--kh-muted); }
.kh-tool-results strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 1.02rem; }

@media (max-width: 980px) {
  .kh-intent-grid,
  .kh-subject-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-article-layout { grid-template-columns: 1fr; }
  .kh-toc { position: static; max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.dalmia-prime.kh-page .kh-breadcrumbs a,
  body[data-dalmia-prime="true"].kh-page .kh-breadcrumbs a {
    justify-content: center;
    min-width: 44px;
  }
  body.dalmia-prime.kh-page > .dc-skip-link,
  body[data-dalmia-prime="true"].kh-page > .dc-skip-link,
  body.dalmia-prime.kh-page .dp-header .dp-brand,
  body[data-dalmia-prime="true"].kh-page .dp-header .dp-brand,
  body.dalmia-prime.kh-page .dp-header .dp-menu,
  body[data-dalmia-prime="true"].kh-page .dp-header .dp-menu,
  body.dalmia-prime.kh-page .kh-breadcrumbs a,
  body[data-dalmia-prime="true"].kh-page .kh-breadcrumbs a,
  body.dalmia-prime.kh-page .kh-sources a,
  body[data-dalmia-prime="true"].kh-page .kh-sources a,
  body.dalmia-prime.kh-page .kh-editorial a,
  body[data-dalmia-prime="true"].kh-page .kh-editorial a,
  body.dalmia-prime.kh-page .kh-table-wrap a,
  body[data-dalmia-prime="true"].kh-page .kh-table-wrap a,
  body.dalmia-prime.kh-page > footer.dp-footer a,
  body[data-dalmia-prime="true"].kh-page > footer.dp-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  body.dalmia-prime.kh-page > .dp-back-to-top,
  body[data-dalmia-prime="true"].kh-page > .dp-back-to-top {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .kh-shell { width: min(100% - 28px, 1180px); }
  .kh-hub-hero { min-height: auto; padding: 45px 0 34px; }
  .kh-hub-hero-grid,
  .kh-article-hero-grid,
  .kh-method-grid,
  .kh-ask .kh-shell { grid-template-columns: 1fr; }
  .kh-hub-hero h1 { font-size: clamp(2.45rem, 13vw, 3.6rem); }
  .kh-mascot-stage { min-height: 260px; }
  .kh-mascot-stage img { height: 260px; }
  .kh-hub-hero-visual { margin-top: 4px; }
  .kh-article-visual { margin-top: 14px; padding: 5px; border-radius: 18px; }
  .kh-article-visual img { border-radius: 13px; }
  .kh-feature-grid,
  .kh-result-grid,
  .kh-card-grid,
  .kh-related-grid { grid-template-columns: 1fr; }
  .kh-feature-grid,
  .kh-intent-grid { display: flex; gap: 13px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 16px; scroll-padding-inline: 2px; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
  .kh-feature-grid > .kh-feature-card,
  .kh-intent-grid > a { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; }
  .kh-mobile-swipe-hint { display: block; margin-top: 10px !important; color: #42526e !important; font-size: .82rem; font-weight: 800; }
  .kh-feature-card { min-height: 195px; }
  .kh-ask .kh-shell > div:last-child { justify-content: flex-start; }
  .kh-concept-orbit { display: none; }
  .kh-article-hero h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .kh-toc { display: flex; overflow-x: auto; padding: 12px; }
  .kh-toc strong,
  .kh-toc a { min-width: max-content; }
  .kh-editorial .kh-shell { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 520px) {
  .kh-search > div { grid-template-columns: 1fr; gap: 5px; }
  .kh-search button { width: 100%; }
  .kh-mascot-stage > span { display: none; }
  .kh-mascot-stage > strong { right: 0; }
  .kh-intent-grid,
  .kh-subject-grid,
  .kh-tool-form,
  .kh-tool-results { grid-template-columns: 1fr; }
  .kh-subject-grid a { min-height: 180px; }
  .kh-tool-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kh-feature-card { transition: none; }
}

@media print {
  .dp-topbar, .dp-header, .dp-mobile-cta, .kh-toc, .dp-footer { display: none !important; }
  .kh-article-hero { padding: 24px 0; color: #000; background: #fff; }
  .kh-article-visual { box-shadow: none; break-inside: avoid; }
  .kh-dek, .kh-meta span { color: #222; }
  .kh-article-layout { display: block; padding-block: 20px; }
  .kh-content-section { break-inside: avoid; }
}
