/* 字体一律继承全站：Inter 正文 + Playfair Display 标题（fonts.css / styles.css）。
   本文件只管本地草稿的版式与工具，不再声明任何 font-family。 */
html[data-local-review='true'] {
  scroll-padding-top: 100px;
  scroll-behavior: auto;
}
.pg-page {
  --pg-paper: #f5f1e9;
  --pg-ink: #0f172a;
  --pg-red: #b54032;
  --pg-green: #16645b;
  --pg-muted: #52606b;
  --pg-line: #deddd5;
  background: #fff;
  color: var(--pg-ink);
  overflow-x: visible;
}
.pg-page [hidden] { display: none !important; }
.pg-page a, .pg-page button, .pg-page summary { -webkit-tap-highlight-color: transparent; }
.pg-page :focus-visible { outline: 3px solid var(--pg-green); outline-offset: 5px; }
.pg-language { font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--pg-muted); margin-left: 20px; }
.pg-container { width: calc(100% - 80px); max-width: 1280px; margin-inline: auto; }
.pg-skip { position: fixed; top: -90px; left: 16px; z-index: 300; background: var(--pg-ink); color: #fff; padding: 12px 18px; }
.pg-skip:focus { top: 12px; }
/* #insProgress 的样式由 /resources/insight/assets/insight.css 提供，与其它 Insight 页一致 */
.pg-review { background: #eaece7; border-bottom: 1px solid #dde1d7; color: #354138; font-size: 12px; }
.pg-review > div { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.pg-review-label { display: flex; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; white-space: nowrap; }
.pg-review-label::before { content: ''; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #39714c; }
.pg-review a { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-weight: 600; white-space: nowrap; }
.pg-review svg { width: 15px; height: 15px; }
.pg-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--pg-red); }
.pg-intro-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-block: 22px 4px; }
.pg-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 4px; padding: 11px 17px; font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 46px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.pg-button svg { flex-shrink: 0; }
.pg-button-dark { color: #fff; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-button-dark:hover { background: #253c4e; border-color: #253c4e; }
.pg-button-outline { background: transparent; border-color: #cdd2cc; color: var(--pg-ink); }
.pg-button-outline:hover { background: #eaece5; border-color: #9da69e; }
.pg-button-quiet { color: var(--pg-muted); background: transparent; }
.pg-button-quiet:hover { background: #edf0eb; }
.pg-quick { margin-bottom: 62px; padding: 25px 32px 31px; background: var(--pg-paper); border-block: 1px solid #e8e1d7; }
.pg-quick-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.pg-quick-title p { font-size: 14px; color: #616965; }
.pg-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-question { position: relative; display: block; padding: 0 35px 0 21px; }
.pg-question:first-child { padding-left: 0; }
.pg-question + .pg-question { border-left: 1px solid #d7d4ca; }
.pg-question-number { font-size: 12px; letter-spacing: 1.5px; font-weight: 600; color: var(--pg-red); }
.pg-question h3 { font-size: 20px; font-weight: 600; margin-top: 5px; }
.pg-question p { font-size: 15px; line-height: 1.5; color: #546168; margin-top: 8px; max-width: 320px; }
.pg-question > svg { position: absolute; right: 14px; top: 30px; width: 17px; transition: transform .15s ease; }
.pg-question:hover > svg { transform: translateX(4px); }
.pg-layout { display: grid; grid-template-columns: 234px minmax(0, 1fr); gap: 74px; align-items: start; padding-bottom: 78px; }
.pg-sidebar { min-width: 0; position: sticky; top: 108px; }
.pg-toc { max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: auto; scrollbar-width: thin; padding-right: 13px; }
.pg-toc-label { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: #63706d; margin-bottom: 19px; }
.pg-toc ol { list-style: none; padding: 0; margin: 0; }
.pg-toc li + li { margin-top: 3px; }
.pg-toc a { display: flex; gap: 12px; align-items: start; padding: 9px 0 9px 9px; border-left: 2px solid #e4e6df; color: #586561; font-size: 14px; line-height: 1.4; }
.pg-toc a:hover { color: var(--pg-red); }
.pg-toc a[aria-current='location'] { color: var(--pg-ink); border-left-color: var(--pg-red); background: #f7f6f1; font-weight: 600; }
.pg-toc-number { font-variant-numeric: tabular-nums; font-size: 10px; color: #7a8279; margin-top: 3px; }
.pg-toc-tool { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--pg-line); }
.pg-toc-tool p { color: #48584f; font-size: 13px; }
.pg-toc-tool a { border: 0; padding: 8px 0; font-size: 13px; color: var(--pg-green); }
.pg-toc-tool svg { width: 16px; }
.pg-toc-toggle { display: none; }
.pg-article { min-width: 0; max-width: 900px; }
.pg-takeaway { padding: 27px 31px; border-left: 3px solid var(--pg-red); background: #f8f7f2; margin-bottom: 52px; }
.pg-takeaway p { margin-top: 9px; font-size: 22px; font-weight: 600; line-height: 1.5; }
.pg-section { padding-top: 37px; margin-top: 35px; border-top: 1px solid var(--pg-line); }
.pg-section-overview { padding-top: 0; margin-top: 0; border-top: 0; }
.pg-section-kicker { display: flex; gap: 15px; align-items: center; margin-bottom: 13px; font-size: 10px; letter-spacing: 1.8px; font-weight: 700; color: #6b746b; }
.pg-section-kicker > span:first-child { font-size: 11px; color: var(--pg-red); }
.pg-section h2 { font-size: 34px; font-weight: 600; line-height: 1.22; margin-bottom: 22px; letter-spacing: -.8px; scroll-margin-top: 108px; }
.pg-section h3 { font-size: 23px; line-height: 1.35; margin: 34px 0 16px; font-weight: 600; letter-spacing: -.2px; scroll-margin-top: 108px; }
.pg-section-body p { margin-block: 16px; }
.pg-section-body > p { max-width: 76ch; }
.pg-section-body a:not(.pg-button) { color: var(--pg-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bdcfc4; }
.pg-section-body a:hover { text-decoration-color: var(--pg-green); }
.pg-section-body ul, .pg-section-body ol { padding-left: 22px; margin-block: 18px; }
.pg-section-body li { padding-left: 3px; margin-bottom: 10px; }
.pg-section-body li p { margin-block: 8px; }
.pg-section-body strong { font-weight: 600; }
.pg-section-overview .pg-section-body > p:first-child { font-size: 25px; line-height: 1.5; }
.pg-formula { margin-block: 23px; padding: 22px 25px; background: #edf2ed; border: 1px solid #d5e0d4; color: #294d40; font-size: 20px; font-weight: 600; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pg-table-wrap { margin-block: 24px; max-width: 100%; overflow-x: auto; touch-action: pan-x pan-y; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.pg-table th { text-align: left; vertical-align: bottom; font-size: 12px; font-weight: 600; padding: 12px 15px; background: var(--pg-paper); color: #445449; border-bottom: 2px solid #d9ded3; }
.pg-table td { vertical-align: top; padding: 15px; border-bottom: 1px solid #e4e7de; }
.pg-table td:first-child { font-weight: 600; }
.pg-table tr:nth-child(even) td { background: #fbfbf8; }
.pg-table td:last-child { color: #566761; }
.pg-table td:first-child { width: 28%; }
.pg-figure { margin-block: 25px; }
.pg-figure img { width: 100%; height: auto; border: 1px solid #e8e2d6; border-radius: 3px; }
.pg-figure figcaption { font-size: 12px; line-height: 1.5; margin-top: 11px; color: #68716a; }
.pg-mobile-quotes { display: none; }
.pg-diagram { padding: 16px 20px; background: #f7f6f1; border: 1px solid var(--pg-line); margin-top: 26px; }
.pg-diagram summary { font-size: 16px; font-weight: 600; color: var(--pg-green); cursor: pointer; }
.pg-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pg-section-rfq > .pg-toolbar { margin-bottom: 19px; }
.pg-status { min-height: 1px; color: var(--pg-green); font-size: 14px; }
.pg-status:not(:empty) { margin-block: 14px; }
.pg-rfq-content { border: 1px solid #dcded4; border-top: 3px solid var(--pg-green); background: #f9faf6; padding: 26px 31px; font-size: 16px; line-height: 1.7; }
.pg-rfq-content ul { padding-left: 21px; }
.pg-rfq-content li { margin-bottom: 8px; }
.pg-rfq-content > p:first-child { font-size: 17px; }
.pg-check-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 21px; background: #eef3ec; border: 1px solid #d8e3d4; }
.pg-check-toolbar strong { font-size: 16px; font-weight: 600; }
.pg-check-toolbar progress { appearance: none; display: block; width: 195px; height: 4px; background: #dce3d8; border: 0; margin-top: 7px; }
.pg-check-toolbar progress::-webkit-progress-bar { background: #dce3d8; }
.pg-check-toolbar progress::-webkit-progress-value { background: var(--pg-green); }
.pg-check-toolbar progress::-moz-progress-bar { background: var(--pg-green); }
.pg-note { font-size: 13px; color: #616f64; margin-block: 13px; line-height: 1.6; }
.pg-section-checklist .pg-section-body ul { list-style: none; margin: 16px 0 24px; padding: 0; }
.pg-section-checklist .pg-section-body li { padding: 0; margin: 0; border-bottom: 1px solid #e7e9df; }
.pg-section-checklist .pg-section-body li p { margin: 0; }
.pg-check-label { display: flex; align-items: start; gap: 13px; padding: 13px 7px; cursor: pointer; font-size: 17px; line-height: 1.55; }
.pg-check-label input { flex-shrink: 0; width: 19px; height: 19px; margin-top: 4px; accent-color: var(--pg-green); cursor: pointer; }
.pg-check-label:has(input:checked) { background: #f0f5ed; color: #435e4c; }
.pg-check-label input:checked + span { text-decoration: line-through; text-decoration-color: #9fb49c; }
.pg-end-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.pg-section-sources { font-size: 15px; }
.pg-section-sources h2 { font-size: 30px; }
.pg-section-sources .footnotes-sep { border: 0; height: 1px; background: #e1e6db; margin-block: 24px; }
.pg-section-sources .footnotes-list { padding-left: 24px; }
.pg-section-sources .footnote-item { margin-bottom: 19px; scroll-margin-top: 108px; }
.pg-section-sources .footnote-item p { margin: 0; }
.pg-section-body .footnote-ref { margin-left: 2px; font-size: 10px; line-height: 0; vertical-align: super; }
.pg-section-body .footnote-ref a { text-decoration: none; }
.pg-section-body .footnote-backref { margin-left: 6px; font-size: 12px; }
.pg-page .footer { font-size: 15px; }

@media (max-width: 1280px) {
  .pg-container { width: calc(100% - 64px); }
  .pg-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 1080px) {
  .pg-language { margin-left: auto; margin-right: 14px; }
  .pg-layout { display: block; }
  .pg-sidebar { position: static; margin-bottom: 27px; }
  .pg-toc { padding: 0; border: 1px solid #dfe3d9; max-height: none; overflow: visible; }
  .pg-toc-label { padding: 14px 20px 0; margin-bottom: 9px; }
  .pg-toc ol { padding: 10px 19px 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .pg-toc-tool { display: none; }
  .pg-toc a { padding-block: 8px; }
  .pg-toc-toggle { display: none; }
  .pg-js .pg-toc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 20px; font-size: 15px; font-weight: 600; }
  .pg-js .pg-toc-label { display: none; }
  .pg-js .pg-toc ol { display: none; }
  .pg-js .pg-toc.is-open ol { display: grid; }
  .pg-article { max-width: none; }
  .pg-review a { display: none; }
  .pg-question { padding-right: 25px; }
  .pg-question h3 { font-size: 18px; }
  .pg-question > svg { right: 7px; }
  .pg-quick-title { display: block; }
  .pg-quick-title p { margin-top: 4px; }
}
@media (max-width: 700px) {
  .pg-container { width: calc(100% - 36px); }
  .pg-page .navbar .container { padding-inline: 18px; }
  .pg-page .nav-logo { gap: 7px; font-size: 19px; }
  .pg-page .logo-mark { width: 29px; height: 29px; font-size: 13px; }
  .pg-language { font-size: 10px; margin-right: 8px; }
  .pg-review > div { gap: 10px; padding-block: 7px; align-items: start; }
  .pg-review-label { padding-top: 2px; font-size: 8px; letter-spacing: 1px; }
  .pg-review p { font-size: 10px; line-height: 1.45; max-width: 235px; }
  .pg-eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .pg-intro-actions { padding-block: 16px 2px; gap: 9px; }
  .pg-button { font-size: 14px; padding: 10px 13px; min-height: 44px; }
  .pg-quick { padding: 21px 20px; margin-bottom: 28px; }
  .pg-quick-title { margin-bottom: 16px; }
  .pg-quick-title p { font-size: 13px; }
  .pg-questions { grid-template-columns: 1fr; }
  .pg-question, .pg-question:first-child { padding: 14px 27px 14px 0; }
  .pg-question:first-child { padding-top: 0; }
  .pg-question + .pg-question { border-left: 0; border-top: 1px solid #d7d4ca; }
  .pg-question:last-child { padding-bottom: 0; }
  .pg-question h3 { font-size: 19px; margin-top: 3px; }
  .pg-question p { font-size: 14px; margin-top: 5px; max-width: none; }
  .pg-question-number { font-size: 10px; }
  .pg-question > svg { top: 35px; right: 0; }
  .pg-question:first-child > svg { top: 23px; }
  .pg-toc ol { grid-template-columns: 1fr; }
  .pg-takeaway { padding: 19px 21px; margin-bottom: 35px; }
  .pg-takeaway p { font-size: 19px; line-height: 1.55; }
  .pg-section { padding-top: 29px; margin-top: 30px; }
  .pg-section-overview { padding-top: 0; margin-top: 0; }
  .pg-section-kicker { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 11px; }
  .pg-section h2 { font-size: 28px; letter-spacing: -.5px; line-height: 1.25; margin-bottom: 18px; scroll-margin-top: 92px; }
  .pg-section h3 { font-size: 21px; margin-top: 28px; }
  .pg-section-overview .pg-section-body > p:first-child { font-size: 22px; }
  .pg-formula { font-size: 17px; padding: 17px 18px; }
  .pg-table-wrap { overflow: visible; margin-block: 20px; }
  .pg-table, .pg-table tbody, .pg-table tr, .pg-table td { display: block; width: 100%; }
  .pg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pg-table tr { border: 1px solid #dce1d5; margin-bottom: 13px; background: #fff; }
  .pg-table td { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr); gap: 15px; padding: 11px 13px; font-size: 14px; border-bottom: 1px solid #e6e9e0; overflow-wrap: anywhere; }
  .pg-table td:first-child { width: 100%; background: var(--pg-paper); }
  .pg-table tr:nth-child(even) td { background: #fff; }
  .pg-table tr:nth-child(even) td:first-child { background: var(--pg-paper); }
  .pg-table td:last-child { border-bottom: 0; }
  .pg-table td::before { content: attr(data-label); color: #657166; font-size: 10px; font-weight: 600; line-height: 1.5; }
  .pg-table td > strong { font-weight: 600; }
  .pg-desktop-quote { display: none; }
  .pg-mobile-quotes { display: grid; gap: 12px; margin-block: 24px; }
  .pg-quote-card { background: #f6f5ee; padding: 20px; border: 1px solid #e1e3d8; }
  .pg-quote-card > span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #5a6b62; }
  .pg-quote-card strong { display: block; font-size: 25px; margin-top: 9px; }
  .pg-quote-card p { font-size: 14px; line-height: 1.5; color: #617066; margin-top: 8px; }
  .pg-quote-unit { font-size: 20px; font-weight: 600; border-top: 1px solid #d6ded3; padding-top: 12px; color: var(--pg-green); }
  .pg-mobile-quotes > .pg-note { margin: 0; font-size: 12px; }
  .pg-diagram { padding: 15px; }
  .pg-diagram summary { font-size: 15px; }
  .pg-diagram img { min-width: 0; }
  .pg-rfq-content { padding: 19px 18px; font-size: 15px; }
  .pg-section-rfq .pg-toolbar { gap: 8px; }
  .pg-section-rfq .pg-toolbar .pg-button { font-size: 13px; }
  .pg-check-toolbar { display: block; padding: 17px 18px; }
  .pg-check-toolbar .pg-toolbar { margin-top: 15px; }
  .pg-check-label { font-size: 16px; padding-block: 12px; gap: 11px; }
  .pg-check-label input { margin-top: 3px; }
  .pg-note { font-size: 12px; }
  .pg-section-sources, .pg-section-sources .pg-section-body { font-size: 14px; overflow-wrap: anywhere; }
  .pg-section-sources h2 { font-size: 27px; }
  .pg-page .footer { font-size: 14px; }
}
/* 极窄屏：全站底栏的两列栅格会被最长链接 ("Supplier Audit Checklist")
   的 min-content 撑出 6px。只在本地草稿这一页放开 track 下限并允许换行，
   不改全站 styles.css。 */
@media (max-width: 360px) {
  .pg-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-page .footer-col { min-width: 0; }
  .pg-page .footer-col ul a, .pg-page .footer-brand p { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pg-page *, .pg-page *::before, .pg-page *::after { transition: none !important; }
}
@media print {
  @page { size: A4; margin: 16mm 17mm; }
  html { scroll-behavior: auto; }
  .pg-page { padding: 0; color: #111; font-size: 10pt; background: #fff; }
  .pg-page .navbar, .pg-page .footer, .pg-review, .pg-sidebar, #insProgress,
  .pg-intro-actions, .pg-quick, .pg-toolbar, .pg-check-toolbar,
  .pg-end-actions, .pg-skip, .pg-diagram, .pg-figure, .pg-status, #petStorageNote { display: none !important; }
  .pg-container { width: 100%; max-width: none; }
  .pg-layout { display: block; padding: 0; }
  .pg-page .ins-hero { background: #fff; color: #111; }
  .pg-page .ins-hero img, .pg-page .ins-hero::after { display: none; }
  .pg-page .ins-hero-in { padding: 0 0 10pt; }
  .pg-page .ins-hero-in > * { max-width: none; }
  .pg-page .ins-hero h1 { color: #111; font-size: 24pt; line-height: 1.16; margin: 8pt 0; }
  .pg-page .ins-hero .ins-lede, .pg-page .ins-hero .ins-meta { color: #333; font-size: 9pt; }
  .pg-article { max-width: none; }
  .pg-takeaway { padding: 10pt; margin: 16pt 0; border: 1pt solid #777; }
  .pg-takeaway p { font-size: 11pt; }
  .pg-section { margin-top: 16pt; padding-top: 12pt; }
  .pg-section h2 { font-size: 17pt; break-after: avoid; margin-bottom: 10pt; }
  .pg-section h3 { font-size: 12pt; break-after: avoid; margin-top: 12pt; }
  .pg-section-body p { margin: 7pt 0; }
  .pg-section-body ul, .pg-section-body ol { margin-block: 7pt; }
  .pg-section-body li { margin-bottom: 5pt; }
  .pg-formula { padding: 9pt; font-size: 10pt; border: 1pt solid #aaa; }
  .pg-table { font-size: 8pt; }
  .pg-table-wrap { overflow: visible; }
  .pg-table th, .pg-table td { padding: 5pt; }
  .pg-table tr { break-inside: avoid; }
  .pg-rfq-content { padding: 12pt; font-size: 9pt; background: #fff; }
  .pg-check-label { font-size: 10pt; padding: 5pt 0; }
  .pg-section-checklist li { break-inside: avoid; }
  .pg-page .footnote-item { font-size: 8pt; }
  .pg-print-checklist .ins-hero, .pg-print-checklist .pg-takeaway, .pg-print-checklist .pg-section:not(.pg-section-checklist) { display: none !important; }
  .pg-print-checklist .pg-section-checklist { margin: 0; padding: 0; border: 0; }
}
