/* ==========================================================================
   BabelToken 简体站 project-first 样式（部署名 projects.css，仅 zh_CN 加载）
   2026-11-10 Phase 1 视觉收敛：
   - token 化：一次性灰蓝收敛为 --zh-text-secondary / --zh-navy / --zh-line-strong / --zh-paper-border
   - 低对比小字统一 ≥4.5:1；小标签与 eyebrow 对轨；chip 语言统一（胶囊+44px）
   - H2 阶梯 28/32/36；h1 clamp 上限 54px；头部 padding 对齐 page-head（54/60）
   - 移动断点 600 → 640（与 site.css 对齐，消除 601–640 混排区间）
   - gallery 隐藏 window-rail；新增 .direction-figure 插画容器钩子（供 Phase 3 集成）
   ========================================================================== */

/* ---- tokens ---- */
:root{
  --zh-text-secondary:#4e627a;   /* 次级正文/小标签，白底 6.3:1，各浅底 ≥5.4:1 */
  --zh-navy:#15365b;             /* 选中态深色（原 #15365b/#294568/#294a70 收敛为一处） */
  --zh-line-strong:#bccbe0;      /* chip/胶囊描边 */
  --zh-paper-border:#d8d3c6;     /* 暖纸底过渡边框（原 #d9d9d3/#dddcd5） */
  --zh-paper-border-light:#e4decf;
}

/* ---- page head ---- */
.project-head{background:linear-gradient(125deg,#f1f5fb,#fff);padding:54px 0 60px}
.project-hero-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center;margin-top:46px}
.project-head h1{font-size:clamp(32px,3.6vw,54px);line-height:1.28;max-width:620px}
.project-head .intro{font-size:16px;margin-top:24px;max-width:540px;color:var(--zh-text-secondary)}
.hero-artifact{min-width:0}
/* 小标签与 site.css .eyebrow 对轨（11px/.15em/600/亮蓝/横线前缀），消除双轨 */
.artifact-label{display:block;font-size:11px;line-height:1.4;font-weight:600;letter-spacing:.15em;color:var(--blue);margin-bottom:16px}
.artifact-label:before{content:"";display:inline-block;vertical-align:middle;width:24px;height:1px;background:currentColor;margin-right:10px}

/* ---- window 拟物 ---- */
.project-window{border:1px solid #bfcfe0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 20px 54px #132e5012;color:var(--ink)}
.window-chrome{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#132c49;color:#c5d5e8;font-size:10px;padding:13px 18px;letter-spacing:.03em}
.window-indicator{width:6px;height:6px;border-radius:50%;background:#6be0d1;flex:none}
.window-layout{display:grid;grid-template-columns:126px minmax(0,1fr);min-height:290px}
.window-rail{background:#edf2f8;padding:22px 12px;border-right:1px solid #dce5f0;display:flex;flex-direction:column;gap:10px}
.window-rail span{font-size:11px;padding:9px;color:var(--zh-text-secondary);border-radius:5px}
.window-rail .selected{background:white;box-shadow:0 2px 7px #193c6610;color:var(--blue)}
.window-canvas{padding:27px;min-width:0}
.window-canvas h3{font-size:22px;margin-bottom:22px}
.screen-rows p{margin:0;padding:12px 0;border-bottom:1px solid #e6ecf3;font-size:13px}
.screen-rows p:last-child{border-bottom:0}
.project-modules{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.project-modules>div{padding:18px 10px;background:#f1f5fb;border:1px solid #dae4f1;border-radius:7px;text-align:center;font-size:13px}
.platform-base{margin-top:18px;padding:12px;background:#183b66;color:white;border-radius:6px;text-align:center;font-size:12px}
.platform-connect{margin-top:12px;text-align:center;font-size:11px;color:var(--zh-text-secondary)}
.data-model{display:grid;justify-items:center;gap:3px}
.data-model span{padding:8px 20px;border:1px solid #d7e3f0;border-radius:5px;background:#f5f8fc;min-width:140px;text-align:center;font-size:13px}
.data-model b{font-weight:400;color:var(--zh-text-secondary)}
.screen-caption{font-size:11px;color:var(--muted);margin:16px 0 0}
.desktop-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.desktop-apps>div{display:grid;justify-items:center;gap:10px;font-size:11px}
.desktop-apps span{display:grid;place-items:center;width:44px;height:44px;background:linear-gradient(140deg,#234999,#74a6e8);color:#fff;border-radius:10px;font:14px Consolas,monospace}
.desktop-apps strong{font-weight:500}
.desktop-session{margin-top:28px;padding:17px;background:#f0f5fb;border-left:3px solid var(--blue);font-size:12px}
.desktop-session p{margin:5px 0}
.desktop-session small{font-size:10px;color:var(--muted)}
.release-view h4{margin:12px 0;font-size:20px}
.release-view p{font-size:13px;margin:10px 0}
/* off-palette 绿（#356c58/#eaf4ef）移入品牌冷色系：亮蓝浅底提示条，与 .desktop-session 同语言 */
.release-baseline{padding:10px 14px;background:#e9f0fc;color:#2c5096;border-left:3px solid var(--blue);font-size:12px}

/* ---- showcase ---- */
.project-showcase{padding:64px 0;background:#eaf0f7}
.showcase-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:35px}
.showcase-heading h2{font-size:32px}
.showcase-heading p{color:var(--zh-text-secondary);margin:0;font-size:15px}
.project-gallery{max-width:1000px;margin:0 auto}
.project-tabs{display:flex;gap:6px;margin-bottom:18px;flex-wrap:wrap}
.project-tabs button{border:1px solid var(--zh-line-strong);border-radius:30px;background:transparent;padding:11px 20px;color:var(--zh-text-secondary);font-size:13px;min-height:44px}
.project-tabs button[aria-selected=true]{background:var(--zh-navy);color:#fff;border-color:var(--zh-navy)}
/* gallery 不再重复侧栏拟物：隐藏 rail，画布占满；模块磁贴间距收紧 */
.project-gallery .window-layout{min-height:350px;grid-template-columns:minmax(0,1fr)}
.project-gallery .window-rail{display:none}
.project-gallery .project-modules{gap:10px}
.project-gallery .window-canvas{padding:34px 42px}
.project-gallery .window-canvas h3{font-size:26px}
.project-gallery .screen-rows p{font-size:15px;padding-block:15px}
.project-gallery [role=tabpanel]+[role=tabpanel]{margin-top:24px}
.project-showcase>.wrap>.sample-note{margin:22px auto 0;max-width:1000px;color:var(--zh-text-secondary)}

/* ---- body sections ---- */
.project-body{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:70px;padding-top:20px;padding-bottom:70px}
.project-section{padding:48px 0;border-bottom:1px solid var(--line);scroll-margin-top:115px}
.project-section-heading{display:flex;align-items:baseline;gap:19px;margin-bottom:25px}
.project-section-heading>span{font:12px Consolas,monospace;color:var(--blue)}
.project-section-heading h2{font-size:28px}
.project-intro{font-size:16px;color:var(--zh-text-secondary);line-height:1.9}
.project-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 34px}
.project-pairs article{border-top:2px solid #dce6f2;padding-top:20px}
.project-pairs h3{font-size:19px;margin-bottom:12px}
.project-pairs p{font-size:14px;color:var(--zh-text-secondary);margin:0;line-height:1.9}
/* 粘性侧栏对齐 site.css .detail-sidebar 语言（蓝顶边 + 同组偏移） */
.project-nav{align-self:start;position:sticky;top:114px;padding-top:22px;border-top:2px solid var(--blue)}
.project-nav>span{display:block;font-size:14px;font-weight:600;padding-bottom:18px;border-bottom:1px solid var(--line)}
.project-nav nav{display:flex;flex-direction:column;padding-top:14px}
.project-nav a{padding:10px 0;font-size:13px;color:var(--zh-text-secondary)}
.project-nav a:hover{color:var(--blue)}
.deliverable-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.deliverable-grid article{background:#f3f6fb;padding:26px 21px;border-radius:8px}
.deliverable-grid h3{font-size:18px;margin-bottom:14px}
.deliverable-grid p{font-size:13px;line-height:1.9;color:var(--zh-text-secondary);margin:0}
.project-stages{list-style:none;counter-reset:phase;padding:0;margin:0;display:grid;gap:0}
.project-stages li{counter-increment:phase;display:grid;grid-template-columns:34px 180px minmax(0,1fr);gap:18px;margin:0;padding:22px 0;border-bottom:1px solid #e7edf5}
.project-stages li:last-child{border-bottom:0}
.project-stages li:before{content:counter(phase,decimal-leading-zero);font:12px Consolas,monospace;color:var(--blue);padding-top:4px}
.project-stages h3{font-size:17px;line-height:1.6}
.project-stages p{font-size:14px;color:var(--zh-text-secondary);margin:0}
.acceptance-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;table-layout:fixed}
.acceptance-table th,.acceptance-table td{padding:17px 14px;border-bottom:1px solid #dde6f1;vertical-align:top;line-height:1.8}
.acceptance-table thead{background:#eef3f9;color:#4b617b}
.acceptance-table th:first-child{width:23%}
.acceptance-table td{color:var(--zh-text-secondary)}
.project-prepare{margin:0 0 27px;padding-left:20px}
.project-prepare li{padding:3px 0}
.project-section .sample-note{margin-top:20px}
.project-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.project-related article{padding:24px 0;border-top:1px solid #ccd9e9}
.project-related .related-reason{font-size:12px;color:var(--zh-text-secondary);margin-bottom:18px}
.project-related h3{margin-bottom:16px}
.project-related h3 a{font-size:20px}
.project-related p{font-size:14px;color:var(--zh-text-secondary)}

/* ---- document 拟物（暖纸底） ---- */
.project-document{padding:28px 30px;background:#fffdf9;border:1px solid var(--zh-paper-border);box-shadow:0 16px 42px #25364b12;color:var(--ink);position:relative;min-height:320px}
.document-top,.document-bottom{display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:.08em;color:var(--zh-text-secondary)}
.document-rule{height:3px;background:#21446f;width:42px;margin:25px 0}
.project-document h3{font-size:23px;line-height:1.45;margin-bottom:22px}
.document-content p{font-size:13px;border-bottom:1px solid #e8e7e1;padding:10px 0;margin:0}
.document-bottom{margin-top:25px}
.document-bottom span{font:18px Georgia,serif}
.project-gallery .project-document{max-width:770px;margin-inline:auto;padding:38px 48px}
.project-gallery .document-content p{font-size:15px}

/* ---- device 拟物 ---- */
.project-device{background:linear-gradient(145deg,#eff3f8,#e3ebf3);padding:24px 30px;border:1px solid #cedbe9;border-radius:9px;color:var(--ink)}
.device-drawing{width:220px;max-width:85%;margin:20px auto 28px}
.device-screen{border:9px solid #21334a;border-bottom-width:17px;border-radius:10px;background:#d6e9f5;padding:16px 16px 10px;box-shadow:8px 9px 0 #b5c5d7}
.device-screen>span{font:8px Consolas,monospace;color:#42617d;display:block;margin-bottom:12px}
.device-screen i{display:block;width:80%;height:5px;background:#9dbbd5;margin:8px 0}
.device-screen i:nth-of-type(2){width:55%;background:#729bcc}
.device-base{width:80%;margin:12px auto 0;border-radius:6px;background:#354b65;padding:10px;display:flex;gap:9px}
.device-base b{width:20px;height:7px;background:#172b43;border:1px solid #6c819a}
.project-device h3{font-size:20px;margin-bottom:16px}
.device-notes{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px}
.device-notes p{font-size:12px;color:var(--zh-text-secondary);margin:0;padding:7px 0;border-bottom:1px solid #cbd8e5}
.device-box{padding:18px 20px;background:#344a63;border-radius:12px;transform:skewY(-4deg);box-shadow:10px 12px 0 #b6c5d6;min-height:110px}
.device-lid{color:#d3e2f1;font:12px Consolas,monospace;border-bottom:1px solid #708399;padding:12px 0 25px}
.device-ports{display:flex;gap:10px;padding-top:12px}
.device-ports i{display:block;width:25px;height:10px;background:#0b233e;border:1px solid #8193a7}
.project-gallery .project-device{max-width:800px;margin-inline:auto;padding:35px 45px}
.project-gallery .device-drawing{width:300px}
.project-gallery .device-notes p{font-size:14px}
.environment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.environment-grid article{border:1px solid #d5e2f1;padding:24px 20px;border-radius:8px;background:#f8fbff}
.environment-grid h3{font-size:18px;margin-bottom:15px}
.environment-grid p{font-size:14px;color:var(--zh-text-secondary);margin:0}
.project-faq details{border-bottom:1px solid var(--line);padding:20px 0}
.project-faq summary{font-weight:600;cursor:pointer}
.project-faq p{margin:16px 0 0;color:var(--zh-text-secondary);font-size:14px}

/* ---- insurance 方案页 ---- */
/* chip 语言与 project-tabs 统一（胶囊 + 44px） */
.insurance-directions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:30px}
.insurance-directions a{padding:11px 20px;border:1px solid var(--zh-line-strong);color:var(--zh-text-secondary);border-radius:30px;font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.insurance-directions a:hover{color:var(--blue);border-color:var(--blue)}
.proposal-block{padding:30px;border:1px solid var(--zh-paper-border);background:#fffdf8;margin-bottom:26px}
.proposal-block>h3{font-size:24px;margin-bottom:18px}
.proposal-block>p{font-size:14px;line-height:1.9;color:var(--zh-text-secondary)}
.proposal-block h4{font-size:18px;margin:30px 0 20px}
.route-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:18px 0;border-block:1px solid var(--zh-paper-border-light);font-size:12px;margin:22px 0}
.route-strip b{font-weight:400;color:var(--zh-text-secondary)}
.proposal-matrix{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:6px}
.proposal-matrix>div{padding:15px 0;border-bottom:1px solid #e4e6e6}
.proposal-matrix strong{font-size:14px}
.proposal-matrix p{margin:7px 0 0;font-size:13px;color:var(--zh-text-secondary)}
.guarantee-block{background:#f2f6fb;border-color:#d2dfef}
.guarantee-map{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;margin:28px 0}
.guarantee-map>div{padding:20px;background:white;border:1px solid #d4e0ee;text-align:center}
.guarantee-map small{display:block;color:var(--zh-text-secondary);font-size:11px}
.guarantee-map strong{display:block;margin:8px 0;font-size:18px}
.guarantee-map p{font-size:12px;color:var(--zh-text-secondary);margin:0}
.guarantee-map>span{font-size:12px;color:var(--zh-text-secondary)}
.guarantee-map .guarantee-party{grid-column:1/-1;border-top:3px solid var(--blue)}

/* ---- catalog / search ---- */
.project-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project-catalog .topic-card{display:flex;flex-direction:column;align-items:stretch;padding:28px;border:1px solid var(--line);border-radius:10px;gap:0}
.project-catalog .topic-card h2,.project-catalog .topic-card h3{font-size:24px;grid-column:auto;margin:18px 0}
.project-catalog .topic-card>p{font-size:14px;color:var(--zh-text-secondary);margin:0 0 20px}
.project-catalog .topic-card>.text-link{margin-top:auto;padding-top:18px}
.catalog-project{background:#f4f7fb;padding:18px;display:grid;gap:7px}
.catalog-project>span{font-size:11px;color:var(--zh-text-secondary)}
.catalog-project strong{font-size:15px;font-weight:600}
.catalog-project small{font-size:12px;color:var(--zh-text-secondary)}
.catalog-section-title{font-size:28px;margin:38px 0 25px}
.project-catalog-note{font-size:13px;color:var(--zh-text-secondary);margin:20px 0 0}

/* ---- 首页 ---- */
.project-home .hero-inner{gap:50px;padding-block:80px}
.project-home .project-window{box-shadow:0 24px 70px #0003}
.project-home .window-canvas h3{font-size:23px}
.home-artifact-note{display:block;color:#9bb5d5;font-size:11px;letter-spacing:.15em;margin-bottom:16px}
.home-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.home-project{min-width:0}
.home-project .window-layout{display:block;min-height:260px}
.home-project .window-rail{display:none}
.home-project .window-canvas{padding:22px}
.home-project .project-device,.home-project .project-document{min-height:350px}
.home-project .project-document{padding:25px}
.home-project .project-document h3{font-size:21px}
/* device 卡视觉权重补齐：加大图形、恢复双列说明、字号 12px */
.home-project .device-drawing{width:220px;margin-block:12px 22px}
.home-project .device-notes{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}
.home-project .device-notes p{font-size:12px;padding-block:6px}
.home-project .project-device h3{font-size:18px;margin-bottom:10px}
.home-project-copy{padding:27px 2px}
.home-project-copy>span{font-size:12px;color:var(--zh-text-secondary)}
.home-project-copy h3{font-size:23px;line-height:1.4;margin:12px 0 16px}
.home-project-copy p{font-size:14px;color:var(--zh-text-secondary)}
.project-contact-band>.wrap{display:flex;align-items:center;justify-content:space-between;gap:40px}
.project-contact-band h2{font-size:36px}
.project-contact-band .eyebrow{color:#88aeea}
.project-contact-band p{color:#aabed9;margin:20px 0 0}
.project-contact-band .btn{flex:none}
.project-about{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:70px}
.project-about h2{font-size:32px;margin-bottom:25px}
.project-about .project-pairs{margin:34px 0}
.project-identity{background:#edf3fa;padding:28px;align-self:start;display:grid;gap:18px}
.project-identity p{font-size:13px;margin:0}
.project-identity>a{font-size:14px;overflow-wrap:anywhere}
.project-identity .eyebrow{margin-bottom:0}
.project-body>*{min-width:0}

/* ---- 方向插画容器钩子（Phase 3 集成用；SVG width:100% 自适应） ---- */
.direction-figure{display:block;margin:0}
.direction-figure>svg{display:block;width:100%;height:auto}
/* 白底区块内：纸色渐变卡容器 */
.direction-figure.surface-tint{background:linear-gradient(125deg,#f1f5fb,#fff);border:1px solid var(--line);border-radius:16px;overflow:hidden}
/* paper 底区块内：白卡容器 */
.direction-figure.surface-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
/* 栏目页：catalog 网格上方，全宽（可由集成侧加 max-width 降为 2/3 宽） */
.catalog-lead .direction-figure{margin-bottom:32px}
/* 首页：方向列表区块顶部，限宽 */
.home-lead .direction-figure{max-width:640px;margin:0 0 30px}
/* 首页方向行内右侧：小尺寸变体 */
.direction-row .direction-figure.inline{width:132px;flex:none;border:1px solid var(--line);border-radius:10px;overflow:hidden}

/* ---- zh override for shared low-contrast labels（site.css 无法改动，此处仅简体生效） ---- */
.card-top .small{color:var(--zh-text-secondary)}
.breadcrumb{color:var(--zh-text-secondary)}

/* ---- zh chip 统一覆盖：filters/sample-filter 对齐 project-tabs 胶囊语言 ---- */
.filters button,.sample-filter button{border:1px solid var(--zh-line-strong);background:#fff;color:var(--zh-text-secondary);padding:11px 20px;border-radius:30px;font-size:13px;min-height:44px}
.filters button[aria-pressed=true],.sample-filter button[aria-pressed=true]{color:#fff;background:var(--zh-navy);border-color:var(--zh-navy)}

@media(max-width:1100px){.project-hero-grid{gap:30px}.window-layout{grid-template-columns:100px minmax(0,1fr)}.window-canvas{padding:20px}.window-rail{padding-inline:8px}.project-body{gap:35px;grid-template-columns:minmax(0,1fr) 150px}.home-project-grid{gap:18px}.home-project .window-canvas h3{font-size:20px}.home-project .project-modules>div{padding:12px 6px}.project-stages li{grid-template-columns:28px 140px minmax(0,1fr)}}
@media(max-width:940px){.project-hero-grid{grid-template-columns:1fr;gap:35px}.hero-artifact{max-width:700px;width:100%}.project-head h1{font-size:40px}.project-body{display:block}.project-nav{display:none}.project-home .hero-inner{grid-template-columns:1fr;gap:45px}.project-home .hero-inner>div:last-child{max-width:700px;width:100%}.home-project-grid{grid-template-columns:1fr}.home-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}.home-project .project-window,.home-project .project-device,.home-project .project-document{min-height:320px}.showcase-heading{gap:30px}.project-related{grid-template-columns:repeat(2,minmax(0,1fr))}.project-about{gap:35px;grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:640px){.project-head{padding:30px 0 38px}.project-hero-grid{margin-top:28px}.project-head h1{font-size:34px}.project-head .intro{font-size:15px}.project-head .btn-row{gap:18px}.window-layout{display:block;min-height:0}.window-rail{display:none}.window-canvas{padding:23px 19px}.window-canvas h3{font-size:21px}.window-chrome{padding:12px 15px;font-size:9px}.project-showcase{padding:40px 0}.showcase-heading{display:block;margin-bottom:26px}.showcase-heading h2{font-size:26px;line-height:1.4}.showcase-heading p{margin-top:20px;font-size:14px}.project-tabs{gap:8px}.project-tabs button{font-size:12px;padding:10px 15px}.project-gallery .window-layout{display:block;min-height:300px}.project-gallery .window-canvas{padding:25px 20px}.project-gallery .window-canvas h3{font-size:23px}.project-gallery .screen-rows p{font-size:14px}.project-section{padding-block:34px}.project-section-heading{gap:12px}.project-section-heading h2{font-size:24px;line-height:1.4}.project-pairs,.deliverable-grid,.environment-grid,.project-related{grid-template-columns:1fr;gap:22px}.project-pairs h3{font-size:18px}.deliverable-grid article{padding:23px}.project-stages li{grid-template-columns:26px minmax(0,1fr);gap:10px 12px;padding:20px 0}.project-stages p{grid-column:2}.acceptance-table{display:block}.acceptance-table thead{display:none}.acceptance-table tbody,.acceptance-table tr,.acceptance-table th,.acceptance-table td{display:block;width:100%}.acceptance-table tr{padding:18px 0;border-top:1px solid var(--line)}.acceptance-table th:first-child{width:100%;padding:0 0 12px;font-size:16px;border:0}.acceptance-table td{padding:6px 0;border:0}.acceptance-table td:before{content:attr(data-label);display:block;color:#283f5e;font-size:11px;margin-bottom:4px}.project-document{padding:25px 22px}.project-gallery .project-document{padding:28px 22px}.project-gallery .document-content p{font-size:14px}.project-gallery .project-device{padding:25px 22px}.device-notes{grid-template-columns:1fr}.project-gallery .device-notes p{font-size:13px}.proposal-block{padding:23px 18px}.proposal-block>h3{font-size:21px}.proposal-matrix{grid-template-columns:1fr;gap:6px}.guarantee-map{grid-template-columns:1fr;gap:12px}.guarantee-map>span{text-align:center}.guarantee-map .guarantee-party{grid-column:auto}.route-strip{font-size:11px;gap:7px}.project-catalog{grid-template-columns:1fr;gap:18px}.project-catalog .topic-card{padding:24px}.project-catalog .topic-card h2,.project-catalog .topic-card h3{font-size:23px}.project-home .hero-inner{padding-block:50px}.project-home .hero h1{font-size:40px}.home-project{display:block}.home-project-copy{padding:24px 0 38px}.home-project .project-window,.home-project .project-device,.home-project .project-document{min-height:0}.project-contact-band>.wrap{display:block}.project-contact-band .btn{margin-top:25px}.project-contact-band h2{font-size:29px}.project-about{display:block}.project-identity{margin-top:35px}.project-body{padding-bottom:40px}.project-intro{font-size:15px}}

/* ---- 移动咨询栏避让（P0-1）：scenarios.js（共享冻结）控制 .mobile-enquiry 显隐，
   projects-zh.js 仅读取其 hidden 状态同步到 body.zh-me-visible，本侧只做空间预留。
   栏实测高度 72px（12px×2 内边距 + 48px 按钮，按钮含 22px 图标与 1px 边框），
   预留 72px；详情页（.topic-page）已有 80px 预留，:not(.topic-page) 避免回退。
   无 JS 时栏保持静态状态、不加类。 ---- */
@media(max-width:940px){body.zh-me-visible:not(.topic-page){padding-bottom:calc(72px + env(safe-area-inset-bottom))}}
/* 2026-11-10: image-led simplified UI. Shared CSS and other locales are frozen. */
:root{--ink:#172c43;--muted:#485b70;--blue:#3158cf;--zh-text-secondary:#41566c;--line:#d5dee8;--zh-navy:#16364e}
body{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC","Segoe UI",Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.8;-webkit-font-smoothing:auto}
h1,h2,h3,h4{font-weight:700;letter-spacing:-.025em}p{text-wrap:pretty}
.eyebrow,.artifact-label{font-size:12px;font-weight:700;letter-spacing:.08em}
.btn,.text-link{font-size:15px;font-weight:600}.btn{min-height:48px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #207f86;outline-offset:5px}
.nav a{font-size:14px}.breadcrumb{font-size:13px}.sample-note,.notice,.form-note{font-size:14px;color:var(--muted)}
.section-head p,.topic-card p,.project-intro,.project-pairs p,.project-stages p{font-size:16px;color:var(--zh-text-secondary)}
.scene-photo{position:relative;margin:0;overflow:hidden;border-radius:14px;background:#dce6ef;isolation:isolate}
.scene-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.scene-photo figcaption{position:absolute;bottom:14px;right:16px;padding:4px 10px;border-radius:4px;background:#112b42d9;color:#fff;font-size:12px;line-height:1.6}
/* Home: one photographic hero, then consistent editorial project cards. */
.project-home{background:#09192c}
.project-home .hero-inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:48px;padding-block:72px;align-items:center}
.project-home .hero h1,.project-home h1{font-size:clamp(40px,4.1vw,58px);line-height:1.25;letter-spacing:-.04em}
.project-home .lead{font-size:17px;color:#d2dfeb;max-width:440px;margin-top:26px}
.project-home .hero-copy{min-width:0}.project-home .btn-row{gap:14px;flex-wrap:wrap}
.home-hero-visual{min-width:0}.home-hero-visual .scene-photo{border-radius:14px;box-shadow:0 24px 50px #0003}
.home-hero-visual img{aspect-ratio:1.22;object-position:57% center}
.home-project-grid{gap:26px;align-items:stretch}
.home-project{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #162a4507}
.home-project .scene-photo{border-radius:0;flex:none}.home-project .scene-photo img{aspect-ratio:16/10}
.home-project-copy{padding:26px;display:flex;flex-direction:column;flex:1}
.home-project-copy>span{font-size:13px;color:#3b5874;font-weight:600}
.home-project-copy h3{font-size:24px;line-height:1.45;margin:12px 0 16px}
.home-project-copy p{font-size:15px;color:var(--muted);margin:0 0 24px}
.home-project-copy>.text-link{margin-top:auto;padding-top:10px}
.direction-row p{font-size:16px;color:var(--muted)}.direction-row h3{font-size:28px}
.section.paper{background:#eef3f7}.project-related h3 a{font-size:21px;line-height:1.5}
/* Category artwork belongs to the header, never between search and results. */
.category-head{background:#eef3f7;padding:54px 0}
.category-head-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:60px}
.category-head h1{font-size:46px;line-height:1.25}.category-head .intro{font-size:17px;max-width:640px}
.category-head .scene-photo img{aspect-ratio:16/10}.project-catalog-note{font-size:14px;color:var(--muted)}
.project-catalog .topic-card{border-radius:10px;padding:28px;background:#fff;box-shadow:none}
.project-catalog .topic-card h2,.project-catalog .topic-card h3{margin:8px 0 16px;font-size:25px}
.project-catalog .topic-card>p{font-size:15px;line-height:1.8}
.project-catalog .card-top{margin-bottom:14px}.catalog-project{background:#eff4f8;border-left:3px solid #2c7c88;border-radius:0;padding:18px}
.catalog-project>span,.catalog-project small{font-size:13px;color:#445b70}.catalog-project strong{font-size:16px}
.catalog-section-title{margin-top:36px;font-size:28px}.catalog-search input{font-size:16px}
/* Detail: a scene above, then a dedicated full-width deliverable preview. */
.project-head{background:#eef3f7;padding:32px 0 52px;border-bottom:1px solid var(--line)}
.project-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;margin-top:30px}
.project-head h1{font-size:clamp(32px,3.1vw,45px);line-height:1.35;max-width:600px}
.project-head .intro{font-size:17px;max-width:570px;color:#3c5268;margin-top:22px}
.hero-artifact .scene-photo img{aspect-ratio:3/2}.project-head .btn-row{gap:22px}
.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 174px;gap:42px;padding-block:48px 64px;align-items:start}
.project-main{grid-column:1;grid-row:1;min-width:0}.project-nav{grid-column:2;grid-row:1;top:112px;align-self:start;border-top:3px solid #2c7c88;padding-top:15px}
.project-nav summary{font-size:15px;font-weight:700;cursor:pointer;padding:8px 0 14px}
.project-nav nav{padding-top:2px;gap:4px}.project-nav a{font-size:14px;padding:9px 10px;border-radius:5px;color:#3f546a}
.project-nav a:hover,.project-nav a[aria-current=location]{background:#e9f1f6;color:#163e60;font-weight:600}
.project-showcase{padding:30px;background:#eaf0f5;border:1px solid #d0dbe5;border-radius:12px;scroll-margin-top:110px}
.project-showcase>.wrap{width:100%;max-width:none;margin:0}.showcase-heading{display:block;margin-bottom:25px}
.showcase-heading h2{font-size:29px;line-height:1.45}.showcase-heading p{font-size:16px;margin-top:15px;color:#3e536a;max-width:760px}
.project-gallery{max-width:none;margin:0}.project-tabs{gap:8px;margin-bottom:18px}
.project-tabs button{font-size:14px;padding:10px 17px;font-weight:600;background:#fff;border:1px solid #acbdcf;border-radius:6px}
.project-tabs button[aria-selected=true]{background:#15394f;border-color:#15394f}
.project-showcase>.wrap>.sample-note{font-size:13px;color:#41566b;margin-top:20px;line-height:1.85}
.project-section{padding:40px 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}
.project-section-heading h2{font-size:28px;line-height:1.4}.project-section-heading>span{font-size:13px;font-weight:600;color:#315b88}
.project-intro{line-height:1.85}.project-pairs{gap:26px}.project-pairs article{border-top:2px solid #afc4d5}
.project-pairs h3{font-size:20px}.project-pairs p{line-height:1.85}
.deliverable-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.deliverable-grid article{padding:23px 20px;background:#edf3f7;border-top:3px solid #3b7a8c}
.deliverable-grid h3{font-size:18px;line-height:1.5}.deliverable-grid p{font-size:15px;line-height:1.85}
.project-stages li{grid-template-columns:28px 130px minmax(0,1fr);gap:15px}.project-stages h3{font-size:17px}.project-stages p{font-size:15px}
.acceptance-table{font-size:15px}.acceptance-table thead{background:#e9f0f5;color:#203f58}.acceptance-table td{color:#344d63}
.acceptance-table th,.acceptance-table td{padding:17px 13px}.project-prepare{font-size:16px}
.environment-grid article{background:#f0f5f8;border-color:#cbd9e3}.environment-grid p,.project-faq p{font-size:15px}
.proposal-block{background:#fff;border-color:#cad6e2;border-radius:8px;padding:28px}.proposal-block>p{font-size:16px}
.proposal-block>h3{font-size:24px;line-height:1.5}.proposal-matrix strong{font-size:16px}.proposal-matrix p{font-size:15px}
.guarantee-block{background:#edf3f7;border-top:3px solid #2e7182}.guarantee-map p,.guarantee-map small,.guarantee-map>span,.route-strip{font-size:14px}
/* Readable preview components: no reused hero window or decorative device drawing. */
.software-preview,.spec-preview,.document-preview{background:#fff;border:1px solid #bdccda;border-radius:8px;overflow:hidden;box-shadow:0 12px 28px #142f4610}
.preview-bar{display:flex;justify-content:space-between;gap:18px;background:#17384f;color:#fff;padding:16px 22px;font-size:14px}
.preview-bar>span:last-child{font-size:12px;color:#d6e9f1;white-space:nowrap}
.preview-workspace{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:330px}
.preview-context{background:#f0f4f7;padding:26px 18px;border-right:1px solid #d8e2eb}
.preview-context>span{font-size:12px;font-weight:600;color:#456077}.preview-context p{font-size:14px;line-height:1.7;color:#25435b;padding-bottom:14px;border-bottom:1px solid #d6e1ea;margin:18px 0 0}
.preview-main{padding:28px;min-width:0}.preview-heading{margin-bottom:25px}
.preview-heading>span{font-size:13px;font-weight:600;color:#48637a}.preview-heading h3{font-size:26px;line-height:1.45;margin:8px 0 0}
.preview-heading>p{font-size:14px;color:#48637a;margin:10px 0 0}
.preview-items{display:grid;gap:0}.preview-item{display:flex;align-items:baseline;gap:15px;padding:18px 0;border-top:1px solid #dbe4ec}
.preview-index{font:13px/1.6 Consolas,monospace;color:#43677d;flex:none}.preview-item strong{font-size:16px;font-weight:600;line-height:1.7}
.preview-item p{font-size:15px;line-height:1.8;color:#456077;margin:5px 0 0}.preview-item>div{min-width:0}
.platform-module-grid,.data-structure{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.platform-module-grid article,.data-structure>div{padding:18px;background:#f0f5f8;border:1px solid #d3e0e9;border-radius:6px}
.platform-module-grid h4,.data-structure strong{font-size:17px}.platform-module-grid p,.data-structure p{font-size:14px;color:#3e5a70;margin:8px 0 0;line-height:1.75}
.platform-base{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;text-align:left;background:#214960;padding:15px 18px;font-size:14px;line-height:1.8}
.platform-connect,.screen-caption{font-size:13px;color:#415d73;line-height:1.8}
.workspace-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.workspace-apps article{background:#eaf2f8;border-top:3px solid #347e95;border-radius:5px;padding:20px 14px}
.workspace-apps strong{font-size:16px}.workspace-apps p{font-size:14px;color:#405e75;margin:10px 0 0;line-height:1.7}
.desktop-session{background:#f3f6f9;padding:18px 20px;margin-top:22px;font-size:15px;border-left:3px solid #36788b}.desktop-session small{font-size:13px;color:#41586f}
.spec-preview{padding:30px}.spec-preview .preview-items{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.preview-foot{display:flex;gap:18px;border-top:1px solid #d1dce7;background:#f1f5f8;margin-top:24px;padding:18px 20px;font-size:14px;line-height:1.8;color:#405970}
.preview-foot strong{white-space:nowrap;color:#1a3b53}.document-preview{display:grid;grid-template-columns:80px minmax(0,1fr)}
.document-spine{background:#234c61;color:#fff;padding:28px 14px;display:flex;flex-direction:column;align-items:center;gap:24px}
.document-spine>span{writing-mode:vertical-rl;letter-spacing:.2em;font-size:14px}.document-spine strong{font-size:26px;font-weight:400;color:#c8e2e7}
.document-main{padding:30px}.document-main .preview-item{padding-block:15px}
.project-related p{font-size:15px}.project-related article{padding:24px;background:white;border:1px solid var(--line);border-radius:8px}
.project-related .related-reason{font-size:13px}.project-contact-band p{font-size:16px;color:#d0deeb}
.project-about p,.project-about .project-pairs p{font-size:16px}.project-identity>a,.project-identity p{font-size:15px}
.contact-info p,.info-points li,.consult-box>p{font-size:16px}.form-row label,.form-note,.form-status{font-size:14px}
.footer p,.footer-links,.footer-contact>span{font-size:14px;color:#c6d4e2}.footer h2,.footer-bottom{font-size:13px;color:#b3c7da}
@media(max-width:1100px){.project-home .hero-inner{gap:30px}.category-head-grid,.project-hero-grid{gap:32px}.project-layout{grid-template-columns:minmax(0,1fr) 150px;gap:25px}.project-showcase{padding:24px}.preview-workspace{grid-template-columns:120px minmax(0,1fr)}.preview-main{padding:24px}.preview-context{padding:23px 14px}.home-project-copy{padding:22px}.home-project-copy h3{font-size:22px}.project-stages li{grid-template-columns:25px 110px minmax(0,1fr)}}
@media(max-width:940px){
 .project-home .hero-inner{grid-template-columns:1fr 1fr;padding-block:48px;gap:28px}.project-home h1{font-size:42px}.project-home .hero-inner>div:last-child{max-width:none}.project-home .lead{font-size:16px}.home-hero-visual img{aspect-ratio:1/1.2}
 .home-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-project{display:flex}.home-project-copy{padding:20px}.home-project-copy h3{font-size:20px}
 .project-layout{display:block;padding-top:24px}.project-nav{display:block;position:static;border:1px solid #c6d6e3;background:#f2f6f9;border-radius:8px;padding:8px 18px;margin-bottom:24px}.project-nav summary{padding:8px 0}.project-nav nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 12px;padding-bottom:10px}.project-nav a{padding:8px 4px;font-size:14px}
 .project-main{width:100%}.project-hero-grid{grid-template-columns:1fr 1fr;gap:28px}.project-head h1{font-size:35px}.project-head .intro{font-size:16px}.hero-artifact{max-width:none}.hero-artifact img{aspect-ratio:1/1.1!important}
 .category-head-grid{gap:30px}.category-head h1{font-size:38px}.category-head .intro{font-size:16px}
 .preview-workspace{grid-template-columns:140px minmax(0,1fr)}.project-related{grid-template-columns:repeat(2,minmax(0,1fr))}
 .deliverable-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-stages li{grid-template-columns:28px 150px minmax(0,1fr)}
}
@media(max-width:640px){
 body{font-size:16px}.wrap{width:calc(100% - 40px)}.section{padding-block:44px}.section-head h2{font-size:29px}.section-head p{font-size:16px}
 .project-home .hero-inner{grid-template-columns:1fr;padding-block:38px 40px;gap:28px}.project-home h1{font-size:40px}.project-home .lead{font-size:16px}.project-home .eyebrow{font-size:12px}
 .project-home .hero-inner .scene-photo img{aspect-ratio:16/10;object-position:center}.project-home .btn{font-size:14px;padding-inline:16px}
 .home-project-grid{grid-template-columns:1fr;gap:24px}.home-project{display:flex}.home-project-copy{padding:23px}.home-project-copy h3{font-size:24px}.home-project-copy p{font-size:16px}.home-project .scene-photo img{aspect-ratio:16/9}
 .direction-row h3{font-size:25px}.direction-row p{font-size:15px}
 .category-head{padding:34px 0}.category-head-grid{grid-template-columns:1fr;gap:24px}.category-head h1{font-size:36px}.category-head .intro{font-size:16px;margin-top:20px}.category-head .scene-photo img{aspect-ratio:2/1}
 .project-catalog{grid-template-columns:1fr;gap:20px}.project-catalog .topic-card{padding:24px}.project-catalog .topic-card>p{font-size:16px}.project-catalog .topic-card h2,.project-catalog .topic-card h3{font-size:24px}
 .project-head{padding:24px 0 34px}.project-hero-grid{grid-template-columns:1fr;gap:25px;margin-top:22px}.project-head h1{font-size:32px}.project-head .intro{font-size:16px}.hero-artifact .scene-photo img{aspect-ratio:16/10!important}.project-head .btn-row{gap:18px}
 .project-layout{padding-bottom:40px}.project-nav{margin-bottom:24px}.project-showcase{padding:20px 16px;border-radius:8px}.project-showcase>.wrap{width:100%}.showcase-heading h2{font-size:25px}.showcase-heading p{font-size:15px}.project-tabs{gap:8px}.project-tabs button{font-size:14px;padding:10px 13px}
 .preview-bar{padding:13px 16px;display:block;font-size:13px}.preview-bar>span:last-child{display:none}.preview-workspace{display:block;min-height:0}.preview-context{display:none}.preview-main{padding:22px 17px}
 .preview-heading h3{font-size:23px}.preview-heading{margin-bottom:20px}.preview-item{gap:12px;padding-block:16px}.preview-item strong{font-size:16px}.preview-item p{font-size:15px}
 .platform-module-grid,.data-structure,.workspace-apps{grid-template-columns:1fr;gap:12px}.platform-module-grid article,.data-structure>div,.workspace-apps article{padding:16px}.platform-module-grid h4{font-size:17px}
 .platform-base{padding:14px;font-size:14px;gap:5px}.platform-connect{font-size:13px;text-align:left}.desktop-session{padding:15px}
 .document-preview{grid-template-columns:1fr}.document-spine{flex-direction:row;padding:12px 18px;justify-content:space-between;gap:12px}.document-spine>span{writing-mode:horizontal-tb;letter-spacing:0;font-size:13px}.document-spine strong{font-size:18px}.document-main,.spec-preview{padding:22px 17px}.spec-preview .preview-items{grid-template-columns:1fr}.preview-foot{display:block;padding:16px;margin-top:18px}.preview-foot strong{display:block;margin-bottom:6px}
 .project-section{padding-block:32px}.project-section-heading{gap:12px}.project-section-heading h2{font-size:25px}.project-intro{font-size:16px}.project-pairs,.deliverable-grid,.environment-grid,.project-related{grid-template-columns:1fr}.project-pairs p,.deliverable-grid p,.environment-grid p{font-size:16px}
 .project-stages li{grid-template-columns:24px minmax(0,1fr);gap:8px 12px}.project-stages p{grid-column:2;font-size:16px}
 .acceptance-table{font-size:15px}.acceptance-table th,.acceptance-table td{padding:7px 0}.acceptance-table td:before{font-size:13px;color:#27455f;font-weight:600}
 .proposal-block{padding:22px 18px}.proposal-block>h3{font-size:22px}.proposal-matrix{grid-template-columns:1fr}.guarantee-map{grid-template-columns:1fr;gap:12px}.guarantee-map .guarantee-party{grid-column:auto}.guarantee-map>span{text-align:center}
 .project-related article{padding:22px}.project-contact-band h2{font-size:28px}.project-contact-band>.wrap{display:block}.project-contact-band .btn{margin-top:24px}
 .project-about{display:block}.project-identity{margin-top:30px}.footer-grid{gap:26px 20px}.footer p,.footer-links{font-size:14px}
}
/* Compact search entry; scoped to search rather than category/detail headers. */
.search-head{padding-block:24px 26px}
.search-head .breadcrumb{margin-bottom:14px}
.search-head .eyebrow{display:none}
.search-head h1{font-size:clamp(28px,3vw,38px);line-height:1.3;margin:0}
.search-head .intro{font-size:16px;line-height:1.7;margin-top:12px;max-width:900px}
.search-results{padding-block:26px 54px}
.search-results .catalog-tools{margin-bottom:12px}
.search-needs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:0 0 12px;font-size:14px}
.search-needs>span{color:#40566b;font-weight:600}
.search-needs a{display:inline-flex;align-items:center;min-height:44px;gap:6px;color:#304fba;font-weight:600}
.search-needs a:hover{text-decoration:underline}
.search-needs a:focus-visible{outline:2px solid #304fba;outline-offset:3px}
.search-needs .icon{width:14px;height:14px}
.search-results .result-count{margin:8px 0 18px}
@media(max-width:640px){
 .search-head{padding-block:20px 22px}
 .search-head .breadcrumb{margin-bottom:12px}
 .search-head h1{font-size:28px}
 .search-head .intro{font-size:15px;margin-top:10px}
 .search-results{padding-top:20px}
 .search-needs{column-gap:16px;row-gap:0;font-size:13px}
 .search-needs>span{flex-basis:100%;margin-top:4px}
 .search-needs a{min-height:44px}
}

/* Topic identity first; no image slot on detail pages. */
.topic-heading{padding:30px 0 46px}
.topic-heading-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:70px;align-items:center;margin-top:32px}
.topic-heading h1{font-size:clamp(34px,3.6vw,48px);line-height:1.3;margin:0;max-width:none}
.topic-tagline{font-size:23px;line-height:1.65;font-weight:500;color:#39546c;margin:18px 0 0;max-width:570px}
.topic-heading-copy .intro{font-size:18px;line-height:1.85;margin:0;max-width:none}
.topic-heading-copy .btn-row{margin-top:26px;gap:22px}
.project-nav .project-nav-topic{font-size:20px;font-weight:700;line-height:1.5;color:#18374e;margin:0 0 14px;padding:0 0 16px;border-bottom:1px solid #cad8e3;overflow-wrap:anywhere}
.home-hero-visual .home-project-atlas{display:block;width:100%;height:auto;aspect-ratio:620/440;object-fit:contain;object-position:center}
/* Concrete outcome samples: scoped to topic previews in all three locales. */
.outcome-preview{padding:26px;background:#fff;border:1px solid #bdcddd;border-radius:12px;color:#263c50;min-width:0;overflow-wrap:anywhere}
.outcome-preview *{box-sizing:border-box;min-width:0}
.outcome-preview h3,.outcome-preview h4,.outcome-preview p,.outcome-preview figure{margin:0}
.outcome-preview p{font-size:15px;line-height:1.7;color:#40556a}
.outcome-preview h4{font-size:18px;line-height:1.45;color:#18374e}
.outcome-heading{padding-bottom:20px;margin-bottom:22px;border-bottom:2px solid #24465f}
.outcome-heading>span{display:block;font-size:13px;line-height:1.5;font-weight:600;color:#526779;margin-bottom:6px;letter-spacing:.04em}
.outcome-heading h3{font-size:27px;line-height:1.35;color:#18374e}
.outcome-proposal{background:#fffefb;border-color:#cecfc8}
.outcome-proposal .outcome-heading{border-color:#47776e}
.outcome-engineering .outcome-heading{border-color:#64728e}
.outcome-preview>div+div,.outcome-preview>table,.outcome-preview>table+div,.outcome-preview>figure+div{margin-top:22px}
.outcome-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.outcome-metrics>div{padding:16px 18px;background:#eef4f8;border-left:3px solid #4f6d8b;border-radius:4px}
.outcome-metrics span{display:block;font-size:14px;font-weight:600;color:#40556a}
.outcome-metrics strong{display:block;font-size:28px;line-height:1.25;margin:8px 0;color:#173c54;font-variant-numeric:tabular-nums}
.outcome-metrics p{font-size:14px}
.outcome-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.outcome-cards article{padding:18px;border:1px solid #c6d4e0;border-radius:7px;background:#f7fafd}
.outcome-cards article>span{display:block;font-size:12px;line-height:1.5;color:#4c6178;font-weight:700;letter-spacing:.025em;margin-bottom:8px}
.outcome-cards h4{margin-bottom:8px}
.outcome-cards p{font-size:14px}
.outcome-hub{padding:16px 20px;background:#1c4058;color:#fff;border-radius:7px;position:relative}
.outcome-hub span{display:block;color:#c7dfe9;font-size:13px;margin-bottom:4px}
.outcome-hub strong{font-size:19px;line-height:1.5}
.outcome-relations>.outcome-cards{padding-top:22px;position:relative}
.outcome-relations>.outcome-cards:before{content:'';height:22px;width:2px;background:#98b2c6;position:absolute;left:50%;top:0}
.outcome-preview .data-structure{display:block;padding:0;background:none;border:0;margin:0}
.outcome-preview .data-structure>.outcome-cards{padding:0;border:0;background:none}
.outcome-topology>.outcome-cards:first-child{max-width:420px;margin:0 auto}
.outcome-topology>.outcome-cards+ .outcome-cards{position:relative;margin-top:28px}
.outcome-topology>.outcome-cards+ .outcome-cards:before{content:'';position:absolute;top:-28px;left:50%;height:28px;border-left:2px solid #6d8fa7}
.outcome-comparison article:first-child{background:#f5f5f3;border-top:3px solid #879195}
.outcome-comparison article:last-child{background:#eef7f4;border-top:3px solid #41776d}
.outcome-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;line-height:1.65;color:#263c50}
.outcome-table caption{text-align:left;font-size:17px;line-height:1.5;font-weight:700;color:#18374e;margin-bottom:12px}
.outcome-table th,.outcome-table td{text-align:left;vertical-align:top;padding:13px 12px;border-bottom:1px solid #d4dfe7;font-weight:400;overflow-wrap:anywhere}
.outcome-table thead th{background:#eaf0f5;color:#29485d;font-size:14px;font-weight:700}
.outcome-table th[scope=row]{font-weight:650;color:#18374e}
.outcome-insight{background:#eaf4f1;border-left:3px solid #46796d;padding:16px 18px;border-radius:3px}
.outcome-insight strong{display:block;color:#245346;font-size:16px;line-height:1.5;margin-bottom:5px}
.outcome-insight p{color:#344f48}
.outcome-chart{padding:18px;background:#f2f6fa;border-radius:7px}
.outcome-chart h4{margin-bottom:18px}
.outcome-bar{display:grid;grid-template-columns:90px minmax(0,1fr) 100px;align-items:center;gap:12px;margin-top:14px;font-size:14px}
.outcome-bar>div{background:#dce6ef;border-radius:3px;height:16px}
.outcome-bar i{display:block;background:#467b92;height:100%;border-radius:3px}
.outcome-bar strong{font-size:18px;font-variant-numeric:tabular-nums;color:#173c54}
.outcome-bar small{font-size:12px;font-weight:500}
.outcome-device{background:#f3f6f9;border:1px solid #ced9e3;border-radius:8px;padding:20px}
.outcome-device figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:16px;line-height:1.5}
.outcome-device figcaption span{font-size:14px;color:#4b6075}
.outcome-drawing{display:block;width:100%;height:auto;max-height:350px;stroke:#355572;stroke-width:3;fill:none;margin:12px auto}
.outcome-drawing .drawing-fill{fill:#dbe7f2}.outcome-drawing .drawing-accent{fill:#cce8e0}
.outcome-drawing text{fill:#244a66;stroke:none;font-size:28px;font-weight:700;text-anchor:middle}
.outcome-device ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;margin:14px 0 0;gap:10px 20px}
.outcome-device li{display:flex;align-items:baseline;gap:9px;font-size:14px;line-height:1.65}
.outcome-device li b{flex:0 0 23px;text-align:center;border:1px solid #9cb4c7;border-radius:50%;line-height:21px;color:#244a66}
@media(max-width:640px){
 .outcome-preview{padding:15px;border-radius:8px}
 .outcome-heading{padding-bottom:14px;margin-bottom:16px}.outcome-heading h3{font-size:22px}.outcome-heading>span{font-size:12px}
 .outcome-preview>div+div,.outcome-preview>table,.outcome-preview>table+div,.outcome-preview>figure+div{margin-top:16px}
 .outcome-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outcome-metrics>div{padding:12px 10px}.outcome-metrics strong{font-size:22px}.outcome-metrics p{font-size:13px}
 .outcome-cards{grid-template-columns:1fr;gap:10px}.outcome-cards article{padding:14px}.outcome-cards h4{font-size:17px}
 .outcome-hub{padding:14px}.outcome-hub strong{font-size:17px}
 .outcome-table,.outcome-table tbody,.outcome-table tr,.outcome-table th,.outcome-table td{display:block;width:100%}
 .outcome-table caption{display:block;width:100%;font-size:16px}.outcome-table thead{display:none}
 .outcome-table tr{padding:12px 0;border-bottom:1px solid #ccd9e3}.outcome-table tr:last-child{border-bottom:0}
 .outcome-table th[scope=row]{padding:0 0 6px;font-size:16px;border:0}
 .outcome-table td{padding:5px 0;border:0;font-size:14px;line-height:1.6}
 .outcome-table td:before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:#526779;margin-bottom:1px}
 .outcome-numeric td{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:baseline;font-variant-numeric:tabular-nums}.outcome-numeric td:before{margin:0;font-size:13px}
 .outcome-insight{padding:13px}.outcome-insight p{font-size:14px}
 .outcome-chart{padding:14px}.outcome-bar{grid-template-columns:58px minmax(0,1fr) 66px;gap:8px;font-size:13px}.outcome-bar strong{font-size:17px}.outcome-bar small{display:block;font-size:11px}
 .outcome-device{padding:12px}.outcome-device ol{grid-template-columns:1fr}.outcome-drawing{margin:8px auto}
}
@media(max-width:940px){.topic-heading-grid{gap:32px;grid-template-columns:1fr 1fr}.topic-heading h1{font-size:36px}.topic-tagline{font-size:21px}.topic-heading-copy .intro{font-size:16px}.project-nav .project-nav-topic{font-size:18px;margin-bottom:6px;padding-bottom:10px}}
@media(max-width:640px){.topic-heading{padding:24px 0 32px}.topic-heading-grid{grid-template-columns:1fr;gap:22px;margin-top:24px}.topic-heading h1{font-size:34px}.topic-tagline{font-size:20px;margin-top:14px;line-height:1.6}.topic-heading-copy .intro{font-size:16px}.topic-heading-copy .btn-row{margin-top:22px;gap:18px}.project-nav .project-nav-topic{font-size:18px}.home-hero-visual .home-project-atlas{aspect-ratio:620/440}}

/* Added only to Traditional and English builds; Simplified CSS stays intact. */
html[lang="zh-Hant"] body{font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif}
html.en body{font-family:Arial,Helvetica,sans-serif;letter-spacing:0}
.en .project-home h1{font-size:clamp(38px,4.1vw,56px);line-height:1.17;letter-spacing:-.025em}
.en .topic-heading h1{font-size:clamp(32px,3.4vw,46px);line-height:1.2;letter-spacing:-.015em}
.en .category-head h1{font-size:clamp(34px,3.5vw,46px);line-height:1.2}
.en .topic-tagline{font-size:22px;line-height:1.5}
.en .project-home .eyebrow{font-size:12px;letter-spacing:.04em;line-height:1.7}
.en .project-layout{grid-template-columns:minmax(0,1fr) 190px;gap:32px}
.en .project-nav-topic{font-size:19px;overflow-wrap:normal}
.en .project-nav a{line-height:1.45}
.en .project-tabs button{white-space:normal;line-height:1.45;text-align:left;min-height:44px}
.en .home-project-copy h3{font-size:23px;line-height:1.35}
.en .topic-card h2,.en .topic-card h3,.en .showcase-heading h2,.en .project-section-heading h2{line-height:1.3}
.en .project-stages li{grid-template-columns:26px minmax(130px,.65fr) minmax(0,1.5fr)}
.en .project-stages h3{line-height:1.45}
.en .preview-bar{flex-wrap:wrap;row-gap:8px}
.en .preview-bar>span:last-child{white-space:normal}
.en .preview-foot strong{white-space:normal;min-width:80px}
.en .preview-workspace{grid-template-columns:160px minmax(0,1fr)}
.en .document-preview{grid-template-columns:1fr}
.en .document-spine{flex-direction:row;justify-content:space-between;padding:13px 22px}
.en .document-spine>span{writing-mode:horizontal-tb;letter-spacing:.05em}
.en .document-spine strong{font-size:20px}
.en .project-main,.en .topic-heading-grid>div,.en .direction-row>*{min-width:0}
.en .project-main p,.en .topic-card p{overflow-wrap:break-word}
.en .project-main .btn,.en .topic-heading-copy .btn{white-space:normal;text-align:center;line-height:1.5}
.en .direction-row h3{font-size:25px;line-height:1.35}
.en .acceptance-table{table-layout:fixed;width:100%}
.en .acceptance-table th,.en .acceptance-table td{overflow-wrap:break-word;line-height:1.65}
.en .header-inner{gap:16px}.en .nav{gap:17px}.en .nav a{font-size:14px}
.en .mobile-enquiry{gap:10px}.en .mobile-enquiry>span{min-width:0;line-height:1.4}
@media(max-width:1100px){
 .en .nav{gap:10px}.en .nav a{font-size:12px}
 .en .project-layout{grid-template-columns:minmax(0,1fr) 165px;gap:24px}
 .en .deliverable-grid{grid-template-columns:1fr}
 .en .deliverable-grid article{padding:20px 22px}
 .en .preview-workspace{grid-template-columns:135px minmax(0,1fr)}
}
@media(max-width:940px){
 .en .project-layout{display:block}.en .nav a{font-size:16px}
 .en .project-home h1{font-size:40px}.en .topic-heading h1{font-size:35px}
 .en .home-project-grid{grid-template-columns:1fr}.en .home-project{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .en .home-project .scene-photo{height:100%}.en .home-project .scene-photo img{height:100%;aspect-ratio:auto;min-height:220px}
}
@media(max-width:640px){
 .en .project-home h1{font-size:clamp(32px,8.5vw,40px)}
 .en .topic-heading h1,.en .category-head h1{font-size:32px;line-height:1.25}
 .en .topic-tagline{font-size:20px}
 .en .home-project{display:flex}.en .home-project .scene-photo{height:auto}.en .home-project .scene-photo img{height:auto;aspect-ratio:16/9;min-height:0}
 .en .preview-workspace{display:block}.en .project-stages li{grid-template-columns:24px minmax(0,1fr)}
 .en .preview-foot strong{min-width:0}.en .project-nav-topic{font-size:18px}
 .en .acceptance-table{table-layout:auto}
 .en .acceptance-table td:before{position:static;display:block;width:auto;margin-bottom:3px}
 .en .acceptance-table td{padding-left:0}
 .en .mobile-enquiry>span{font-size:13px}.en .mobile-enquiry .btn{font-size:13px;padding:10px 12px;flex-shrink:0}
}

/* Keep English mobile previews readable without repeating the project heading. */
@media(max-width:640px){
 .en .project-showcase{padding:18px 12px}
 .en .showcase-heading{margin-bottom:16px}
 .en .showcase-heading h2{font-size:22px;line-height:1.35}
 .en .showcase-heading .eyebrow{margin-bottom:10px}
 .en .showcase-heading p{margin-top:12px;line-height:1.7}
 .en .project-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:12px}
 .en .project-tabs button{font-size:13px;line-height:1.4;padding:9px 10px;min-height:44px;overflow-wrap:break-word}
 .en .project-tabs button:last-child:nth-child(odd){grid-column:1/-1}
 .en .preview-project-title{display:none}
 .en .preview-bar{padding:9px 14px}
 .en .preview-bar>span:last-child{display:block;font-size:12px}
 .en .preview-main,.en .document-main,.en .spec-preview{padding:16px 14px}
 .en .preview-heading{margin-bottom:12px}
 .en .preview-heading>span{display:none}
 .en .preview-heading h3{font-size:20px;line-height:1.35;margin:0}
 .en .document-spine{padding:9px 14px}
 .en .document-main .preview-item,.en .preview-item{padding-block:11px;gap:8px}
 .en .preview-foot{margin-top:14px;padding:12px;line-height:1.65}
 .en .project-showcase>.wrap>.sample-note{margin-top:14px;line-height:1.65}
}
