/* ==========================================================================
   weixinqun.cc — 房间管理988888
   骨架：后台控制台（浅色工具栏 + KPI 卡片 + 数据表 + SOP 时间线）
   ========================================================================== */

body.page-fangjian {
  background: #eef3f9;
  color: #14283d;
}

body.page-fangjian .site-header { background: rgba(255, 255, 255, .95); }
body.page-fangjian .brand-mark { background: #0f2942; color: #7dd3fc; }
body.page-fangjian .site-nav a.is-active { color: #0369a1; box-shadow: inset 0 -2px 0 #0ea5e9; }
body.page-fangjian .site-nav a:hover { background: #e0f2fe; }
body.page-fangjian .btn-login { background: #0f2942; color: #e0f2fe; box-shadow: 0 6px 16px rgba(15, 41, 66, .2); }

/* ---------- Hero ---------- */
.dash-hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(14, 165, 233, .14), transparent 62%),
    linear-gradient(180deg, #f6faff, #eef3f9);
  border-bottom: 1px solid #dbe6f1;
}
.dash-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 44px;
  align-items: center;
}
.dash-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0369a1;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
}
.dash-hero h1 {
  margin-top: 16px;
  font-size: clamp(33px, 4.6vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
  color: #0b2134;
}
.dash-hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 500;
  color: #0369a1;
  letter-spacing: 0;
}
.dash-hero p.dash-lead {
  margin-top: 16px;
  max-width: 540px;
  font-size: 14.3px;
  line-height: 1.95;
  color: #48627a;
}
.dash-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dash-actions .btn-primary { background: #0f2942; color: #fff; box-shadow: 0 12px 26px rgba(15, 41, 66, .18); }
.dash-actions .btn-room { border-color: #b6c9db; color: #1e3a52; }
.dash-actions .btn-room b { color: #0369a1; }
.dash-hero figure img { width: 100%; border-radius: 14px; border: 1px solid #cfe0ee; box-shadow: 0 24px 60px rgba(15, 41, 66, .14); }
.dash-hero figcaption { margin-top: 10px; text-align: right; font-family: var(--mono); font-size: 10.5px; color: #7c93a8; letter-spacing: .8px; }

/* ---------- 顶部工具栏（页内锚点） ---------- */
.dash-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dbe6f1;
}
.dash-bar-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 9px 0;
  scrollbar-width: none;
}
.dash-bar-inner::-webkit-scrollbar { display: none; }
.dash-bar-inner a {
  flex: none;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #48627a;
  white-space: nowrap;
  font-family: var(--mono);
  letter-spacing: .3px;
  transition: background .18s, color .18s;
}
.dash-bar-inner a:hover { background: #e8f3fb; color: #0b2134; }
.dash-bar-inner .bar-label {
  flex: none;
  margin-right: 10px;
  padding-right: 12px;
  border-right: 1px solid #dbe6f1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #7c93a8;
}

/* ---------- 内容 ---------- */
.dash-sec { padding: 54px 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.dash-sec h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.4px;
  color: #0b2134;
}
.dash-sec .kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.7px;
  color: #0369a1;
  text-transform: uppercase;
}
.dash-sec .kicker + h2 { margin-top: 10px; }
.dash-sec p.lead { margin-top: 10px; font-size: 14px; line-height: 1.95; color: #48627a; max-width: 720px; }

/* ---------- KPI ---------- */
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dash-kpi {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe6f1;
  box-shadow: 0 2px 8px rgba(15, 41, 66, .04);
}
.dash-kpi span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px; color: #7c93a8; }
.dash-kpi strong {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: #0b2134;
  line-height: 1.1;
}
.dash-kpi em { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: #15803d; }
.dash-kpi em.warn { color: #b45309; }

/* ---------- 信息卡 ---------- */
.info-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 30px;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe6f1;
  align-items: start;
}
.info-card p { font-size: 13.8px; line-height: 2; color: #48627a; }
.info-card p + p { margin-top: 12px; }
.info-card strong { color: #0b2134; }
.info-list { display: grid; gap: 0; }
.info-list div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed #dbe6f1;
  font-size: 13px;
}
.info-list div:last-child { border-bottom: 0; }
.info-list dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: #7c93a8; padding-top: 2px; }
.info-list dd { color: #14283d; font-weight: 600; }

/* ---------- 表格 ---------- */
.dash-table-wrap { border-radius: 14px; overflow: hidden; border: 1px solid #dbe6f1; background: #fff; margin-top: 22px; }
.dash-table-scroll { overflow-x: auto; }
.dash-table { min-width: 600px; }
.dash-table th, .dash-table td { padding: 13px 18px; text-align: left; font-size: 13px; border-bottom: 1px solid #eef3f9; color: #334e66; }
.dash-table thead th { background: #f6faff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: #7c93a8; font-weight: 600; }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover { background: #fafdff; }
.dash-table td strong { color: #0b2134; }
.dash-table td code {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef6fd;
  color: #0369a1;
}
.dash-table .yes { color: #15803d; font-weight: 700; }
.dash-table .no { color: #b91c1c; font-weight: 700; }
.dash-table .part { color: #b45309; font-weight: 700; }

/* ---------- 状态 pill ---------- */
.pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .3px;
}
.pill.ok { background: #dcfce7; color: #15803d; }
.pill.warn { background: #fef3c7; color: #b45309; }
.pill.bad { background: #fee2e2; color: #b91c1c; }
.pill.info { background: #e0f2fe; color: #0369a1; }

/* ---------- 流程 ---------- */
.dash-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.dash-flow article {
  position: relative;
  padding: 22px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe6f1;
}
.dash-flow article::before {
  content: attr(data-step);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: #0ea5e9;
}
.dash-flow h3 { margin-top: 8px; font-size: 15px; font-weight: 800; color: #0b2134; }
.dash-flow p { margin-top: 7px; font-size: 12.7px; line-height: 1.8; color: #48627a; }
.dash-flow article::after {
  content: "→";
  position: absolute;
  right: 12px; top: 18px;
  font-family: var(--mono);
  color: #b6c9db;
}
.dash-flow article:last-child::after { display: none; }

/* ---------- 图表卡 ---------- */
.chart-card {
  margin-top: 22px;
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe6f1;
}
.chart-card .chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; }
.chart-card .chart-head h3 { font-size: 15px; font-weight: 800; color: #0b2134; }
.chart-card .chart-head span { font-family: var(--mono); font-size: 10.5px; color: #7c93a8; letter-spacing: 1px; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 190px;
  margin-top: 22px;
  padding-top: 10px;
  border-bottom: 1px solid #dbe6f1;
}
.bars .bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bars .bar {
  width: 100%;
  max-width: 46px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  transition: height .6s ease;
}
.bars .bar-col:nth-child(even) .bar { background: linear-gradient(180deg, #7dd3fc, #0ea5e9); }
.bars .bar-col b { font-family: var(--mono); font-size: 9.5px; color: #7c93a8; font-weight: 500; }
.bars-axis { display: flex; gap: 14px; margin-top: 8px; }
.bars-axis span { flex: 1; text-align: center; font-family: var(--mono); font-size: 9.5px; color: #93a9bc; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 12px; color: #48627a; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #0ea5e9; margin-right: 6px; vertical-align: -1px; }
.chart-legend i.alt { background: #7dd3fc; }

/* ---------- SOP 时间线 ---------- */
.sop { position: relative; margin-top: 22px; padding-left: 24px; }
.sop::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #bae6fd; }
.sop article { position: relative; padding: 0 0 24px 16px; }
.sop article:last-child { padding-bottom: 0; }
.sop article::before {
  content: "";
  position: absolute;
  left: -24px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0ea5e9;
}
.sop .sop-time { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: #0369a1; }
.sop h3 { margin-top: 4px; font-size: 15px; font-weight: 800; color: #0b2134; }
.sop p { margin-top: 5px; font-size: 13px; line-height: 1.85; color: #48627a; }

/* ---------- 对照 ---------- */
.dash-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.dash-compare article { padding: 24px; border-radius: 14px; background: #fff; border: 1px solid #dbe6f1; }
.dash-compare article.accent { background: #0f2942; border-color: #0f2942; color: #d7e6f2; }
.dash-compare h3 { font-size: 15.5px; font-weight: 800; color: #0b2134; }
.dash-compare article.accent h3 { color: #fff; }
.dash-compare ul { margin-top: 14px; display: grid; gap: 9px; }
.dash-compare li { position: relative; padding-left: 17px; font-size: 12.8px; line-height: 1.8; color: #48627a; }
.dash-compare article.accent li { color: #b7cddd; }
.dash-compare li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #0ea5e9; }

/* ---------- FAQ ---------- */
.dash-faq .acc-list { border-top-color: #dbe6f1; }
.dash-faq .acc-item { border-bottom-color: #dbe6f1; }
.dash-faq .acc-trigger { color: #0b2134; }
.dash-faq .acc-panel { color: #48627a; }
.dash-faq .acc-item.is-open .acc-trigger::after { color: #0369a1; }

/* ---------- 相关 / CTA ---------- */
.dash-related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.dash-related a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dbe6f1;
  font-size: 13.3px;
  font-weight: 600;
  color: #14283d;
  transition: border-color .2s, transform .2s;
}
.dash-related a:hover { border-color: #7dd3fc; transform: translateX(3px); }
.dash-related em { font-style: normal; font-family: var(--mono); font-size: 11px; color: #0369a1; }

.dash-cta {
  margin-bottom: 54px;
  padding: 34px;
  border-radius: 18px;
  background: radial-gradient(500px 300px at 90% 20%, rgba(14, 165, 233, .18), transparent 66%), #0f2942;
  color: #d7e6f2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 26px;
  align-items: center;
}
.dash-cta h2 { font-size: 24px; font-weight: 900; color: #fff; line-height: 1.35; }
.dash-cta p { margin-top: 10px; font-size: 13.3px; color: #a9c3d7; line-height: 1.9; }
.dash-cta .cta-actions { display: grid; gap: 11px; justify-items: start; }
.dash-cta .btn-primary { background: #38bdf8; color: #052030; }
.dash-cta .tg-link { border-color: rgba(215, 230, 242, .3); color: #e6f4ff; }
.dash-cta .tg-link:hover { border-color: #7dd3fc; background: rgba(125, 211, 252, .1); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .dash-hero-grid { grid-template-columns: 1fr; }
  .dash-hero figure { order: -1; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .info-card { grid-template-columns: 1fr; }
  .dash-flow { grid-template-columns: 1fr 1fr; }
  .dash-compare { grid-template-columns: 1fr; }
  .dash-cta { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .dash-sec { padding: 42px 0; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-flow { grid-template-columns: 1fr; }
  .dash-flow article::after { display: none; }
  .dash-related { grid-template-columns: 1fr; }
  .dash-actions .btn { width: 100%; }
  .bars { gap: 8px; height: 160px; }
  .bars-axis { gap: 8px; }
  .chart-card { padding: 20px; }
  .dash-cta { padding: 24px; }
  .info-card { padding: 22px; }
  .info-list div { grid-template-columns: 92px minmax(0, 1fr); }
}
