/* Native block compositions. The original theme tokens and navigation remain authoritative. */
body .dm-page .dm-ed-hero-shell, body .dm-ed-hero-shell {display:block!important;min-width:0;}
body .dm-ed-stage {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,64px);align-items:center;margin:0 0 36px;padding:0;}
body .dm-ed-stage > * {min-width:0;margin-block-start:0;}
body .dm-ed-copy {max-width:660px;}
body .dm-ed-copy h1 {font-size:clamp(34px,3.6vw,56px);line-height:1.23;text-wrap:balance;margin:0 0 18px;}
body .dm-ed-copy p:not(.dm-eyebrow) {max-width:590px;line-height:1.85;}
body .dm-ed-copy .wp-block-buttons {margin-top:24px;}
body figure.dm-ed-figure {display:block!important;position:relative;max-width:100%;min-width:0;margin:0!important;padding:0;border:0;background:transparent;}
body .dm-page figure.dm-ed-figure img,body figure.dm-ed-figure img {display:block;width:100%!important;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;}
body figure.dm-ed-figure figcaption {display:block!important;font-family:var(--font-body,sans-serif);font-size:12px;line-height:1.65;font-weight:400;color:var(--ink-muted,#635e59);letter-spacing:0;text-align:left;position:static!important;transform:none!important;width:auto!important;margin:10px 0 0;padding:0 2px;background:transparent!important;}
body figure.dm-ed-figure img[src*="/diagrams/"] {height:auto!important;aspect-ratio:1200/760;object-fit:contain!important;background:#f0efe8;}
body .dm-ed-stage--scene .dm-ed-hero-image img {aspect-ratio:16/10;}
body .dm-ed-stage--material {grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;}
body .dm-ed-stage--material .dm-ed-copy {padding-top:34px;border-top:2px solid var(--primary,#59300f);}
body .dm-ed-stage--material .dm-ed-hero-image img {aspect-ratio:1.18;}
body .dm-ed-stage--portrait {grid-template-columns:minmax(0,1fr) minmax(0,.78fr);gap:clamp(36px,7vw,100px);}
body .dm-ed-stage--portrait .dm-ed-hero-image img {aspect-ratio:4/5;max-height:520px;}
body .dm-ed-stage--technical {grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);}
body .dm-ed-stage--technical .dm-ed-copy {border-left:3px solid var(--accent,#588059);padding-left:26px;}
body .dm-ed-stage--document {grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:50px;}
body .dm-ed-stage--document .dm-ed-hero-image {max-width:440px;justify-self:end;}
body .dm-ed-stage--document .dm-ed-copy h1 {font-size:clamp(32px,3vw,48px);}
body .dm-ed-stage--editorial {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
body .dm-ed-stage--editorial .dm-ed-hero-image {grid-column:1;grid-row:1;}
body .dm-ed-stage--editorial .dm-ed-copy {grid-column:2;grid-row:1;}
body .dm-ed-hero-shell > .benefit-grid {margin-top:30px;}
body .dm-ed-section-lead {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;margin-bottom:36px;}
body .dm-ed-section-lead > * {min-width:0;margin-block-start:0;}
body .dm-ed-section-lead .dm-section-head {margin-bottom:0;max-width:620px;}
body .dm-ed-section-lead h2 {font-size:clamp(26px,2.6vw,38px);line-height:1.3;margin-bottom:16px;}
body .dm-ed-section-copy p {line-height:1.85;}
body .dm-ed-section-lead--aside {grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);}
body .dm-ed-section-lead--left .dm-ed-body-image {grid-column:1;grid-row:1;}
body .dm-ed-section-lead--left .dm-ed-section-copy {grid-column:2;grid-row:1;}
body .dm-ed-section-lead--panorama {display:block;}
body .dm-ed-section-lead--panorama .dm-ed-section-copy {max-width:720px;margin-bottom:28px;}
body .dm-ed-section-lead--panorama .dm-ed-body-image img {aspect-ratio:21/8;max-height:400px;}
body .dm-ed-section-lead--compact {grid-template-columns:minmax(0,1.5fr) minmax(0,.5fr);gap:40px;padding-bottom:24px;border-bottom:1px solid var(--rule,#dfd5ce);}
body .dm-ed-section-lead--compact .dm-ed-body-image {max-width:320px;justify-self:end;}
body .dm-ed-section-lead--band {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:var(--surface,#f8f5f3);padding:28px;border-radius:12px;}
body .dm-ed-standalone {padding-top:24px;padding-bottom:40px;max-width:1100px;}
body .dm-ed-standalone .dm-ed-hero-image img {aspect-ratio:21/8;max-height:380px;}
body .dm-ed-records {display:block!important;border-top:1px solid var(--rule,#dfd5ce);}
body .dm-ed-records > .gp-card {display:grid!important;grid-template-columns:54px minmax(0,.65fr) minmax(0,1.35fr);gap:24px;align-items:start;border:0;border-bottom:1px solid var(--rule,#dfd5ce);border-radius:0;padding:24px 8px;background:transparent;box-shadow:none;}
body .dm-ed-records > .gp-card > .dm-bubble {grid-column:1;grid-row:1/5;margin:0;}
body .dm-ed-records > .gp-card > strong {grid-column:2;grid-row:1;font-size:18px;margin:0;}
body .dm-ed-records > .gp-card > span:not(.dm-bubble),body .dm-ed-records > .gp-card > p:not(.dm-bubble) {grid-column:3;margin:0;}
body .dm-ed-spec-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--rule,#dfd5ce);border-radius:12px;overflow:hidden;}
body .dm-ed-spec-grid > .gp-card {border-radius:0;border:0;border-bottom:1px solid var(--rule,#dfd5ce);padding:28px;box-shadow:none;background:transparent;}
body .dm-ed-spec-grid > .gp-card:nth-child(odd) {border-right:1px solid var(--rule,#dfd5ce);}
body .dm-ed-material-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}
body .dm-ed-material-grid > .gp-card {border:0;border-top:2px solid var(--primary,#59300f);border-radius:0;background:transparent;box-shadow:none;padding:26px 8px;}
body .dm-ed-service-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;}
body .dm-ed-service-grid > .gp-card {background:var(--surface-hi,#faf8f6);border-radius:8px;border:1px solid var(--rule-soft,#ede6e1);box-shadow:none;padding:28px;}
body .dm-ed-feature-grid > .gp-card {box-shadow:none;}
body .dm-ed-guide-card {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;}
body .dm-ed-guide-card > * {min-width:0;margin-block-start:0;}
body .dm-ed-guide-card .dm-ed-figure figcaption {color:var(--fab-oat,#e8dcc4);}
body.page-id-205 .dm-ed-hero-shell {padding-top:56px;padding-bottom:24px;}
body .dm-ed,body .dm-ed-figure {overflow-wrap:anywhere;}
body .dm-ed-product-content {padding:28px 0;max-width:1100px;}
body .dm-ed-product-content > .dm-ed-body-image {max-width:780px;margin-top:28px!important;}
body .dmc-card-image {position:relative;}
body .dmc-card-image::after {content:"应用 / 材质示意";position:absolute;left:10px;bottom:10px;padding:4px 9px;background:#fffE;color:var(--ink-muted,#635e59);border-radius:4px;font-size:11px;line-height:1.5;}
body.single-product .woocommerce-product-gallery::after {content:"图片为应用或材质示意，实物以样品与正式规格为准。";display:block;clear:both;font-size:12px;line-height:1.6;color:var(--ink-muted,#635e59);padding:12px 0;}
body.page-id-60 .factory-stage > figure.dm-ed-figure {height:560px;}
body.page-id-60 .factory-stage > figure.dm-ed-figure img {height:100%!important;aspect-ratio:auto;border-radius:0;}
body.page-id-60 .factory-stage > figure.dm-ed-figure figcaption {position:absolute!important;bottom:14px;left:28px;z-index:3;color:#fff;background:#1b1612c9!important;padding:7px 10px;max-width:500px;font-size:11px;}
@media(max-width:1024px) {
 body.page-id-60 .factory-stage > figure.dm-ed-figure {height:280px;}
}
@media(max-width:1100px) {
 body .dm-ed-stage {gap:30px;}
 body .dm-ed-copy h1 {font-size:38px;}
 body .dm-ed-stage--portrait {gap:36px;}
 body .dm-ed-section-lead--compact {grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);}
}
@media(max-width:767px) {
 body .dm-ed-stage,body .dm-ed-section-lead {display:flex!important;flex-direction:column;align-items:stretch;gap:24px;margin-bottom:28px;}
 body .dm-ed-stage .dm-ed-copy {order:0;max-width:none;padding-top:0;}
 body .dm-ed-stage .dm-ed-hero-image {order:1;max-width:none;width:100%;justify-self:auto;}
 body .dm-ed-copy h1 {font-size:32px;line-height:1.28;margin-bottom:16px;}
 body .dm-ed-stage--document .dm-ed-copy h1 {font-size:32px;}
 body .dm-ed-stage--material .dm-ed-copy {padding-top:20px;}
 body .dm-ed-stage--technical .dm-ed-copy {padding-left:18px;}
 body .dm-ed-stage--portrait .dm-ed-hero-image img {aspect-ratio:4/3;max-height:none;}
 body .dm-ed-section-lead .dm-ed-section-copy {order:0;}
 body .dm-ed-section-lead .dm-ed-body-image {order:1;width:100%;max-width:none;}
 body .dm-ed-section-lead--panorama .dm-ed-body-image img {aspect-ratio:3/2;}
 body .dm-ed-section-lead--band {padding:20px;}
 body .dm-ed-section-lead--compact .dm-ed-body-image {max-width:440px;align-self:center;}
 body .dm-ed-records > .gp-card {grid-template-columns:42px minmax(0,1fr);gap:12px;padding:20px 0;}
 body .dm-ed-records > .gp-card > span:not(.dm-bubble),body .dm-ed-records > .gp-card > p:not(.dm-bubble) {grid-column:2;}
 body .dm-ed-spec-grid,body .dm-ed-material-grid,body .dm-ed-service-grid {grid-template-columns:minmax(0,1fr)!important;}
 body .dm-ed-spec-grid > .gp-card:nth-child(odd) {border-right:0;}
 body .dm-ed-spec-grid > .gp-card {padding:22px;}
 body figure.dm-ed-figure figcaption {font-size:11px;line-height:1.6;}
 body .dm-ed-standalone .dm-ed-hero-image img {aspect-ratio:3/2;max-height:none;}
 body.page-id-205 .dm-ed-hero-shell {padding-top:32px;}
 body .dm-ed-guide-card {display:block;}
 body .dm-ed-guide-card .dm-ed-guide-image {margin-bottom:24px!important;}
 body .dm-page .gp-pdp-ctas {display:flex;flex-wrap:wrap!important;gap:12px;max-width:100%;}
 body .dm-page .gp-pdp-ctas > .dm-btn {max-width:100%;white-space:normal;line-height:1.4;}
 body .dm-page table {display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
 body .dm-page--fabric-library .fcard-ctas {flex-wrap:wrap;gap:12px;}
 body .dm-page--fabric-library .fcard-ctas > .wp-block-buttons {flex:1 1 100%;max-width:100%;}
 body .dm-page--fabric-library .fcard-ctas .dm-btn {max-width:100%;white-space:normal;padding:8px 12px;}
 body .dm-page--fabric-library .fl-reg-inner > * {min-width:0;max-width:100%;}
 body .dm-page--fabric-library .fl-reg-lede {align-items:flex-start;white-space:normal;max-width:100%;}
 body .dm-page--fabric-library .fl-reg-lede strong {min-width:0;max-width:100%;}
 body .dm-page--fabric-library .fl-reg-perks {display:flex;flex-wrap:wrap;}
 body.page-id-60 .factory-stage > figure.dm-ed-figure figcaption {left:20px;right:20px;max-width:none;}
}
