:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --panel: #ffffff;
  --line: #dbe4ef;
  --text: #1f2937;
  --muted: #64748b;
  --blue: #0f6bff;
  --green: #16a34a;
  --dark: #172033;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
code {
  padding: 1px 6px;
  border-radius: 5px;
  background: #eef3fa;
  color: #334155;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(245,248,252,0.96), rgba(245,248,252,0.78)),
    url("../media/projects/bridge_常泰.png") center/cover no-repeat;
}

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  color: #1e293b;
  font-size: 19px;
  font-weight: 860;
  letter-spacing: 0;
}

.links,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.links a,
.primary,
.secondary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 780;
}

.links a { color: var(--muted); }
.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff !important;
}
.secondary {
  border: 1px solid #b8c9df;
  background: #fff;
  color: #334155;
}
.large {
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
}

.hero {
  min-height: 100vh;
}

.hero-grid {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.copy {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 650;
}

.actions { margin-top: 30px; }

.panel,
.cards article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.panel { overflow: hidden; }

.panel-head {
  min-height: 58px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--dark);
  color: #fff;
}

.panel-head span,
#statusPill {
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 780;
}

.check-list {
  display: grid;
  padding: 18px;
}

.check-list div {
  display: grid;
  grid-template-columns: auto 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #eef2f7;
}

.check-list div:last-child { border-bottom: 0; }
.check-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.check-list strong {
  color: #334155;
  font-size: 14px;
}
.check-list em {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}

.sidebar {
  padding: 20px 14px;
  background: var(--dark);
  color: #dbe6f4;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar .brand { color: #fff; }
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar button,
.sidebar nav a {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 760;
}
.sidebar nav a {
  display: flex;
  align-items: center;
}
.sidebar button.active {
  background: #263752;
  color: #fff;
}
.sidebar p {
  margin: auto 0 0;
  color: #aebcd0;
  font-size: 13px;
  line-height: 1.55;
}

.work-main {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.work-head {
  min-height: 74px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.work-head h1 {
  font-size: 26px;
}
.work-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cards article {
  min-height: 130px;
  padding: 16px;
}
.cards span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.cards strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  font-size: 24px;
  line-height: 1.15;
}
.cards p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.wide-panel {
  box-shadow: none;
}

.roadmap {
  padding: 18px;
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 15px;
  font-weight: 720;
}

@media (max-width: 900px) {
  .topbar,
  .work-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-grid,
  .workspace,
  .cards {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .hero-grid {
    width: min(100vw - 28px, 1180px);
    padding: 50px 0;
  }
  .check-list div {
    grid-template-columns: auto 1fr;
  }
  .check-list em {
    grid-column: 2;
  }
}
