/* ============================================================
   板讯网 BOARDWIRE  PCB 与电子组装产业链资讯门户  全站公共样式
   所有页面共用：index / news / article / policy / tender
   tender-detail / market / reports / search
   ============================================================ */
/* ================= Tokens ================= */
:root{
  --brand:#0B4F8A;
  --brand-2:#1668B8;
  --brand-3:#0A3E6D;
  --brand-soft:#EAF2FB;
  --accent:#C8462B;
  --accent-soft:#FBEDE9;
  --up:#D93025;
  --up-soft:#FDECEA;
  --down:#0F9D58;
  --down-soft:#E9F7EF;
  --ink:#12181F;
  --ink-2:#2A3441;
  --body:#5A6675;
  --muted:#8A96A6;
  --bg:#FFFFFF;
  --bg-2:#F5F7FA;
  --bg-3:#EDF1F6;
  --line:#E4E9F0;
  --line-2:#D2DAE5;
  --r:6px;
  --r-lg:10px;
  --max:1280px;
  --font:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --numb:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg-2);color:var(--body);font-family:var(--font);
  font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:700;line-height:1.4;letter-spacing:-.01em}
p{margin:0}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
img,svg{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
input{font-family:inherit}

.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 20px}
.panel{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg)}
.sec{padding-top:20px;padding-bottom:20px}

/* ================= Top bar ================= */
.topbar{background:#0A3E6D;color:rgba(255,255,255,.72);font-size:12.5px;height:36px}
.topbar__in{max-width:var(--max);margin:0 auto;padding:0 20px;height:100%;display:flex;align-items:center;gap:18px}
.topbar b{color:#fff;font-weight:600}
.topbar__idx{display:flex;align-items:center;gap:7px;padding-left:18px;border-left:1px solid rgba(255,255,255,.18)}
.topbar__idx em{font-style:normal;font-family:var(--numb);font-weight:600}
.topbar__sp{margin-left:auto;display:flex;align-items:center;gap:16px}
.topbar a:hover{color:#fff}

/* ================= Header ================= */
.hd{background:var(--bg);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:80}
.hd__main{max-width:var(--max);margin:0 auto;padding:0 20px;height:78px;display:flex;align-items:center;gap:26px}
.logo{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.logo__mark{width:42px;height:42px;border-radius:9px;background:linear-gradient(140deg,var(--brand),var(--brand-2));display:grid;place-items:center;flex:0 0 42px}
.logo b{display:block;font-size:21px;color:var(--brand);letter-spacing:-.02em;line-height:1.15}
.logo small{display:block;font-size:11px;color:var(--muted);letter-spacing:.06em}

.search{flex:1;max-width:420px;display:flex;height:40px;border:2px solid var(--brand);border-radius:var(--r);overflow:hidden}
.search input{flex:1;border:0;outline:none;padding:0 14px;font-size:14px;color:var(--ink);background:var(--bg)}
.search input::placeholder{color:var(--muted)}
.search button{width:64px;background:var(--brand);color:#fff;display:grid;place-items:center;transition:.18s}
.search button:hover{background:var(--brand-3)}
.hd__act{margin-left:auto;display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 16px;border-radius:var(--r);font-size:13.5px;font-weight:600;transition:.18s;white-space:nowrap}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-3)}
.btn--line{border:1px solid var(--line-2);color:var(--ink-2);background:var(--bg)}
.btn--line:hover{border-color:var(--brand);color:var(--brand)}
.btn--accent{background:var(--accent);color:#fff}
.btn--accent:hover{background:#A93A22}
.btn--lg{height:44px;padding:0 24px;font-size:15px}

.nav{background:var(--brand);height:46px}
.nav__in{max-width:var(--max);margin:0 auto;padding:0 20px;height:100%;display:flex;align-items:center;gap:2px}
.nav a{padding:0 20px;height:100%;display:flex;align-items:center;font-size:15px;color:rgba(255,255,255,.88);font-weight:500;transition:.18s;position:relative}
.nav a:hover{background:rgba(255,255,255,.12);color:#fff}
.nav a.is-on{background:rgba(255,255,255,.16);color:#fff;font-weight:600}
.nav__sp{margin-left:auto;display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.7);font-size:13px}
.nav__sp a{padding:0 6px;height:auto}
.burger{display:none;width:40px;height:40px;border-radius:var(--r);place-items:center;border:1px solid var(--line-2)}

/* ================= Quote strip ================= */
.quotes{background:var(--bg);border-bottom:1px solid var(--line)}
.quotes__hd{max-width:var(--max);margin:0 auto;padding:12px 20px 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.quotes__hd h2{font-size:15px;display:flex;align-items:center;gap:8px;color:var(--brand)}
.quotes__hd h2 svg{color:var(--accent)}
.quotes__time{font-size:12px;color:var(--muted);margin-left:auto}
.qtab{display:flex;gap:4px}
.qtab button{padding:4px 12px;border-radius:999px;font-size:12.5px;color:var(--body);background:var(--bg-3);transition:.18s}
.qtab button:hover{color:var(--brand)}
.qtab button.is-on{background:var(--brand);color:#fff;font-weight:600}
.qwrap{max-width:var(--max);margin:10px auto 14px;padding:0 20px}
.quotes__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.qcell{background:var(--bg);padding:12px 14px;display:none}
.qcell.is-on{display:block}
.qcell__n{font-size:12.5px;color:var(--body);margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qcell__p{font-family:var(--numb);font-size:19px;font-weight:600;color:var(--ink);letter-spacing:-.02em;line-height:1.2}
.qcell__p small{font-size:11px;color:var(--muted);font-weight:400;font-family:var(--font);margin-left:3px}
.qcell__c{font-size:12.5px;font-family:var(--numb);margin-top:3px;display:flex;gap:8px}
.up{color:var(--up)}
.down{color:var(--down)}
.flat{color:var(--muted)}

/* ================= Layout ================= */
.hero{display:grid;grid-template-columns:1fr 336px;gap:16px;align-items:start}

/* lead story */
.lead{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.lead__img{height:300px;position:relative;overflow:hidden;background:linear-gradient(125deg,#0A3E6D,#1668B8 52%,#2E86CE)}
.lead__img::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(122deg,rgba(255,255,255,.055) 0 14px,transparent 14px 30px)}
.lead__fig{position:absolute;right:0;bottom:0;opacity:.5}
.lead__tag{position:absolute;top:16px;left:16px;background:var(--accent);color:#fff;font-size:12.5px;font-weight:600;padding:4px 11px;border-radius:4px}
.lead__body{padding:20px 24px 22px}
.lead__body h1{font-size:25px;line-height:1.45;margin-bottom:12px}
.lead__body h1 a:hover{color:var(--brand)}
.lead__body p{font-size:14.5px;color:var(--body);line-height:1.8}
.lead__meta{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;gap:16px;font-size:12.5px;color:var(--muted);flex-wrap:wrap}
.lead__meta .src{color:var(--brand);font-weight:600}
.lead__meta i{font-style:normal;display:inline-flex;align-items:center;gap:5px}

.subnews{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}
.subnews article{background:var(--bg);padding:16px 18px}
.subnews h3{font-size:14.5px;line-height:1.6;margin-bottom:9px;font-weight:600}
.subnews h3 a:hover{color:var(--brand)}
.subnews p{font-size:13px;color:var(--muted);line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.subnews .m{margin-top:10px;font-size:12px;color:var(--muted);display:flex;gap:10px}

/* side */
.side{display:grid;gap:16px}
.card-hd{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.card-hd h2{font-size:15.5px;display:flex;align-items:center;gap:8px}
.card-hd h2::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--brand)}
.card-hd .more{margin-left:auto;font-size:12.5px;color:var(--muted)}
.card-hd .more:hover{color:var(--brand)}
.hotlist{padding:8px 6px 10px}
.hotlist li a{display:flex;gap:10px;padding:8px 10px;border-radius:var(--r);transition:.16s}
.hotlist li a:hover{background:var(--bg-2)}
.hotlist .no{flex:0 0 18px;font-family:var(--numb);font-size:13px;font-weight:700;color:var(--muted);line-height:1.5}
.hotlist li:nth-child(1) .no,.hotlist li:nth-child(2) .no,.hotlist li:nth-child(3) .no{color:var(--accent)}
.hotlist span{font-size:13.5px;color:var(--ink-2);line-height:1.55}
.hotlist a:hover span{color:var(--brand)}

.newlist{padding:6px 16px 14px}
.newlist li{border-bottom:1px dashed var(--line);padding:10px 0;display:flex;gap:10px;align-items:baseline}
.newlist li:last-child{border-bottom:0}
.newlist time{flex:0 0 44px;font-size:11.5px;color:var(--muted);font-family:var(--numb)}
.newlist a{font-size:13.5px;color:var(--ink-2);line-height:1.55}
.newlist a:hover{color:var(--brand)}

/* ================= Two column sections ================= */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}

/* article list */
.alist{padding:8px 16px 16px}
.alist li{padding:13px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:flex-start}
.alist li:last-child{border-bottom:0;padding-bottom:4px}
.alist .dt{flex:0 0 46px;text-align:center;border-right:1px solid var(--line);padding-right:14px}
.alist .dt b{display:block;font-family:var(--numb);font-size:17px;color:var(--ink-2);line-height:1.2}
.alist .dt span{font-size:11px;color:var(--muted)}
.alist h4{font-size:14.5px;line-height:1.6;font-weight:600;margin-bottom:6px}
.alist h4 a:hover{color:var(--brand)}
.alist .meta{font-size:12px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}
.alist .meta em{font-style:normal;color:var(--brand);font-weight:600}
.alist li:hover h4{color:var(--brand)}

/* chart block */
.chartbox{padding:18px 20px 20px}
.chartbox h3{font-size:17px;line-height:1.5;margin-bottom:8px}
.chartbox h3 a:hover{color:var(--brand)}
.chartbox > p{font-size:13.5px;color:var(--body);line-height:1.75;margin-bottom:16px}
.chart{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);padding:14px 12px 8px}
.chart__legend{display:flex;gap:16px;font-size:12px;color:var(--muted);padding:0 6px 8px}
.chart__legend i{display:inline-block;width:14px;height:3px;border-radius:2px;vertical-align:middle;margin-right:6px}
.chart__foot{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);padding:8px 6px 4px}
.shortlist{margin-top:16px;border-top:1px solid var(--line);padding-top:6px}
.shortlist li{padding:11px 0;border-bottom:1px dashed var(--line);display:flex;gap:10px;align-items:baseline}
.shortlist li:last-child{border-bottom:0}
.shortlist b{flex:0 0 auto;font-size:11.5px;font-weight:600;color:var(--accent);border:1px solid var(--accent);border-radius:3px;padding:1px 5px;line-height:1.4}
.shortlist a{font-size:13.5px;color:var(--ink-2)}
.shortlist a:hover{color:var(--brand)}

/* tech cards */
.tcard{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;transition:.2s}
.tcard:hover{border-color:var(--brand-2);box-shadow:0 10px 26px -18px rgba(11,79,138,.5)}
.tcard__img{height:132px;position:relative}
.tcard__img--1{background:linear-gradient(135deg,#1C3B57,#2E6B9E)}
.tcard__img--2{background:linear-gradient(135deg,#3A4A38,#6E8A63)}
.tcard__img--3{background:linear-gradient(135deg,#4A3550,#8A6B84)}
.tcard__img::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.05) 0 10px,transparent 10px 22px)}
.tcard__img span{position:absolute;left:14px;bottom:12px;color:#fff;font-size:12px;font-weight:600;background:rgba(0,0,0,.28);padding:3px 9px;border-radius:4px;backdrop-filter:blur(4px)}
.tcard__b{padding:15px 17px 17px}
.tcard__b h3{font-size:15px;line-height:1.6;margin-bottom:8px}
.tcard__b h3 a:hover{color:var(--brand)}
.tcard__b p{font-size:13px;color:var(--muted);line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tcard__m{margin-top:12px;display:flex;gap:12px;font-size:12px;color:var(--muted)}

/* ================= Tender table ================= */
.tbl{width:100%;border-collapse:collapse;font-size:13.5px}
.tbl thead th{text-align:left;padding:11px 16px;font-size:12.5px;font-weight:600;color:var(--muted);background:var(--bg-3);white-space:nowrap}
.tbl thead th:first-child{border-top-left-radius:var(--r-lg)}
.tbl thead th:last-child{border-top-right-radius:var(--r-lg)}
.tbl td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl tbody tr:last-child td{border-bottom:0}
.tbl tbody tr:hover{background:var(--bg-2)}
.tbl .tt{font-size:14px;color:var(--ink-2);font-weight:600;line-height:1.55;display:block}
.tbl .tt:hover{color:var(--brand)}
.tbl .tsub{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:4px}
.tbl .money{font-family:var(--numb);color:var(--accent);font-weight:600;white-space:nowrap}
.cd-flag{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:3px 8px;border-radius:4px;white-space:nowrap}
.cd-flag--hot{background:var(--accent-soft);color:var(--accent)}
.cd-flag--soon{background:var(--up-soft);color:var(--up)}
.cd-flag--ok{background:var(--bg-3);color:var(--body)}

/* ================= Events ================= */
.evlist{padding:6px 16px 14px}
.evlist li{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);align-items:flex-start}
.evlist li:last-child{border-bottom:0}
.evdate{flex:0 0 52px;text-align:center;background:var(--brand-soft);border:1px solid #CFE0F5;border-radius:var(--r);padding:6px 0}
.evdate b{display:block;font-family:var(--numb);font-size:18px;color:var(--brand);line-height:1.15}
.evdate span{font-size:11px;color:var(--brand-2)}
.evlist h4{font-size:14px;line-height:1.55;font-weight:600;margin-bottom:5px}
.evlist h4 a:hover{color:var(--brand)}
.evlist .meta{font-size:12px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}

/* ================= Experts ================= */
.ecard{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px}
.ecard__hd{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.ecard__av{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:16px;font-weight:700;flex:0 0 48px}
.ecard__hd b{display:block;font-size:14.5px;color:var(--ink)}
.ecard__hd span{font-size:12px;color:var(--muted)}
.ecard h3{font-size:14.5px;line-height:1.65;font-weight:600;margin-bottom:8px}
.ecard h3 a:hover{color:var(--brand)}
.ecard p{font-size:13px;color:var(--body);line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ecard__f{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);display:flex;gap:14px;font-size:12px;color:var(--muted)}

/* ================= Footer ================= */
.ft{background:#0D1B2A;color:rgba(255,255,255,.55);padding:44px 0 24px;font-size:13px;margin-top:20px}
.ft__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1)}
.ft .logo b{color:#fff}
.ft .logo small{color:rgba(255,255,255,.45)}
.ft__about{margin-top:14px;line-height:1.8;max-width:320px}
.ft h4{color:#fff;font-size:13.5px;margin-bottom:14px}
.ft li{margin-bottom:10px}
.ft a:hover{color:#fff}
.ft__bot{padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12.5px;line-height:1.8}
.ft__disc{max-width:680px}

/* ================= Back to top ================= */
.totop{position:fixed;right:20px;bottom:20px;width:42px;height:42px;border-radius:var(--r);background:var(--bg);border:1px solid var(--line-2);display:grid;place-items:center;color:var(--ink-2);box-shadow:0 8px 22px -12px rgba(18,24,31,.5);opacity:0;visibility:hidden;transition:.22s;z-index:70}
.totop.is-on{opacity:1;visibility:visible}
.totop:hover{color:var(--brand);border-color:var(--brand)}

.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-in{opacity:1;transform:none}

/* ================= Responsive ================= */
@media(max-width:1180px){
  .quotes__grid{grid-template-columns:repeat(3,1fr)}
  .ft__grid{grid-template-columns:1fr 1fr;gap:26px}
}
@media(max-width:1000px){
  .hero{grid-template-columns:1fr}
  .duo,.trio{grid-template-columns:1fr}
  .subnews{grid-template-columns:1fr}
  .search{max-width:100%}
  .hd__main{flex-wrap:wrap;height:auto;padding:12px 20px;gap:14px}
  .nav{height:auto}
  .nav__in{flex-wrap:wrap;padding:8px 20px;gap:0}
  .nav a{padding:8px 14px;height:auto}
  .nav__sp{width:100%;justify-content:flex-start;padding-top:6px;margin-left:0}
  .burger{display:grid;margin-left:auto}
}
@media(max-width:760px){
  .quotes__grid{grid-template-columns:repeat(2,1fr)}
  .lead__img{height:200px}
  .lead__body{padding:16px 18px}
  .lead__body h1{font-size:20px}
  .tbl thead{display:none}
  .tbl,.tbl tbody,.tbl tr,.tbl td{display:block;width:100%}
  .tbl tbody tr{border-bottom:1px solid var(--line);padding:12px 16px}
  .tbl td{border:0;padding:4px 0;display:flex;gap:10px}
  .tbl td::before{content:attr(data-th);flex:0 0 68px;font-size:12px;color:var(--muted)}
  .topbar__sp span:not(:last-child){display:none}
  .topbar__idx{display:none}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* ============================================================
   内页组件：频道列表 / 文章详情 / 招标 / 行情 / 报告 / 搜索
   ============================================================ */

/* ---------- 面包屑 ---------- */
.crumb{max-width:var(--max);margin:0 auto;padding:14px 20px 0;font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crumb a:hover{color:var(--brand)}
.crumb i{font-style:normal;color:var(--line-2)}
.crumb b{color:var(--ink-2);font-weight:600}

/* ---------- 频道页头 ---------- */
.phd{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.phd__t h1{font-size:23px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px;margin-bottom:9px}
.phd__t h1::before{content:"";width:4px;height:19px;border-radius:2px;background:var(--brand)}
.phd__t p{font-size:13.5px;color:var(--body);line-height:1.75;max-width:820px}
.phd__s{margin-left:auto;font-size:12.5px;color:var(--muted);text-align:right;line-height:1.9;flex:0 0 auto}
.phd__s b{color:var(--ink-2);font-family:var(--numb)}

/* ---------- 主区 + 侧栏 ---------- */
.cols{display:grid;grid-template-columns:1fr 320px;gap:16px;align-items:start}

/* ---------- 筛选栏 ---------- */
.filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 18px;border-bottom:1px solid var(--line)}
.filter__lb{font-size:12.5px;color:var(--muted);flex:0 0 auto}
.fchips{display:flex;gap:6px;flex-wrap:wrap}
.fchips a,.fchips button{padding:4px 13px;border-radius:999px;font-size:12.5px;color:var(--body);background:var(--bg-3);transition:.16s;display:inline-block}
.fchips a:hover,.fchips button:hover{color:var(--brand)}
.fchips .is-on{background:var(--brand);color:#fff;font-weight:600}
.fsel{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.fsel select{appearance:none;-webkit-appearance:none;font-family:inherit;font-size:12.5px;color:var(--ink-2);border:1px solid var(--line-2);border-radius:var(--r);padding:6px 30px 6px 11px;background:var(--bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A96A6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 10px center;outline:none;cursor:pointer}
.fsel select:hover{border-color:var(--brand)}
.filter__res{font-size:12.5px;color:var(--muted);padding:10px 18px 0}
.filter__res b{color:var(--accent);font-family:var(--numb)}

/* ---------- 分页 ---------- */
.pager{display:flex;justify-content:center;align-items:center;gap:6px;padding:24px 0 6px;flex-wrap:wrap}
.pager a,.pager span{min-width:36px;height:36px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-2);border-radius:var(--r);font-size:13px;font-family:var(--numb);color:var(--ink-2);background:var(--bg);transition:.16s}
.pager a:hover{border-color:var(--brand);color:var(--brand)}
.pager .is-on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}
.pager .dis{color:var(--muted);background:var(--bg-2)}
.pager__info{font-size:12.5px;color:var(--muted);font-family:var(--font);margin:0 8px}

/* ---------- 通用小标签 ---------- */
.tagline{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:4px;background:var(--brand-soft);color:var(--brand);white-space:nowrap}
.tagline--accent{background:var(--accent-soft);color:var(--accent)}
.tagline--ok{background:var(--down-soft);color:var(--down)}
.tagline--mut{background:var(--bg-3);color:var(--body)}

/* ---------- 文章头 / 正文 / 文末 ---------- */
.ahead{padding:26px 30px 22px;border-bottom:1px solid var(--line)}
.ahead__tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.ahead h1{font-size:28px;line-height:1.45;letter-spacing:-.022em;margin-bottom:16px}
.ahead__sub{font-size:15px;color:var(--body);line-height:1.8;padding-left:14px;border-left:3px solid var(--line-2);margin-bottom:18px}
.ahead__meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.ahead__meta .src{color:var(--brand);font-weight:600}
.ahead__meta i{font-style:normal;display:inline-flex;align-items:center;gap:5px}

.prose{padding:26px 30px 8px;font-size:15.5px;line-height:1.95;color:var(--ink-2)}
.prose>p{margin-bottom:20px}
.prose h2{font-size:19px;margin:32px 0 14px;padding-left:12px;border-left:3px solid var(--brand);line-height:1.5;scroll-margin-top:130px}
.prose h3{font-size:16.5px;margin:24px 0 12px}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose ul,.prose ol{margin:0 0 20px;padding-left:22px}
.prose li{margin-bottom:8px}
.prose blockquote{margin:22px 0;padding:16px 20px;background:var(--brand-soft);border-left:3px solid var(--brand);border-radius:0 var(--r) var(--r) 0;font-size:14.5px}
.prose blockquote p:last-child{margin-bottom:0}
.prose strong{color:var(--ink);font-weight:600}
.prose figure{margin:24px 0}
.prose figure svg{width:100%;height:auto;background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);padding:12px 10px 6px}
.prose figcaption{font-size:12.5px;color:var(--muted);text-align:center;margin-top:10px;line-height:1.7}
.prose .datatbl{width:100%;border-collapse:collapse;font-size:13.5px;margin:22px 0}
.prose .datatbl th{background:var(--bg-3);text-align:left;padding:11px 14px;font-size:12.5px;color:var(--muted);font-weight:600;border-bottom:1px solid var(--line);white-space:nowrap}
.prose .datatbl td{padding:11px 14px;border-bottom:1px solid var(--line);font-family:var(--numb);white-space:nowrap}
.prose .datatbl td:first-child{font-family:var(--font);color:var(--ink-2);white-space:normal}
.prose .datatbl tr:last-child td{border-bottom:0}
.prose .keypoint{margin:24px 0;padding:18px 22px;background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);font-size:14.5px}
.prose .keypoint h4{font-size:14px;color:var(--brand);margin-bottom:10px}
.prose .keypoint ul{margin:0;padding-left:20px}
.prose .keypoint li{margin-bottom:6px}

.aend{padding:22px 30px 28px;border-top:1px solid var(--line);display:grid;gap:20px}
.atags{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted)}
.atags a{padding:4px 12px;border-radius:999px;background:var(--bg-2);border:1px solid var(--line);font-size:12.5px;color:var(--body)}
.atags a:hover{border-color:var(--brand);color:var(--brand)}
.pn{display:grid;gap:10px}
.pn a{padding:12px 16px;border:1px solid var(--line);border-radius:var(--r);font-size:13.5px;color:var(--ink-2);display:flex;gap:10px;line-height:1.6}
.pn a:hover{border-color:var(--brand);color:var(--brand)}
.pn b{color:var(--muted);font-weight:600;flex:0 0 auto}

/* ---------- 目录 ---------- */
.toc{padding:12px 16px 16px}
.toc ol{counter-reset:toc;display:grid;gap:2px;padding-left:0;list-style:none}
.toc li a{display:flex;gap:9px;padding:7px 9px;border-radius:var(--r);font-size:13.5px;color:var(--ink-2);line-height:1.55;transition:.16s}
.toc li a:hover{background:var(--bg-2);color:var(--brand)}
.toc li a::before{counter-increment:toc;content:counter(toc,decimal-leading-zero);font-family:var(--numb);font-size:12px;color:var(--muted);flex:0 0 auto}

/* ---------- 相关阅读 ---------- */
.rellist{padding:8px 16px 14px}
.rellist li{padding:11px 0;border-bottom:1px dashed var(--line)}
.rellist li:last-child{border-bottom:0}
.rellist a{font-size:13.5px;color:var(--ink-2);line-height:1.6;display:block}
.rellist a:hover{color:var(--brand)}
.rellist .m{font-size:12px;color:var(--muted);margin-top:5px;display:flex;gap:10px}

/* ---------- 键值表（招标/报告信息） ---------- */
.kv{width:100%;border-collapse:collapse;font-size:13.5px}
.kv th{width:136px;text-align:left;padding:12px 16px;background:var(--bg-2);color:var(--muted);font-weight:600;border-bottom:1px solid var(--line);vertical-align:top;white-space:nowrap}
.kv td{padding:12px 16px;border-bottom:1px solid var(--line);color:var(--ink-2)}
.kv tr:last-child th,.kv tr:last-child td{border-bottom:0}
.kv .money{font-family:var(--numb);color:var(--accent);font-weight:600;font-size:15px}

/* ---------- 倒计时 ---------- */
.cdown{background:linear-gradient(115deg,#0A3E6D,#1668B8 68%);border-radius:var(--r-lg);padding:20px 22px;color:#fff;position:relative;overflow:hidden}
.cdown::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(122deg,rgba(255,255,255,.05) 0 14px,transparent 14px 30px);pointer-events:none}
.cdown__lb{position:relative;z-index:1;font-size:12.5px;color:rgba(255,255,255,.75);margin-bottom:10px}
.cdown__v{position:relative;z-index:1;display:flex;gap:4px;align-items:baseline}
.cdown__v b{font-family:var(--numb);font-size:38px;line-height:1;letter-spacing:-.03em}
.cdown__v em{font-style:normal;font-size:15px;color:rgba(255,255,255,.82);margin-right:8px}
.cdown__m{position:relative;z-index:1;margin-top:16px;padding-top:13px;border-top:1px solid rgba(255,255,255,.18);font-size:12.5px;color:rgba(255,255,255,.78);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}

/* ---------- 附件 ---------- */
.files{padding:8px 16px 16px}
.files li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px dashed var(--line)}
.files li:last-child{border-bottom:0}
.files .ic{width:36px;height:36px;border-radius:var(--r);background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex:0 0 36px;font-size:10.5px;font-weight:700;letter-spacing:.02em}
.files b{font-size:13.5px;color:var(--ink-2);font-weight:600;display:block;line-height:1.5}
.files span{font-size:12px;color:var(--muted)}
.files .dl{margin-left:auto;font-size:12.5px;color:var(--brand);font-weight:600;flex:0 0 auto}

/* ---------- 步骤 / 须知 ---------- */
.steps{padding:14px 18px 18px;display:grid;gap:14px;counter-reset:st;list-style:none;margin:0}
.steps li{display:flex;gap:12px;font-size:13.5px;color:var(--ink-2);line-height:1.75}
.steps li::before{counter-increment:st;content:counter(st);flex:0 0 22px;height:22px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:700;display:grid;place-items:center;font-family:var(--numb);margin-top:2px}
.steps li b{color:var(--ink)}

/* ---------- 行情全量表 ---------- */
.qbig{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.qbig>div{padding:14px 16px;border-radius:var(--r);background:var(--bg);border:1px solid var(--line)}
.qbig .lb{font-size:12.5px;color:var(--muted);margin-bottom:6px}
.qbig .vl{font-family:var(--numb);font-size:21px;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.qbig .ch{font-family:var(--numb);font-size:12.5px;margin-top:4px}

.qtable{width:100%;border-collapse:collapse;font-size:13.5px}
.qtable thead th{text-align:left;padding:11px 16px;font-size:12.5px;font-weight:600;color:var(--muted);background:var(--bg-3);white-space:nowrap}
.qtable thead th:first-child{border-top-left-radius:var(--r-lg)}
.qtable thead th:last-child{border-top-right-radius:var(--r-lg)}
.qtable td{padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.qtable tbody tr:last-child td{border-bottom:0}
.qtable tbody tr:hover{background:var(--bg-2)}
.qtable .qn{font-weight:600;color:var(--ink-2);white-space:nowrap}
.qtable .qn small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:3px}
.qtable .num{font-family:var(--numb);color:var(--ink);font-weight:600;white-space:nowrap}
.qtable .num.up{color:var(--up)}
.qtable .num.down{color:var(--down)}
.qtable .num.flat{color:var(--muted)}
.qtable .sp{font-family:var(--numb);font-size:12.5px;white-space:nowrap}
.qtable .rng{font-family:var(--numb);font-size:12.5px;color:var(--muted);white-space:nowrap}
.spark{display:block;width:84px;height:26px}

/* ---------- 报告卡 ---------- */
.rlist{display:grid;gap:14px}
.rcard{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;transition:.2s}
.rcard:hover{border-color:var(--brand-2);box-shadow:0 10px 26px -18px rgba(11,79,138,.5)}
.rcard h3{font-size:16px;line-height:1.55;margin-bottom:9px;font-weight:600}
.rcard h3 a:hover{color:var(--brand)}
.rcard p{font-size:13px;color:var(--body);line-height:1.72}
.rcard__m{margin-top:12px;display:flex;gap:14px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.rcard__m b{color:var(--brand);font-weight:600}
.rcard__act{flex:0 0 auto;text-align:center;display:grid;gap:8px;justify-items:center}
.rcard__act span{font-size:12px;color:var(--muted)}

/* ---------- 搜索结果 ---------- */
.shead{padding:20px 22px 18px;border-bottom:1px solid var(--line)}
.shead h1{font-size:19px;margin-bottom:14px}
.shead h1 b{color:var(--accent)}
.sres{padding:6px 18px 16px}
.sres li{padding:17px 0;border-bottom:1px solid var(--line)}
.sres li:last-child{border-bottom:0}
.sres h4{font-size:15.5px;margin-bottom:8px;font-weight:600;line-height:1.55}
.sres h4 a:hover{color:var(--brand)}
.sres p{font-size:13.5px;color:var(--body);line-height:1.78}
.sres .m{margin-top:9px;font-size:12px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.sres mark{background:#FFF2C2;color:var(--ink);padding:0 2px;border-radius:2px}
.sfilter{padding:14px 22px;border-bottom:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* ---------- 内页响应式 ---------- */
@media(max-width:1000px){
  .cols{grid-template-columns:1fr}
  .phd__s{margin-left:0;text-align:left}
  .qbig{grid-template-columns:repeat(2,1fr)}
  .ahead{padding:20px 18px 18px}
  .ahead h1{font-size:22px}
  .prose{padding:20px 18px 6px;font-size:15px}
  .aend{padding:18px 18px 22px}
  .rcard{grid-template-columns:1fr}
  .rcard__act{justify-items:start}
}
@media(max-width:760px){
  .qbig{grid-template-columns:1fr}
  .qtable thead{display:none}
  .qtable,.qtable tbody,.qtable tr,.qtable td{display:block;width:100%}
  .qtable tbody tr{border-bottom:1px solid var(--line);padding:12px 16px}
  .qtable td{border:0;padding:4px 0;display:flex;gap:10px}
  .qtable td::before{content:attr(data-th);flex:0 0 76px;font-size:12px;color:var(--muted);font-family:var(--font)}
  .kv th{width:104px;padding:10px 12px}
  .kv td{padding:10px 12px}
  .prose .datatbl{font-size:12.5px}
  .prose .datatbl th,.prose .datatbl td{padding:9px 10px}
}

/* ---------- 简易横向统计条 ---------- */
.bars{padding:14px 16px 18px;display:grid;gap:12px}
.bars li{font-size:12.5px}
.bars__r{display:flex;justify-content:space-between;margin-bottom:5px;color:var(--ink-2)}
.bars__r b{font-family:var(--numb);color:var(--brand)}
.bars__t{height:6px;border-radius:3px;background:var(--bg-3);overflow:hidden}
.bars__t i{display:block;height:100%;border-radius:3px;background:var(--brand)}
