/* ── 方案二「境筑」：供应商门户的公开页 ────────────────────────────
   来源 shangjing-homepage.html（2026-09-02 定稿），照搬视觉，路由和权限全用原有的。

   全部规则都压在 .portal-body 下面：门户页和员工工作台共用 tokens.css / app.css，
   设计稿里那几条裸标签规则（body / a / img / svg / *）要是散到全局，
   工作台的图标和表格会跟着一起变形——这种事一旦发生极难定位。 */

.portal-body{
  /* 境筑色板 */
  --jz-bg:#f6f8f8; --jz-fg:#263c3e; --jz-primary:#285d60; --jz-primary-d:#214e51;
  --jz-line:#e1e8e6; --jz-muted:#6c8181;
  /* 公开页这一侧整体转成灰青：app.css 画的公告页、供应商中心还在用 --indigo，
     不改的话会出现「青头蓝身」。只覆盖 .portal-body，工作台不受影响。 */
  --indigo:#285d60; --indigo-s:#e8f1ef;
  background:var(--jz-bg);color:var(--jz-fg);
  font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;
  scroll-behavior:smooth;
}
/* 这几条重置一律套 :where()：作用域留着，权重清零。
   直接写 .portal-body a 会盖掉 .nav-login / .register-link / .more-link
   这些单类名的颜色——踩过一次，按钮上的白字变成了深青底上的深灰字。 */
:where(.portal-body) a{color:inherit;text-decoration:none}
:where(.portal-body) button,:where(.portal-body) input{font:inherit}
:where(.portal-body) a,:where(.portal-body) button,:where(.portal-body) input{-webkit-tap-highlight-color:transparent}
.portal-body a:focus-visible,.portal-body button:focus-visible{outline:3px solid #a0beb8;outline-offset:5px}
:where(.portal-body) h1,:where(.portal-body) h2,:where(.portal-body) h3,:where(.portal-body) p{overflow-wrap:break-word}
.skip-link{position:absolute;left:20px;top:-80px;z-index:40;background:#fff;color:var(--jz-primary);padding:10px 15px;border-radius:5px}
.skip-link:focus{top:10px}

/* 站内按钮基色 */
.nav-login,.search-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--jz-primary);color:#fff;border:0;cursor:pointer;transition:background .2s}
.nav-login:hover,.search-submit:hover{background:var(--jz-primary-d)}

/* ── 页头 ─────────────────────────────────────────────────── */
.site-header{height:90px;background:#fff;border-bottom:1px solid #edf0ef}
.header-inner{height:100%;max-width:1320px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:50px}
.brand-link{flex-shrink:0}
.brand-lockup{display:flex;align-items:center;gap:12px}
.brand-icon{width:42px;height:42px;flex:none;display:block}
.brand-lockup strong{display:block;font-size:20px;font-weight:650;letter-spacing:.5px;line-height:1.4;color:#223e3f}
.brand-lockup small{display:block;font-family:Arial,sans-serif;font-size:10px;letter-spacing:2.4px;color:#7c9393;margin-top:4px;line-height:1.2}
.main-nav{display:flex;align-items:center;height:100%;gap:34px;margin-left:auto;font-size:14px;color:#6b7c7c;white-space:nowrap}
.main-nav a{position:relative;height:100%;display:flex;align-items:center}
.main-nav a:hover{color:var(--jz-primary)}
.main-nav a[aria-current=page]{font-weight:600;color:var(--jz-primary)}
.main-nav a[aria-current=page]:after{content:"";position:absolute;bottom:20px;left:0;right:0;height:2px;background:var(--jz-primary)}
.account-actions{display:flex;align-items:center;gap:24px;margin-left:18px;font-size:14px;white-space:nowrap}
.register-link{color:#627575}
.register-link:hover{color:var(--jz-primary)}
.nav-login{height:39px;padding:0 20px;border-radius:5px;font-size:14px;font-weight:400}
.nav-login svg{display:block;flex-shrink:0}

/* ── 首屏 ─────────────────────────────────────────────────── */
.hero{height:505px;position:relative;isolation:isolate;background:#2b444e;color:#fff}
.hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%;z-index:-3;display:block}
.hero-shade{position:absolute;inset:0;z-index:-2;
  background:linear-gradient(90deg,#0a242e70,transparent 57%,#18374018),linear-gradient(0deg,#142e386e,transparent 62%)}
.hero-inner{max-width:1320px;margin:auto;padding:48px 64px 70px;display:flex;align-items:center;justify-content:space-between;gap:60px;height:100%}
.hero-copy{align-self:center;margin-top:-18px}
.hero-eyebrow{display:flex;align-items:center;gap:10px;font-family:Arial,sans-serif;font-size:11px;letter-spacing:2.5px;color:#e0e9e9;margin:0 0 22px}
.hero-eyebrow span{display:block;width:26px;height:1px;background:#c8b993}
.hero-copy h1{font-size:48px;font-weight:400;letter-spacing:3px;line-height:1.52;margin:0 0 22px;text-shadow:0 2px 35px #152d3940}
.hero-description{font-size:14px;color:#d1dfe1;line-height:1.95;letter-spacing:.6px;margin:0}
.project-search-panel{width:358px;flex:none;background:#fffffff7;border:1px solid #ffffff9c;color:#284446;padding:28px 28px 23px;border-radius:10px;box-shadow:0 10px 40px #142e3a15}
.panel-overline{font-size:12px;letter-spacing:1.7px;color:#76918c}
.project-search-panel h2{font-size:25px;font-weight:500;line-height:1.6;letter-spacing:.8px;margin:10px 0 8px}
.project-search-panel>p{font-size:14px;color:#7a8e87;margin:0 0 22px}
.search-input{display:flex;align-items:center;gap:9px;background:#f5f8f7;border:1px solid #dce5e1;border-radius:5px;height:47px;padding:0 12px;color:#94a49d}
.search-input svg{display:block;flex-shrink:0}
.search-input:focus-within{border-color:#6a998b;box-shadow:0 0 0 3px #285d6010}
.search-input input{width:100%;min-width:0;border:0;outline:0;background:none;color:#3b5957;font-size:14px}
.search-input input::placeholder{color:#899d93;font-size:14px}
.search-submit{width:100%;height:44px;border-radius:5px;margin-top:11px;font-size:14px;letter-spacing:1px;justify-content:space-between;padding:0 17px}
.public-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:13px 0 17px;font-size:12px;color:#81998a}
.public-note svg{display:block;flex-shrink:0}
.all-projects{border-top:1px solid #e7ece9;padding-top:16px;font-size:13px;color:#698982;display:flex;justify-content:space-between;align-items:center}
.all-projects:hover{color:var(--jz-primary)}
.all-projects svg{display:block;flex-shrink:0}
.hero-bottom-caption{position:absolute;left:max(43px,calc(50% - 596px));bottom:47px;display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:1px;color:#c0d1d1}
.hero-bottom-caption i{width:3px;height:3px;background:#91aaa6;border-radius:50%}

/* ── 正文区 ───────────────────────────────────────────────── */
.home-content{max-width:1320px;margin:auto;padding:0 40px 53px;position:relative}
.service-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e4eae7;border-radius:9px;box-shadow:0 8px 35px #27423b08;margin-top:-32px;position:relative;z-index:1;min-height:110px}
.service-link{display:flex;gap:15px;align-items:center;padding:26px 24px;position:relative;transition:background .2s}
.service-link:first-child{border-radius:9px 0 0 9px}
.service-link:last-child{border-radius:0 9px 9px 0}
.service-link+.service-link:before{content:"";position:absolute;left:0;top:29px;bottom:29px;width:1px;background:#edf0ed}
.service-link:hover{background:#f8fbfa}
.service-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:11px;background:#edf4f0;color:#688f83}
.service-icon svg{display:block}
.service-label{display:block}
.service-label strong{display:block;font-size:17px;font-weight:500;letter-spacing:.3px;color:#35514d}
.service-label small{display:block;font-size:12px;margin-top:7px;color:#81958a;white-space:nowrap}
.service-arrow{color:#a3b6aa;flex:none;margin-left:auto;display:block}
.content-columns{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:48px;margin-top:44px}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:21px}
.section-kicker{font-family:Arial,sans-serif;letter-spacing:1.7px;font-size:11px;color:#92a69a;display:block;margin-bottom:7px}
.section-heading h2{font-size:23px;font-weight:500;letter-spacing:1px;line-height:1.4;margin:0;color:#33514c}
.more-link{display:flex;gap:5px;align-items:center;color:#6d8a78;font-size:13px;padding-bottom:3px;white-space:nowrap}
.more-link svg{display:block;flex-shrink:0}

/* 公告卡片。设计稿只画了一张，多条时靠 .notice-list 的 gap 撑开 */
.notice-list{display:flex;flex-direction:column;gap:16px}
.notice-card{background:#fff;border:1px solid #e1e8e4;border-radius:8px;padding:23px 28px 0}
.notice-type{display:flex;align-items:center;gap:9px;font-size:12px;color:#849b8e}
.notice-document{display:grid;place-items:center;width:29px;color:#8da994;margin-right:1px}
.notice-document svg{display:block}
.published{margin-left:auto;display:flex;align-items:center;gap:5px;color:#5c8b73;background:#edf6ee;font-size:12px;line-height:1;padding:6px 9px;border-radius:4px}
.published i{width:4px;height:4px;background:#7eaa8e;border-radius:50%}
.notice-card h3{font-size:22px;line-height:1.7;margin:16px 0 10px;font-weight:500;color:#34534b}
.notice-card h3 a:hover{color:#66927b}
.project-number{font-size:12px;color:#8ca090;margin:0 0 23px}
.project-number span{font-family:"IBM Plex Mono",Arial,sans-serif;letter-spacing:.7px;color:#7a9285;margin-left:12px}
.notice-bottom{border-top:1px solid #edf1ed;display:flex;align-items:center;justify-content:space-between;padding:17px 0;font-size:12px;color:#8c9f90;gap:12px}
.notice-bottom strong{font-size:13px;color:#789483;font-weight:400;margin-left:10px}
.notice-bottom a{display:flex;align-items:center;gap:9px;font-size:14px;color:#4d7a61;white-space:nowrap}
.notice-bottom svg{display:block;flex-shrink:0}
.notice-hint{font-size:12px;color:#8ca08f;display:flex;align-items:center;gap:6px;margin:13px 1px 0}
.notice-hint svg{display:block;flex-shrink:0}
.notice-empty{background:#fff;border:1px solid #e1e8e4;border-radius:8px;padding:44px 28px;text-align:center}
.notice-empty b{display:block;font-size:16px;font-weight:500;color:#4f6f68}
.notice-empty span{display:block;margin-top:9px;font-size:13px;color:#8ca090;line-height:1.9}
.service-promise{display:flex;align-items:center;gap:13px;margin:29px 2px 0;color:#8d9f90}
.promise-line{width:26px;height:1px;background:#b9c8bd}
.service-promise p{font-size:13px;letter-spacing:1px;margin:0}
.service-promise>span:last-child{margin-left:auto;font-family:Arial,sans-serif;font-size:10px;letter-spacing:2.5px;color:#aabdaf}

/* 办事指南 */
.first-visit{font-size:12px;color:#809887;padding-bottom:4px}
.guide-steps{list-style:none;padding:0;margin:0}
.guide-steps li+li{border-top:1px solid #e8ede8}
.guide-steps a{display:flex;align-items:center;padding:14px 0;gap:14px}
.step-number{font-family:Georgia,serif;font-size:24px;font-style:italic;line-height:1;color:#a4bca8;font-weight:400;width:34px}
.guide-steps strong{font-size:14px;color:#607f69;display:block;font-weight:500}
.guide-steps small{font-size:12px;color:#8da591;display:block;margin-top:5px}
.guide-steps svg{margin-left:auto;color:#9db59f;display:block;flex-shrink:0}
.guide-steps a:hover strong{color:var(--jz-primary)}
.guide-callout{display:flex;gap:11px;padding:14px 15px;border-radius:6px;background:#edf2ec;color:#8ca38c;margin-top:11px;align-items:center}
.guide-callout>span{color:#81a085;flex:none}
.guide-callout svg{display:block}
.guide-callout p{font-size:12px;line-height:1.9;margin:0;color:#789779}
.guide-callout strong{font-weight:400;color:#66886d}

/* ── 页脚 ─────────────────────────────────────────────────── */
.site-footer{border-top:1px solid #e5ebe5;background:#f0f4ef;padding:29px 40px}
.footer-inner{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-inner strong{font-size:14px;font-weight:500;color:#6d8c75}
.footer-inner p{font-size:12px;color:#8ca68e;line-height:1.8;margin:8px 0 0}
.footer-links{display:flex;align-items:center;gap:25px;font-size:12px;color:#799b81}
.footer-links a:hover{color:var(--jz-primary)}
.footer-links a:last-child{display:flex;align-items:center;gap:5px}
.footer-links svg{display:block;flex-shrink:0}
/* 备案号：继承 .footer-inner p 的字号和灰绿，只把链接色收回来，不新增颜色 */
.footer-beian a{color:inherit}
.footer-beian a:hover{color:var(--jz-primary)}

/* 公告页 / 供应商中心走 app.css，这里只给它们留出跟页头一致的外边距 */
.portal-body>.portal-main{max-width:1320px;margin:auto;padding:34px 40px 53px}

@media(min-width:1550px){
  .hero{height:545px}
  .hero-copy h1{font-size:53px}
  .project-search-panel{width:377px;padding:30px}
  .hero-inner{padding-top:55px;padding-bottom:75px}
}
@media(max-width:1150px){
  .header-inner{gap:24px;padding:0 30px}
  .brand-lockup strong{font-size:17px}
  .brand-lockup small{font-size:9px;letter-spacing:1.8px}
  .main-nav{gap:24px}
  .account-actions{gap:17px;margin-left:5px}
  .hero-inner{padding-left:43px;padding-right:43px;gap:25px}
  .hero-copy h1{font-size:43px}
  .project-search-panel{width:331px;padding:25px}
  .home-content,.portal-body>.portal-main{padding-left:30px;padding-right:30px}
  .service-link{padding:23px 16px;gap:10px}
  .service-icon{width:37px;height:40px}
  .service-label strong{font-size:16px}
  .service-label small{white-space:normal;line-height:1.6}
  .service-arrow{display:none}
  .content-columns{gap:33px;grid-template-columns:minmax(0,1fr) 306px}
}
@media(max-width:880px){
  .header-inner{gap:22px;padding:0 24px}
  .site-header{height:82px}
  .main-nav{gap:18px;font-size:13px}
  .register-link{display:none}
  .brand-lockup strong{font-size:16px}
  .brand-lockup small{font-size:8px;letter-spacing:1.6px}
  .brand-icon{width:37px;height:37px}
  .account-actions{margin-left:auto}
  .nav-login{font-size:13px;padding:0 14px;height:37px}
  .hero-copy h1{font-size:38px}
  .hero-eyebrow{font-size:10px;letter-spacing:1.5px}
  .hero-inner{padding-left:32px;padding-right:32px;gap:18px}
  .project-search-panel{width:306px;padding:24px}
  .project-search-panel h2{font-size:23px}
  .hero-bottom-caption{left:32px}
  .service-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-link{padding:21px 25px}
  .service-link:nth-child(3):before{display:none}
  .service-link:nth-child(n+3){border-top:1px solid #edf0ed}
  .service-arrow{display:block}
  .service-icon{width:44px;height:44px}
  .service-link:first-child{border-radius:9px 0 0 0}
  .service-link:nth-child(2){border-radius:0 9px 0 0}
  .service-link:nth-child(3){border-radius:0 0 0 9px}
  .service-link:last-child{border-radius:0 0 9px 0}
  .content-columns{grid-template-columns:minmax(0,1fr);gap:39px}
  .guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
  .guide-steps li:nth-child(2){border-top:0}
  .guide-callout{margin-top:15px}
  .footer-inner{flex-direction:column;align-items:flex-start;gap:21px}
}
@media(max-width:650px){
  .site-header{height:78px}
  .header-inner{padding:0 20px;gap:13px}
  .brand-lockup{gap:9px}
  .brand-lockup strong{font-size:15px;letter-spacing:0}
  .brand-lockup small{font-size:7px;letter-spacing:1.4px}
  .brand-icon{width:34px;height:34px}
  .main-nav{display:none}
  .account-actions{margin-left:auto}
  .nav-login{font-size:12px;padding:0 12px;height:35px}
  .nav-login svg{display:none}
  .hero{height:auto;min-height:676px}
  .hero-inner{display:block;padding:42px 24px 66px;height:auto}
  .hero-copy{margin:0}
  .hero-copy h1{font-size:36px;line-height:1.42;letter-spacing:2px;margin-bottom:14px}
  .hero-eyebrow{font-size:10px;letter-spacing:1.3px;margin-bottom:14px}
  .hero-eyebrow span{width:18px}
  .hero-description{font-size:13px;line-height:1.8;letter-spacing:.4px}
  .project-search-panel{width:100%;max-width:none;margin:29px 0 0;padding:22px;border-radius:8px}
  .project-search-panel h2{font-size:23px;line-height:1.5;margin:7px 0 8px}
  .project-search-panel h2 br{display:none}
  .project-search-panel>p{font-size:13px;margin-bottom:16px}
  .public-note{margin:11px 0 0}
  .all-projects{padding-top:12px;margin-top:13px}
  .hero-background{object-position:35% 50%}
  .hero-shade{background:linear-gradient(0deg,#1d3c4850,#19394530),linear-gradient(90deg,#18323d66,transparent)}
  .hero-bottom-caption{display:none}
  .home-content{padding:0 20px 35px}
  .portal-body>.portal-main{padding:26px 20px 35px}
  .service-shortcuts{margin-top:-29px;min-height:0}
  .service-link{padding:20px 13px;gap:10px}
  .service-icon{width:33px;height:37px;border-radius:8px}
  .service-icon svg{width:22px;height:22px}
  .service-label strong{font-size:15px}
  .service-label small{line-height:1.7;margin-top:5px}
  .service-arrow{display:none}
  .content-columns{margin-top:33px;gap:32px}
  .section-heading{margin-bottom:18px}
  .section-heading h2{font-size:21px}
  .section-kicker{font-size:10px;letter-spacing:1.3px}
  .more-link{font-size:12px}
  .notice-card{padding:19px 19px 0}
  .notice-card h3{font-size:20px;margin:14px 0 10px;line-height:1.65}
  .project-number{line-height:1.8;margin-bottom:18px}
  .project-number span{letter-spacing:.2px;margin-left:8px}
  .notice-hint{line-height:1.9;align-items:flex-start}
  .notice-hint svg{margin-top:4px;flex:none}
  .notice-bottom{padding:15px 0}
  .service-promise{margin-top:24px;gap:10px}
  .service-promise p{font-size:12px;letter-spacing:0}
  .service-promise>span:last-child{font-size:9px;letter-spacing:1.3px}
  .guide-steps{grid-template-columns:1fr;gap:0}
  .guide-steps li:nth-child(2){border-top:1px solid #e8ede8}
  .guide-steps a{padding:15px 0}
  .site-footer{padding:25px 23px}
  .footer-inner strong{font-size:13px}
  .footer-links{gap:21px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
  .portal-body{scroll-behavior:auto}
  .portal-body *{transition:none!important;animation:none!important}
}
