/* ============================================================
   东浩兰生智投 · AI 战略投资雷达智能体
   ============================================================ */

:root{
  --bg:#F4F6FA;
  --surface:#FFFFFF;
  --surface-2:#FAFBFD;
  --border:#E2E8F0;
  --border-strong:#CBD5E1;
  --text:#16213A;
  --text-2:#4A566B;
  --muted:#7A879B;
  --primary:#1B4B8F;
  --primary-2:#2C6BCF;
  --primary-soft:#EAF1FB;
  --gold:#B08A3E;
  --gold-soft:#FBF4E6;
  --ok:#12805C;
  --ok-soft:#E6F4EE;
  --warn:#B26A00;
  --warn-soft:#FDF1DE;
  --danger:#B3352C;
  --danger-soft:#FBECEA;
  --pending:#6D5AE0;
  --pending-soft:#EFECFD;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 1px 2px rgba(22,33,58,.05), 0 4px 16px rgba(22,33,58,.05);
  --shadow-lg:0 12px 40px rgba(22,33,58,.14);
  --sidebar-w:236px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--text);
  font-size:14px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

.app{display:flex;min-height:100vh}

/* ---------- 侧边栏 ---------- */
.sidebar{
  width:var(--sidebar-w);flex:0 0 var(--sidebar-w);
  background:#122A4C;color:#DCE6F5;
  display:flex;flex-direction:column;
  position:sticky;top:0;height:100vh;
}
.brand{display:flex;gap:10px;align-items:center;padding:20px 18px;border-bottom:1px solid rgba(255,255,255,.09)}
.brand-mark{
  width:38px;height:38px;flex:0 0 38px;border-radius:9px;
  background:linear-gradient(135deg,#2C6BCF,#1B4B8F);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;color:#fff;letter-spacing:.5px;
}
.brand-title{font-size:14px;font-weight:600;color:#fff;line-height:1.35}
.brand-sub{font-size:11px;color:#8FA5C6;line-height:1.4;margin-top:2px}

.nav{padding:12px 10px;flex:1;overflow-y:auto}
.nav-item{
  width:100%;display:flex;align-items:center;gap:9px;
  padding:9px 11px;margin-bottom:2px;
  background:none;border:0;border-radius:var(--radius-sm);
  color:#B7C7DE;font-size:13.5px;cursor:pointer;text-align:left;
  font-family:inherit;transition:background .15s,color .15s;
}
.nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
.nav-item.active{background:rgba(44,107,207,.28);color:#fff;font-weight:600}
.nav-ico{width:16px;text-align:center;opacity:.85;font-size:13px}
.nav-badge{
  margin-left:auto;background:rgba(255,255,255,.14);color:#DCE6F5;
  font-size:11px;padding:1px 7px;border-radius:20px;font-weight:600;
}
.nav-item.active .nav-badge{background:#2C6BCF;color:#fff}

.sidebar-foot{padding:14px 18px;border-top:1px solid rgba(255,255,255,.09)}
.demo-tag{
  display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.5px;
  background:rgba(176,138,62,.22);color:#E4C98A;
  padding:3px 8px;border-radius:4px;
}
.demo-note{font-size:10.5px;color:#7C8FAD;margin-top:8px;line-height:1.5}

/* ---------- 主区域 ---------- */
.main{flex:1;min-width:0;display:flex;flex-direction:column}

.topbar{
  height:60px;flex:0 0 60px;background:var(--surface);
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 26px;position:sticky;top:0;z-index:20;
}
.topbar-left{display:flex;align-items:center;gap:12px}
.topbar-right{display:flex;gap:8px}
.week-select{
  font-family:inherit;font-size:13.5px;font-weight:600;color:var(--text);
  border:1px solid var(--border-strong);background:var(--surface);
  padding:6px 10px;border-radius:var(--radius-sm);cursor:pointer;
}
.report-period{font-size:12.5px;color:var(--muted)}
.chip{
  display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:20px;font-weight:600;
}
.chip-status{background:var(--primary-soft);color:var(--primary)}

.btn{
  font-family:inherit;font-size:12.5px;padding:6px 13px;border-radius:var(--radius-sm);
  cursor:pointer;border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);
  transition:.15s;
}
.btn:hover{border-color:var(--primary-2);color:var(--primary)}
.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}
.btn-primary:hover{background:var(--primary-2);border-color:var(--primary-2);color:#fff}

.content{padding:26px;flex:1;max-width:1240px;width:100%}
.section{display:none;animation:fade .25s ease}
.section.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.page-head{margin-bottom:20px}
.page-head h1{font-size:21px;font-weight:700;letter-spacing:-.2px}
.page-desc{font-size:13px;color:var(--text-2);margin-top:5px;max-width:860px}

/* ---------- 卡片 ---------- */
.card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:18px 20px;margin-bottom:18px;
  box-shadow:var(--shadow);
}
.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}
.card-head h2{font-size:15px;font-weight:700}
.card-sub{font-size:12px;color:var(--muted)}
.link-btn{
  background:none;border:0;color:var(--primary-2);font-size:12.5px;
  cursor:pointer;font-family:inherit;padding:0;
}
.link-btn:hover{text-decoration:underline}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:1000px){.two-col{grid-template-columns:1fr}}

.notice{
  background:var(--gold-soft);border:1px solid #EEDFBC;border-left:3px solid var(--gold);
  border-radius:var(--radius-sm);padding:13px 16px;font-size:12.5px;color:#6B5320;line-height:1.7;
}
.notice b{color:#4A3810}

.report-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.rm-item{
  font-size:11.5px;color:var(--text-2);background:var(--surface);
  border:1px solid var(--border);border-radius:20px;padding:3px 11px;
  display:inline-flex;align-items:center;gap:6px;
}
.rm-item i{
  font-style:normal;font-size:10.5px;font-weight:700;color:var(--muted);
  background:#F1F4F9;border-radius:10px;padding:1px 6px;
}

/* ---------- 统计 ---------- */
.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:18px}
@media(max-width:1080px){.stat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.stat-grid{grid-template-columns:repeat(2,1fr)}}
.stat{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:15px 16px;box-shadow:var(--shadow);position:relative;overflow:hidden;
}
.stat::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--primary)}
.stat.gold::before{background:var(--gold)}
.stat.ok::before{background:var(--ok)}
.stat.pending::before{background:var(--pending)}
.stat-label{font-size:11.5px;color:var(--muted);letter-spacing:.2px}
.stat-value{font-size:26px;font-weight:700;line-height:1.2;margin-top:4px;letter-spacing:-.5px}
.stat-value small{font-size:13px;font-weight:600;color:var(--muted);margin-left:2px}
.stat-hint{font-size:11px;color:var(--muted);margin-top:3px}

/* ---------- 概览列表 ---------- */
.mini-list{list-style:none}
.mini-list li{
  padding:10px 0;border-bottom:1px dashed var(--border);
  display:flex;gap:10px;align-items:flex-start;
}
.mini-list li:last-child{border-bottom:0}
.mini-rank{
  width:20px;height:20px;flex:0 0 20px;border-radius:5px;
  background:var(--primary-soft);color:var(--primary);
  font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:2px;
}
.mini-body{flex:1;min-width:0}
.mini-title{font-size:13.5px;font-weight:600}
.mini-desc{font-size:12px;color:var(--text-2);margin-top:2px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.progress-wrap{display:flex;align-items:center;gap:12px}
.progress-bar{flex:1;height:8px;background:#EDF1F7;border-radius:20px;overflow:hidden}
.progress-bar i{display:block;height:100%;background:var(--primary);border-radius:20px;transition:width .3s}
.progress-wrap span{font-size:12.5px;color:var(--text-2);font-weight:600;min-width:80px;text-align:right}

.mark-summary{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.mark-pill{
  font-size:12px;padding:5px 12px;border-radius:20px;font-weight:600;
  border:1px solid var(--border);
}
.mark-pill.ok{background:var(--ok-soft);color:var(--ok);border-color:#C6E6D8}
.mark-pill.warn{background:var(--warn-soft);color:var(--warn);border-color:#F0DCBC}
.mark-pill.danger{background:var(--danger-soft);color:var(--danger);border-color:#F0CFCB}
.mark-pill.none{background:#F2F5F9;color:var(--muted)}

.pending-list{list-style:none}
.pending-list li{
  display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed var(--border);font-size:12.5px;
}
.pending-list li:last-child{border-bottom:0}
.pending-list b{color:var(--text);flex:0 0 auto}
.pending-list span{color:var(--text-2)}

/* ---------- 产业方向 ---------- */
.dir-list{display:flex;flex-direction:column;gap:16px}
.dir-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:20px 22px;box-shadow:var(--shadow);
}
.dir-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.dir-name{font-size:16.5px;font-weight:700}
.dir-sub{font-size:12.5px;color:var(--primary-2);margin-top:3px;font-weight:600}
.heat{text-align:right;flex:0 0 auto}
.heat-num{font-size:20px;font-weight:700;color:var(--primary);line-height:1}
.heat-label{font-size:10.5px;color:var(--muted);margin-top:2px}
.heat-bar{width:80px;height:4px;background:#EDF1F7;border-radius:20px;margin-top:5px;overflow:hidden}
.heat-bar i{display:block;height:100%;background:linear-gradient(90deg,#2C6BCF,#1B4B8F)}

.dir-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:900px){.dir-grid{grid-template-columns:1fr}}
.dir-block h4{
  font-size:11.5px;color:var(--muted);font-weight:700;letter-spacing:.6px;
  margin-bottom:7px;text-transform:uppercase;
}
.dir-block p{font-size:13px;color:var(--text-2);line-height:1.75}
.dir-block ul{list-style:none}
.dir-block li{
  font-size:13px;color:var(--text-2);padding-left:15px;position:relative;margin-bottom:5px;line-height:1.7;
}
.dir-block li::before{
  content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;
  border-radius:50%;background:var(--primary-2);
}
.dir-block.risk li::before{background:var(--danger)}
.tag-row{margin-top:14px;display:flex;gap:6px;flex-wrap:wrap}
.tag{
  font-size:11px;background:var(--primary-soft);color:var(--primary);
  padding:2px 9px;border-radius:20px;font-weight:600;
}

/* ---------- 工具栏 ---------- */
.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:16px;flex-wrap:wrap}
.input{
  font-family:inherit;font-size:13px;padding:7px 11px;
  border:1px solid var(--border-strong);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--text);
}
.input:focus{outline:none;border-color:var(--primary-2);box-shadow:0 0 0 3px rgba(44,107,207,.1)}
#searchInput{flex:1;min-width:200px;max-width:320px}
.toolbar-count{font-size:12.5px;color:var(--muted);margin-left:auto}

/* ---------- 候选企业 ---------- */
.com-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
@media(max-width:1100px){.com-list{grid-template-columns:1fr}}

.com-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .18s,border-color .18s;
}
.com-card:hover{box-shadow:var(--shadow-lg);border-color:var(--border-strong)}
.com-card.is-continue{border-left:3px solid var(--ok)}
.com-card.is-hold{border-left:3px solid var(--warn)}
.com-card.is-reject{border-left:3px solid var(--danger);opacity:.72}

.com-head{padding:16px 18px 12px;border-bottom:1px solid var(--border)}
.com-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.com-name{font-size:15.5px;font-weight:700;cursor:pointer}
.com-name:hover{color:var(--primary-2);text-decoration:underline}
.com-id{font-size:10.5px;color:var(--muted);font-weight:600;margin-left:6px}
.com-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.mini-chip{
  font-size:11px;padding:2px 8px;border-radius:5px;background:#F1F4F9;
  color:var(--text-2);font-weight:600;
}
.mini-chip.round{background:var(--primary-soft);color:var(--primary)}
.mini-chip.round.pending{background:var(--pending-soft);color:var(--pending)}

.com-body{padding:14px 18px;flex:1}
.com-field{margin-bottom:11px}
.com-field .k{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.4px;margin-bottom:3px}
.com-field .v{font-size:12.5px;color:var(--text-2);line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.com-field .v.clamp-2{-webkit-line-clamp:2}

.syn-badge{
  display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;
  padding:2px 9px;border-radius:20px;
}
.syn-高{background:var(--ok-soft);color:var(--ok)}
.syn-中{background:var(--warn-soft);color:var(--warn)}
.syn-弱{background:#F2F5F9;color:var(--muted)}

.flag-row{margin-top:10px;display:flex;gap:6px;flex-wrap:wrap}
.flag{
  font-size:11px;padding:2px 8px;border-radius:5px;font-weight:600;
  background:var(--pending-soft);color:var(--pending);
}

.com-foot{
  padding:12px 18px;border-top:1px solid var(--border);background:var(--surface-2);
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
}
.foot-label{font-size:11.5px;color:var(--muted);margin-right:auto;font-weight:600}
.mark-btn{
  font-family:inherit;font-size:12px;font-weight:600;padding:5px 12px;border-radius:20px;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);cursor:pointer;
  transition:.15s;
}
.mark-btn:hover{border-color:var(--primary-2);color:var(--primary)}
.mark-btn.on-continue{background:var(--ok);border-color:var(--ok);color:#fff}
.mark-btn.on-hold{background:var(--warn);border-color:var(--warn);color:#fff}
.mark-btn.on-reject{background:var(--danger);border-color:var(--danger);color:#fff}
.detail-btn{
  font-family:inherit;font-size:12px;padding:5px 12px;border-radius:20px;cursor:pointer;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--primary);
}
.detail-btn:hover{background:var(--primary-soft)}

/* ---------- 高协同 ---------- */
.syn-list{display:flex;flex-direction:column;gap:18px}
.syn-card{
  background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--gold);
  border-radius:var(--radius);padding:20px 22px;box-shadow:var(--shadow);
}
.syn-head{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap}
.syn-head h3{font-size:16.5px;font-weight:700}
.syn-sub{font-size:12.5px;color:var(--muted);margin-bottom:16px}
.syn-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
@media(max-width:900px){.syn-cols{grid-template-columns:1fr}}
.syn-box{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px}
.syn-box h4{font-size:12px;font-weight:700;color:var(--primary);margin-bottom:9px;letter-spacing:.3px}
.syn-box.to h4{color:var(--gold)}
.syn-box ul{list-style:none}
.syn-box li{font-size:12.5px;color:var(--text-2);padding-left:14px;position:relative;margin-bottom:6px;line-height:1.7}
.syn-box li::before{content:"▸";position:absolute;left:0;color:var(--border-strong)}
.value-path{background:var(--gold-soft);border:1px solid #EEDFBC;border-radius:var(--radius-sm);padding:13px 16px}
.value-path h4{font-size:12px;font-weight:700;color:#7A5F22;margin-bottom:8px}
.value-path p{font-size:12.5px;color:#6B5320;line-height:1.85}

/* ---------- 参考 ---------- */
.ref-list{display:grid;grid-template-columns:1fr;gap:12px}
.ref-item{
  border:1px solid var(--border);border-radius:var(--radius-sm);padding:13px 15px;
  background:var(--surface-2);
}
.ref-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ref-name{font-size:14px;font-weight:700}
.ref-country{font-size:11px;background:#EEF2F8;color:var(--text-2);padding:1px 8px;border-radius:20px;font-weight:600}
.ref-round{font-size:11px;background:var(--primary-soft);color:var(--primary);padding:1px 8px;border-radius:20px;font-weight:600}
.ref-hl{font-size:12.5px;color:var(--text-2);margin-top:6px;line-height:1.7}
.ref-val{font-size:12px;color:var(--primary);margin-top:6px;background:var(--primary-soft);
  padding:6px 10px;border-radius:6px;line-height:1.65}
.ref-flag{
  font-size:10.5px;font-weight:700;color:var(--danger);background:var(--danger-soft);
  padding:1px 8px;border-radius:20px;margin-left:auto;
}

/* ---------- 表格 ---------- */
.table{width:100%;border-collapse:collapse;font-size:12.5px}
.table th{
  text-align:left;padding:10px 12px;background:var(--surface-2);
  border-bottom:1px solid var(--border);font-size:11.5px;color:var(--muted);
  font-weight:700;letter-spacing:.3px;
}
.table td{padding:11px 12px;border-bottom:1px solid var(--border);vertical-align:top;color:var(--text-2);line-height:1.65}
.table tr:last-child td{border-bottom:0}
.table td:first-child{font-weight:700;color:var(--text)}
.res-pass{font-size:11.5px;font-weight:700;color:var(--ok);background:var(--ok-soft);padding:2px 9px;border-radius:20px}

/* ---------- 流程 ---------- */
.step-list{list-style:none;counter-reset:s;display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:900px){.step-list{grid-template-columns:1fr}}
.step-list li{
  display:flex;gap:11px;padding:12px 14px;background:var(--surface-2);
  border:1px solid var(--border);border-radius:var(--radius-sm);
}
.step-n{
  width:24px;height:24px;flex:0 0 24px;border-radius:6px;background:var(--primary);
  color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.step-title{font-size:13.5px;font-weight:700;margin-bottom:3px}
.step-desc{font-size:12.5px;color:var(--text-2);line-height:1.7}

.src-list{list-style:none}
.src-list li{padding:9px 0;border-bottom:1px dashed var(--border)}
.src-list li:last-child{border-bottom:0}
.src-list b{font-size:13px;display:block;margin-bottom:2px}
.src-list span{font-size:12.5px;color:var(--text-2)}

.scope-block{margin-bottom:16px}
.scope-title{font-size:12px;font-weight:700;margin-bottom:8px;letter-spacing:.4px}
.scope-title.ok{color:var(--ok)}
.scope-title.no{color:var(--danger)}
.scope-list{list-style:none}
.scope-list li{font-size:12.5px;color:var(--text-2);padding-left:18px;position:relative;margin-bottom:6px;line-height:1.7}
.scope-list.ok li::before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:700}
.scope-list.no li::before{content:"✕";position:absolute;left:0;color:var(--danger);font-weight:700}

/* ---------- 验收 ---------- */
.week-track{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:800px){.week-track{grid-template-columns:1fr 1fr}}
.wk{
  border:1px solid var(--border);border-radius:var(--radius-sm);padding:13px 15px;background:var(--surface-2);
}
.wk-label{font-size:13px;font-weight:700}
.wk-period{font-size:11px;color:var(--muted);margin-top:2px}
.wk-nums{display:flex;gap:12px;margin-top:10px;font-size:11.5px;color:var(--text-2)}
.wk-nums b{display:block;font-size:16px;color:var(--text);font-weight:700;line-height:1.3}

.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}
@media(max-width:1000px){.metric-grid{grid-template-columns:1fr}}
.metric{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:17px 19px;box-shadow:var(--shadow)}
.metric-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
.metric-name{font-size:14.5px;font-weight:700}
.metric-cur{font-size:14px;font-weight:700;color:var(--primary);white-space:nowrap}
.metric-target{font-size:11.5px;color:var(--muted);margin-bottom:6px}
.metric-desc{font-size:12.5px;color:var(--text-2);line-height:1.7;margin-bottom:10px}
.metric-bar{height:6px;background:#EDF1F7;border-radius:20px;overflow:hidden}
.metric-bar i{display:block;height:100%;background:linear-gradient(90deg,#2C6BCF,#1B4B8F);transition:width .4s}
.metric-bar i.ok{background:linear-gradient(90deg,#2FA37A,#12805C)}
.metric-bar i.low{background:linear-gradient(90deg,#E0A458,#B26A00)}
.metric-detail{list-style:none;margin-top:10px}
.metric-detail li{font-size:11.5px;color:var(--muted);padding-left:13px;position:relative;margin-bottom:3px}
.metric-detail li::before{content:"–";position:absolute;left:0}

.owner-list{list-style:none}
.owner-list li{font-size:13px;color:var(--text-2);padding:8px 0;border-bottom:1px dashed var(--border);line-height:1.75}
.owner-list li:last-child{border-bottom:0}
.owner-list b{color:var(--text)}

.footer{padding:20px 26px;font-size:11.5px;color:var(--muted);border-top:1px solid var(--border);line-height:1.8;background:var(--surface)}

/* ---------- 抽屉 ---------- */
.drawer-mask{
  position:fixed;inset:0;background:rgba(18,42,76,.4);z-index:40;
  opacity:0;visibility:hidden;transition:.25s;
}
.drawer-mask.show{opacity:1;visibility:visible}
.drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(660px,94vw);
  background:var(--surface);z-index:50;box-shadow:var(--shadow-lg);
  transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;
}
.drawer.show{transform:none}
.drawer-head{
  padding:20px 24px;border-bottom:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex:0 0 auto;
}
.drawer-head h2{font-size:19px;font-weight:700}
.drawer-sub{font-size:12.5px;color:var(--muted);margin-top:4px}
.drawer-close{
  background:none;border:0;font-size:18px;color:var(--muted);cursor:pointer;
  width:30px;height:30px;border-radius:6px;flex:0 0 30px;
}
.drawer-close:hover{background:#F1F4F9;color:var(--text)}
.drawer-body{padding:20px 24px;overflow-y:auto;flex:1}

.dr-section{margin-bottom:20px}
.dr-section h4{
  font-size:11.5px;color:var(--muted);font-weight:700;letter-spacing:.6px;
  margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--border);
}
.dr-section p{font-size:13px;color:var(--text-2);line-height:1.8}
.dr-section ul{list-style:none}
.dr-section li{font-size:13px;color:var(--text-2);padding-left:15px;position:relative;margin-bottom:6px;line-height:1.75}
.dr-section li::before{content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--primary-2)}
.dr-section.risk li::before{background:var(--danger)}
.dr-kv{display:grid;grid-template-columns:88px 1fr;gap:7px 12px;font-size:13px}
.dr-kv .k{color:var(--muted);font-size:12px;font-weight:600}
.dr-kv .v{color:var(--text-2)}
.src-item{font-size:12.5px;color:var(--text-2);padding:5px 0;display:flex;gap:8px}
.src-dot{width:5px;height:5px;border-radius:50%;background:var(--primary-2);margin-top:8px;flex:0 0 5px}
.src-date{color:var(--muted);font-size:11.5px}
.dr-pending{
  background:var(--pending-soft);border:1px solid #DDD7F8;border-radius:var(--radius-sm);
  padding:11px 14px;font-size:12.5px;color:#4B3CA8;line-height:1.75;margin-top:8px;
}
.dr-pending b{display:block;margin-bottom:5px;font-size:12px}
.dr-pending ul{list-style:none}
.dr-pending li{padding-left:13px;position:relative;margin-bottom:4px;color:#4B3CA8}
.dr-pending li::before{content:"!";position:absolute;left:0;font-weight:700}

/* ---------- Toast ---------- */
.toast{
  position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);
  background:#122A4C;color:#fff;font-size:13px;padding:10px 20px;border-radius:24px;
  box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transition:.25s;z-index:60;
}
.toast.show{opacity:1;visibility:visible;transform:translateX(-50%)}

/* ---------- 全球技术与威胁雷达 ---------- */
.gseg{
  display:inline-flex;background:var(--surface);border:1px solid var(--border);
  border-radius:22px;padding:3px;margin-bottom:12px;
}
.gseg-btn{
  font-family:inherit;font-size:13px;font-weight:600;cursor:pointer;
  padding:6px 22px;border:0;border-radius:20px;background:none;color:var(--text-2);transition:.15s;
}
.gseg-btn:hover{color:var(--primary)}
.gseg-btn.active{background:var(--primary);color:#fff}

.g-anchors{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}
.g-anchor{
  font-family:inherit;font-size:11.5px;font-weight:600;cursor:pointer;
  padding:4px 12px;border-radius:20px;border:1px dashed var(--border-strong);
  background:var(--surface);color:var(--muted);transition:.15s;
}
.g-anchor:hover{border-style:solid;border-color:var(--primary-2);color:var(--primary)}

.g-block{margin-bottom:20px}
.g-head{display:flex;align-items:baseline;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.g-head h2{font-size:15.5px;font-weight:700}
.g-sub{font-size:11.5px;color:var(--muted)}
.g-body{display:flex;flex-direction:column;gap:12px}

.g-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);
  padding:15px 18px;box-shadow:var(--shadow);
}
.g-card-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.g-card-t{font-size:14.5px;font-weight:700}
.g-tag{font-size:11px;padding:2px 9px;border-radius:20px;font-weight:600;background:#F1F4F9;color:var(--text-2)}
.g-tag.ok{background:var(--primary-soft);color:var(--primary)}
.g-tag.code{background:var(--gold-soft);color:#8A6A2A;font-family:ui-monospace,Menlo,Consolas,monospace}
.g-card ul{list-style:none;margin:8px 0 0}
.g-card li{font-size:12.5px;color:var(--text-2);padding-left:15px;position:relative;margin-bottom:5px;line-height:1.7}
.g-card li::before{content:"";position:absolute;left:2px;top:8px;width:5px;height:5px;border-radius:50%;background:var(--primary-2)}

.g-kv{display:grid;grid-template-columns:74px 1fr;gap:6px;margin-top:8px}
.g-kv .k{font-size:11.5px;color:var(--muted);font-weight:700}
.g-kv .v{font-size:12.5px;color:var(--text-2);line-height:1.7}
.g-kv.danger .v{color:#8A2F26;background:var(--danger-soft);padding:6px 10px;border-radius:6px}
.g-kv.gold .v{color:#6B5320;background:var(--gold-soft);padding:6px 10px;border-radius:6px}
@media(max-width:640px){.g-kv{grid-template-columns:1fr}}

.g-judge{
  margin-top:10px;font-size:12px;color:#1E3E73;background:var(--primary-soft);
  border-left:2px solid var(--primary-2);padding:7px 11px;border-radius:0 6px 6px 0;line-height:1.7;
}
.g-judge b{display:inline-block;background:var(--primary);color:#fff;font-size:10.5px;
  padding:1px 7px;border-radius:10px;margin-right:7px;font-weight:700}
.g-verify{
  margin-top:8px;font-size:11.5px;color:#4B3CA8;background:var(--pending-soft);
  border:1px dashed #C9BFF2;padding:6px 11px;border-radius:6px;line-height:1.7;
}
.g-verify b{display:inline-block;background:var(--pending);color:#fff;font-size:10.5px;
  padding:1px 7px;border-radius:10px;margin-right:7px;font-weight:700}
.g-src{margin-top:9px;font-size:11.5px;color:var(--muted);line-height:1.9}
.g-src a{color:var(--primary-2);text-decoration:none}
.g-src a:hover{text-decoration:underline}
.g-note{
  font-size:11.5px;color:var(--muted);background:var(--surface-2);
  border:1px dashed var(--border);padding:9px 13px;border-radius:var(--radius-sm);line-height:1.7;
}

.lv{font-size:11px;font-weight:700;padding:2px 9px;border-radius:20px;white-space:nowrap}
.lv.lv-h{background:var(--danger-soft);color:var(--danger)}
.lv.lv-mh{background:var(--warn-soft);color:var(--warn)}
.lv.lv-m{background:#F2F5F9;color:var(--text-2)}
.lv.lv-l{background:var(--ok-soft);color:var(--ok)}

.concl-item{
  display:flex;gap:12px;background:var(--surface);border:1px solid var(--border);
  border-left:3px solid var(--gold);border-radius:var(--radius);padding:14px 17px;box-shadow:var(--shadow);
}
.concl-n{
  width:24px;height:24px;flex:0 0 24px;border-radius:7px;background:var(--gold);
  color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.concl-t{font-size:14px;font-weight:700;margin-bottom:4px}
.concl-item p{font-size:12.5px;color:var(--text-2);line-height:1.8}

.rm-real{background:var(--ok-soft);border-color:#C6E6D8}
.rm-real i{background:#D6EDE3;color:var(--ok)}
.rm-cycle{background:var(--gold-soft);border-color:#EEDFBC}
.rm-cycle i{background:#F3E6C9;color:#8A6A2A}

/* 月度更新条 */
.g-update{
  background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--gold);
  border-radius:var(--radius);padding:14px 18px;margin-bottom:20px;box-shadow:var(--shadow);
}
.gu-head{display:flex;align-items:baseline;gap:10px;margin-bottom:9px;flex-wrap:wrap}
.gu-head b{font-size:13.5px;font-weight:700;color:#7A5F22}
.gu-head span{font-size:11.5px;color:var(--muted)}
.gu-item{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;padding:7px 0;border-top:1px dashed var(--border)}
.gu-m{font-size:12px;font-weight:700;color:var(--gold);min-width:88px}
.gu-t{font-size:12.5px;color:var(--text-2);flex:1;min-width:200px}
.gu-c{font-size:11.5px;color:var(--muted);white-space:nowrap}

.g-new{
  display:inline-block;font-size:10px;font-weight:700;letter-spacing:.3px;
  background:var(--danger);color:#fff;padding:1px 7px;border-radius:10px;
  margin-left:7px;vertical-align:middle;
}
.g-mth{
  display:inline-block;font-size:10px;font-weight:600;
  background:#F1F4F9;color:var(--muted);padding:1px 7px;border-radius:10px;
  margin-left:7px;vertical-align:middle;
}
.t-mini tr.row-new{background:var(--gold-soft)}
.t-mini tr.row-new td{border-bottom-color:#EEDFBC}

/* 企业全称 */
.com-name-line{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.com-fullname{font-size:11.5px;color:var(--muted);margin-top:2px;line-height:1.5}
.rdh-full{font-size:12px;color:var(--muted);margin-top:3px;font-weight:400}
.res-none{font-size:12.5px;color:var(--muted);padding:6px 2px;display:inline-block}

/* ---------- 深度研究 ---------- */
.res-select{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.res-chip{
  font-family:inherit;font-size:12.5px;font-weight:600;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 13px;border-radius:22px;
  border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);
  transition:.15s;
}
.res-chip:hover{border-color:var(--primary-2);color:var(--primary)}
.res-chip .wk{font-size:10.5px;font-weight:700;color:var(--muted)}
.res-chip .ver{
  font-size:10px;font-style:normal;font-weight:700;
  background:var(--gold-soft);color:#8A6A2A;padding:1px 6px;border-radius:10px;
}
.res-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}
.res-chip.active .wk{color:rgba(255,255,255,.75)}
.res-chip.active .ver{background:rgba(255,255,255,.2);color:#fff}

.res-empty{text-align:center;padding:34px 24px}
.re-icon{
  width:52px;height:52px;margin:0 auto 14px;border-radius:14px;
  background:var(--primary-soft);color:var(--primary);
  font-size:24px;display:flex;align-items:center;justify-content:center;
}
.res-empty h3{font-size:16px;font-weight:700;margin-bottom:8px}
.re-desc{font-size:13px;color:var(--text-2);max-width:640px;margin:0 auto 16px;line-height:1.75}
.re-dims{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}
.re-dim{font-size:11.5px;background:#F1F4F9;color:var(--text-2);
  padding:3px 10px;border-radius:20px;font-weight:600}
.btn-lg{padding:9px 22px;font-size:13.5px}
.re-note{
  margin-top:16px;font-size:11.5px;color:var(--muted);
  background:var(--surface-2);border:1px dashed var(--border);
  border-radius:var(--radius-sm);padding:10px 14px;line-height:1.7;text-align:left;
}

.scan-card{padding:22px 24px}
.scan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.scan-head h3{font-size:15.5px;font-weight:700}
.scan-sub{font-size:12px;color:var(--muted);margin-top:3px}
.scan-count{font-size:11.5px;color:var(--muted);white-space:nowrap}
.scan-count b{font-size:20px;color:var(--primary);font-weight:700;margin-right:3px}
.scan-bar{height:6px;background:#EDF1F7;border-radius:20px;overflow:hidden;margin-bottom:16px}
.scan-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#2C6BCF,#1B4B8F);transition:width .3s}
.scan-list{list-style:none}
.scan-item{
  display:flex;align-items:center;gap:11px;padding:9px 12px;margin-bottom:5px;
  border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);
  transition:.2s;
}
.scan-ico{
  width:22px;height:22px;flex:0 0 22px;border-radius:6px;
  background:#DDE3EC;color:var(--text-2);font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.scan-txt{flex:1;min-width:0}
.scan-name{font-size:13px;font-weight:600}
.scan-meta{font-size:11.5px;color:var(--muted);margin-top:1px}
.scan-state{font-size:11px;color:var(--muted);white-space:nowrap}
.scan-item.done{background:var(--ok-soft);border-color:#C6E6D8}
.scan-item.done .scan-ico{background:var(--ok);color:#fff}
.scan-item.done .scan-state{color:var(--ok);font-weight:600}

.res-doc-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;
  padding:18px 20px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius) var(--radius) 0 0;
}
.rdh-name{font-size:19px;font-weight:700}
.rdh-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.res-headline{
  background:var(--primary-soft);border:1px solid #CFE0F5;border-top:0;
  padding:13px 20px;font-size:13px;color:#1E3E73;font-weight:600;line-height:1.7;
}
.res-block{
  background:var(--surface);border:1px solid var(--border);border-top:0;
  padding:17px 20px;
}
.res-block:last-child{border-radius:0 0 var(--radius) var(--radius)}
.res-block h4{
  font-size:12px;color:var(--muted);font-weight:700;letter-spacing:.6px;
  margin-bottom:11px;padding-bottom:7px;border-bottom:1px solid var(--border);
}
.res-block.sub{
  border:1px solid var(--border);border-radius:var(--radius-sm);
  background:var(--surface-2);margin-top:12px;padding:13px 15px;
}
.res-block.sub h4{font-size:11.5px;margin-bottom:8px}
.res-block-body p{font-size:13px;color:var(--text-2);line-height:1.8}
.res-block-body ul{list-style:none}
.res-block-body li{font-size:13px;color:var(--text-2);padding-left:15px;position:relative;margin-bottom:6px;line-height:1.75}
.res-block-body li::before{content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--primary-2)}
.muted-p{font-size:12.5px;color:var(--muted)}

.kv2{display:grid;grid-template-columns:112px 1fr;gap:8px 14px}
.kv2 .k{font-size:12px;color:var(--muted);font-weight:600}
.kv2 .v{font-size:13px;color:var(--text-2);line-height:1.7}
@media(max-width:640px){.kv2{grid-template-columns:1fr}}

.t-mini{width:100%;border-collapse:collapse;font-size:12.5px}
.t-mini th{
  text-align:left;padding:8px 10px;background:var(--surface-2);
  border-bottom:1px solid var(--border);font-size:11.5px;color:var(--muted);font-weight:700;
}
.t-mini td{padding:9px 10px;border-bottom:1px solid var(--border);color:var(--text-2);vertical-align:top;line-height:1.65}
.t-mini tr:last-child td{border-bottom:0}
.t-mini td b{color:var(--text)}
.res-tip{
  margin-top:10px;font-size:11.5px;color:var(--muted);
  background:var(--surface-2);border-left:2px solid var(--border-strong);
  padding:7px 11px;border-radius:0 6px 6px 0;line-height:1.7;
}

.team-list{list-style:none}
.team-list li{padding:9px 0;border-bottom:1px dashed var(--border)}
.team-list li:last-child{border-bottom:0}
.team-list b{font-size:13.5px}
.team-list .role{font-size:11.5px;color:var(--primary);background:var(--primary-soft);
  padding:1px 8px;border-radius:20px;font-weight:600;margin-left:8px}
.team-list p{font-size:12.5px;color:var(--text-2);margin-top:3px}

.prod-list{list-style:none;margin-bottom:12px}
.prod-list li{
  padding:9px 12px;margin-bottom:6px;background:var(--surface-2);
  border:1px solid var(--border);border-radius:var(--radius-sm);
}
.prod-list b{font-size:13px;display:block;margin-bottom:3px}
.prod-list span{font-size:12.5px;color:var(--text-2);line-height:1.7}

.syn-deep{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:900px){.syn-deep{grid-template-columns:1fr}}
.sd-box{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px}
.sd-box.to{background:var(--gold-soft);border-color:#EEDFBC}
.sd-box h5{font-size:12px;font-weight:700;color:var(--primary);margin-bottom:9px}
.sd-box.to h5{color:#7A5F22}

.risk-lv{font-size:11px;font-weight:700;padding:2px 9px;border-radius:20px}
.risk-lv.rh{background:var(--danger-soft);color:var(--danger)}
.risk-lv.rm{background:var(--warn-soft);color:var(--warn)}
.risk-lv.rl{background:#F2F5F9;color:var(--muted)}

.res-pending{
  background:var(--pending-soft);border:1px solid #DDD7F8;border-radius:var(--radius-sm);
  padding:12px 15px;
}
.res-pending ul{list-style:none}
.res-pending li{font-size:12.5px;color:#4B3CA8;padding-left:16px;position:relative;margin-bottom:5px;line-height:1.7}
.res-pending li::before{content:"!";position:absolute;left:0;font-weight:700}

/* ---------- 打印 ---------- */
@media print{
  .sidebar,.topbar-right,.toolbar,.drawer,.drawer-mask,.toast,.res-select{display:none !important}
  body{background:#fff}
  .app{display:block}
  .main{display:block}
  .section{display:none !important}
  .section.active{display:block !important}
  .card,.stat,.com-card,.dir-card,.syn-card,.metric,.res-block,.res-doc-head,.scan-card{box-shadow:none;break-inside:avoid}
  .content{padding:0;max-width:none}
}
