﻿:root {
  --ink: #17212f;
  --muted: #627083;
  --line: #dce3ec;
  --soft: #f5f7fa;
  --panel: #ffffff;
  --brand: #2f6f73;
  --brand-2: #865d36;
  --accent: #b94234;
  --violet: #5a5f9e;
  --ok: #24724f;
  --warn: #9a641b;
  --risk: #aa2f2a;
  --shadow: 0 16px 34px rgba(24, 38, 56, .11);
  --radius: 8px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #eef2f5;
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 34px;
  background: rgba(23, 33, 47, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f6f73, #b94234);
  color: #fff;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 980px; }
.nav a {
  padding: 7px 10px;
  color: #dbe6f1;
  border-radius: 6px;
  font-size: 13px;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.1); color: #fff; }

.page-hero {
  padding: 54px 48px 36px;
  color: #fff;
  background: #17212f;
}
.page-hero .eyebrow {
  color: #b9c6d6;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.page-hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}
.page-hero p {
  max-width: 980px;
  margin: 14px 0 0;
  color: #dce7ef;
  font-size: 17px;
}

.wrap { padding: 38px 48px 56px; }
.section { margin: 0 0 34px; }
.section-head { margin-bottom: 18px; }
.kicker { color: var(--brand); font-weight: 800; font-size: 13px; margin-bottom: 6px; }
h2 { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
p { margin: 0 0 12px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(25, 38, 55, .04);
}
.band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.note {
  border-left: 4px solid var(--accent);
  background: #fff7f5;
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
}
.quote {
  font-family: var(--mono);
  font-size: 13px;
  background: #17212f;
  color: #e8eef5;
  border-radius: 8px;
  padding: 16px;
  white-space: pre-wrap;
  overflow-x: auto;
}
.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  border: 1px solid #d8e0e8;
  color: var(--muted);
  background: #f8fafc;
}
.badge.ok { color: var(--ok); border-color: #b9ddca; background: #edf7f1; }
.badge.warn { color: var(--warn); border-color: #ead2a5; background: #fff7e8; }
.badge.risk { color: var(--risk); border-color: #e5bab8; background: #fff0ef; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
th, td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
th { background: #edf2f6; font-weight: 800; color: #263547; }
tr:last-child td { border-bottom: 0; }

.screen {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.screen-head {
  height: 42px;
  background: #edf2f6;
  border-bottom: 1px solid #dbe3ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 12px;
  color: var(--muted);
}
.screen-body { padding: 16px; min-height: 360px; background: #f8fafc; }
.dash-grid { display: grid; grid-template-columns: 150px 1fr; gap: 14px; }
.side-menu { display: grid; gap: 8px; align-content: start; }
.side-menu div { height: 30px; border-radius: 6px; background: #e5ebf2; }
.side-menu div.active { background: #2f6f73; }
.content-grid { display: grid; gap: 12px; }
.mini-card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  padding: 12px;
}
.rowline {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr .7fr;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 12px;
}
.rowline:last-child { border-bottom: 0; }
.bar { height: 9px; border-radius: 99px; background: #dce3ec; margin: 8px 0; }
.bar.teal { background: #2f6f73; width: 78%; }
.bar.brown { background: #865d36; width: 58%; }
.bar.red { background: #b94234; width: 42%; }

.flow { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 10px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  min-height: 120px;
}
.flow-step strong { display: block; margin-bottom: 6px; }
.flow-step span { color: var(--muted); font-size: 13px; }

.stack {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.stack-title {
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  padding: 13px;
  font-weight: 800;
}
.stack-title.dark { background: #17212f; }
.stack-title.brown { background: var(--brand-2); }
.stack-title.red { background: var(--accent); }
.stack-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}
.stack-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 10px;
  font-size: 13px;
}

.site-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.site-link {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  min-height: 96px;
  box-shadow: 0 6px 16px rgba(25, 38, 55, .04);
}
.site-link strong { display: block; margin-bottom: 5px; }
.site-link span { color: var(--muted); font-size: 13px; }

.footer {
  background: #17212f;
  color: #dce7ef;
  padding: 30px 48px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .grid-3, .grid-4, .site-map { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: 1fr; }
  .stack-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .topbar { height: auto; align-items: flex-start; padding: 14px 18px; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .page-hero, .wrap, .footer { padding-left: 18px; padding-right: 18px; }
  .page-hero h1 { font-size: 32px; }
  .grid-2, .grid-3, .grid-4, .site-map { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .side-menu { display: none; }
  .rowline { grid-template-columns: 1fr; }
}


