.documents-page { max-width: 1240px; margin: 0 auto; padding: 30px 28px 64px; }
.documents-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; color: #526579; font-size: 13px; line-height: 1.65; }
.documents-breadcrumb a { color: #0755c5; }
.documents-heading { padding: 40px 0 28px; }
.documents-heading h1 { margin: 0; color: #071d36; font-size: clamp(36px,4.5vw,60px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.documents-heading p { max-width: 68ch; margin: 20px 0 0; color: #526579; font-size: 16px; line-height: 1.75; }
.factory-quality--home { padding: 64px 0; scroll-margin-top: 90px; }
.fq-management, .fq-testing { scroll-margin-top: 104px; }
.factory-quality h3, .factory-quality h4, .factory-quality h5 { color: #071d36; }
.factory-quality h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.4; letter-spacing: -.02em; }
.factory-quality h4, .factory-quality h5 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; }
.factory-quality p { color: #526579; font-size: 14px; line-height: 1.7; }
.factory-quality a:focus-visible, .factory-quality button:focus-visible { outline: 3px solid #1263d6; outline-offset: 4px; }
.fq-heading { margin-bottom: 28px; }
.fq-text-link { display: inline-flex; min-height: 40px; align-items: center; color: #0755c5; font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.fq-row-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 28px; margin-bottom: 22px; }
.fq-row-heading h2, .fq-row-heading h3 { margin: 0; }
.fq-row-heading h3 { font-size: 25px; }
.fq-photo-grid { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-areas: "lead exterior" "lead equipment"; gap: 18px; }
.fq-photo { min-width: 0; margin: 0; display: grid; grid-template-rows: 1fr auto; }
.fq-photo button { width: 100%; min-height: 0; padding: 0; display: block; overflow: hidden; border: 0; border-radius: 4px; background: #e8edf2; cursor: zoom-in; }
.fq-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fq-photo figcaption { padding-top: 9px; color: #526579; font-size: 13px; line-height: 1.45; }
.fq-photo--lead { grid-area: lead; }
.fq-photo--lead img { min-height: 395px; }
.fq-photo--exterior { grid-area: exterior; }
.fq-photo--exterior img { height: 174px; }
.fq-equipment { min-width: 0; grid-area: equipment; scroll-margin-top: 104px; }
.factory-quality .fq-equipment h3 { margin: 0 0 10px; font-size: 17px; }
.fq-photo-pair, .fq-finished-photos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.fq-photo-pair img { height: 154px; }
.fq-finished { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: center; margin-top: 26px; padding-top: 24px; border-top: 1px solid #dce4ed; }
.factory-quality .fq-finished h3 { font-size: 19px; }
.fq-finished p { max-width: 56ch; margin: 0; }
.fq-finished-photos img { height: 112px; }
.fq-document-band { margin-top: 28px; padding: 28px; background: #fff; border: 1px solid #dce4ed; border-radius: 6px; scroll-margin-top: 104px; }
.fq-document-columns { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.65fr); gap: 32px; }
.factory-quality .fq-category-title { margin: 0 0 16px; font-size: 19px; line-height: 1.4; }
.fq-testing { min-width: 0; padding-left: 30px; border-left: 1px solid #dce4ed; }
.fq-management-record { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 18px; padding: 18px 0; border-top: 1px solid #dce4ed; }
.fq-management-record img { display: block; width: 96px; height: 132px; object-fit: contain; }
.fq-management-record p { margin: 0; font-size: 13px; line-height: 1.7; }
.fq-own-report { display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: start; gap: 18px; }
.fq-own-report img { display: block; width: 96px; height: 138px; object-fit: contain; }
.fq-own-report p { margin: 0 0 7px; font-size: 13px; }
.fq-own-report .fq-report-meta { color: #17364e; }
.fq-supporting-preview { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce4ed; }
.fq-paper-strip { min-width: 0; flex: 1 1 55%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.fq-paper-strip img { display: block; width: 100%; height: 105px; object-fit: contain; }
.fq-supporting-preview > .fq-text-link { flex: 1 1 45%; }
.fq-project-footer { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #dce4ed; }
.factory-quality .fq-project-footer h3 { font-size: 18px; }
.fq-support ul { margin: 0; padding-left: 18px; color: #526579; font-size: 14px; line-height: 1.7; }
.fq-support li + li { margin-top: 6px; }
.fq-company-roles dl { display: grid; gap: 13px; margin: 0; }
.fq-company-roles dl > div { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 16px; }
.fq-company-roles dt { font-size: 13px; font-weight: 700; line-height: 1.6; }
.fq-company-roles dd { margin: 0; color: #526579; font-size: 13px; line-height: 1.6; }
.fq-jump-links { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0 0 18px; border-bottom: 1px solid #dce4ed; }
.fq-jump-links a { display: inline-flex; align-items: center; min-height: 44px; color: #0755c5; font-size: 14px; font-weight: 700; }
.fq-page-section { margin-top: 40px; scroll-margin-top: 104px; }
.fq-page-section + .fq-page-section { margin-top: 52px; padding-top: 38px; border-top: 1px solid #dce4ed; }
.factory-quality h2 { margin: 0; color: #071d36; font-size: clamp(27px,2.8vw,36px); line-height: 1.15; letter-spacing: -.025em; }
.factory-quality--home h2 { font-size: clamp(31px,3.1vw,44px); }
.fq-section-heading { margin-bottom: 28px; }
.fq-section-heading p { max-width: 72ch; margin: 14px 0 0; }
.fq-own-report--detail { padding: 18px; background: #f5f7fa; border: 1px solid #dce4ed; }
.fq-testing .fq-supporting-title { margin: 26px 0 18px; font-size: 17px; }
.fq-lab-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.fq-lab-record { display: flex; flex-direction: column; min-width: 0; }
.fq-document-image { display: block; }
.fq-lab-record .fq-document-image img { width: 100%; height: 170px; display: block; object-fit: contain; }
.fq-lab-record > div { display: flex; flex: 1; flex-direction: column; padding-top: 16px; }
.fq-lab-record h4 { font-size: 15px; }
.fq-lab-record p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; }
.fq-lab-record .fq-text-link { margin-top: auto; }
.fq-document-number { overflow-wrap: anywhere; }
.fq-document-footnote { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dce4ed; }
.fq-document-footnote p { max-width: 95ch; margin: 0 0 8px; font-size: 13px; }
.fq-document-footnote .fq-holder-note { color: #29485e; font-size: 14px; }
.fq-project-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; }
.fq-project-layout p { margin: 0 0 20px; }
.fq-project-layout .fq-finished-photos img { height: 165px; }
.fq-project-layout .fq-company-roles { margin-top: 30px; }
.fq-contact-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 34px; padding-top: 28px; border-top: 1px solid #dce4ed; }
.fq-contact-row h3 { font-size: 20px; }
.fq-contact-row p { margin: 0; }
.documents-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.fq-back-link { margin-top: 20px; }
.fq-viewer { width: min(1180px,96vw); max-width: 96vw; max-height: 94vh; padding: 18px; border: 0; color: #071d36; background: #fff; }
.fq-viewer::backdrop { background: rgba(3,15,28,.85); }
.fq-viewer__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.fq-viewer__header p { margin: 0; font-size: 15px; }
.fq-viewer__close { min-height: 44px; padding: 8px 16px; border: 1px solid #b9c9d8; border-radius: 4px; color: #071d36; background: #fff; cursor: pointer; font-size: 14px; }
.fq-viewer__image img { display: block; max-width: 100%; max-height: 76vh; margin: 0 auto; object-fit: contain; }
@media (max-width: 1000px) {
 .fq-document-columns { grid-template-columns: 1fr; gap: 26px; }
 .fq-testing { padding: 24px 0 0; border-left: 0; border-top: 1px solid #dce4ed; }
 .fq-supporting-preview { max-width: 620px; }
 .fq-lab-record .fq-document-image img { height: 180px; }
 .fq-contact-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
 .documents-page { padding: 24px 18px 48px; }
 .documents-heading { padding: 30px 0 20px; }
 .documents-heading h1 { font-size: 38px; }
 .documents-heading p { font-size: 15px; }
 .factory-quality--home { padding: 48px 0; }
 .fq-row-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
 .fq-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "lead exterior" "equipment equipment"; gap: 18px 12px; }
 .fq-photo--lead img, .fq-photo--exterior img { height: 180px; min-height: 0; }
 .fq-photo-pair img { height: 140px; }
 .fq-finished { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
 .fq-finished-photos img { height: 110px; }
 .fq-document-band { padding: 22px 18px; }
 .fq-row-heading h3 { font-size: 24px; }
 .fq-project-footer, .fq-project-layout { grid-template-columns: 1fr; gap: 28px; }
 .fq-company-roles dl > div { grid-template-columns: 1fr; gap: 3px; }
 .fq-jump-links { gap: 0 20px; padding-bottom: 12px; }
 .fq-jump-links a { font-size: 13px; }
 .fq-page-section { margin-top: 28px; }
 .fq-page-section + .fq-page-section { margin-top: 36px; padding-top: 30px; }
 .fq-viewer { padding: 12px; }
 .fq-viewer__header { gap: 12px; }
}
@media (max-width: 600px) {
 .fq-lab-grid { grid-template-columns: 1fr; gap: 22px; }
 .fq-lab-record { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 18px; }
 .fq-lab-record .fq-document-image img { width: 96px; height: 138px; }
 .fq-lab-record > div { padding-top: 0; }
 .fq-lab-record h4 { font-size: 16px; }
 .fq-lab-record p { font-size: 13px; }
 .fq-management-record, .fq-own-report { grid-template-columns: 96px minmax(0,1fr); gap: 15px; }
 .fq-own-report--detail { padding: 16px 12px; }
 .fq-supporting-preview { flex-direction: column; align-items: flex-start; gap: 8px; }
 .fq-paper-strip { width: 100%; max-width: 300px; }
 .fq-paper-strip img { height: 110px; }
 .documents-actions { width: 100%; }
}

/* Dedicated certificate-detail page; homepage factory layout above is preserved. */
.documents-page { max-width: 1240px; margin: 0 auto; padding: 32px 32px 64px; }
.documents-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 12px; color: #526579; font-size: 13px; line-height: 1.6; }
.documents-breadcrumb a { color: #0755c5; }
.documents-heading { padding: 36px 0 24px; }
.documents-heading h1 { max-width: 100%; margin: 0; color: #071d36; font-size: clamp(34px,4vw,52px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.documents-heading p { max-width: 72ch; margin: 16px 0 0; color: #526579; font-size: 16px; line-height: 1.65; }
.documents-holder { margin: 0 0 40px; padding: 20px 24px; border: 1px solid #dce6ec; background: #f2f7f7; color: #465b66; font-size: 14px; line-height: 1.7; }
.documents-holder strong { color: #17333f; }
.documents-layout { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(0,2fr); gap: 40px; align-items: start; }
.documents-layout > section { min-width: 0; }
.documents-page h2 { margin: 0 0 24px; color: #071d36; font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
.documents-record { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; align-items: start; padding: 24px 0; border-bottom: 1px solid #dce6ec; color: #071d36; }
.documents-record:first-of-type { padding-top: 0; }
.documents-record img { display: block; width: 96px; height: 132px; object-fit: contain; object-position: center top; }
.documents-record > div { min-width: 0; }
.documents-record strong, .documents-record span { display: block; }
.documents-record strong { font-size: 16px; line-height: 1.4; }
.documents-record span { margin-top: 8px; color: #526579; font-size: 13px; line-height: 1.6; }
.documents-record em, .documents-report em { display: flex; align-items: center; min-height: 44px; color: #0755c5; font-size: 13px; font-style: normal; font-weight: 700; }
.documents-record em { margin-top: 8px; }
.documents-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; color: #0755c5; font-size: 13px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.documents-reports { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 24px; row-gap: 12px; margin: 0; padding: 0; list-style: none; }
.documents-reports > li, .documents-report { display: grid; grid-template-rows: subgrid; grid-row: span 5; min-width: 0; }
.documents-report { color: #071d36; }
.documents-report img { display: block; width: 100%; height: 220px; padding: 12px; border: 1px solid #dce6ec; background: #f7f9fb; object-fit: contain; object-position: center top; }
.documents-report > div { display: grid; grid-template-rows: subgrid; grid-row: span 4; min-width: 0; }
.documents-report strong { display: block; margin: 0; font-size: 16px; line-height: 1.4; }
.documents-report span { display: block; margin: 0; color: #526579; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.documents-report em { margin: 0; align-self: end; }
.documents-page a:hover em { text-decoration: underline; text-underline-offset: 3px; }
.documents-page a:focus-visible { outline: 3px solid #0755c5; outline-offset: 5px; }
.documents-page ::selection { color: #071d36; background: #dbeaff; }
.documents-scope { margin: 20px 0 0; color: #526579; font-size: 13px; line-height: 1.65; }
.documents-junkang { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; align-items: start; margin-top: 40px; padding: 32px 0 0; border-top: 1px solid #dce6ec; }
.documents-junkang > div { min-width: 0; }
.documents-junkang img { display: block; width: 96px; height: 136px; object-fit: contain; object-position: center top; }
.documents-junkang h2 { margin-bottom: 8px; }
.documents-junkang h3 { margin: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.documents-junkang p { max-width: 72ch; margin: 12px 0 0; color: #526579; font-size: 14px; line-height: 1.7; }
.documents-junkang .documents-source { margin-top: 8px; }
.documents-contact { margin-top: 40px; padding-top: 32px; border-top: 1px solid #dce6ec; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.documents-contact h2 { margin-bottom: 8px; }
.documents-contact p { margin: 0; color: #526579; font-size: 14px; line-height: 1.7; }
.documents-page .documents-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.documents-entry-anchor { display: block; height: 0; scroll-margin-top: 104px; }
@supports not (grid-template-rows: subgrid) {
 .documents-reports > li { display: block; }
 .documents-report { display: flex; flex-direction: column; height: 100%; gap: 12px; }
 .documents-report > div { display: flex; flex: 1; flex-direction: column; gap: 12px; }
 .documents-report em { margin-top: auto; align-self: start; }
}
@media (max-width: 1000px) {
 .documents-layout { grid-template-columns: 1fr; gap: 36px; }
 .documents-systems { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
 .documents-systems h2, .documents-systems > .documents-source { grid-column: 1 / -1; }
 .documents-record { padding-top: 0; }
 .documents-contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
 .documents-page { padding: 24px 20px 48px; }
 .documents-heading { padding: 28px 0 24px; }
 .documents-heading h1 { font-size: 34px; }
 .documents-heading p { font-size: 15px; line-height: 1.65; }
 .documents-holder { padding: 16px; margin-bottom: 32px; font-size: 13px; }
 .documents-layout { gap: 32px; }
 .documents-page h2 { margin-bottom: 20px; font-size: 21px; }
 .documents-systems { display: block; }
 .documents-record { padding: 20px 0; }
 .documents-record:first-of-type { padding-top: 0; }
 .documents-reports { grid-template-columns: 1fr; gap: 20px; }
 .documents-reports > li { display: block; }
 .documents-report { display: grid; grid-template-columns: 96px minmax(0,1fr); grid-template-rows: auto; gap: 16px; align-items: start; height: auto; padding-bottom: 20px; border-bottom: 1px solid #dce6ec; }
 .documents-report img { width: 96px; height: 136px; padding: 6px; }
 .documents-report > div { display: flex; flex-direction: column; gap: 8px; grid-row: auto; }
 .documents-report em { margin: 0; align-self: start; }
 .documents-junkang { margin-top: 32px; padding-top: 24px; }
 .documents-junkang h2 { margin-bottom: 8px; }
 .documents-contact { margin-top: 32px; padding-top: 24px; }
 .documents-contact h2 { margin-bottom: 8px; }
 .documents-contact .documents-actions { width: 100%; }
}
