/* Shared refinements using the existing clinic typography and colour tokens. */
.site-polished .site-header .mobile-menu > summary {
  display: grid;
  align-content: center;
  justify-items: stretch;
}

.site-polished .inner-site-main .inner-hero h1 {
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.42;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.site-polished .polish-about .inner-hero h1 {
  font-size: clamp(36px, 3.5vw, 50px);
}

.site-polished .inner-site-main .inner-hero-description {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  max-width: 42em;
}

.site-polished .inner-site-main .polish-context-note {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--forest-soft);
}

/* Same frame, inset and subject scale for treatment illustrations. */
.site-polished .inner-site-main .inner-hero .patient-hero-illustration,
.site-polished .inner-site-main .inner-hero .chuna-hero-visual {
  box-sizing: border-box;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 180px 180px 12px 12px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
}

.site-polished .inner-site-main .inner-hero .patient-hero-illustration img,
.site-polished .inner-site-main .inner-hero .chuna-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0;
  display: block;
}

.site-polished .inner-site-main .inner-hero .chuna-hero-visual figcaption {
  margin-top: 16px;
  padding-top: 16px;
}

/* Backgrounds mark the role of a section rather than alternating at random. */
.site-polished .inner-site-main .polish-symptoms,
.site-polished .inner-site-main .polish-treatment {
  background: var(--mist);
}

.site-polished .inner-site-main .polish-process {
  background: var(--cream);
}

.site-polished .inner-site-main .polish-symptoms .patient-observation-list > li,
.site-polished .inner-site-main .polish-symptoms .route-card,
.site-polished .inner-site-main .polish-symptoms .nerve-path-panel {
  background: var(--paper);
}

.site-polished .inner-site-main .polish-symptoms .patient-observation-list:not(.pain-illustrated-cards) {
  gap: 18px;
}

.site-polished .inner-site-main .polish-symptoms .patient-observation-list:not(.pain-illustrated-cards) > li {
  padding: 24px;
  border: 1px solid var(--line);
}

.site-polished .inner-site-main .polish-next-step {
  margin-top: 24px;
}

.site-polished .inner-site-main .polish-next-step a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 16px;
}

/* Native details keep full explanations and links in server-rendered HTML. */
.site-polished .polish-disclosure {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  min-width: 0;
}

.site-polished .polish-disclosure > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 16px 18px;
  color: var(--forest-deep);
  font: 600 15px/1.8 var(--sans, inherit);
  list-style: none;
  cursor: pointer;
  word-break: keep-all;
}

.site-polished .polish-disclosure > summary::-webkit-details-marker {
  display: none;
}

.site-polished .polish-disclosure > summary::after {
  content: "+";
  color: var(--forest-soft);
  font: 400 22px/1 var(--serif);
  flex: 0 0 20px;
  text-align: center;
}

.site-polished .polish-disclosure[open] > summary::after {
  content: "−";
}

.site-polished .polish-disclosure > summary:focus-visible,
.site-polished .polish-visit-shortcuts a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.site-polished .polish-disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.site-polished .polish-disclosure > :not(summary) {
  margin-left: 18px;
  margin-right: 18px;
}

.site-polished .polish-disclosure > :last-child {
  margin-bottom: 18px;
}

.site-polished .chuna-compare-grid article {
  min-height: 0;
  align-self: start;
}

.site-polished .chuna-compare-grid .polish-disclosure > summary {
  padding-left: 0;
  padding-right: 0;
}

.site-polished .chuna-compare-grid .polish-disclosure > ul {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}

.site-polished .chuna-autonomic-main .polish-explanation {
  margin-top: 0;
}

.site-polished .chuna-autonomic-main .polish-disclosure .chuna-why-note {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-polished .nerve-path-panel .polish-disclosure dl {
  margin-top: 0;
}

.site-polished .geo-hub-grid:has(> .polish-question) {
  grid-template-columns: 1fr;
  gap: 12px;
}

.site-polished .geo-hub-grid > .polish-question {
  margin-top: 0;
  border: 1px solid var(--line);
}

.site-polished .polish-question summary h3 {
  margin: 0;
  color: var(--forest-deep);
  font: 600 21px/1.6 var(--serif);
}

.site-polished .polish-question > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin-top: 18px;
}

.site-polished .polish-question > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-polished .polish-visit-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.site-polished .polish-visit-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
}

.site-polished .polish-visit-shortcuts a:hover,
.site-polished .polish-disclosure > summary:hover {
  background: var(--mist);
}

@media (max-width: 920px) {
  .site-polished .inner-site-main .inner-hero .patient-hero-aside,
  .site-polished .inner-site-main .inner-hero .chuna-hero-visual {
    width: 100%;
    max-width: 400px;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-polished .inner-site-main .inner-hero h1,
  .site-polished .polish-about .inner-hero h1 {
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.48;
    text-wrap: initial;
  }

  .site-polished .inner-site-main .inner-hero-description {
    font-size: 16px;
    line-height: 1.9;
  }

  .site-polished .inner-site-main .inner-hero .patient-hero-illustration,
  .site-polished .inner-site-main .inner-hero .chuna-hero-visual {
    padding: 18px;
    max-width: 320px;
  }

  .site-polished .inner-site-main .inner-hero .chuna-hero-visual img {
    max-height: 230px;
  }

  .site-polished .inner-site-main .polish-symptoms .patient-observation-list:not(.pain-illustrated-cards) > li {
    padding: 20px 16px;
  }

  .site-polished .nerve-v2 .geo-hub-toc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-polished .nerve-v2 .geo-hub-toc a {
    min-height: 48px;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .site-polished .chuna-autonomic-main > .check-list-large li {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .site-polished .chuna-detail .check-list-large > li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
  }

  .site-polished .chuna-detail .check-list-large h3 {
    font-size: 21px;
    line-height: 1.6;
  }

  .site-polished .chuna-detail .check-list-large p {
    font-size: 15px;
    line-height: 1.9;
  }

  .site-polished .polish-visit-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-polished .polish-visit-shortcuts a:first-child {
    grid-column: 1 / -1;
  }
}

@media print {
  .site-polished .polish-disclosure > :not(summary) {
    display: block !important;
  }
}
