/* =============================================================
   就业创业导师陪跑帮扶系统 —— 全站视觉规范（政务高端风格）
   方案：CSS 变量 + 覆盖 Bootstrap，业务页面无需改动即统一风格
   ============================================================= */

:root {
  /* 主色：政务深蓝 + 金色点缀 */
  --gov-900: #0a2a5e;
  --gov-800: #0d3a7a;
  --gov-700: #12468f;
  --gov-600: #1a56a7;
  --gov-500: #2a6fc4;
  --gov-100: #e8f0fb;
  --gov-050: #f4f8fd;
  --gold-600: #b8912f;
  --gold-500: #c9a227;
  --gold-400: #d9b94a;

  --ink-900: #1b2430;
  --ink-700: #3d4a5c;
  --ink-500: #6b7787;
  --ink-300: #9aa4b2;
  --line: #e6ebf2;
  --bg-page: #f4f6fa;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 34, 66, .06);
  --shadow-md: 0 4px 16px rgba(16, 34, 66, .08);
  --shadow-lg: 0 10px 32px rgba(16, 34, 66, .12);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础 ---------- */
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--ink-900);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { color: var(--ink-900); font-weight: 600; }
a { color: var(--gov-600); text-decoration: none; }
a:hover { color: var(--gov-500); }
::selection { background: var(--gov-100); }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c8d2e0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aab6c8; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 顶部导航 ---------- */
.gov-topbar {
  background: linear-gradient(100deg, var(--gov-900) 0%, var(--gov-700) 62%, var(--gov-600) 100%);
  box-shadow: var(--shadow-md);
  padding: 0;
  min-height: 58px;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.gov-topbar::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600));
}
.gov-brand {
  font-size: 1.05rem; font-weight: 700; letter-spacing: .5px;
  color: #fff !important; display: flex; align-items: center; gap: .55rem;
}
.gov-brand .brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gov-900); font-size: 1rem; font-weight: 700;
}
.gov-brand .brand-sub {
  font-size: .72rem; font-weight: 400; opacity: .78;
  border-left: 1px solid rgba(255,255,255,.35); padding-left: .55rem; margin-left: .15rem;
}
.gov-top-btn {
  color: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  border-radius: 20px; padding: .25rem .8rem; font-size: .82rem;
  transition: all .18s;
}
.gov-top-btn:hover { background: rgba(255,255,255,.2); color: #fff !important; border-color: rgba(255,255,255,.5); }
.gov-user-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #fff; font-size: .85rem; padding: .2rem .7rem;
  background: rgba(255,255,255,.1); border-radius: 20px;
}
.gov-user-chip .avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-500); color: var(--gov-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.msg-dot {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 9px; background: #e5484d; color: #fff;
  font-size: .65rem; line-height: 16px; text-align: center;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}

/* ---------- 侧边栏 ---------- */
.gov-sidebar {
  background: linear-gradient(180deg, var(--gov-900) 0%, #0f2f66 100%);
  min-height: calc(100vh - 61px);
  padding: 14px 10px 40px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
}
.gov-side-group {
  font-size: .68rem; letter-spacing: 1.5px; color: rgba(255,255,255,.45);
  padding: 14px 12px 6px; text-transform: uppercase;
}
/* 受限账号（组长/团长）的数据范围徽标 */
.gov-scope-badge {
  margin: 4px 10px 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: #e6c96a;
  font-size: .72rem;
  line-height: 1.45;
}
.gov-scope-badge i { margin-right: 4px; }
.gov-sidebar .nav-link {
  color: rgba(255,255,255,.82);
  padding: .55rem .8rem;
  border-radius: 8px;
  margin-bottom: 2px;
  font-size: .88rem;
  display: flex; align-items: center; gap: .55rem;
  transition: all .16s;
  border-left: 3px solid transparent;
}
.gov-sidebar .nav-link i { font-size: 1rem; opacity: .85; width: 18px; text-align: center; }
.gov-sidebar .nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.gov-sidebar .nav-link.active {
  background: linear-gradient(90deg, rgba(201,162,39,.28), rgba(201,162,39,.06));
  color: #fff; font-weight: 600;
  border-left-color: var(--gold-500);
}
.gov-sidebar .nav-link.active i { color: var(--gold-400); opacity: 1; }
/* 兼容旧类名 */
.sidebar .nav-link { color: rgba(255,255,255,.82); padding: .55rem .8rem; border-radius: 8px; margin-bottom: 2px; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.sidebar .nav-link.active { background: linear-gradient(90deg, rgba(201,162,39,.28), rgba(201,162,39,.06)); color: #fff; font-weight: 600; border-left: 3px solid var(--gold-500); }
.sidebar .nav-link.active i { color: var(--gold-400); }
.sidebar .nav-link i { margin-right: .45rem; color: rgba(255,255,255,.7); }

/* ---------- 主内容区 ---------- */
.gov-main { padding: 20px 26px 40px; }

/* 页面头 */
.page-head {
  background: linear-gradient(120deg, #fff 0%, var(--gov-050) 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gov-600);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.page-head .ph-title { font-size: 1.12rem; font-weight: 700; color: var(--gov-800); margin: 0; display: flex; align-items: center; gap: .5rem; }
.page-head .ph-title .bi { color: var(--gov-600); font-size: 1.05rem; }
.page-head .ph-desc { font-size: .8rem; color: var(--ink-500); margin: 2px 0 0; }
.page-head .ph-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-title { font-size: 1.12rem; font-weight: 700; color: var(--gov-800); margin-bottom: .9rem; }

/* 面包屑 */
.gov-crumb { font-size: .78rem; color: var(--ink-500); margin-bottom: 10px; }
.gov-crumb a { color: var(--ink-500); }
.gov-crumb a:hover { color: var(--gov-600); }
.gov-crumb .sep { margin: 0 .4rem; opacity: .5; }

/* ---------- 卡片 ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
}
.card-header {
  background: linear-gradient(180deg, #fff, #fafbfd);
  border-bottom: 1px solid var(--line);
  padding: .7rem 1.1rem;
  font-weight: 600;
  color: var(--gov-800);
  font-size: .95rem;
}
.card-header.bg-white { background: linear-gradient(180deg, #fff, #fafbfd); }
.card-body { padding: 1.1rem; }
.card-footer { background: #fafbfd; border-top: 1px solid var(--line); padding: .7rem 1.1rem; }
.card:hover { box-shadow: var(--shadow-md); }

/* 统计卡 */
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.stat-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--gov-600);
}
.stat-card.is-gold::before { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); }
.stat-card.is-teal::before { background: linear-gradient(180deg, #2ea3a5, #1c7f81); }
.stat-card.is-purple::before { background: linear-gradient(180deg, #7b6cf0, #5a49d6); }
.stat-card.is-danger::before { background: linear-gradient(180deg, #ef6a6a, #d94a4a); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card .sc-label { font-size: .78rem; color: var(--ink-500); margin-bottom: 6px; display: flex; align-items: center; gap: .35rem; }
.stat-card .sc-value { font-size: 1.75rem; font-weight: 700; color: var(--gov-800); line-height: 1.15; letter-spacing: -.5px; }
.stat-card .sc-value small { font-size: .8rem; font-weight: 500; color: var(--ink-500); margin-left: 3px; }
.stat-card .sc-foot { font-size: .74rem; color: var(--ink-300); margin-top: 6px; }
.stat-card .sc-icon {
  position: absolute; right: 14px; top: 14px;
  font-size: 2rem; color: var(--gov-600); opacity: .13;
}
.card-stat { border-left: 4px solid var(--gov-600); }

/* ---------- 表格 ---------- */
.table { margin-bottom: 0; font-size: .875rem; }
.table > thead th {
  background: var(--gov-050);
  color: var(--gov-800);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid var(--gov-100);
  padding: .7rem .85rem;
  font-size: .82rem;
  letter-spacing: .3px;
}
.table > tbody td { padding: .65rem .85rem; vertical-align: middle; border-color: #f0f3f8; }
.table-hover > tbody > tr:hover { background: var(--gov-050); }
.table > tbody > tr.table-warning, .table > tbody > tr.table-warning:hover { background: #fff8e6 !important; }
.table .table-light th { background: var(--gov-050); }
.table-responsive { border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- 按钮 ---------- */
.btn { border-radius: 8px; font-size: .85rem; padding: .38rem .9rem; transition: all .16s; font-weight: 500; }
.btn-sm { padding: .25rem .6rem; font-size: .78rem; border-radius: 6px; }
.btn-lg { padding: .55rem 1.3rem; font-size: .95rem; }
.btn-primary { background: linear-gradient(180deg, var(--gov-600), var(--gov-700)); border-color: var(--gov-700); }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(180deg, var(--gov-500), var(--gov-600)); border-color: var(--gov-600); box-shadow: 0 3px 10px rgba(26,86,167,.28); }
.btn-outline-primary { color: var(--gov-600); border-color: #b9cce8; }
.btn-outline-primary:hover { background: var(--gov-600); border-color: var(--gov-600); color: #fff; }
.btn-outline-secondary:hover { background: var(--ink-500); border-color: var(--ink-500); }
.btn:active { transform: translateY(1px); }
.btn-group .btn { border-radius: 6px; }

/* ---------- 徽章 ---------- */
.badge { font-weight: 500; padding: .32em .6em; border-radius: 5px; font-size: .72rem; letter-spacing: .2px; }
.bg-primary { background: var(--gov-600) !important; }
.bg-success { background: #1a9e6c !important; }
.bg-warning { background: #e0a020 !important; color: #fff; }
.bg-danger { background: #dc4b4b !important; }
.bg-info { background: #2a8ec4 !important; }
.bg-secondary { background: #8895a7 !important; }

/* ---------- 表单 ---------- */
.form-label { font-size: .82rem; font-weight: 600; color: var(--ink-700); margin-bottom: .3rem; }
.form-control, .form-select {
  border-radius: 8px; border-color: #d8e0ea; font-size: .875rem; padding: .42rem .7rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gov-500); box-shadow: 0 0 0 3px rgba(42,111,196,.14);
}
.form-text, .form-hint { font-size: .76rem; color: var(--ink-500); }
.input-group-text { border-radius: 8px; background: var(--gov-050); border-color: #d8e0ea; font-size: .85rem; }

/* ---------- 提示/告警 ---------- */
.alert { border-radius: 10px; border: 1px solid transparent; font-size: .875rem; padding: .7rem 1rem; }
.alert-info { background: var(--gov-050); border-color: #c8dcf5; color: var(--gov-800); }
.alert-success { background: #eafaf3; border-color: #b6e8d4; color: #12704e; }
.alert-warning { background: #fff8e6; border-color: #f3dda6; color: #8a6410; }
.alert-danger { background: #fdeeee; border-color: #f5c6c6; color: #a12929; }

/* ---------- 时间线（陪跑台账） ---------- */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline > li { position: relative; padding: 0 0 20px 26px; }
.timeline > li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gov-600);
  box-shadow: 0 0 0 3px var(--gov-100);
}
.timeline > li::after {
  content: ""; position: absolute; left: 5px; top: 20px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--gov-100), #eef2f8);
}
.timeline > li:last-child::after { display: none; }
.timeline > li:last-child { padding-bottom: 0; }

/* ---------- 空状态 ---------- */
.app-empty {
  text-align: center; padding: 48px 20px; color: var(--ink-300);
}
.app-empty .ae-icon {
  font-size: 3rem; color: #d3dbe6; display: block; margin-bottom: 10px;
}
.app-empty .ae-text { font-size: .88rem; color: var(--ink-500); }
.text-center.text-muted.py-4, .text-center.text-muted.py-5 { padding: 34px 16px !important; }

/* ---------- 加载动画 ---------- */
.app-loading {
  position: fixed; inset: 0; background: rgba(255,255,255,.72);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; backdrop-filter: blur(2px);
}
.app-loading .spinner {
  width: 40px; height: 40px; border: 3px solid var(--gov-100);
  border-top-color: var(--gov-600); border-radius: 50%;
  animation: app-spin .8s linear infinite;
}
@keyframes app-spin { to { transform: rotate(360deg); } }
.skeleton {
  background: linear-gradient(90deg, #f0f3f8 25%, #e6ebf2 37%, #f0f3f8 63%);
  background-size: 400% 100%; animation: app-shine 1.4s ease infinite; border-radius: 6px;
}
@keyframes app-shine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 消息弹窗提醒 ---------- */
.msg-toast-wrap { position: fixed; right: 18px; top: 74px; z-index: 1080; width: 320px; }
.msg-toast {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 12px 14px; margin-bottom: 10px;
  animation: app-slide-in .28s ease;
}
.msg-toast .mt-title { font-size: .88rem; font-weight: 600; color: var(--gov-800); margin-bottom: 3px; }
.msg-toast .mt-body { font-size: .8rem; color: var(--ink-500); }
@keyframes app-slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------- 首页轮播（用户端） ---------- */
.hero-banner {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 18px; border: 1px solid var(--line);
}
.hero-banner .carousel-item { height: 240px; background: linear-gradient(120deg, var(--gov-800), var(--gov-500)); }
.hero-banner .carousel-item img { width: 100%; height: 240px; object-fit: cover; }
.hero-banner .carousel-caption {
  background: linear-gradient(0deg, rgba(10,42,94,.85), rgba(10,42,94,0));
  left: 0; right: 0; bottom: 0; padding: 24px 28px 18px; text-align: left;
}
.hero-banner .carousel-caption h5 { font-size: 1.15rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero-caption-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,42,94,.88), transparent);
  color: #fff; padding: 22px 26px 16px;
}
.hero-caption-bar .h-title { font-size: 1.1rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.45); }

/* 导师卡片 */
.mentor-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 18px; text-align: center;
  box-shadow: var(--shadow-sm); transition: all .2s; height: 100%;
}
.mentor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c9d9ef; }
.mentor-card .mc-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--gov-600), var(--gov-500));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
}
.mentor-card .mc-name { font-weight: 700; color: var(--gov-800); font-size: .95rem; }

/* ---------- 数据大屏（V2.9：固定 1920×1080 画布 + 等比缩放，一屏不滚动） ---------- */
.screen-body {
  background: radial-gradient(1200px 700px at 50% -10%, #12386f 0%, #081c3c 55%, #050f22 100%);
  margin: 0; height: 100vh; overflow: hidden;
  color: #cfe3ff; font-family: var(--font);
}
/* 缩放容器：stage 固定 1920×1080，脚本按窗口等比缩放并居中，任何分辨率都恰好一屏 */
.screen-fit {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.screen-stage {
  width: 1920px; height: 1080px; flex: none; transform-origin: center center;
  display: flex; flex-direction: column; padding: 12px 20px 8px;
}
.screen-head {
  text-align: center; padding: 2px 0 10px; position: relative; flex: none;
}
.screen-head h1 {
  font-size: 1.9rem; font-weight: 800; letter-spacing: 3px; margin: 0;
  background: linear-gradient(180deg, #ffffff 10%, #9dc2ff 60%, #d9b94a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 18px rgba(80,150,255,.25);
}
.screen-head .sh-sub { font-size: .78rem; color: #7fa3d6; letter-spacing: 2px; margin-top: 4px; }
.screen-head .sh-line {
  height: 2px; margin: 10px auto 0; width: 320px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.screen-panel {
  background: linear-gradient(180deg, rgba(20,60,120,.42), rgba(10,32,70,.28));
  border: 1px solid rgba(90,150,230,.28);
  border-radius: 10px; padding: 10px 14px; min-height: 0; overflow: hidden;
  box-shadow: inset 0 0 24px rgba(30,90,180,.12);
  display: flex; flex-direction: column;
  position: relative;
}
.screen-panel::before, .screen-panel::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid var(--gold-500);
}
.screen-panel::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.screen-panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.screen-panel .sp-title {
  font-size: .92rem; font-weight: 700; color: #eaf2ff; margin-bottom: 8px; flex: none;
  display: flex; align-items: center; gap: .4rem;
}
.screen-panel .sp-title::before {
  content: ""; width: 3px; height: 14px; background: var(--gold-500); border-radius: 2px;
}
/* 面板主体：吃掉标题下方剩余高度，内容超出即裁掉（保证一屏） */
.screen-panel > .scr-body { flex: 1; min-height: 0; }

/* KPI 一行 14 项 */
.screen-kpis {
  display: grid; grid-template-columns: repeat(14, 1fr); gap: 8px; flex: none;
}
/* 内容区：3×3 网格，第三行首块跨两列 */
.screen-grid {
  flex: 1; min-height: 0; margin-top: 10px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr); gap: 10px;
}
.screen-grid > .span2 { grid-column: span 2; }

.screen-kpi {
  text-align: center; padding: 8px 4px; justify-content: center;
}
.screen-kpi .sk-value {
  font-size: 1.62rem; font-weight: 800; line-height: 1.15;
  background: linear-gradient(180deg, #fff, #8fb8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.screen-kpi .sk-label { font-size: .72rem; color: #8fb0dd; margin-top: 2px; letter-spacing: 1px; white-space: nowrap; }
.screen-table { width: 100%; font-size: .8rem; color: #cfe3ff; }
.screen-table th { color: #8fb0dd; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid rgba(90,150,230,.25); }
.screen-table td { padding: 6px 8px; border-bottom: 1px solid rgba(90,150,230,.1); }
/* 紧凑版：TOP10 表要在一屏内放下 10 行（含表头共 11 行） */
.screen-table.compact { font-size: .74rem; line-height: 1.2; }
.screen-table.compact th, .screen-table.compact td { padding: 2px 8px; }
.screen-table tbody tr:hover { background: rgba(60,120,220,.14); }
.screen-rank-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 4px; font-size: .68rem; font-weight: 700;
  background: rgba(90,150,230,.25); color: #cfe3ff;
}
.screen-rank-no.top1 { background: linear-gradient(135deg, #e8c95a, #b8912f); color: #3a2a05; }
.screen-rank-no.top2 { background: linear-gradient(135deg, #cfd8e3, #9aa8bb); color: #22292f; }
.screen-rank-no.top3 { background: linear-gradient(135deg, #d8a56f, #a97440); color: #37210c; }
/* V2.9 起大屏去掉两块滚动字幕区，.screen-marquee / @keyframes screen-scroll 已一并移除 */

/* 右上角工具条：在缩放画布之外，永远保持原始大小 */
.screen-tools { position: fixed; top: 10px; right: 14px; z-index: 1050; display: flex; gap: 6px; }

/* 空态 */
.screen-panel .sp-empty { text-align: center; color: #7fa3d6; font-size: .84rem; padding: 34px 0; }

/* 环形图 + 图例（横向并排，省高度） */
.screen-panel .scr-donut { display: flex; align-items: center; gap: 14px; }
.screen-panel .scr-donut > svg { flex: none; }
.screen-panel .scr-legend { flex: 1; min-width: 0; }
.screen-panel .scr-legend > div {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: .76rem; padding: 3px 0; border-bottom: 1px dashed rgba(90,150,230,.12);
}
.screen-panel .scr-legend > div:last-child { border-bottom: 0; }
.screen-panel .scr-legend .lg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.screen-panel .scr-legend .lg-val { color: #d9b94a; font-weight: 700; }

/* 双栏面板（左图右表） */
.screen-panel .panel-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.screen-panel .split-note { color: #6f92c0; font-size: .7rem; margin-top: 4px; }

/* 台账汇总：紧凑事实列表（8 行铺满，替代原来的 8 张指标卡） */
.screen-facts { list-style: none; margin: 0; padding: 0; }
.screen-facts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 8px; font-size: .82rem; border-bottom: 1px dashed rgba(90,150,230,.16);
}
.screen-facts li:last-child { border-bottom: 0; }
.screen-facts li > span { color: #9db9de; display: flex; align-items: center; gap: 6px; }
.screen-facts li > b { color: #eaf2ff; font-size: 1.05rem; }
.screen-facts li.is-gold > b { color: #d9b94a; }

.screen-foot { text-align: center; color: #5f7ea8; font-size: .72rem; padding-top: 6px; flex: none; }

/* ---------- 打印 / PDF 导出 ---------- */
@media print {
  .gov-topbar, .gov-sidebar, .page-head .ph-actions, .btn, nav { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  .gov-main { padding: 0; }
  .col-md-10 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
}

/* ---------- 帮扶沟通会话（聊天消息气泡） ---------- */
.chat-msg {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px;
}
.chat-msg:last-child { margin-bottom: 0; }
.chat-msg .cm-avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gov-100); color: var(--gov-700); font-size: 1.05rem;
}
.chat-msg .cm-body { display: flex; flex-direction: column; gap: 4px; max-width: 78%; }
.chat-msg .cm-meta {
  display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--ink-500);
}
.chat-msg .cm-name { font-weight: 600; color: var(--ink-700); }
.chat-msg .cm-tag {
  background: var(--gov-100); color: var(--gov-700);
  border-radius: 4px; padding: 0 5px; font-size: .68rem;
}
.chat-msg .cm-read { color: var(--gold-600); }
.chat-msg .cm-bubble {
  background: #f6f8fc; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font-size: .88rem; line-height: 1.6;
  white-space: normal; word-break: break-word;
}
.chat-msg .cm-attach { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-msg .cm-attach .cm-file {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 8px; font-size: .76rem; color: var(--gov-600);
}
.chat-msg .cm-attach .cm-file:hover { background: var(--gov-050); }

/* 我发出的消息：靠右 + 主色气泡 */
.chat-msg.is-me { flex-direction: row-reverse; }
.chat-msg.is-me .cm-body { align-items: flex-end; }
.chat-msg.is-me .cm-meta { flex-direction: row-reverse; }
.chat-msg.is-me .cm-avatar { background: var(--gold-400); color: var(--gov-900); }
.chat-msg.is-me .cm-bubble {
  background: linear-gradient(120deg, var(--gov-600) 0%, var(--gov-500) 100%);
  border-color: var(--gov-600); color: #fff;
}

/* ---------- 移动端导航：汉堡按钮 + 左侧抽屉 ---------- */
.gov-nav-toggle {
  display: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  padding: .15rem .45rem;
  margin-right: .6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}
.gov-nav-toggle:hover, .gov-nav-toggle:focus {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  text-decoration: none;
}

.gov-nav-drawer {
  width: 264px;
  max-width: 84vw;
  background: linear-gradient(180deg, var(--gov-900) 0%, #0f2f66 100%);
  border-right: 0;
  color: rgba(255, 255, 255, .85);
}
.gov-nav-drawer .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: .85rem 1rem;
}
.gov-nav-drawer .drawer-title {
  color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .5px;
}
.gov-nav-drawer .offcanvas-body { padding-top: 6px; }
.gov-nav-drawer .nav { padding: 4px 8px 24px; }
.gov-nav-drawer .nav-link {
  color: rgba(255, 255, 255, .84);
  padding: .62rem .85rem;
  border-radius: 8px;
  font-size: .92rem;
}
.gov-nav-drawer .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.gov-nav-drawer .nav-link.active {
  background: linear-gradient(90deg, var(--gov-600) 0%, rgba(201, 162, 39, .25) 100%);
  color: #fff; font-weight: 600;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .gov-sidebar { min-height: auto; }
  .gov-main { padding: 14px 14px 30px; }
  .page-head { padding: 12px 14px; }
  .stat-card .sc-value { font-size: 1.45rem; }
  .msg-toast-wrap { width: calc(100% - 24px); right: 12px; }
}

/* 手机端（Bootstrap md 断点以下，侧栏隐藏 → 启用抽屉导航） */
@media (max-width: 767.98px) {
  .gov-nav-toggle { display: inline-flex; align-items: center; }
  .gov-topbar > .container-fluid { padding: 0 12px !important; }
  .gov-brand { font-size: .98rem; }
  .gov-brand .brand-sub { display: none; }
  .gov-top-btn { padding: .22rem .6rem; font-size: .78rem; }

  .gov-main { padding: 12px 12px 40px; }
  .gov-crumb { font-size: .74rem; }

  /* 页头竖排，操作按钮占满一行 */
  .page-head { flex-direction: column; align-items: flex-start !important; gap: 10px; padding: 12px 14px; }
  .page-head .ph-title { font-size: 1.02rem; }
  .page-head .ph-actions { width: 100%; gap: .4rem; }
  .page-head .ph-actions > * { flex: 1 1 auto; }

  /* 统计卡一行两个 */
  .stat-card { padding: 12px 14px; }
  .stat-card .sc-value { font-size: 1.32rem; }
  .stat-card .sc-icon { width: 34px; height: 34px; font-size: 1rem; }

  /* 表格横向滚动 + 窄屏留白收紧 */
  .table { font-size: .8rem; }
  .table > thead th, .table > tbody td { padding: .55rem .6rem; white-space: nowrap; }
  .table-responsive { -webkit-overflow-scrolling: touch; }
  .card-body { padding: .9rem; }
  .card-header { padding: .6rem .9rem; font-size: .9rem; }

  /* 分页换行，避免超出屏幕 */
  .pagination { flex-wrap: wrap; row-gap: .25rem; }
  .pagination .page-link { padding: .3rem .55rem; font-size: .78rem; }

  /* 沟通会话：气泡加宽，头像固定 */
  .chat-msg .cm-body { max-width: 88%; }
  .chat-msg .cm-bubble { font-size: .86rem; }

  /* 筛选表单：一行一个控件 */
  .gov-main form .row > [class*="col-"] { margin-bottom: .5rem; }
  .btn { white-space: nowrap; }
}

@media (max-width: 576px) {
  .gov-brand .brand-sub { display: none; }
  .table { font-size: .8rem; }
  /* 大屏已改为固定 1920×1080 画布 + 等比缩放，不再按视口改字号（V2.9） */
}

/* =========================================================
 * 深色渐变容器：强制内部标题为白色
 * 全局存在 h1..h6{color:var(--ink-900)}，不给整块容器兜底的话，
 * 深色标题落到深蓝渐变上会几乎隐形（学员首页 CTA 实测仅 1.12:1）。
 * 用法：<div class="card gov-dark-cta" style="background:linear-gradient(...)">
 * ========================================================= */
.gov-dark-cta,
.gov-dark-cta h1, .gov-dark-cta h2, .gov-dark-cta h3,
.gov-dark-cta h4, .gov-dark-cta h5, .gov-dark-cta h6 { color: #fff; }

/* =========================================================
 * 登录 / 注册：全屏分屏式（左品牌区 + 右表单区）
 * ========================================================= */
.auth-body { background: #fff; }
.auth-split {
  display: flex; min-height: 100vh;
}
/* ---- 左侧品牌区 ---- */
.auth-brand {
  flex: 0 0 46%;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #071e45 0%, #0a2a5e 45%, #1a56a7 100%);
  color: #fff;
  display: flex; align-items: center;
}
/* 品牌区内所有标题强制白色：h1~h6 的全局深色规则（元素选择器）会盖掉继承色 */
.auth-brand h1, .auth-brand h2, .auth-brand h3,
.auth-brand h4, .auth-brand h5, .auth-brand h6 { color: #fff; }
.ab-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.ab-d1 { width: 420px; height: 420px; right: -140px; top: -140px; background: radial-gradient(circle, rgba(201,162,39,.28), transparent 65%); }
.ab-d2 { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 62%); }
.ab-d3 { width: 190px; height: 190px; right: 12%; bottom: 10%; border: 1px solid rgba(255,255,255,.14); }
.ab-inner { position: relative; z-index: 2; padding: 56px 64px; max-width: 560px; }
.ab-logo {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, #c9a227, #e6c96a);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #0a2a5e;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  margin-bottom: 26px;
}
/* 主标题：白色 + 金色渐变描边感，增强层次 */
.ab-title {
  color: #fff;
  font-size: 2.15rem; font-weight: 800; letter-spacing: 2px; line-height: 1.32;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.ab-slogan {
  display: inline-block;
  color: #0a2a5e;
  background: linear-gradient(135deg, #e6c96a, #c9a227);
  font-weight: 700; letter-spacing: 3px; font-size: .82rem;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 32px;
  box-shadow: 0 6px 18px rgba(0,0,0,.20);
}
.ab-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ab-feats li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 13px 16px; border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(2px);
  transition: background .2s ease, transform .2s ease;
}
.ab-feats li:hover { background: rgba(255,255,255,.12); transform: translateX(3px); }
.ab-feats li > i {
  flex: 0 0 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #e6c96a;
}
.ab-feats b { display: block; font-size: .95rem; margin-bottom: 2px; color: #fff; }
.ab-feats span { font-size: .8rem; color: rgba(255,255,255,.70); }
.ab-foot { position: absolute; left: 64px; bottom: 26px; font-size: .75rem; color: rgba(255,255,255,.50); }
/* ---- 右侧表单区 ---- */
.auth-panel {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(1000px 460px at 88% -8%, rgba(26,86,167,.10), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(201,162,39,.12), transparent 60%),
    #f6f8fc;
}
.auth-card {
  width: 100%; max-width: 448px;
  background: #fff; border-radius: 20px;
  border: 1px solid rgba(10,42,94,.08);
  box-shadow: 0 24px 64px rgba(10,42,94,.13);
  padding: 38px 36px 34px;
}
.ac-head { text-align: center; margin-bottom: 26px; }
.ac-mark {
  width: 50px; height: 50px; border-radius: 15px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.4rem;
  background: linear-gradient(135deg, #0a2a5e, #1a56a7); color: #fff;
  box-shadow: 0 10px 22px rgba(26,86,167,.30);
  margin-bottom: 12px;
}
.ac-title { font-weight: 700; margin-bottom: 4px; letter-spacing: 1px; font-size: 1.06rem; color: var(--ink-900); }
.ac-sub { font-size: .82rem; color: #697586; }
/* 表单控件：加大点击区、聚焦时品牌色高亮 */
.auth-card .form-control, .auth-card .form-select {
  padding: .62rem .85rem; border-radius: 11px; border-color: #dde4ee;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-card .form-control:focus, .auth-card .form-select:focus {
  border-color: var(--gov-600);
  box-shadow: 0 0 0 4px rgba(26,86,167,.13);
}
.auth-card .form-label { font-size: .82rem; color: var(--ink-700); margin-bottom: 6px; }
.auth-card .btn-primary {
  border-radius: 11px; padding: .62rem 1rem; font-weight: 600;
  background: linear-gradient(135deg, #0a2a5e, #1a56a7); border-color: transparent;
  box-shadow: 0 10px 22px rgba(26,86,167,.28);
}
.auth-card .btn-primary:hover { box-shadow: 0 14px 28px rgba(26,86,167,.36); }
.auth-tabs {
  background: #f1f4f9; border-radius: 12px; padding: 4px;
  display: flex; gap: 4px; margin-bottom: 22px;
}
.auth-tabs .nav-item { flex: 1; display: flex; }
.auth-tabs .nav-link {
  flex: 1; text-align: center; font-weight: 600;
  border-radius: 9px; font-size: .9rem; padding: .5rem .4rem; color: #5a6577;
  border: 0; background: transparent;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.auth-tabs .nav-link:hover { color: var(--gov-600); background: rgba(255,255,255,.7); }
.auth-tabs .nav-link.active {
  background: linear-gradient(135deg, #0a2a5e, #1a56a7); color: #fff;
  box-shadow: 0 6px 16px rgba(26,86,167,.28);
}
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auth-links a { font-size: .85rem; text-decoration: none; color: #1a56a7; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }
.auth-links .org-link { color: #8d6d18; font-weight: 600; }
.auth-links .org-link:hover { color: #6f5410; }
.auth-copyright { margin-top: 18px; font-size: .74rem; color: #9aa3b2; }
/* ---- 移动端：品牌区收成顶部横幅 ---- */
@media (max-width: 991px) {
  .auth-split { flex-direction: column; }
  .auth-brand { flex: none; }
  .ab-inner { padding: 30px 24px 26px; max-width: none; }
  .ab-logo { width: 44px; height: 44px; font-size: 1.25rem; margin-bottom: 14px; border-radius: 12px; }
  .ab-title { font-size: 1.3rem; letter-spacing: 1px; margin-bottom: 10px; text-shadow: none; }
  .ab-title br { display: none; }
  .ab-slogan { margin-bottom: 0; font-size: .74rem; letter-spacing: 2px; padding: 5px 13px; }
  .ab-feats, .ab-d3 { display: none; }
  .ab-foot { position: static; margin-top: 14px; padding: 0 0; }
  .auth-panel { padding: 22px 14px 34px; }
  .auth-card { padding: 26px 20px; border-radius: 16px; }
  .ac-mark { width: 44px; height: 44px; font-size: 1.2rem; }
}
/* 超窄屏：进一步压缩 */
@media (max-width: 420px) {
  .auth-brand { flex: none; }
  .ab-inner { padding: 24px 18px 20px; }
  .ab-logo { margin-bottom: 10px; }
  .ab-title { font-size: 1.12rem; }
  .auth-panel { padding: 18px 10px 28px; }
  .auth-card { padding: 22px 16px; }
}

/* =========================================================
 * 擅长领域勾选卡片（V1.9）
 * ========================================================= */
.exp-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.exp-item {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 12px;
  border: 1px solid var(--line, #e6ebf2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer; user-select: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.exp-item:hover { border-color: #b9cdea; background: #f8fbff; }
.exp-item.active {
  border-color: var(--gov-600, #1a56a7);
  background: #eef5fd;
  box-shadow: inset 3px 0 0 var(--gov-600, #1a56a7);
}
/* 停用领域：可取消但不可新增，弱化显示 */
.exp-off { opacity: .62; }
.exp-off.active { border-color: var(--ink-300, #9aa4b2); background: #f4f5f7; box-shadow: none; }
/* 原生 checkbox 隐藏，用整块卡片点击 */
.exp-item input.exp-cb {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.exp-name { font-size: .88rem; color: var(--ink-900, #1b2430); font-weight: 500; }
.exp-item.active .exp-name { color: var(--gov-700, #12468f); }
.exp-remark { font-size: .72rem; color: var(--ink-300, #9aa4b2); line-height: 1.35; }
/* 清单内联用的紧凑版：格子更小，可直接嵌在问题卡片里 */
.exp-grid-sm { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.exp-grid-sm .exp-item { padding: 6px 9px; border-radius: 8px; }
.exp-grid-sm .exp-name { font-size: .8rem; }
/* 问题库里的领域标签：浅底 + 深字，保证 WCAG AA 对比度 */
.qexp-tag {
  background: #e8f0fb; color: #0d3a7a; font-weight: 500;
  border: 1px solid rgba(13, 58, 122, .12);
}
.qexp-tag-ent { background: #e3f4ec; color: #146c43; border-color: rgba(20, 108, 67, .14); }
@media (max-width: 576px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
 * 一键 AI 润色组件
 * ========================================================= */
.ai-polish-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 0 2px; flex-wrap: wrap;
}
.btn-ai {
  background: linear-gradient(135deg, #6f42c1, #a06ff0);
  color: #fff; border: none; border-radius: 999px;
  padding: .22rem .8rem; font-size: .8rem;
  box-shadow: 0 3px 10px rgba(111,66,193,.28);
}
.btn-ai:hover { color: #fff; filter: brightness(1.08); }
.btn-ai:disabled { opacity: .6; box-shadow: none; }
.btn-ai i { margin-right: 3px; }
.ai-polish-bar .ai-undo { font-size: .78rem; padding: .2rem .4rem; text-decoration: none; }
.ai-polish-bar .ai-tip { font-size: .78rem; }
/* 管理后台 AI 配置页 */
.pre-inline { white-space: pre-wrap; word-break: break-all; }

/* ===== 移动端优先优化（V1.9.5）：导师手机端接单/写台账等高频操作更顺手 ===== */
.todo-item { transition: background .15s, border-color .15s; }
.todo-item:hover { background: #f5f9ff; border-color: #9dc0ea !important; }

@media (max-width: 767.98px) {
  /* 触控友好：控件与按钮加大到拇指可点范围，输入 16px 同时避免 iOS 聚焦自动缩放 */
  .form-control, .form-select { min-height: 44px; font-size: 16px; }
  textarea.form-control { min-height: auto; }
  .form-control-sm, .form-select-sm { min-height: 38px; font-size: 14px; }
  .btn { min-height: 40px; }
  .btn-sm { min-height: 36px; padding: .35rem .7rem; }

  /* 主内容区留白收窄，手机屏信息密度更高 */
  .gov-main { padding-left: 12px !important; padding-right: 12px !important; }
  .card-body { padding: 1rem; }

  /* 表格横滑更顺（iOS 惯性滚动） */
  .table-responsive { -webkit-overflow-scrolling: touch; }

  /* 导师端：订单详情顶部操作按钮两列铺满，拇指好点 */
  .js-mentor-ops { display: flex !important; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 8px; }
  .js-mentor-ops .btn { flex: 1 1 46%; min-height: 44px; font-size: 15px; }

  /* 导师端：快捷操作入口（新增台账/下达任务等）两列铺满 */
  .js-mentor-quick { display: flex; flex-wrap: wrap; gap: 8px; }
  .js-mentor-quick .btn { flex: 1 1 46%; min-height: 44px; font-size: 15px; }

  /* 长表单底部提交条吸底，省去来回滚动（写台账/登记类表单用） */
  .js-sticky-actions {
    position: sticky; bottom: 0; z-index: 5;
    background: rgba(255, 255, 255, .97);
    padding: 10px 4px; margin: 0 -4px;
    border-top: 1px solid #e6ecf5;
  }
  .js-sticky-actions .btn { min-height: 46px; }
}

/* ===== 帮助中心（V1.9.5）：在线手册排版 ===== */
.help-doc { line-height: 1.85; font-size: 14.5px; color: #26303d; }
.help-h1 { font-size: 1.35rem; margin: 0 0 12px; }
.help-h2 { font-size: 1.18rem; margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 2px solid #e6ecf5; color: #0d3a7a; }
.help-h2:first-child { margin-top: 4px; }
.help-h3 { font-size: 1.04rem; margin: 18px 0 8px; color: #1a56a7; }
.help-h4 { font-size: .96rem; margin: 14px 0 6px; color: #33506e; }
.help-doc p { margin: 6px 0; }
.help-doc ul, .help-doc ol { margin: 6px 0 10px; padding-left: 22px; }
.help-doc li { margin: 3px 0; }
.help-doc code { background: #eef3fa; color: #0d3a7a; padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.help-pre { background: #f6f8fb; border: 1px solid #e6ecf5; border-radius: 8px; padding: 12px 14px;
  font-size: 12.5px; line-height: 1.7; overflow-x: auto; color: #26303d; }
.help-doc table { font-size: 13.5px; }
.help-doc th { background: #f3f7fc; white-space: nowrap; }
.help-doc hr { margin: 20px 0; border-color: #e6ecf5; }
.help-toc { position: sticky; top: 12px; }
.help-toc-list { max-height: calc(100vh - 190px); overflow-y: auto; }
.help-toc-list a.active { background: #eaf2fd; color: #0d3a7a; font-weight: 600; }
@media (max-width: 767.98px) {
  .help-toc { position: static; }
  .help-toc-list { max-height: 220px; }
  .help-doc { font-size: 15px; }
}

/* =============================================================
   V2.1 平台门户首页（免登录对外门户）
   深色底文字必须在元素自身声明 color（h1~h6 全局为深色，不继承父级）
   ============================================================= */
body.portal-body { background: #fff; }

/* ---------- 顶栏 ---------- */
.portal-top { background: linear-gradient(90deg, var(--gov-900), var(--gov-700)); padding: 10px 0; }
.portal-top .portal-brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  flex: 0 1 auto; min-width: 0; }
.portal-top .brand-mark { width: 38px; height: 38px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22); color: var(--gold-400); font-size: 20px; }
.portal-top .pb-text { display: flex; flex-direction: column; line-height: 1.25; }
.portal-top .pb-name { color: #fff; font-weight: 600; font-size: 15px; }
.portal-top .pb-sub { color: rgba(255,255,255,.62); font-size: 11.5px; }
/* 顶栏第一行：品牌 + 功能区（单行不折，按钮不换行） */
.portal-top-in { display: flex; align-items: center; flex-wrap: nowrap; gap: 10px; }
.portal-top-in .portal-back { flex: 0 0 auto; }
.portal-top .pb-text { min-width: 0; }
.portal-top .pb-name, .portal-top .pb-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.portal-acts .btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.portal-acts .btn i { font-size: 13px; }
.btn-ghost { color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn-ghost:hover, .btn-ghost:focus { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); }

/* 顶栏第二行：板块导航通栏 */
.portal-navbar { background: #0b2f68; border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-navbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.portal-nav { display: flex; align-items: center; gap: 0; margin-left: -12px; }
.portal-nav a { color: rgba(255,255,255,.86); text-decoration: none; padding: 12px;
  font-size: 13.5px; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: .16s; }
.portal-nav a:hover { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 -2px 0 var(--gold-400); }
.pn-hotline { color: rgba(255,255,255,.62); font-size: 12.5px; white-space: nowrap; }
.pn-hotline i { color: var(--gold-400); margin-right: 4px; }
@media (max-width: 1199.98px) { .pn-hotline { display: none; } }
@media (max-width: 575.98px) {
  .portal-top .pb-sub { display: none; }
  .portal-top .pb-name { font-size: 14px; }
  .portal-top .brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .portal-acts { gap: 6px; }
  .portal-acts .btn { padding: 4px 10px; font-size: 12.5px; }
}
.btn-gov-primary { background: var(--gov-600); border: 1px solid var(--gov-600); color: #fff; }
.btn-gov-primary:hover { background: var(--gov-700); border-color: var(--gov-700); color: #fff; }
.btn-gov-gold { background: var(--gold-500); border: 1px solid var(--gold-500); color: #2b2200; font-weight: 600; }
.btn-gov-gold:hover { background: var(--gold-400); border-color: var(--gold-400); color: #2b2200; }

/* ---------- 旗舰横幅 ---------- */
.portal-hero { position: relative; overflow: hidden; padding: 54px 0 60px;
  background: linear-gradient(120deg, var(--gov-900) 0%, var(--gov-700) 52%, var(--gov-600) 100%); }
.portal-hero .ph-deco { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .16; }
.portal-hero .ph-deco.d1 { width: 420px; height: 420px; background: var(--gold-500); top: -170px; right: -80px; }
.portal-hero .ph-deco.d2 { width: 260px; height: 260px; background: #fff; bottom: -140px; left: 8%; opacity: .07; }
.portal-hero .ph-deco.d3 { width: 160px; height: 160px; background: var(--gold-400); bottom: 20px; right: 22%; opacity: .1; }
.portal-hero .hero-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-400);
  background: rgba(201,162,39,.12); border: 1px solid rgba(201,162,39,.35); border-radius: 999px;
  padding: 4px 14px; font-size: 12.5px; margin-bottom: 16px; }
.portal-hero h1.hero-title { color: #fff; font-size: 42px; line-height: 1.22; margin: 0 0 10px; letter-spacing: 1px; }
.portal-hero .hero-slogan { color: var(--gold-400); font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.portal-hero .hero-desc { color: rgba(255,255,255,.84); font-size: 14.5px; line-height: 1.9; max-width: 560px; margin: 0; }
.portal-hero .hero-cross { display: flex; flex-wrap: wrap; gap: 18px; }
.portal-hero .hero-cross a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; }
.portal-hero .hero-cross a:hover { color: var(--gold-400); }
.portal-hero .hero-cross i { margin-right: 4px; }
.hero-panel { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 20px; backdrop-filter: blur(2px); }
.hero-panel .hp-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.hero-panel .hp-title i { color: var(--gold-400); margin-right: 6px; }
.hero-panel .hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-panel .hp-item { background: rgba(255,255,255,.08); border-radius: 10px; padding: 12px 14px; }
.hero-panel .hp-item b { display: block; color: var(--gold-400); font-size: 26px; line-height: 1.2; }
.hero-panel .hp-item span { color: rgba(255,255,255,.75); font-size: 12.5px; }
.hero-panel .hp-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.7); font-size: 12.5px; }

/* ---------- 通用区块 ---------- */
.portal-section { padding: 46px 0; }
.portal-section.is-alt { background: #f6f8fc; }
.ps-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 10px; margin-bottom: 20px; }
.ps-title { font-size: 22px; color: var(--gov-800); margin: 0 0 6px; }
.ps-title i { color: var(--gold-500); margin-right: 6px; }
.ps-sub { color: var(--ink-500); font-size: 13.5px; }
.ps-more { color: var(--gov-600); font-size: 13px; text-decoration: none; }
.ps-more:hover { color: var(--gov-800); }
.portal-empty { text-align: center; color: var(--ink-300); background: #fff; border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 34px 16px; font-size: 13.5px; }
.portal-empty.sm { padding: 18px 12px; font-size: 12.5px; }

/* ---------- 机构卡片 ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow-sm); transition: .18s; height: 100%; }
.portal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcef; }
.portal-card .pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.portal-card .pc-name { color: var(--ink-900); font-weight: 600; font-size: 15px; }
.portal-card .pc-tag { flex: 0 0 auto; background: var(--gov-100); color: var(--gov-700);
  border-radius: 999px; padding: 2px 10px; font-size: 11.5px; }
.portal-card .pc-line { color: var(--ink-700); font-size: 12.8px; margin: 4px 0; }
.portal-card .pc-line i { color: var(--gov-500); width: 16px; display: inline-block; }
.portal-card .pc-desc { color: var(--ink-500); font-size: 12.5px; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line); line-height: 1.7; }

/* ---------- 政策条 ---------- */
.policy-item { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--gov-600); border-radius: 10px; padding: 14px 16px; text-decoration: none;
  height: 100%; box-shadow: var(--shadow-sm); transition: .18s; }
.policy-item:hover { box-shadow: var(--shadow-md); border-left-color: var(--gold-500); }
.policy-item .pi-tag { align-self: flex-start; background: var(--gov-050); color: var(--gov-700);
  border: 1px solid #dce7f6; border-radius: 6px; font-size: 11.5px; padding: 1px 8px; }
.policy-item .pi-title { color: var(--ink-900); font-size: 14.5px; line-height: 1.6; }
.policy-item .pi-date { color: var(--ink-300); font-size: 12px; }

/* ---------- 导师卡 ---------- */
.mentor-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; height: 100%; box-shadow: var(--shadow-sm); }
.mentor-col .mcol-head { color: var(--gov-800); font-weight: 600; font-size: 14.5px; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mentor-col .mcol-head i { color: var(--gold-500); margin-right: 6px; }
.mentor-chip { display: flex; gap: 12px; align-items: flex-start; padding: 10px 8px; border-radius: 10px;
  text-decoration: none; transition: .15s; }
.mentor-chip:hover { background: var(--gov-050); }
.mentor-chip .mc-avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gov-700), var(--gov-500)); color: #fff; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; }
.mentor-chip .mc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mentor-chip .mc-name { color: var(--ink-900); font-weight: 600; font-size: 14px; }
.mentor-chip .mc-score { color: var(--gold-600); font-size: 12px; margin-left: 6px; }
.mentor-chip .mc-meta { color: var(--ink-500); font-size: 12px; }
.mentor-chip .mc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.mentor-chip .mc-tag { background: #eef3fa; color: var(--gov-700); border-radius: 4px;
  padding: 1px 7px; font-size: 11.5px; }

/* ---------- 移动端数据条 ---------- */
.portal-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.portal-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 8px; text-align: center; box-shadow: var(--shadow-sm); }
.portal-stats b { display: block; color: var(--gov-700); font-size: 20px; }
.portal-stats span { color: var(--ink-500); font-size: 11.5px; }

/* ---------- 页脚 ---------- */
.portal-foot { background: var(--gov-900); color: rgba(255,255,255,.82); padding: 26px 0; }
.portal-foot .pf-name { color: #fff; font-weight: 600; font-size: 15px; }
.portal-foot .pf-slogan { color: var(--gold-400); font-size: 12.5px; letter-spacing: 2px; margin-top: 4px; }
.portal-foot .pf-line { font-size: 12.8px; margin-bottom: 4px; }
.portal-foot .pf-line i { color: var(--gold-400); margin-right: 5px; }
.portal-foot .pf-copy { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 8px; }

/* ---------- 公开详情页 ---------- */
.spot-hero { background: linear-gradient(120deg, var(--gov-900), var(--gov-700)); padding: 34px 0 30px; }
.spot-hero .spot-kicker { color: var(--gold-400); font-size: 12.5px; margin-bottom: 8px; }
.spot-hero h1.spot-title { color: #fff; font-size: 27px; margin: 0; }
.spot-main { padding: 26px 0 40px; }
.spot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.spot-card.is-side { position: sticky; top: 16px; }
.card-title-mini { font-size: 14.5px; color: var(--gov-800); margin-bottom: 12px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.card-title-mini i { color: var(--gold-500); margin-right: 5px; }
.spot-text { color: var(--ink-700); font-size: 14px; line-height: 2; }
.spot-list { list-style: none; padding: 0; margin: 0; }
.spot-list li { position: relative; padding: 7px 0 7px 20px; color: var(--ink-700); font-size: 13.5px;
  border-bottom: 1px dashed var(--line); }
.spot-list li:last-child { border-bottom: 0; }
.spot-list li:before { content: ''; position: absolute; left: 4px; top: 15px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gov-500); }
.spot-info { list-style: none; padding: 0; margin: 0; }
.spot-info li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; }
.spot-info li:last-child { border-bottom: 0; }
.spot-info span { color: var(--ink-500); flex: 0 0 74px; }
.spot-info b { color: var(--ink-900); font-weight: 600; text-align: right; }
.spot-cta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.spot-hotline { color: var(--gold-600); font-size: 13px; text-align: center; }
.spot-hotline i { margin-right: 4px; }

/* V2.6 详情页一键导航 / 一键拨号 */
.spot-quick { display: flex; gap: 8px; margin-bottom: 12px; }
.spot-quick .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
.spot-quick .btn i { margin-right: 4px; }
.spot-quick-hero { margin-top: 16px; max-width: 460px; }
.spot-quick-hero .btn { font-weight: 600; }
.spot-tel { color: var(--gov-600); text-decoration: none; border-bottom: 1px dashed currentColor; }
.spot-tel:hover { color: var(--gold-600); }
@media (max-width: 575.98px) {
  .spot-quick .btn { padding-left: 4px; padding-right: 4px; font-size: 13.5px; }
}

@media (max-width: 991.98px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-hero h1.hero-title { font-size: 32px; }
  .spot-card.is-side { position: static; }
}
@media (max-width: 575.98px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-hero { padding: 36px 0 40px; }
  .portal-hero h1.hero-title { font-size: 27px; }
  .portal-hero .hero-slogan { font-size: 14px; letter-spacing: 1.5px; }
  .portal-section { padding: 32px 0; }
  .portal-stats { grid-template-columns: repeat(2, 1fr); }
  .ps-title { font-size: 18px; }
  .spot-hero h1.spot-title { font-size: 21px; }
}

/* =============================================================
   V2.1 身份选择卡 + 机构工作台快捷入口
   ============================================================= */
.ident-card { border: 1px solid var(--line) !important; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: .18s; background: #fff; }
.ident-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcef !important; }
.ident-card.is-current { border-color: var(--gov-500) !important; background: linear-gradient(180deg, #f7fbff, #fff); }
.ident-card .ident-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--gov-100);
  color: var(--gov-700); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.ident-card .ident-label { color: var(--gov-800); font-weight: 600; font-size: 14.5px; }
.ident-card .ident-title { color: var(--ink-900); font-size: 13.5px; margin-bottom: 4px; }
.ident-card .ident-desc { color: var(--ink-500); font-size: 12.3px; line-height: 1.7; }
.ident-menu .dropdown-item:active { background: var(--gov-600); }

.org-quick { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 10px;
  text-decoration: none; color: var(--ink-900); font-size: 13px; transition: .18s; height: 100%; }
.org-quick:hover { border-color: var(--gov-500); box-shadow: var(--shadow-sm); color: var(--gov-700); }
.org-quick i { font-size: 22px; color: var(--gov-600); }
.org-facts { list-style: none; padding: 0; margin: 0; }
.org-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; }
.org-facts li:last-child { border-bottom: 0; }
.org-facts span { color: var(--ink-500); }
.org-facts b { color: var(--ink-900); text-align: right; }
@media (max-width: 767.98px) {
  .js-confirm-form { display: inline-block; }
}

/* =============================================================
   V2.2 门户首页「帮扶案例」卡片
   ============================================================= */
.case-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; height: 100%; box-shadow: var(--shadow-sm); transition: .18s; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcef; }
.case-card .cc-cover { display: block; height: 132px; background-size: cover; background-position: center;
  background-color: var(--gov-100); }
.case-card .cc-cover-text { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--gov-800), var(--gov-600)); }
.case-card .cc-cover-text i { color: var(--gold-400); font-size: 34px; opacity: .85; }
.case-card .cc-body { display: block; padding: 14px 16px 16px; }
.case-card .cc-title { display: block; color: var(--ink-900); font-weight: 600; font-size: 15px;
  line-height: 1.55; margin-bottom: 6px; }
.case-card .cc-sum { display: block; color: var(--ink-500); font-size: 12.8px; line-height: 1.75; }
.case-card .cc-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--line); }
.case-card .cc-badge { background: var(--gold-100, #f7efd6); color: #7a5c00; border: 1px solid #eadfaf;
  border-radius: 4px; font-size: 11.5px; padding: 1px 7px; }
.case-card .cc-by { color: var(--ink-300); font-size: 12px; }
@media (max-width: 575.98px) {
  .case-card .cc-cover { height: 110px; }
}

/* =============================================================
   V2.3 门户统一卡片（服务站点 / 服务动态 / 导师 / 孵化基地）
   + 站点内容卡片、筛选胶囊
   深色底文字必须在元素自身声明 color（h1~h6 全局为深色，不继承父级）
   ============================================================= */

/* ---------- 统一卡片 ---------- */
.pcard { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none; height: 100%;
  box-shadow: var(--shadow-sm); transition: .18s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcef; }
.pcard-head { display: flex; align-items: flex-start; gap: 11px; }
.pcard-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 19px; }
.pcard-icon-gov  { background: #e8f0fb; color: #0d3a7a; }
.pcard-icon-gold { background: #fbf3dd; color: #8a6508; }
.pcard-icon-teal { background: #e3f4ec; color: #146c43; }
.pcard-icon-sky  { background: #e7f3fb; color: #0b5c85; }
.pcard-head-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.pcard-title { color: var(--ink-900); font-weight: 600; font-size: 15px; line-height: 1.45; }
.pcard-sub { color: var(--ink-500); font-size: 12.4px; }
.pcard-badge { flex: 0 0 auto; border-radius: 999px; padding: 2px 10px; font-size: 11.5px;
  border: 1px solid transparent; white-space: nowrap; }
.pcard-badge.is-gov  { background: #e8f0fb; color: #0d3a7a; border-color: #d3e0f4; }
.pcard-badge.is-gold { background: #fbf3dd; color: #7a5c00; border-color: #eadfaf; }
.pcard-badge.is-teal { background: #e3f4ec; color: #146c43; border-color: #cfe8dc; }
.pcard-badge.is-sky  { background: #e7f3fb; color: #0b5c85; border-color: #cfe6f3; }
.pcard-lines { display: flex; flex-direction: column; gap: 5px; }
.pcard-line { color: var(--ink-700); font-size: 12.7px; display: flex; align-items: flex-start; gap: 6px; }
.pcard-line i { color: var(--gov-500); font-size: 12.5px; line-height: 1.5; flex: 0 0 14px; }
.pcard-desc { color: var(--ink-500); font-size: 12.5px; line-height: 1.75; padding-top: 9px;
  border-top: 1px dashed var(--line); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tag { background: #eef3fa; color: var(--gov-700); border-radius: 4px; padding: 1px 7px; font-size: 11.5px; }
.pcard-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
  color: var(--gov-600); font-size: 12.5px; font-weight: 500; }
.pcard:hover .pcard-foot { color: var(--gov-800); }

/* ---------- 筛选胶囊 ---------- */
.filter-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px; font-size: 12.8px; color: var(--ink-700);
  text-decoration: none; transition: .15s; }
.filter-chip i { font-size: 12.5px; color: var(--gov-500); }
.filter-chip:hover { border-color: var(--gov-500); color: var(--gov-700); }
.filter-chip.is-on { background: var(--gov-600); border-color: var(--gov-600); color: #fff; }
.filter-chip.is-on i { color: var(--gold-400); }

/* ---------- 站点内容卡片（列表页） ---------- */
.sc-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none; height: 100%;
  box-shadow: var(--shadow-sm); transition: .18s; }
.sc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcef; }
.sc-card-head { display: flex; align-items: flex-start; gap: 11px; }
.sc-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 18px; }
.sc-icon.sc-info    { background: #e7f3fb; color: #0b5c85; }
.sc-icon.sc-success { background: #e3f4ec; color: #146c43; }
.sc-icon.sc-primary { background: #e8f0fb; color: #0d3a7a; }
.sc-icon.sc-warning { background: #fbf3dd; color: #8a6508; }
.sc-icon.sc-secondary { background: #eef1f6; color: #4a5568; }
.sc-head-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sc-title { color: var(--ink-900); font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.sc-sub { color: var(--ink-500); font-size: 12.2px; }
.sc-sum { color: var(--ink-500); font-size: 12.6px; line-height: 1.75; padding-top: 9px;
  border-top: 1px dashed var(--line); }
.sc-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 10px;
  border-top: 1px dashed var(--line); }
.sc-salary { color: #c0392b; font-size: 12.6px; font-weight: 600; }
.sc-by { color: var(--ink-300); font-size: 12px; margin-left: auto; }

/* ---------- 站点详情页内的动态行 ---------- */
.sc-row { display: flex; align-items: center; gap: 11px; padding: 10px 6px; border-radius: 10px;
  text-decoration: none; border-bottom: 1px dashed var(--line); transition: .15s; }
.sc-row:last-of-type { border-bottom: 0; }
.sc-row:hover { background: var(--gov-050); }
.sc-row-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: var(--gov-100);
  color: var(--gov-700); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.sc-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.sc-row-title { color: var(--ink-900); font-size: 13.8px; font-weight: 500; }
.sc-row-sub { color: var(--ink-500); font-size: 12px; }
.sc-row-go { color: var(--ink-300); font-size: 13px; }

/* ---------- 服务站详情页：本站导师行（V2.7） ---------- */
.sm-list { display: flex; flex-direction: column; }
.sm-row { display: flex; align-items: center; gap: 11px; padding: 10px 6px; border-radius: 10px;
  text-decoration: none; border-bottom: 1px dashed var(--line); transition: .15s; }
.sm-row:last-of-type { border-bottom: 0; }
.sm-row:hover { background: var(--gov-050); }
.sm-avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--gov-100);
  color: var(--gov-700); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.sm-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.sm-name { color: var(--ink-900); font-size: 13.8px; font-weight: 600; }
.sm-name .badge { font-weight: 400; }
.sm-sub { color: var(--ink-500); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-go { color: var(--ink-300); font-size: 13px; }

/* 导师列表卡片上的驻站标签（V2.7） */
.st-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gov-700);
  background: var(--gov-050); border: 1px solid var(--gov-100); border-radius: 999px; padding: 1px 9px; }
.st-chip i { font-size: 11px; }
.st-chip.is-mobile-mentor { color: var(--ink-500); background: #f6f7f9; border-color: var(--line); }

@media (max-width: 575.98px) {
  .pcard, .sc-card { padding: 14px 14px; }
  .pcard-icon, .sc-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 17px; }
}

/* =============================================================
   V2.4 政策匹配（免登录问卷 / 结果）+ 站点内容留言 + 门户政策匹配横幅
   深色底文字必须在元素自身声明 color（h1~h6 全局为深色，不继承父级）
   ============================================================= */

/* ---------- 门户「政策匹配」横幅 ---------- */
.portal-section.is-tight { padding: 26px 0 6px; }
.portal-band {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px 26px;
  align-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--gov-900), var(--gov-700) 62%, #1f3f77);
  border-radius: 16px; padding: 26px 28px; box-shadow: var(--shadow-md);
}
.portal-band .pb-kicker { color: var(--gold-400); font-size: 12.5px; margin-bottom: 6px; }
.portal-band .pb-title { color: #fff; font-size: 22px; margin: 0 0 8px; }
.portal-band .pb-desc { color: rgba(255, 255, 255, .86); font-size: 13.6px; line-height: 1.75; margin: 0 0 12px; }
.portal-band .pb-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.portal-band .pb-tags span { color: rgba(255, 255, 255, .9); font-size: 12.6px; display: inline-flex; align-items: center; gap: 5px; }
.portal-band .pb-tags i { color: var(--gold-400); }
.portal-band .pb-right { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 212px; }
.portal-band .pb-soon { color: var(--gold-400); font-size: 12.8px; text-align: center; margin-bottom: 2px; }
.portal-band .pb-stats {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 30px;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18);
}
.portal-band .pb-stats b { display: block; color: #fff; font-size: 19px; }
.portal-band .pb-stats span { color: rgba(255, 255, 255, .72); font-size: 12.2px; }

/* ---------- 问卷 ---------- */
.match-wrap { max-width: 780px; margin: 0 auto; }
.match-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.match-progress-text { color: var(--ink-500); font-size: 13px; white-space: nowrap; }
.match-progress-text b { color: var(--gov-700); font-size: 15px; }
.match-progress-track { flex: 1 1 auto; height: 6px; background: #e6ecf5; border-radius: 999px; overflow: hidden; }
.match-progress-bar { height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gov-600), var(--gold-500)); transition: width .25s; }

.match-step { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); }
.match-step.is-act { display: block; }
.match-q { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.match-q-no { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--gov-600);
  color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.match-q-title { font-size: 17px; color: var(--ink-900); margin: 0; }
.match-q-hint { color: var(--ink-500); font-size: 13px; }
.match-opts { display: flex; flex-direction: column; gap: 10px; }
.match-opt { display: flex; align-items: flex-start; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: .15s; }
.match-opt:hover { border-color: var(--gov-500); background: var(--gov-050); }
.match-opt input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gov-600); }
.match-opt span { color: var(--ink-900); font-size: 14px; line-height: 1.6; }
.match-opt:has(input:checked) { border-color: var(--gov-600); background: #f2f7fd; }
.match-opt:has(input:checked) span { font-weight: 600; color: var(--gov-800); }
.match-err { display: none; color: #c0392b; font-size: 13px; margin-top: 10px; }
.match-foot { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.match-tip { margin-top: 14px; font-size: 12.5px; text-align: center; color: var(--ink-500); }

/* ---------- 结果 ---------- */
.match-summary { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.match-summary .ms-label { color: var(--ink-500); font-size: 12.5px; }
.match-summary .ms-score { color: var(--gov-800); font-size: 15px; }
.match-summary .ms-score b { font-size: 24px; color: var(--gold-600); }
.match-summary .ms-right { color: var(--ink-700); font-size: 13.5px; flex: 1 1 220px; line-height: 1.75; }
.match-result-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; height: 100%; box-shadow: var(--shadow-sm); }
.match-result-card .mrc-head { display: flex; align-items: flex-start; gap: 11px; }
.match-result-card .mrc-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  background: #fbf3dd; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.match-result-card .mrc-title-wrap { flex: 1 1 auto; min-width: 0; }
.match-result-card .mrc-title { font-size: 16px; color: var(--gov-800); margin: 0 0 4px; }
.match-result-card .mrc-sum { color: var(--ink-500); font-size: 12.8px; line-height: 1.7; }
.match-result-card .mrc-tag { flex: 0 0 auto; background: #e8f0fb; color: #0d3a7a; border: 1px solid #d3e0f4;
  border-radius: 999px; padding: 2px 10px; font-size: 11.5px; white-space: nowrap; }
.match-result-card .mrc-body { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
  color: var(--ink-700); font-size: 13.3px; line-height: 1.85; }
.match-result-card .mrc-contact { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  color: var(--gold-600); font-size: 12.8px; }
.match-contact { display: flex; align-items: flex-start; gap: 8px; background: #fdf8ea;
  border: 1px solid #eadfaf; border-radius: 10px; padding: 12px 14px; color: #7a5c00; font-size: 13px; line-height: 1.7; }
.match-contact .mc-ico { flex: 0 0 auto; }
.match-contact-alone { justify-content: center; max-width: 620px; margin: 0 auto 16px; }
.match-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- 站点内容留言 ---------- */
.cmt-list { display: flex; flex-direction: column; }
.cmt-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cmt-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.cmt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cmt-avatar { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 13px;
  background: linear-gradient(135deg, var(--gov-700), var(--gov-500));
  display: inline-flex; align-items: center; justify-content: center; }
.cmt-name { color: var(--ink-900); font-size: 13.5px; font-weight: 600; }
.cmt-time { color: var(--ink-300); font-size: 12px; margin-left: auto; }
.cmt-body { color: var(--ink-700); font-size: 13.6px; line-height: 1.8; padding-left: 36px; }
.cmt-reply { margin: 10px 0 0 36px; background: #f2f7fd; border-left: 3px solid var(--gov-500);
  border-radius: 0 8px 8px 0; padding: 10px 12px; color: var(--ink-700); font-size: 13px; line-height: 1.75; }
.cmt-reply-tag { display: inline-block; background: var(--gov-600); color: #fff; border-radius: 4px;
  font-size: 11px; padding: 1px 6px; margin-bottom: 5px; }
.cmt-form-wrap { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- 政策匹配后台：条件勾选组 ---------- */
.pm-qgroup { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.pm-qgroup:last-child { border-bottom: 0; padding-bottom: 0; }
.pm-qgroup-head { color: var(--gov-800); font-size: 13.5px; font-weight: 600; margin-bottom: 9px; }
.pm-cond { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; font-size: 12.6px; color: var(--ink-700); cursor: pointer; transition: .15s; }
.pm-cond:hover { border-color: var(--gov-500); }
.pm-cond input { accent-color: var(--gov-600); }
.pm-cond:has(input:checked) { border-color: var(--gov-600); background: #f2f7fd; color: var(--gov-800); font-weight: 600; }

/* ---------- 移动端：门户横幅 / 问卷 / 留言 / 机构工作台 ---------- */
@media (max-width: 767.98px) {
  .portal-band { grid-template-columns: 1fr; padding: 20px 18px; gap: 14px; }
  .portal-band .pb-title { font-size: 19px; }
  .portal-band .pb-desc { font-size: 13px; margin-bottom: 8px; }
  .portal-band .pb-stats { gap: 12px 20px; padding-top: 14px; }
  .portal-band .pb-stats b { font-size: 17px; }
  .portal-section.is-tight { padding: 20px 0 4px; }

  .match-step { padding: 16px 14px; }
  .match-q-title { font-size: 15.5px; }
  .match-opts { gap: 8px; }
  .match-opt { padding: 11px 12px; }
  .match-opt span { font-size: 14.5px; }
  .match-foot { flex-wrap: wrap; }
  .match-foot .btn { flex: 1 1 46%; }
  .match-result-card .mrc-head { flex-wrap: wrap; }
  .match-contact-alone { max-width: 100%; }

  .cmt-body { padding-left: 0; }
  .cmt-reply { margin-left: 0; }
  .cmt-form-wrap .btn { min-height: 44px; }

  /* 机构工作台：快捷入口更紧凑、事实列表不挤在一行 */
  .org-quick { padding: 14px 6px; font-size: 12.4px; gap: 6px; }
  .org-quick i { font-size: 19px; }
  .org-quick span { line-height: 1.35; text-align: center; }
  .org-facts li { flex-wrap: wrap; }
  .org-facts b { text-align: left; }
}


/* ============================================================ */
/* V2.5 自定义字段引擎                                          */
/* ============================================================ */
.ff-group { font-size: 13px; font-weight: 700; color: var(--ink-700, #1a56a7);
  background: #eef4ff; border-left: 3px solid #1a56a7; border-radius: 4px;
  padding: 5px 10px; margin: 6px 0 12px; }
.ff-hint { font-size: 12.5px; color: #5a6b82; background: #f6f8fb; border-radius: 6px;
  padding: 8px 12px; margin-bottom: 12px; }
.ff-custom { background: #fffbf0; border: 1px dashed #e0c46a; border-radius: 6px; padding: 10px; }
.ff-rating { display: flex; gap: 4px; }
.ff-rating .btn-check:checked + label { background: #ffc107; border-color: #ffc107; color: #fff; }
.ff-multi .form-check-inline { margin-right: 14px; margin-bottom: 4px; }

/* 选项池管理页 */
.opt-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px;
  background: #eef4ff; color: #0d3a7a; border-radius: 20px; padding: 3px 10px; margin: 0 6px 6px 0; }
.opt-chip.is-pending { background: #fff4e0; color: #8a5a00; }
.opt-chip.is-rejected { background: #f2f3f5; color: #7a7f87; text-decoration: line-through; }
.opt-hot { font-size: 11.5px; color: #8a5a00; }
@media (max-width: 767.98px) {
  .ff-multi .form-check-inline { margin-right: 10px; }
  .ff-group { font-size: 12.5px; }
}

/* ==============================
   政策匹配（V2.8：每个政策自带问卷）
   ============================== */
/* 前台政策列表卡片：等高、按钮贴底 */
.pm-policy-card { display: flex; flex-direction: column; height: 100%; }
.pm-policy-card .pm-go { margin-top: 14px; }
/* 结论条：符合=浅绿底深绿字（对比度 5.66:1）；不符合=浅灰底深灰字（9.32:1） */
.pm-verdict { border-radius: 14px; padding: 22px 20px; text-align: center; }
.pm-verdict .pv-ico { font-size: 42px; line-height: 1; }
.pm-verdict .pv-title { font-size: 19px; font-weight: 700; margin: 10px 0 6px; }
.pm-verdict.is-ok { background: #e3f4ec; color: #146c43; }
.pm-verdict.is-no { background: #eef1f5; color: #33404f; }


/* ============================================================ */
/* V4.0 首次创业陪跑服务链                                       */
/* ============================================================ */
/* 服务产品卡片（前台「一件事」入口） */
.startup-card { display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm); transition: .18s; }
.startup-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cfdcef; }
.startup-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 21px;
  background: var(--gov-100); color: var(--gov-700); }

/* 环节清单（产品详情里的步骤总览） */
.startup-lines { list-style: none; padding: 0; margin: 0; }
.startup-lines li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--ink-700); }
.startup-lines li:last-child { border-bottom: 0; }
.sl-no { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gov-100); color: var(--gov-800); font-size: 11.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }

/* 档案概要 / 进度 / 键值标签 */
.startup-summary { border: 1px solid var(--line); }
.startup-progress { height: 8px; background: #eef1f6; border-radius: 999px; }
.startup-progress .progress-bar { background: linear-gradient(90deg, var(--gov-600), var(--gov-500)); font-size: 10px; }
.sd-label { font-size: 11.8px; color: var(--ink-500); margin-bottom: 2px; }

/* 办理进度时间轴 */
.startup-timeline { position: relative; }
.st-item { display: flex; gap: 12px; padding: 10px 0; }
.st-no { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
  background: #eef1f6; color: var(--ink-500); border: 2px solid transparent; }
.st-item.is-done .st-no { background: #e3f4ec; color: #146c43; border-color: #bfe3cf; }
.st-item.is-cur  .st-no { background: var(--gov-100); color: var(--gov-800); border-color: #b9d0ef; }
.st-item.is-doing .st-no { background: #fbf3dd; color: #8a6508; border-color: #ecd9a6; }
.st-body { flex: 1 1 auto; min-width: 0; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.st-item:last-child .st-body { border-bottom: 0; }
.st-title { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.st-act { flex: 0 0 auto; text-align: right; }

/* 轻量表格 */
.startup-table { font-size: 13px; }

/* 机构详情卡（下拉选中后就地展开） */
.su-dcard { border: 1px solid #cfdcef; background: #fbfdff; border-radius: var(--radius); padding: 14px 16px; }
.su-dhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.su-dico { flex: 0 0 auto; font-size: 12px; background: var(--gov-100); color: var(--gov-800);
  border-radius: 999px; padding: 3px 10px; }
.su-dname { font-size: 15px; font-weight: 700; color: var(--ink-900); }
.su-empty { color: var(--ink-500); font-size: 13px; background: #f6f8fb; border: 1px dashed var(--line);
  border-radius: 10px; padding: 16px; text-align: center; }

/* 优惠措施清单（金左线，浅底深字，对比度达标） */
.benefit-row { display: flex; flex-direction: column; gap: 2px; padding: 7px 10px;
  background: #fffaf0; border-left: 3px solid var(--gold-500); border-radius: 0 8px 8px 0; margin-bottom: 6px; }
.benefit-row:last-child { margin-bottom: 0; }
.bf-title { font-size: 13px; font-weight: 600; color: #8a6508; }
.bf-text { font-size: 12.4px; color: var(--ink-700); }

/* 建议清单（导师端勾选 / 用户端只读） */
.advice-box { background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.advice-pick { display: flex; flex-direction: column; gap: 6px; }
.advice-chk { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px;
  cursor: pointer; transition: .15s; }
.advice-chk:hover { border-color: var(--gov-500); }
.advice-chk input { margin-top: 2px; accent-color: var(--gov-600); }

/* 单选：地址来源 / 办理方式（自主办理 · 委托代办） */
.addr-pick { display: inline-flex; align-items: center; gap: 7px; font-size: 13.2px; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  margin: 0 8px 8px 0; cursor: pointer; transition: .15s; }
.addr-pick:hover { border-color: var(--gov-500); }
.addr-pick input { accent-color: var(--gov-600); }

/* 服务过程记录 / 时点提醒记录 */
.track-item { border-left: 3px solid var(--gov-100); padding: 6px 0 6px 12px; margin-bottom: 8px; }
.track-item:last-child { margin-bottom: 0; }
.remind-item { background: #fffaf0; border: 1px solid #f0e0b8; border-radius: 9px; padding: 9px 12px;
  font-size: 12.8px; color: var(--ink-700); margin-bottom: 6px; }
.remind-item:last-child { margin-bottom: 0; }

@media (max-width: 767.98px) {
  .startup-card { padding: 14px; }
  .st-item { gap: 9px; padding: 8px 0; }
  .st-no { flex: 0 0 26px; width: 26px; height: 26px; font-size: 12px; }
  .st-item .st-act { flex: 0 0 100%; text-align: left; padding-top: 4px; }
  .st-item { flex-wrap: wrap; }
  .addr-pick { flex: 1 1 100%; margin-right: 0; }
  .su-dcard { padding: 12px; }
}

/* =============================================================
   V4.1 扫码登录入口（登录页）+ 通知渠道页补充样式
   ============================================================= */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  color: var(--ink-500);
  font-size: 12px;
  white-space: nowrap;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.btn-scan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-scan .bs-hint {
  font-weight: 400;
  font-size: 12px;
  opacity: .72;
  margin-left: 2px;
}
.btn-scan.is-wechat {
  background: #e8f8ec;
  color: #0f7a3d;
  border-color: #bfe7cb;
}
.btn-scan.is-wechat:hover {
  background: #0aa14a;
  color: #fff;
  border-color: #0aa14a;
}
.btn-scan.is-wework {
  background: #e9f0fb;
  color: var(--gov-700);
  border-color: #c9dcf7;
}
.btn-scan.is-wework:hover {
  background: var(--gov-600);
  color: #fff;
  border-color: var(--gov-600);
}
@media (max-width: 575.98px) {
  .btn-scan { flex-wrap: wrap; }
  .btn-scan .bs-hint { flex: 1 1 100%; margin-left: 0; text-align: center; }
}

/* ============================================================
 * v1.11.0 顶栏「回协会首页」
 * 本系统主运行位是 www.xmiea.cn/pp/，与官网同域；独立部署时走绝对地址。
 * 门户类页面用 .portal-back（跟随深色顶栏），登录类页面用 .auth-back（固定左上角）。
 * ============================================================ */
.portal-back {
  display: inline-flex; align-items: center; gap: 1px;
  margin-right: 14px; padding: 5px 13px 5px 7px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px;
  color: #fff; font-size: 13px; line-height: 1.2; text-decoration: none;
  white-space: nowrap; background: rgba(255,255,255,.06);
  transition: background .18s, border-color .18s;
}
.portal-back i { font-size: 16px; }
.portal-back:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff; }
@media (max-width: 575.98px) { .portal-back { display: none; } }

.auth-back {
  position: fixed; top: 16px; left: 18px; z-index: 30;
  display: inline-flex; align-items: center; gap: 1px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-size: 13px; line-height: 1.2; text-decoration: none;
  background: rgba(15,35,60,.42);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .18s;
}
.auth-back i { font-size: 16px; }
.auth-back:hover { background: rgba(255,255,255,.2); color: #fff; }
