/* 政策雷达子应用 · 2026-11-17
 * 复用 mes-erp/acq 的 shell 视觉语言，独立命名空间 pol-，互不干扰 */
.pol-shell { position:absolute; inset:0; z-index:1200; background:#f1f5f9; display:none; flex-direction:column; }
.pol-shell.pol-on { display:flex; }
.pol-topbar { height:56px; flex:0 0 56px; background:#0f1b2d; color:#e2e8f0; display:flex; align-items:center; justify-content:space-between; padding:0 22px; box-shadow:0 1px 6px rgba(0,0,0,.2); }
.pol-crumb { display:flex; align-items:center; gap:8px; font-size:13px; }
.pol-crumb span { color:#94a3b8; }
.pol-crumb b { color:#f8fafc; font-weight:600; cursor:pointer; }
.pol-crumb .sep { color:#475569; }
.pol-topright { display:flex; align-items:center; gap:14px; }
.pol-badge { font-size:12px; color:#cbd5e1; background:rgba(255,255,255,.08); padding:5px 11px; border-radius:14px; }
.pol-exit { background:transparent; border:1px solid #475569; color:#cbd5e1; border-radius:6px; padding:6px 12px; font-size:12px; cursor:pointer; }
.pol-exit:hover { background:rgba(255,255,255,.1); }
.pol-layout { flex:1; display:flex; min-height:0; }
.pol-side { width:210px; flex:0 0 210px; background:#111c30; color:#94a3b8; padding:14px 0; overflow-y:auto; }
.pol-side-title { padding:6px 20px 14px; font-size:11px; letter-spacing:1px; color:#64748b; text-transform:uppercase; }
.pol-navitem { display:flex; align-items:center; gap:10px; padding:11px 20px; font-size:13px; cursor:pointer; border-left:3px solid transparent; transition:.15s; }
.pol-navitem:hover { background:rgba(255,255,255,.05); color:#e2e8f0; }
.pol-navitem.active { background:rgba(14,165,233,.16); color:#fff; border-left-color:#0ea5e9; }
.pol-navitem .ico { font-size:15px; width:18px; text-align:center; }
.pol-navitem .badge-n { margin-left:auto; background:#334155; color:#cbd5e1; font-size:10px; border-radius:9px; padding:1px 7px; }
.pol-main { flex:1; overflow-y:auto; padding:20px 24px 40px; min-width:0; }

.pol-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:18px; gap:16px; }
.pol-head h2 { margin:0 0 5px; font-size:20px; color:#0f172a; font-weight:700; }
.pol-head p { margin:0; font-size:13px; color:#64748b; }
.pol-head-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.pol-btn { background:#0284c7; color:#fff; border:none; border-radius:6px; padding:9px 16px; font-size:13px; cursor:pointer; font-weight:500; white-space:nowrap; }
.pol-btn:hover { background:#0369a1; }
.pol-btn.plain { background:#fff; color:#334155; border:1px solid #cbd5e1; }
.pol-btn.plain:hover { background:#f8fafc; }
.pol-btn.teal { background:#0d9488; }
.pol-btn.sm { padding:6px 11px; font-size:12px; }
.pol-btn:disabled { opacity:.45; cursor:not-allowed; }

.pol-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-bottom:16px; }
.pol-kpi { background:#fff; border:1px solid #e2e8f0; border-radius:9px; padding:15px 16px; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.pol-kpi .label { font-size:12px; color:#64748b; margin-bottom:8px; }
.pol-kpi .value { font-size:26px; font-weight:700; color:#0f172a; line-height:1.1; }
.pol-kpi .value.blue { color:#0284c7; } .pol-kpi .value.green { color:#0d9488; }
.pol-kpi .value.amber { color:#d97706; } .pol-kpi .value.red { color:#dc2626; }
.pol-kpi .unit { font-size:13px; color:#94a3b8; font-weight:400; margin-left:3px; }
.pol-kpi .hint { font-size:11px; color:#94a3b8; margin-top:7px; }

.pol-card { background:#fff; border:1px solid #e2e8f0; border-radius:9px; margin-bottom:16px; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.pol-card-hd { padding:13px 18px; border-bottom:1px solid #eef2f7; font-weight:600; font-size:14px; color:#1e293b; display:flex; justify-content:space-between; align-items:center; }
.pol-card-hd .sub { font-weight:400; font-size:12px; color:#94a3b8; }
.pol-card-bd { padding:16px 18px; }
.pol-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.pol-grid-3-2 { display:grid; grid-template-columns:1.4fr 1fr; gap:16px; }
@media (max-width:1100px){ .pol-grid2,.pol-grid-3-2 { grid-template-columns:1fr; } }

/* 分类分布条 */
.pol-bars { display:flex; flex-direction:column; gap:11px; }
.pol-bar-row { display:flex; align-items:center; gap:10px; font-size:12px; }
.pol-bar-row .nm { width:72px; flex:0 0 72px; color:#475569; }
.pol-bar-track { flex:1; height:9px; background:#f1f5f9; border-radius:5px; overflow:hidden; }
.pol-bar-fill { height:100%; border-radius:5px; background:linear-gradient(90deg,#0ea5e9,#2563eb); }
.pol-bar-row .num { width:26px; text-align:right; color:#64748b; font-weight:600; }

/* 趋势迷你柱 */
.pol-trend { display:flex; align-items:flex-end; gap:4px; height:96px; padding-top:10px; }
.pol-trend .col { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; }
.pol-trend .bar { width:100%; max-width:22px; background:linear-gradient(180deg,#38bdf8,#0284c7); border-radius:3px 3px 0 0; min-height:2px; }
.pol-trend .lb { font-size:9px; color:#94a3b8; white-space:nowrap; }
/* 环形图 */
.pol-donut-wrap { display:flex; align-items:center; justify-content:center; gap:22px; min-height:140px; flex-wrap:wrap; }
.pol-donut { width:122px; height:122px; border-radius:50%; flex:0 0 122px; display:flex; align-items:center; justify-content:center; position:relative; box-shadow:0 4px 14px rgba(15,23,42,.08); }
.pol-donut::before { content:''; position:absolute; inset:20px; background:#fff; border-radius:50%; }
.pol-donut-in { position:relative; z-index:1; text-align:center; }
.pol-donut-in b { font-size:23px; color:#0f172a; font-weight:700; display:block; line-height:1.15; }
.pol-donut-in span { font-size:11px; color:#64748b; }
.pol-donut-lg { display:flex; flex-direction:column; gap:8px; font-size:12px; }
.pol-lg { display:flex; align-items:center; gap:8px; color:#475569; }
.pol-lg i { display:inline-block; width:11px; height:11px; border-radius:3px; flex:0 0 11px; }
.pol-lg b { margin-left:auto; padding-left:16px; color:#0f172a; font-weight:700; }

/* 筛选/搜索栏 */
.pol-filters { display:flex; gap:9px; flex-wrap:wrap; align-items:center; margin-bottom:14px; }
.pol-input, .pol-select { border:1px solid #cbd5e1; border-radius:6px; padding:8px 11px; font-size:13px; color:#334155; background:#fff; outline:none; }
.pol-input:focus, .pol-select:focus { border-color:#0ea5e9; box-shadow:0 0 0 2px rgba(14,165,233,.12); }
.pol-input { min-width:210px; }

/* 表格 */
.pol-table-wrap { background:#fff; border:1px solid #e2e8f0; border-radius:9px; overflow:hidden; box-shadow:0 1px 2px rgba(15,23,42,.04); }
.pol-table { width:100%; border-collapse:collapse; font-size:13px; }
.pol-table th { background:#f8fafc; color:#475569; font-weight:600; text-align:left; padding:11px 13px; border-bottom:1px solid #e2e8f0; white-space:nowrap; }
.pol-table td { padding:11px 13px; border-bottom:1px solid #f1f5f9; color:#334155; vertical-align:top; }
.pol-table tr:last-child td { border-bottom:none; }
.pol-table tbody tr { cursor:pointer; }
.pol-table tbody tr:hover { background:#f8fafc; }
.pol-title-link { color:#0c4a6e; font-weight:600; line-height:1.5; }
.pol-title-link:hover { color:#0284c7; text-decoration:underline; }
.pol-new-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#ef4444; margin-right:6px; vertical-align:middle; }
.pol-tag { display:inline-block; padding:2px 8px; border-radius:11px; font-size:11px; background:#e0f2fe; color:#0369a1; margin:2px 4px 2px 0; }
.pol-tag.g2 { background:#fef3c7; color:#b45309; }
.pol-tag.g3 { background:#dcfce7; color:#15803d; }
.pol-tag.g4 { background:#fae8ff; color:#a21caf; }
.pol-imp { display:inline-flex; gap:2px; }
.pol-imp i { width:7px; height:7px; border-radius:50%; background:#e2e8f0; display:inline-block; }
.pol-imp i.on { background:#f59e0b; }
.pol-muted { color:#94a3b8; font-size:12px; }

/* 分页 */
.pol-pager { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:#f8fafc; border-top:1px solid #e2e8f0; font-size:12px; color:#64748b; }
.pol-pager .btns { display:flex; gap:6px; align-items:center; }
.pol-pager button { border:1px solid #cbd5e1; background:#fff; color:#334155; border-radius:5px; padding:5px 10px; font-size:12px; cursor:pointer; }
.pol-pager button:disabled { opacity:.4; cursor:not-allowed; }
.pol-pager button.cur { background:#0284c7; color:#fff; border-color:#0284c7; }

/* 详情页 */
.pol-detail-title { font-size:22px; font-weight:700; color:#0f172a; line-height:1.45; margin:0 0 12px; }
.pol-detail-meta { display:flex; gap:14px; flex-wrap:wrap; font-size:12px; color:#64748b; padding-bottom:16px; border-bottom:1px solid #eef2f7; margin-bottom:18px; }
.pol-detail-meta b { color:#334155; font-weight:600; }
.pol-detail-body { font-size:14px; line-height:1.9; color:#334155; white-space:pre-wrap; }
.pol-detail-side { position:sticky; top:0; }
.pol-info-grid { display:flex; flex-direction:column; gap:10px; }
.pol-info-grid .it { display:flex; justify-content:space-between; font-size:12px; padding-bottom:8px; border-bottom:1px dashed #eef2f7; }
.pol-info-grid .it .k { color:#94a3b8; }
.pol-info-grid .it .v { color:#334155; font-weight:500; text-align:right; max-width:65%; }
.pol-source-link { display:block; text-align:center; background:#e0f2fe; color:#0369a1; border-radius:6px; padding:10px; font-size:13px; font-weight:600; text-decoration:none; margin-top:14px; }
.pol-source-link:hover { background:#bae6fd; }

/* 最新速递列表 */
.pol-latest { display:flex; flex-direction:column; }
.pol-latest-item { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-bottom:1px solid #f1f5f9; cursor:pointer; }
.pol-latest-item:last-child { border-bottom:none; }
.pol-latest-item:hover .t { color:#0284c7; }
.pol-latest-item .t { font-size:13px; color:#334155; line-height:1.5; flex:1; }
.pol-latest-item .d { font-size:11px; color:#94a3b8; white-space:nowrap; }
.pol-rank { flex:0 0 20px; font-size:12px; font-weight:700; color:#cbd5e1; }
.pol-rank.top { color:#f59e0b; }

/* 空状态 / 加载 */
.pol-empty { text-align:center; padding:60px 20px; color:#94a3b8; }
.pol-empty .ico { font-size:44px; margin-bottom:12px; }
.pol-empty p { font-size:13px; margin:6px 0; }
.pol-loading { text-align:center; padding:50px; color:#94a3b8; font-size:13px; }

/* 弹窗 */
.pol-mask { position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:2000; display:flex; align-items:center; justify-content:center; padding:20px; }
.pol-dialog { background:#fff; border-radius:10px; width:100%; max-width:520px; max-height:86vh; overflow-y:auto; box-shadow:0 20px 50px rgba(0,0,0,.3); }
.pol-dialog-hd { padding:16px 20px; border-bottom:1px solid #eef2f7; font-weight:600; font-size:15px; display:flex; justify-content:space-between; align-items:center; }
.pol-dialog-hd .x { cursor:pointer; color:#94a3b8; font-size:20px; line-height:1; }
.pol-dialog-bd { padding:18px 20px; }
.pol-field { margin-bottom:14px; }
.pol-field label { display:block; font-size:12px; color:#475569; margin-bottom:6px; font-weight:500; }
.pol-field input, .pol-field select, .pol-field textarea { width:100%; border:1px solid #cbd5e1; border-radius:6px; padding:9px 11px; font-size:13px; outline:none; box-sizing:border-box; }
.pol-field textarea { min-height:80px; resize:vertical; }
.pol-dialog-ft { padding:14px 20px; border-top:1px solid #eef2f7; display:flex; justify-content:flex-end; gap:9px; }

/* 更新日志时间线 */
.pol-log { display:flex; flex-direction:column; gap:0; }
.pol-log-item { display:flex; gap:12px; padding:10px 0; position:relative; }
.pol-log-item::before { content:''; position:absolute; left:5px; top:0; bottom:0; width:2px; background:#e2e8f0; }
.pol-log-item:first-child::before { top:16px; }
.pol-log-item:last-child::before { bottom:auto; height:16px; }
.pol-log-dot { flex:0 0 12px; width:12px; height:12px; border-radius:50%; background:#0ea5e9; margin-top:3px; z-index:1; border:2px solid #fff; box-shadow:0 0 0 1px #0ea5e9; }
.pol-log-c { font-size:12px; color:#475569; line-height:1.6; }
.pol-log-c b { color:#0f172a; }
