@charset "UTF-8";
/* Chinese V6 responsive density. No root font override or text zoom restriction.
 * #main intentionally outranks the earlier legacy home/plugin typography rules.
 * All declarations are scoped below 900 CSS px; desktop remains unchanged. */
@media (max-width: 900px) {
  body.wp-theme-chaoyan-official-v6 {
    --type-display: clamp(2rem, 1.25rem + 3.6vw, 2.25rem);
    --type-h1: var(--type-display);
    --type-h2: clamp(1.5rem, 1.35rem + 1.2vw, 1.75rem);
    --type-h3: 1.1875rem;
    --type-body: 1rem;
    --type-body-large: 1rem;
    --type-label: .75rem;
    --type-caption: .875rem;
    --m-section-space: 2.5rem;
    --m-button-height: 3rem;
    --mobile-gap: .625rem;
    font-size: var(--type-body);
  }
  body.wp-theme-chaoyan-official-v6 #main { overflow-wrap: anywhere; }
  body.wp-theme-chaoyan-official-v6 #main:is(.muse-home, .muse-page) { overflow: visible; }
  body.wp-theme-chaoyan-official-v6 #main h1 { font-size: var(--type-h1); line-height: 1.2; }
  body.wp-theme-chaoyan-official-v6 #main h2 { font-size: var(--type-h2); line-height: 1.3; }
  body.wp-theme-chaoyan-official-v6 #main h3 { font-size: var(--type-h3); line-height: 1.35; }
  body.wp-theme-chaoyan-official-v6 #main p { font-size: var(--type-body); line-height: 1.7; }
  body.wp-theme-chaoyan-official-v6 #main :is(.eyebrow, .muse-overline, .muse-kicker, .muse-home-overline, .muse-home-kicker, .cyv6-knowledge-kicker) {
    font-size: var(--type-label); line-height: 1.5; margin-bottom: 1rem;
  }
  body.wp-theme-chaoyan-official-v6 #main :is(.section, .muse-home-section, .muse-home-material, .muse-home-inquiry, .inquiry-band, .cyv6-knowledge-section, .page-intro, .cyv6-knowledge-hero) { padding-block: var(--m-section-space); }
  body.wp-theme-chaoyan-official-v6 #main :is(.section-head, .muse-home-heading, .muse-section-head) { margin-bottom: 1.5rem; gap: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-heading > p:last-child, .muse-home-company__grid > div:last-child p) { margin-top: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.button, .muse-button, .muse-home-button, .cyv6-resource-link) {
    font-size: .9375rem; line-height: 1.5; min-height: var(--m-button-height); height: auto;
    padding: .625rem .875rem; gap: .625rem; white-space: normal;
  }
  body.wp-theme-chaoyan-official-v6 #main :is(.button-row, .muse-actions, .muse-home-actions) { gap: var(--mobile-gap); margin-top: 1.5rem; }

  /* One header/menu breakpoint also covers narrow tablets. Natural height supports enlarged text. */
  body.wp-theme-chaoyan-official-v6 .site-header { position: relative; height: auto; min-height: 66px; }
  body.wp-theme-chaoyan-official-v6.cyv6-muse .site-header { background: #1f2424; }
  body.wp-theme-chaoyan-official-v6 .site-header__inner { min-height: 66px; height: auto; padding-block: .6875rem; gap: .5rem; }
  body.wp-theme-chaoyan-official-v6 .site-header .brand { min-width: 0; flex: 1; gap: .5rem; }
  body.wp-theme-chaoyan-official-v6 .site-header .brand__words { min-width: 0; }
  body.wp-theme-chaoyan-official-v6 .site-header .brand__words strong { font-size: 1rem; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
  body.wp-theme-chaoyan-official-v6 .site-header .brand__words small { display: none; }
  body.wp-theme-chaoyan-official-v6 .site-header .brand__mark { flex: none; width: 34px; height: 34px; }
  body.wp-theme-chaoyan-official-v6 .site-header .nav-toggle { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: none; width: 44px; height: 44px; padding: 8px; }
  body.wp-theme-chaoyan-official-v6 .site-header .nav-toggle span { width: 25px; height: 2px; background: currentColor; }
  body.wp-theme-chaoyan-official-v6 .site-header .primary-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.125rem; background: var(--paper); color: var(--ink); box-shadow: 0 12px 18px rgba(0,0,0,.12); }
  body.wp-theme-chaoyan-official-v6.cyv6-muse .site-header .primary-nav { background: #1f2424; color: #fff; }
  body.wp-theme-chaoyan-official-v6 .site-header .primary-nav.is-open { display: flex; }
  body.wp-theme-chaoyan-official-v6 .site-header .primary-nav a { font-size: .9375rem; line-height: 1.5; min-height: 44px; padding: .75rem; white-space: normal; }
  body.wp-theme-chaoyan-official-v6 .site-header a.cyv6-language-in-header {
    position: static; inset: auto; flex: none; display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; width: auto; height: auto; padding: .375rem .5rem;
    font-size: .875rem; line-height: 1.5; background: transparent; color: inherit; border: 1px solid currentColor;
    border-radius: 0; box-shadow: none; transform: none;
  }

  /* Content determines hero height; the real furnace remains a cover background. */
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-hero, .muse-catalog-hero) { min-height: 0; height: auto; align-items: center; background-position: center 64%; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-hero__inner { padding-block: 2.75rem 2.5rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-hero h1 { margin-bottom: 1.25rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-hero h1 span { font-size: 1em; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-hero__lead { max-width: 36rem; margin: 0; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-actions .muse-home-button { min-width: 0; flex: 1 1 8rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-hero__vertical { display: none; }
  body.wp-theme-chaoyan-official-v6 #main .muse-catalog-hero__content { padding-block: 2.75rem 3.5rem; }

  /* Compact navigation; names and destinations continue to come from the existing PHP loop. */
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick { padding-block: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--mobile-gap); }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick__grid > a {
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; align-items: center; gap: .25rem .375rem;
    min-height: 4.5rem; height: auto; padding: .75rem; border: 1px solid var(--m-line-dark); background: #252b2b;
  }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick__grid > .muse-home-quick__label { grid-column: 1 / -1; min-height: 0; padding: 0 0 .375rem; border: 0; background: transparent; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick strong { font-size: 1.0625rem; line-height: 1.4; white-space: normal; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick small { grid-column: 1 / -1; font-size: .75rem; line-height: 1.2; margin: 0; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick span[aria-hidden] { position: static; align-self: center; font-size: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick__label > span { grid-column: 1 / -1; grid-row: 2; font-size: .8125rem; margin: 0; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-quick__all { position: static; grid-column: 2; grid-row: 1; font-size: .8125rem; white-space: nowrap; }

  body.wp-theme-chaoyan-official-v6 #main .muse-home-about__panel { min-height: 0; padding: 1.5rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-about__panel .muse-home-text-link { margin-top: 1.5rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-about__panel h3, .muse-home-company h2, .muse-catalog-note h2) { margin-bottom: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-home-articles a { min-height: 0; padding-block: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-articles__title, .muse-insight-list__content strong) { font-size: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-articles time, .muse-insight-list time, figcaption) { font-size: .8125rem; line-height: 1.5; }
  body.wp-theme-chaoyan-official-v6 #main :is(.muse-home-product__body small, .muse-home-application__body small) { font-size: var(--type-label); }
  body.wp-theme-chaoyan-official-v6 #main .muse-catalog-note__grid { gap: 2.5rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-catalog-item__title h3 { font-size: 1.125rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-catalog-item__body > p { font-size: .875rem; line-height: 1.6; }
  body.wp-theme-chaoyan-official-v6 #main .muse-catalog-item__spec :is(span,strong) { font-size: .875rem; line-height: 1.5; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters { grid-template-columns: minmax(0,1fr); }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters > * { min-width: 0; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters form { flex-wrap: wrap; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters input { flex-basis: 8rem; max-width: 100%; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters :is(a,label) { white-space: normal; }
  body.wp-theme-chaoyan-official-v6 #main .muse-insight-list a { grid-template-columns: auto minmax(0,1fr) auto; }
  body.wp-theme-chaoyan-official-v6 #cyv6-attachment-inquiry { grid-template-columns: minmax(0,1fr); }
  body.wp-theme-chaoyan-official-v6 #cyv6-attachment-inquiry > * { min-width: 0; }
  body.wp-theme-chaoyan-official-v6 #cyv6-attachment-inquiry :is(input:not([type=checkbox]),textarea,select) { width: 100%; max-width: 100%; min-width: 0; font-size: 1rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-fsa-hero { padding-top: 0; }
  body.wp-theme-chaoyan-official-v6 #main .muse-fsa-hero__copy { padding-block: 2.5rem; }
  body.wp-theme-chaoyan-official-v6 #main .muse-breadcrumb { margin-bottom: 1.5rem; font-size: .8125rem; }
  body.wp-theme-chaoyan-official-v6 #main :is(.cyv6-data-table, .article-body table) { min-width: 0; width: 100%; font-size: .90625rem; line-height: 1.6; }
  body.wp-theme-chaoyan-official-v6 #main :is(.cyv6-data-table, .article-body table) :is(th,td) { font-size: inherit; white-space: normal; overflow-wrap: anywhere; padding: .625rem .5rem; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-data-table :is(small,span) { font-size: inherit; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-knowledge-card { min-height: 0; padding: 1.25rem; }
  body.wp-theme-chaoyan-official-v6 #main .article-shell { padding-block: 2.5rem; }
  body.wp-theme-chaoyan-official-v6 #main .article-body { margin-top: 1.5rem; line-height: 1.7; }
  body.wp-theme-chaoyan-official-v6 #main .article-body :is(p,ul,ol) { margin-bottom: .875rem; }
  body.wp-theme-chaoyan-official-v6 #main .article-body :is(h2,h3) { margin-block: 1.5rem 1rem; }
  body.wp-theme-chaoyan-official-v6 .site-footer :is(.footer-bottom, .footer-bottom a, .footer-identity span) { font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; }
  body.wp-theme-chaoyan-official-v6 .site-footer .footer-bottom > * { min-width: 0; max-width: 100%; }

  /* Final QA: practical touch targets for native form and utility controls. */
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters :is(input,button),
  body.wp-theme-chaoyan-official-v6 #cyv6-attachment-inquiry :is(input:not([type=checkbox]):not([type=hidden]),select,button),
  body.wp-theme-chaoyan-official-v6 #main .grit-reference-quick button,
  body.wp-theme-chaoyan-official-v6 #main [data-factory-scroll] { min-height: 2.75rem; }
  body.wp-theme-chaoyan-official-v6 #cyv6-attachment-inquiry :is(input:not([type=checkbox]):not([type=hidden]),textarea,select,button) { padding: .625rem .75rem; line-height: 1.5; }
  body.wp-theme-chaoyan-official-v6 #main [data-factory-scroll] { min-width: 2.75rem; }
  body.wp-theme-chaoyan-official-v6 #main .cyv6-catalog-filters button { padding: .5rem .75rem; }
}
