* { box-sizing: border-box; }
body {
  margin: 0;
  background: #dfe8ea;
  color: #1a1a1a;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

.portal-top {
  background: #0d7377;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}
.pill-nav { display: flex; gap: 8px; }
.pill-nav a {
  color: #dff6f6;
  text-decoration: none;
  border: 1px solid #7ec8c8;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
}
.pill-nav a.is-on { background: #fff; color: #0d7377; border-color: #fff; }

.center-hero {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
  padding: 36px 28px 28px;
  border-bottom: 1px solid #c5d5d6;
}
.center-hero h1 { margin: 0 0 12px; font-size: 26px; }
.center-hero p { margin: 0 auto 16px; max-width: 640px; text-align: left; }
.teal-btn, .line-btn {
  display: inline-block;
  padding: 9px 16px;
  text-decoration: none;
  margin: 0 6px 8px;
}
.teal-btn { background: #0d7377; color: #fff; }
.line-btn { border: 1px solid #0d7377; color: #0d7377; }

.sheet {
  max-width: 860px;
  margin: 0 auto 0;
  background: #fff;
  padding: 8px 28px 32px;
}
.sheet section { padding: 20px 0 8px; border-top: 1px solid #e2ecec; }
.sheet h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #0d7377;
  text-align: center;
}
table.matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 14px;
}
table.matrix th, table.matrix td {
  border: 1px solid #b7d4d4;
  padding: 8px;
  text-align: left;
}
table.matrix th { background: #0d7377; color: #fff; }
table.matrix td.ok { background: #eef8f8; }
.qbox { background: #f3fafa; padding: 10px 12px; margin-bottom: 12px; }
.qbox h3 { margin: 0 0 6px; font-size: 16px; }
.colophon {
  max-width: 860px;
  margin: 0 auto 40px;
  background: #14393b;
  color: #cfe8e8;
  padding: 18px 24px 24px;
  font-size: 13px;
}
.colophon a { color: #9ee6e6; }

@media (max-width: 720px) {
  .portal-top { flex-direction: column; gap: 10px; }
  .sheet, .center-hero, .portal-top, .colophon { max-width: 100%; }
}
