/* Presentation only: clinical text and illustrations are never generated by CSS. */
.article-guide {
  max-width: 1160px;
  padding-block: 48px 80px;
  overflow-wrap: break-word;
}
.article-guide .page-heading {
  max-width: 860px;
  margin-bottom: 36px;
}
.article-guide h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.65rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
  max-width: 28ch;
}
.article-guide .article-deck {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
  color: var(--muted);
  max-width: 66ch;
  margin-block: 24px;
}
.article-guide .post-meta {
  margin-block: 20px;
}
.article-guide .eyebrow {
  margin-bottom: 16px;
}
.article-guide .article-hero {
  margin: 0 0 40px;
}
.article-guide .article-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.article-guide .article-hero figcaption {
  max-width: 76ch;
  font-size: 0.9375rem;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(190px, 230px);
  gap: 64px;
  align-items: start;
}
.article-reading {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.article-rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 24px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.contents-label {
  margin: 0 0 12px;
  font-weight: 700;
}
.article-rail ul,
.article-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-rail li,
.article-contents li {
  margin: 0;
}
.article-rail a,
.article-contents a {
  display: flex;
  align-items: center;
  min-height: var(--target);
  padding: 10px 8px;
  text-decoration: none !important;
  color: var(--muted);
  border-radius: var(--radius-sm);
}
.article-rail a:hover,
.article-contents a:hover {
  background: var(--soft);
  color: var(--green);
}
.article-contents {
  display: none;
}
.article-body {
  font-size: var(--body-size);
  line-height: var(--reading-leading);
}
.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > h2,
.article-body > h3 {
  max-width: var(--reading-width);
}
.article-body > p:first-child {
  font-size: 1.05em;
}
.article-body > h2 {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.65em;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.article-guide [id] {
  scroll-margin-top: 88px;
}
.article-guide .concept-card {
  width: 100%;
  max-width: none;
  margin: 40px 0;
}
.concept-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfaf6;
}
.concept-card figcaption {
  max-width: 76ch;
  font-size: 0.875em;
  line-height: 1.75;
}
.emergency-jump {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: var(--target);
  padding: 8px 16px;
  border: 1px solid var(--caution-line);
  border-radius: var(--pill);
  color: var(--caution);
  background: var(--caution-bg);
  font-size: max(0.9375rem, calc(var(--body-size) * 0.88));
  font-weight: 650;
  text-decoration: none;
}
.emergency-callout {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid var(--caution-line);
  border-top: 4px solid var(--caution);
  border-radius: var(--radius);
  background: var(--caution-bg);
}
.article-guide .emergency-callout h2 {
  font: 650 1.3em/1.4 var(--font-body);
  margin: 0 0 20px;
  color: var(--caution);
}
.emergency-callout p,
.emergency-callout li {
  font-size: 1em;
  line-height: 1.85;
}
.emergency-number {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--caution);
  border-radius: var(--pill);
  background: var(--caution);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none !important;
}
.emergency-actions {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.emergency-actions > li {
  padding-block: 24px;
  margin: 0;
  border-top: 1px solid var(--caution-line);
}
.emergency-actions h3 {
  font: 700 1em/1.6 var(--font-body);
  margin: 0 0 10px;
}
.emergency-actions p {
  margin: 0;
}
.condition-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 32px;
}
.condition-card {
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--card);
}
.condition-card h3 {
  font-size: 1.25em;
  line-height: 1.3;
  margin: 0 0 20px;
}
.condition-card dl {
  margin: 0;
}
.condition-card dt {
  margin: 20px 0 8px;
  font-size: 0.875em;
  font-weight: 650;
  line-height: 1.6;
  color: var(--muted);
}
.condition-card dd {
  margin: 0;
  font-size: 1em;
  line-height: 1.8;
}
.medical-glossary {
  margin-block: 32px;
}
.glossary-entry {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: 28px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  break-inside: avoid;
}
.glossary-entry:last-child {
  border-bottom: 1px solid var(--line);
}
.glossary-entry > dt {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.7;
}
.glossary-entry > dd {
  min-width: 0;
  margin: 0;
}
.glossary-meaning {
  margin: 0 0 16px !important;
}
.glossary-context {
  padding: 16px 20px;
  border-left: 3px solid var(--line);
  background: var(--subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.glossary-context-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875em;
  font-weight: 650;
  line-height: 1.6;
  color: var(--green);
}
.glossary-context p {
  margin: 0;
  font-size: 1em;
  line-height: 1.85;
}
.article-references {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9em;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.article-references h2 {
  margin: 0 0 24px;
  font-size: 1.7rem;
}
.article-references li {
  margin-block: 16px;
}
@media (max-width: 1150px) {
  .article-guide {
    max-width: 800px;
  }
  .article-grid {
    display: block;
  }
  .article-rail {
    display: none;
  }
  .article-contents {
    display: block;
    position: static;
    margin-bottom: 28px;
    border: 1px solid var(--control-line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    font-size: 1rem;
  }
  .article-contents summary {
    min-height: var(--target);
    padding: 12px 16px;
    font-weight: 650;
    line-height: 1.6;
  }
  .article-contents nav {
    max-height: 60dvh;
    overflow: auto;
    padding: 0 12px 12px;
  }
  .article-contents[open] {
    box-shadow: var(--shadow);
  }
  .article-guide .article-hero {
    margin-bottom: 28px;
  }
}
@media (max-width: 800px) {
  .condition-comparison {
    grid-template-columns: 1fr;
  }
  .condition-card {
    padding: 24px;
  }
  .condition-card h3 {
    margin-bottom: 14px;
  }
  .condition-card dt {
    margin-top: 14px;
  }
}
@media (max-width: 650px) {
  .article-guide {
    padding-block: 28px 56px;
  }
  .article-guide h1 {
    font-size: clamp(2rem, 7.7vw, 2.6rem);
    line-height: 1.17;
  }
  .article-guide .article-deck {
    font-size: var(--body-size);
    line-height: var(--reading-leading);
    margin-block: 20px;
  }
  .article-guide .post-meta {
    font-size: 0.875rem;
  }
  .article-guide .post-meta span {
    padding-inline: 4px;
  }
  .article-guide .page-heading {
    margin-bottom: 28px;
  }
  .article-body > h2 {
    margin-top: 44px;
    padding-top: 22px;
  }
  .emergency-callout {
    padding: 22px 18px;
    margin-block: 28px;
  }
  .article-guide .emergency-callout h2 {
    font-size: 1.3em;
  }
  .emergency-callout p,
  .emergency-callout li {
    font-size: 1em;
  }
  .glossary-entry {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }
  .glossary-context {
    padding: 16px;
  }
  .article-guide .concept-card {
    margin-block: 32px;
  }
  .condition-card {
    padding: 22px 20px;
  }
}
@media print {
  .article-guide {
    max-width: none;
    padding: 0;
  }
  .article-grid {
    display: block;
  }
  .article-rail,
  .article-contents,
  .emergency-jump {
    display: none !important;
  }
  .article-guide .article-body {
    font-size: 11pt;
    line-height: 1.6;
  }
  .emergency-callout,
  .condition-card {
    background: #fff;
    break-inside: avoid;
  }
  .emergency-number {
    background: #fff;
    color: #000;
    border: 1px solid #000;
  }
  .article-guide .article-references {
    font-size: 10pt;
  }
}

/* Text stays in the document: selectable, resizable and shared across themes. */
.native-card-content {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--subtle);
}
.article-guide .native-card h3 {
  margin: 0 0 24px;
  font-family: inherit;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}
.native-card-panels {
  display: grid;
  gap: 16px;
}
.native-card-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.article-guide .native-card h4 {
  margin: 0 0 12px;
  font-weight: 700;
  font-family: inherit;
  font-size: 1.05em;
  line-height: 1.7;
}
.native-card p {
  margin: 12px 0 0;
  font-size: 1em;
  line-height: 1.85;
}
.native-card .native-card-call {
  margin: 0 0 24px;
}
.native-card-call a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 8px 16px;
  background: var(--soft);
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none !important;
}
.native-card .native-card-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.native-card-key {
  color: var(--green);
  font-weight: 700;
}
.native-card-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-block: 20px;
}
.native-card-flow span {
  min-width: 0;
  text-align: center;
  padding: 6px 8px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}
.native-card-flow svg {
  flex: 0 0 48px;
  width: 48px;
  height: 24px;
}
.native-card-vessel {
  display: block;
  width: 100%;
  height: auto;
  margin-block: 20px;
}
.diagram-vessel {
  fill: var(--diagram-vessel);
  stroke: var(--diagram-flow);
}
.diagram-flow-stroke {
  stroke: var(--diagram-flow);
}
.diagram-flow-fill {
  fill: var(--diagram-flow);
}
.diagram-alert-stroke {
  stroke: var(--diagram-alert);
}
.diagram-alert-fill {
  fill: var(--diagram-alert);
}
.diagram-on-alert {
  stroke: var(--diagram-on-alert);
}
html:lang(hi) .native-card p {
  line-height: 2;
}
html:lang(hi) .native-card h4 {
  line-height: 1.9;
}
@media (min-width: 700px) {
  .native-card-panels--paired {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  .native-card-panel {
    break-inside: avoid;
  }
}

@media (max-width: 699px) {
  .native-card-flow {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
  }
  .native-card-flow svg {
    transform: rotate(90deg);
  }
}
.post-comments {
  max-width: 800px;
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--subtle);
  font-size: var(--body-size);
  line-height: var(--reading-leading);
}
.post-comments h2 {
  margin-bottom: 16px;
}
.post-comments .comments-disclosure {
  font-size: 0.875em;
  color: var(--muted);
}
.post-comments .comments-status {
  font-size: 0.875em;
}
.post-comments #disqus_thread {
  margin-top: 24px;
}
@media (max-width: 650px) {
  .post-comments {
    padding: 24px 18px;
  }
}
@media print {
  .post-comments {
    display: none !important;
  }
}
