/* Only the supplied page body is adapted to the existing sticky site header. */
#leyi-resins-v1 { --resins-nav-height: 165px; }
#leyi-resins-v1 .stick { top: var(--resins-nav-height); }
#leyi-resins-v1 section[id] { scroll-margin-top: calc(var(--resins-nav-height) + 16px); }
#leyi-resins-v1 .chips, #leyi-resins-v1 .bar, #leyi-resins-v1 .tabs { min-width: 0; max-width: 100%; }
#leyi-resins-v1 .tw:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 700px) {
  #leyi-resins-v1 .chips { max-width: calc(100% + 48px); }
}

/* Motion is page-local. Resting dimensions, typography and surfaces stay intact. */
#leyi-resins-v1 {
  --resins-fast: 160ms;
  --resins-action: 220ms;
  --resins-card: 280ms;
  --resins-ease: cubic-bezier(.22, .68, .2, 1);
}
#leyi-resins-v1 :is(a, button, summary) { touch-action: manipulation; }
#leyi-resins-v1 :is(.btn, .chip, .tab, .topb) {
  transition: transform var(--resins-action) var(--resins-ease),
    background-color var(--resins-fast) ease, border-color var(--resins-fast) ease,
    color var(--resins-fast) ease, box-shadow var(--resins-action) ease, filter var(--resins-fast) ease;
}
#leyi-resins-v1 :is(.btn, .go, .wf a, .sol a) svg {
  transition: transform var(--resins-action) var(--resins-ease);
}
#leyi-resins-v1 :is(.rail a, .ent a, .pc h3 a, .go, .wf a, .sol a, .crumb a, .cn button, summary) {
  transition: background-color var(--resins-action) ease, color var(--resins-fast) ease,
    opacity var(--resins-fast) ease;
}
#leyi-resins-v1 :is(.rail b, .ent .ic) {
  transition: transform var(--resins-action) var(--resins-ease);
}
#leyi-resins-v1 .pc { transition: translate var(--resins-card) var(--resins-ease); }
#leyi-resins-v1 :is(.pi img, .wi img) {
  transition: transform var(--resins-card) var(--resins-ease);
}
#leyi-resins-v1 .sr input {
  transition: border-color var(--resins-fast) ease, box-shadow var(--resins-action) ease;
}
#leyi-resins-v1 .sr input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(30 91 216 / 10%);
}
#leyi-resins-v1 .stick { transition: box-shadow var(--resins-action) ease; }
#leyi-resins-v1 summary svg {
  transition: transform var(--resins-card) var(--resins-ease);
}
/* The wrapper contains the existing paragraph margins without adding spacing. */
#leyi-resins-v1 .resins-faq-body { display: flow-root; }
#leyi-resins-v1 .fq summary[aria-expanded="false"] svg { transform: rotate(0); }
#leyi-resins-v1 .fq summary[aria-expanded="true"] svg { transform: rotate(45deg); }

/* Desktop hover only: touch screens never retain a raised/zoomed hover state. */
@media (hover: hover) and (pointer: fine) {
  #leyi-resins-v1 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(30 91 216 / 18%);
  }
  #leyi-resins-v1 .btn.ln:hover { border-color: var(--blue); }
  #leyi-resins-v1 .btn.gh:hover { border-color: var(--sky); }
  #leyi-resins-v1 :is(.btn, .go, .wf a, .sol a):hover svg { transform: translateX(4px); }
  #leyi-resins-v1 .rail a:hover b { transform: translateX(3px); }
  #leyi-resins-v1 :is(.chip, .tab):not(.on):hover {
    background-color: #f1f5fd;
    border-color: var(--blue);
  }
  #leyi-resins-v1 .pc:hover { translate: 0 -4px; }
  #leyi-resins-v1 .pc:hover .pi img { transform: scale(1.03); }
  #leyi-resins-v1 .pc h3 a:hover { color: var(--blue); }
  #leyi-resins-v1 .wf .wi:hover img { transform: scale(1.03); }
  #leyi-resins-v1 .ent a:hover .ic { transform: translateY(-3px); }
  #leyi-resins-v1 :is(.wf a, .sol a, .cn button):hover { opacity: .8; }
  #leyi-resins-v1 .crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  #leyi-resins-v1 summary:hover { color: var(--blue); }
}
@media (hover: none), (pointer: coarse) {
  #leyi-resins-v1 .pc:hover .pi img { transform: none; }
  #leyi-resins-v1 :is(.btn, .chip):hover { filter: none; }
}
#leyi-resins-v1 :is(.btn, .chip, .tab):active { transform: scale(.98); transition-duration: 90ms; }
#leyi-resins-v1 .rail a:active { background-color: rgb(143 179 255 / 18%); }
#leyi-resins-v1 .ent a:active { background-color: #1b304b; }
#leyi-resins-v1 .ent a:active .ic { transform: translateY(0) scale(.96); }
#leyi-resins-v1 :is(.go, .wf a, .sol a, .cn button, summary):active { opacity: .72; }
#leyi-resins-v1 .pi:active img { transform: scale(.99); transition-duration: 90ms; }
#leyi-resins-v1 :is(.btn, .go, .wf a, .sol a):focus-visible svg { transform: translateX(4px); }
#leyi-resins-v1 .pc h3 a:focus-visible { color: var(--blue); }

/* Hide from pointer, keyboard and assistive technology as soon as it fades out. */
#leyi-resins-v1 .topb.resins-top-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 8px;
  transition: opacity var(--resins-action) ease, translate var(--resins-action) var(--resins-ease),
    transform var(--resins-action) var(--resins-ease), background-color var(--resins-fast) ease,
    visibility 0s var(--resins-action);
}
#leyi-resins-v1 .topb.resins-top-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  #leyi-resins-v1 .topb.resins-top-visible:hover { transform: translateY(-3px); }
}
#leyi-resins-v1 .topb:active { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) {
  #leyi-resins-v1 *, #leyi-resins-v1 *::before, #leyi-resins-v1 *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  #leyi-resins-v1 :is(.btn, .chip, .tab, .topb, .pc, .pi img, .wi img, .rail b, .ent .ic),
  #leyi-resins-v1 :is(.btn, .go, .wf a, .sol a) svg { transform: none !important; translate: none !important; }
}

/* Wide-screen hero containment re-asserted in the hand-written layer so a future
   package regeneration cannot reintroduce the text-over-image overlap. The
   min-width guard keeps the 1180px-and-below stacked layout from package.css winning. */
@media (min-width: 1181px) {
  #leyi-resins-v1 .hero { height: clamp(500px, 41.66vw, 750px); }
  #leyi-resins-v1 .ph { display: flex; justify-content: flex-end; background: var(--ink); }
  #leyi-resins-v1 .ph img { width: 100%; max-width: 1800px; height: 100%; object-fit: cover; object-position: right center; }
  #leyi-resins-v1 .ht { max-width: 360px; }
  /* Beyond 1920px freeze the whole composition: cap the artwork layer and center
     it; the .dark section's own ink background fills the symmetric side gutters.
     Nothing in the hero moves when the viewport grows past this point. */
  #leyi-resins-v1 .ph { left: 0; right: 0; max-width: 1920px; margin-inline: auto; }
}

/* Above 1800px the right-aligned image leaves a solid var(--ink) fill on the left;
   blend the image's own dark backdrop into that fill so no vertical seam shows. */
@media (min-width: 1801px) {
  #leyi-resins-v1 .ph::after {
    background:
      linear-gradient(90deg, var(--ink) 0, var(--ink) calc(100% - 1800px), rgba(11, 20, 27, 0) calc(100% - 1800px + 200px)),
      linear-gradient(90deg, rgba(11, 20, 27, .7) 0%, rgba(11, 20, 27, .35) 28%, rgba(11, 20, 27, 0) 42%),
      linear-gradient(0deg, var(--ink) 0%, rgba(11, 20, 27, 0) 14%);
  }
}

/* iOS Safari auto-zooms the page when focusing the filter search below 16px. */
@media (max-width: 768px) {
  #leyi-resins-v1 :is(input, select, textarea) { font-size: 16px !important; }
}

/* Workflow band on a dark slate ground (2026-10-09): text and accents flip to
   the dark-surface palette, the four 4:3 photos read as cards. */
#leyi-resins-v1 #workflow { background: #212832; padding-top: 96px !important; }
#leyi-resins-v1 #workflow h2 { color: #FFFFFF; }
#leyi-resins-v1 #workflow .hd p { color: #C3CED6; }
#leyi-resins-v1 #workflow .ey { color: var(--sky); }
#leyi-resins-v1 #workflow .wf p { color: #C3CED6; }
#leyi-resins-v1 #workflow .wf .no { color: var(--sky); }
#leyi-resins-v1 #workflow .wf a { color: var(--sky); }
@media (hover: hover) and (pointer: fine) {
  #leyi-resins-v1 #workflow .wf a:hover { color: #FFFFFF; }
}
@media (max-width: 700px) {
  #leyi-resins-v1 #workflow { padding-top: 64px !important; }
}
#leyi-resins-v1 #workflow .wf h3 { color: #FFFFFF; }

/* FAQ unified to the homepage standard (2026-10-09). */
/* Two-column without a wrapper: the eyebrow and title pin to the left of the
   list. A grid stretched row 1 across the whole list (title pushed far below
   the eyebrow); a float started the list below the title block. */
#leyi-resins-v1 #faq .w { position: relative; padding-left: 392px; }
#leyi-resins-v1 #faq .w > .ey { position: absolute; left: 24px; top: 0; margin: 0; }
#leyi-resins-v1 #faq .w > h2 { position: absolute; left: 24px; top: 33px; margin: 0; max-width: 344px; }
#leyi-resins-v1 #faq .w > .fq { margin: 0; border-top: 1px solid #D5DADD; }
#leyi-resins-v1 #faq .fq details { border-bottom: 1px solid #D5DADD; }
#leyi-resins-v1 #faq .fq summary { padding: 20px 0; font-size: 18px; font-weight: 700; }
#leyi-resins-v1 #faq .fq summary svg { width: 20px; height: 20px; }
#leyi-resins-v1 #faq .fq p { font-size: 16px; line-height: 1.8; color: #51606A; padding: 0 40px 22px 0; }
@media (max-width: 980px) {
	#leyi-resins-v1 #faq .w { position: static; padding-left: 24px; }
	#leyi-resins-v1 #faq .w > .ey, #leyi-resins-v1 #faq .w > h2 { position: static; margin: 0 0 12px; max-width: none; }
}

#leyi-resins-v1 #faq .fq details.leyi-faq-motion > p {
	display: block;
	height: 0;
	opacity: 0;
	padding-bottom: 0 !important;
	overflow: hidden;
	pointer-events: none;
	transition: height 340ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease;
}
#leyi-resins-v1 #faq .fq details.leyi-faq-motion.is-open > p {
	opacity: 1;
	padding-bottom: 22px !important;
	pointer-events: auto;
}

/* 2026-10-23 手机端不出现横向拖动：筛选按钮换行显示 */
#leyi-resins-v1 .chips,#leyi-resins-v1 .tabs{flex-wrap:wrap!important;overflow:visible!important;margin-inline:0!important;padding-inline:0!important}

/* 按临床方案 filter (2026-11-16): dark cards match the photos' navy background, no visible seam. */
#leyi-resins-v1 .plans { margin-top: 36px; --plan-bg: #07111B; }
#leyi-resins-v1 .plh { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--sub); }
#leyi-resins-v1 .plg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
#leyi-resins-v1 .plan { position: relative; display: flex; align-items: stretch; padding: 0; margin: 0; min-height: 120px; text-align: left; font: inherit; color: #fff; cursor: pointer; overflow: hidden; border-radius: 16px; border: 1px solid #16222E; background: var(--plan-bg); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
#leyi-resins-v1 .plan .pli { flex: 0 0 40%; position: relative; overflow: hidden; }
#leyi-resins-v1 .plan .pli::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,27,0) 50%, var(--plan-bg) 100%); }
#leyi-resins-v1 .plan img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform .7s cubic-bezier(.22,.68,.2,1); }
#leyi-resins-v1 .plan .plt { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 16px 14px 4px; min-width: 0; }
#leyi-resins-v1 .plan b { font-size: 17px; font-weight: 700; color: #fff; }
#leyi-resins-v1 .plan em { font-style: normal; font-size: 13px; line-height: 1.5; color: #A9B6C1; }
#leyi-resins-v1 .plan i { font-style: normal; font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--sky); }
#leyi-resins-v1 .plan:hover { border-color: #2A3B4C; box-shadow: 0 12px 28px rgba(7,17,27,.22); transform: translateY(-2px); }
#leyi-resins-v1 .plan:hover img { transform: scale(1.2); }
#leyi-resins-v1 .plan.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), 0 12px 28px rgba(30,91,216,.25); }
#leyi-resins-v1 .plan.on b { color: var(--sky); }
@media (max-width: 1080px) { #leyi-resins-v1 .plg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  #leyi-resins-v1 .plg { gap: 10px; }
  #leyi-resins-v1 .plan { flex-direction: column; min-height: 0; }
  #leyi-resins-v1 .plan .pli { flex: none; aspect-ratio: 16 / 10; }
  #leyi-resins-v1 .plan .pli::after { background: linear-gradient(180deg, rgba(7,17,27,0) 55%, var(--plan-bg) 100%); }
  #leyi-resins-v1 .plan .plt { padding: 2px 12px 12px; }
  #leyi-resins-v1 .plan b { font-size: 15px; }
  #leyi-resins-v1 .plan em { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { #leyi-resins-v1 .plan, #leyi-resins-v1 .plan img { transition: none; } #leyi-resins-v1 .plan:hover { transform: none; } }

/* 5 方案布局 2026-11-17 */
#leyi-resins-v1 .plg { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#leyi-resins-v1 .plan { flex-direction: column; min-height: 0; }
#leyi-resins-v1 .plan .pli { flex: none; aspect-ratio: 16 / 10; }
#leyi-resins-v1 .plan .pli::after { background: linear-gradient(180deg, rgba(7,17,27,0) 50%, var(--plan-bg) 100%); }
#leyi-resins-v1 .plan .plt { padding: 2px 16px 16px; }
#leyi-resins-v1 .plan b { font-size: 16px; }
@media (max-width: 1080px) { #leyi-resins-v1 .plg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { #leyi-resins-v1 .plg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
