:root {
  --teal: #00a99d;
  --teal-dark: #007f76;
  --teal-soft: #e6f7f5;
  --teal-tint: #f0faf8;
  --ink: #171717;
  --ink-2: #3d3d3d;
  --ink-3: #707070;
  --line: #e8eeee;
  --gold: #d4a24a;
  --paper: #ffffff;
  --soft: #f7fafa;
  --shadow: 0 10px 28px rgba(0, 169, 157, .11), 0 2px 8px rgba(20, 40, 45, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.progress-bar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}
.progress-bar .fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  box-shadow: 0 0 12px rgba(0, 169, 157, .5);
}

.site-shell {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 24px 44px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 18%, rgba(255,255,255,.18), transparent 30%),
    radial-gradient(circle at 10% 95%, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(135deg, #00a99d 0%, #008b81 55%, #00645d 100%);
}
.review-menu,
.group-menu {
  position: absolute;
  z-index: 3;
  top: 18px;
  color: var(--ink);
}
.review-menu {
  right: 18px;
  width: min(390px, calc(100% - 36px));
}
.group-menu {
  left: 18px;
  width: min(320px, calc(100% - 36px));
}
.review-menu summary,
.group-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  margin-left: auto;
  width: max-content;
  border-radius: 999px;
  color: #fff;
  list-style: none;
  cursor: pointer;
  user-select: none;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 8px 22px rgba(0, 55, 51, .16);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}
.group-menu summary {
  margin-left: 0;
}
.review-menu summary::-webkit-details-marker,
.group-menu summary::-webkit-details-marker { display: none; }
.review-menu[open],
.group-menu[open] {
  z-index: 100;
}
.review-options {
  margin-top: 8px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,169,157,.16);
  box-shadow: 0 18px 46px rgba(0, 55, 51, .24);
}
.review-menu[open] .review-options {
  position: fixed;
  z-index: 101;
  top: 62px;
  right: max(18px, calc((100vw - 760px) / 2 + 18px));
  width: min(390px, calc(100vw - 36px));
  max-height: calc(100vh - 78px);
  overflow: auto;
}
.group-options {
  margin-top: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,169,157,.16);
  box-shadow: 0 18px 46px rgba(0, 55, 51, .24);
}
.group-menu[open] .group-options {
  position: fixed;
  z-index: 101;
  top: 62px;
  left: max(18px, calc((100vw - 760px) / 2 + 18px));
  width: min(320px, calc(100vw - 36px));
  max-height: calc(100vh - 78px);
  overflow: auto;
}
.group-options a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink-2);
}
.group-options a + a { margin-top: 4px; }
.group-options a.current {
  color: var(--teal-dark);
  background: var(--teal-tint);
}
.group-options strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}
.group-options span {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}
.calendar-panel {
  display: grid;
  gap: 14px;
}
.calendar-title {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar-weekdays {
  margin-bottom: 5px;
  color: var(--ink-3);
  font-size: 11px;
  text-align: center;
}
.calendar-grid a,
.calendar-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1;
}
.calendar-grid .muted {
  color: #b9c5c3;
  background: #f6f9f8;
}
.calendar-grid .empty {
  background: transparent;
}
.calendar-grid a.has-report {
  color: var(--teal-dark);
  font-weight: 800;
  background: var(--teal-tint);
  border: 1px solid rgba(0,169,157,.18);
}
.calendar-grid a.has-report.current {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 5px 13px rgba(0,169,157,.28);
}
.calendar-hint {
  padding-top: 2px;
  color: var(--ink-3);
  font-size: 11.5px;
  text-align: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
}
.hero::before { width: 260px; height: 260px; right: -92px; top: -92px; }
.hero::after { width: 190px; height: 190px; left: -74px; bottom: -76px; }
.wave-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  opacity: .9;
  font-size: 13px;
  letter-spacing: 2px;
}
.hero h1 {
  position: relative;
  margin: 0 0 15px;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.25;
  letter-spacing: -.5px;
}
.hero .sub {
  position: relative;
  max-width: 610px;
  margin: 0;
  opacity: .92;
  font-size: 15px;
  line-height: 1.85;
}
.hero-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  font-size: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}

.anchors {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  white-space: nowrap;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar { display: none; }
.anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13px;
}
.anchors a.active,
.anchors a:first-child {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 5px 14px rgba(0,169,157,.25);
}

main { padding: 22px 18px 14px; }
section { margin: 32px 0 0; }
.open-card {
  margin-top: 0;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-tint), #fff);
  border: 1px solid var(--teal-soft);
  box-shadow: var(--shadow);
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.open-card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.source-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12.5px;
  line-height: 1.65;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0,169,157,.38);
}
h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.2px;
}
.count {
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-3);
  font-size: 12px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat {
  padding: 14px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.03);
}
.stat .num {
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.stat .name { color: var(--ink-3); font-size: 12px; margin-top: 4px; }

.card {
  position: relative;
  margin-bottom: 13px;
  padding: 17px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(18, 40, 44, .035);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
}
.card.gold::before { background: var(--gold); }
.row-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
}
.badge {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 4px 12px rgba(0,169,157,.26);
}
.badge.gold { background: linear-gradient(135deg, #d4a24a, #a88134); }
h3 {
  margin: 1px 0 0;
  font-size: 17px;
  line-height: 1.48;
}
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.insight-grid {
  display: grid;
  gap: 11px;
}
.insight {
  display: grid;
  gap: 7px;
  padding: 14px 15px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(18, 40, 44, .035);
}
.insight strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
.insight span {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-tint);
  border: 1px solid rgba(0,169,157,.14);
  font-size: 12px;
  font-weight: 700;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13.5px;
  border-left: 3px solid var(--teal);
}
.quote {
  margin: 12px 0 0;
  padding: 12px 14px 12px 39px;
  border-radius: 11px;
  background: var(--teal-tint);
  color: var(--ink);
  font-size: 14px;
  font-family: Georgia, "Songti SC", serif;
  line-height: 1.75;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  left: 12px;
  top: 0;
  color: var(--teal);
  font-size: 42px;
  opacity: .55;
}
.hl {
  color: var(--teal-dark);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(0,169,157,.18) 62%);
  padding: 0 2px;
}
ul.clean {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.clean li {
  position: relative;
  padding: 7px 0 7px 20px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 14.5px;
}
ul.clean li:last-child { border-bottom: none; }
ul.clean li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,169,157,.13);
}

.archive-list {
  display: grid;
  gap: 12px;
}
.day-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.day-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18, 40, 44, .035);
}
.day-link strong {
  display: block;
  color: var(--teal-dark);
  font-size: 16px;
  line-height: 1.35;
}
.day-link span {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.55;
}
.day-link.current {
  border-color: rgba(0,169,157,.35);
  background: linear-gradient(135deg, var(--teal-tint), #fff);
}
.archive-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18, 40, 44, .035);
}
.archive-date {
  display: grid;
  place-items: center;
  border-radius: 13px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-soft), #fff);
  color: var(--teal-dark);
}
.archive-date .md { font-size: 22px; font-weight: 800; line-height: 1.1; }
.archive-date .year { font-size: 11px; color: var(--ink-3); }
.archive-body h3 { margin-bottom: 5px; }
.archive-body p { margin: 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.65; }

.resource,
.action {
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.resource b { color: var(--teal-dark); }
.check {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  border: 2px solid var(--teal);
  margin-top: 2px;
  background: var(--teal-tint);
}

.footer-wave { margin-top: 34px; line-height: 0; overflow: hidden; }
.footer-wave svg { display: block; width: 100%; height: 58px; }
footer {
  padding: 22px 18px 36px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
}
footer .line {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 8px;
  vertical-align: middle;
  background: var(--line);
}
footer .icp-link {
  display: inline-block;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
}
footer .icp-link:hover { color: var(--teal-dark); text-decoration: underline; }

@media (max-width: 520px) {
  .site-shell { max-width: 100%; }
  .hero { padding: 66px 20px 38px; }
  .review-menu { top: 12px; right: 12px; width: min(340px, calc(100% - 24px)); }
  .group-menu { top: 12px; left: 12px; width: min(260px, calc(100% - 24px)); }
  .review-menu[open] .review-options {
    top: 54px;
    right: 12px;
    width: calc(100vw - 24px);
  }
  .group-menu[open] .group-options {
    top: 54px;
    left: 12px;
    width: calc(100vw - 24px);
  }
  main { padding: 20px 14px 10px; }
  .archive-card { grid-template-columns: 78px 1fr; }
  .day-nav { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
