/* QilyLean 全站可读性治理层 V4｜2026-08-19
 * 目的：永久落实“全站最小字号统一再放大一号”，重点保护手机端、高层/股东浏览场景。
 * V4：同时把 1560px 统一内容窗口轴纳入最终视觉治理级联，消除上下模块 1240/1560px 混用。
 * 原则：保持标题层级差异；抬高最小可读基线，并覆盖历史页面、局部样式、导航、制造运营轴、六项竞争力卡片、状态说明、Dock、表格、表单与数字产品等小字号盲区。
 */
@import url("/site-visual-governance-v1.css?v=20260818-v1");
@import url("/site-content-axis-v1.css?v=20260819-unified-content-axis-v1");

:root{
  --qily-type-nav-1:19px!important;
  --qily-type-nav-2:18px!important;
  --qily-type-nav-3:18px!important;
  --qily-type-note:19px!important;
  --qily-type-small:18px!important;
  --qily-readable-floor:18px;
  --qily-readable-small:18px;
  --qily-readable-body-note:19px;
  --qily-axis-green:#0f4b5a;
  --qily-axis-green-hover:#12606f;
  --qily-axis-gold:#caa15f;
  --qily-axis-gold-soft:#fff5d2;
  --qily-axis-paper:#f4f9f8;
  --qily-axis-ink:#17322d;
}

/* 01｜全站最小信息层：所有可见辅助文字不得低于 18px。 */
html body :is(
  small,figcaption,.caption,.meta,.fine,.eyebrow,.module-eyebrow,.qily-ia-kicker,
  .kicker,.section-kicker,.tag,.tag-row li,.project-meta,.article-meta,.moment-count,
  .gallery-tip,.empty,.project-card-brief,.project-fact small,.module-card>small,
  .paper-card>small,.career-full-card>small,.privacy-note,.legal-note,.status-note,
  .service-contract-meta span,.qily-secondary-link span,.qily-ia-secondary-link span,
  .trust-label,.resource-label,.resource-kicker,.qily-resource-network__kicker,
  .qily-evidence-grade-badge,.qily-card-link-hint,
  .qily-principle span,.qily-value-card p,.qily-proof-item span,.qily-secondary-links span,
  .qily-asset-note,.qily-ia-card p,.qily-ia-result,.qily-ia-delivery-summary span,
  .helper-text,.field-note,.summary-note
){
  font-size:max(var(--qily-readable-small),1em)!important;
  line-height:1.68!important;
  opacity:1!important;
}

/* 01A｜合作页、履历、AI、资源、状态、筛选、附件等历史小字号统一兜底。 */
html body :is(
  .trust-strip span,.service-contract-meta strong,.core-contract-viewer-head p,
  .core-contract-viewer-status,.core-contract-viewer-note,.price span,.flow-step span,
  .evidence span,.diagnosis-form label,.brief-output,.form-status,
  .tags li,.group-label,.topic-control,.portrait-badge span,
  .status-title,.status-detail,.upload-note,.attachment-name,.attachment-size,
  .quick button,.upload-btn,.send-btn,.clear,.speech-play,.speech-settings summary,.speech-save,
  .filters button,.filters a,.filter-bar button,.filter-bar a,
  .result,.result-text,.search-result-meta,.search-meta,.search-hint,
  .date,.time,.count,.source-note,.source-meta,.resource-meta,.resource-note,
  .footer-note,.copyright
){
  font-size:max(var(--qily-readable-small),1em)!important;
  line-height:1.62!important;
  opacity:1!important;
}

/* 01B｜通用交互/表单/表格最低层：统一最低 18px。 */
html body :is(th,td,label,input,select,textarea,button,option){
  font-size:max(var(--qily-readable-floor),1em)!important;
}
html body :is(
  .breadcrumb,.breadcrumbs,.qily-breadcrumb,.site-footer,footer,
  .pagination,.pager,.toolbar,.filters,.filter-bar
){
  font-size:max(var(--qily-readable-floor),1em)!important;
  line-height:1.58!important;
}

/* 01C｜正文型说明统一不低于 19px，保持层级差异。 */
html body main :is(
  .lead,.hero-lead,.module-lead,.qily-home-thesis,.qily-founder-line,
  .qily-asset-heading>p,.qily-ia-heading>p
){
  font-size:max(var(--qily-readable-body-note),1em)!important;
  line-height:1.78!important;
}

/* 02｜制造运营资产闭环：所有最小字同步提升。 */
html body .qily-system-axis__title{
  font-size:19px!important;
  line-height:1.35!important;
  letter-spacing:.035em!important;
}
html body .qily-system-axis__step strong{
  font-size:18.5px!important;
  line-height:1.3!important;
}
html body .qily-system-axis__step span{
  font-size:18px!important;
  line-height:1.45!important;
}

/* 02A｜制造运营资产闭环交互永久基线。 */
html body .qily-system-axis__step{
  color:var(--qily-axis-ink)!important;
  background:var(--qily-axis-paper)!important;
  border:1.5px solid #bfd6d2!important;
  box-shadow:0 2px 7px rgba(15,75,90,.06)!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:rgba(202,161,95,.25)!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
html body .qily-system-axis__step :is(strong,span){transition:color .18s ease!important;}
@media (hover:hover) and (pointer:fine){
  html body .qily-system-axis__step:hover{
    color:#fff!important;-webkit-text-fill-color:#fff!important;background:var(--qily-axis-green-hover)!important;
    border-color:var(--qily-axis-gold)!important;box-shadow:0 12px 26px rgba(15,75,90,.23)!important;transform:translateY(-3px)!important;
  }
  html body .qily-system-axis__step:hover :is(strong,span){color:#fff!important;-webkit-text-fill-color:#fff!important;}
}
html body .qily-system-axis__step:focus-visible{
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:var(--qily-axis-green-hover)!important;
  border-color:var(--qily-axis-gold)!important;box-shadow:0 12px 26px rgba(15,75,90,.23)!important;
  outline:3px solid rgba(202,161,95,.38)!important;outline-offset:3px!important;transform:translateY(-2px)!important;
}
html body .qily-system-axis__step:focus-visible :is(strong,span){color:#fff!important;-webkit-text-fill-color:#fff!important;}
html body .qily-system-axis__step:active{
  color:var(--qily-axis-green)!important;-webkit-text-fill-color:var(--qily-axis-green)!important;background:var(--qily-axis-gold-soft)!important;
  border-color:var(--qily-axis-gold)!important;box-shadow:0 4px 11px rgba(15,75,90,.16)!important;transform:translateY(0) scale(.975)!important;
}
html body .qily-system-axis__step:active :is(strong,span){color:var(--qily-axis-green)!important;-webkit-text-fill-color:var(--qily-axis-green)!important;}

html body:has(header a[href="/experience/"][aria-current="page"]) .qily-system-axis__step[href="/experience/"],
html body:has(header a[href="/capabilities/"][aria-current="page"]) .qily-system-axis__step[href="/capabilities/"],
html body:has(header a[href="/improvements/"][aria-current="page"]) .qily-system-axis__step[href="/improvements/"],
html body:has(header a[href="/projects/"][aria-current="page"]) .qily-system-axis__step[href="/improvements/"],
html body:has(header a[href="/trust/"][aria-current="page"]) .qily-system-axis__step[href="/trust/"],
html body:has(header a[href="/cooperation/"][aria-current="page"]) .qily-system-axis__step[href="/cooperation/"],
html body:has(header a[href="/knowledge/"][aria-current="page"]) .qily-system-axis__step[href="/knowledge/"]{
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:var(--qily-axis-green)!important;border:2px solid var(--qily-axis-gold)!important;box-shadow:0 8px 20px rgba(15,75,90,.24)!important;
}
html body:has(header a[href="/experience/"][aria-current="page"]) .qily-system-axis__step[href="/experience/"] :is(strong,span),
html body:has(header a[href="/capabilities/"][aria-current="page"]) .qily-system-axis__step[href="/capabilities/"] :is(strong,span),
html body:has(header a[href="/improvements/"][aria-current="page"]) .qily-system-axis__step[href="/improvements/"] :is(strong,span),
html body:has(header a[href="/projects/"][aria-current="page"]) .qily-system-axis__step[href="/improvements/"] :is(strong,span),
html body:has(header a[href="/trust/"][aria-current="page"]) .qily-system-axis__step[href="/trust/"] :is(strong,span),
html body:has(header a[href="/cooperation/"][aria-current="page"]) .qily-system-axis__step[href="/cooperation/"] :is(strong,span),
html body:has(header a[href="/knowledge/"][aria-current="page"]) .qily-system-axis__step[href="/knowledge/"] :is(strong,span){color:#fff!important;-webkit-text-fill-color:#fff!important;}

/* 03｜模块内小导航、状态、卡片辅助说明全部进入 18px 最小层。 */
html body :is(
  .module-subnav a,.trust-status span,.trust-level span,.scope-list span,
  .qily-ia-pill-list li,.qily-ia-delivery-summary span,.qily-card-link-hint,
  .qily-evidence-grade-badge span,.qily-evidence-level-panel span,.record,
  .status-detail,.module-result,.module-note,.career-result,.qily-ia-result,
  .project-result,.result,.output,.note,.notice,.upload-note
){
  font-size:max(var(--qily-readable-small),1em)!important;
  line-height:1.66!important;
  opacity:1!important;
}

/* 04｜一级导航：桌面 19px；移动端最低 18px，不通过缩字解决布局。 */
html body header.qily-site-header :is(nav.site-nav,nav.qily-global-nav,nav.nav)>a[href],
html body header.qily-global-header :is(nav.site-nav,nav.qily-global-nav,nav.nav)>a[href],
html body header.topbar nav.nav>a[href],
html body header.top nav.nav>a[href]{font-size:19px!important;line-height:1.22!important;font-weight:900!important;}

/* 05｜右侧 Dock：可见文字统一最低 18px。 */
html body #floatDock .qily-float-btn,
html body #floatDock :is(.qily-float-home,.qily-float-back,.qily-float-current,.qily-float-share,.qily-float-contact){font-size:18px!important;line-height:1.12!important;}
html body #floatDock [data-action="share"] .qily-share-label-primary,
html body #floatDock [data-action="share"] .qily-share-label-url,
html body #floatDock .qily-share-label-line{font-size:18px!important;line-height:1.06!important;}

/* 06｜移动端只重排，不降低字号。 */
@media(max-width:900px){
  html body header.qily-site-header :is(nav.site-nav,nav.qily-global-nav,nav.nav)>a[href],
  html body header.qily-global-header :is(nav.site-nav,nav.qily-global-nav,nav.nav)>a[href],
  html body header.topbar nav.nav>a[href],
  html body header.top nav.nav>a[href]{font-size:18px!important;min-height:40px!important;padding:7px 10px!important;}
}
@media(max-width:620px){
  html body :is(
    small,figcaption,.caption,.meta,.fine,.eyebrow,.module-eyebrow,.qily-ia-kicker,
    .kicker,.section-kicker,.tag,.project-meta,.article-meta,.trust-status span,
    .trust-level span,.module-subnav a,.privacy-note,.status-note,
    .trust-strip span,.flow-step span,.core-contract-viewer-note,.attachment-size,
    .qily-principle span,.qily-value-card p,.qily-proof-item span,.qily-secondary-links span
  ){font-size:18px!important;}
  html body .qily-system-axis__title{font-size:19px!important}
  html body .qily-system-axis__step strong{font-size:18.5px!important}
  html body .qily-system-axis__step span{font-size:18px!important}
  html body .qily-system-axis__step{min-height:72px!important}
  html body #floatDock .qily-float-btn,
  html body #floatDock .qily-share-label-line{font-size:18px!important}
  html body :is(th,td,label,input,select,textarea,button,option){font-size:18px!important}
}
