:root {
  color-scheme: light;
  --ink: #2a1723;
  --muted: #766971;
  --line: #ead9e3;
  --paper: #fff7fb;
  --surface: #ffffff;
  --accent: #b52e70;
  --accent-soft: #fbe6f0;
  --amber: #a05a12;
  --amber-soft: #fff2df;
  --red: #a03a31;
  --red-soft: #fbe9e7;
  --shadow: 0 18px 60px rgba(85, 25, 56, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255, 247, 251, .92);
  border-bottom: 1px solid rgba(234, 217, 227, .88);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: block; width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 5px 16px rgba(89,24,58,.18); }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
nav { display: flex; gap: 22px; font-size: 14px; }
nav a { text-decoration: none; color: #58464f; }
nav a:hover { color: var(--accent); }
.github-star { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 14px rgba(89,24,58,.14); }
.github-star:hover { border-color: var(--accent); background: var(--accent); }
.github-star > span:first-child { color: #ff9ec8; font-size: 14px; }
.star-short { display: none; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.hero { padding-top: 92px; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: clamp(34px, 5vw, 68px); align-items: center; margin-bottom: 42px; }
.hero-copy-panel { min-width: 0; }
.hero-visual { overflow: hidden; width: 100%; margin: 0; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-visual img { display: block; width: 100%; height: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.status-dot { width: 9px; height: 9px; border-radius: 999px; background: #aab3ad; box-shadow: 0 0 0 5px rgba(170,179,173,.15); }
.status-dot.healthy { background: #2e9b60; box-shadow: 0 0 0 5px rgba(46,155,96,.14); }
.status-dot.stale, .status-dot.initializing { background: #d28127; box-shadow: 0 0 0 5px rgba(210,129,39,.14); }
.status-dot.down { background: #c94b40; box-shadow: 0 0 0 5px rgba(201,75,64,.14); }
h1 { max-width: 1120px; margin: 24px 0 22px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.hero-copy { max-width: 700px; margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.freebie-entry { color: var(--accent); font-size: 14px; font-weight: 750; text-underline-offset: 4px; }
.hero-actions small { color: var(--muted); font-size: 12px; }
.usage-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 13px; background: var(--accent); color: white; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(181, 46, 112, .2); transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.usage-link:hover { background: #97245d; box-shadow: 0 10px 26px rgba(181, 46, 112, .26); transform: translateY(-1px); }
.usage-link:focus-visible { outline: 3px solid rgba(181, 46, 112, .24); outline-offset: 3px; }
.hero-status-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: stretch; }
.current-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.current-card.high { border-left: 6px solid var(--red); }
.current-card.medium { border-left: 6px solid var(--amber); }
.current-card.low, .current-card.clear { border-left: 6px solid var(--accent); }
.signal-kicker, .section-index { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.current-card h2 { margin: 7px 0 8px; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; }
.current-card p { max-width: 760px; margin: 0; color: var(--muted); }
.reset-clock { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 28px; border-radius: 22px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.reset-clock .signal-kicker { color: #f2a4c6; }
.reset-clock strong { display: block; margin: 12px 0 9px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.reset-clock small { color: #d9bdca; line-height: 1.45; }
.reset-clock.error strong { font-size: 19px; }
.reset-phase { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; font-size: 11px; font-weight: 750; }
.reset-phase span:first-child { padding: 4px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.07); }
.reset-phase span:last-child { color: #d9bdca; white-space: nowrap; }
.reset-progress { overflow: hidden; height: 6px; margin: 9px 0 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.reset-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #ef9dc2; transition: width .8s ease, background-color .25s ease; }
.reset-clock[data-phase="warming"] .reset-progress i { background: #f17fb2; }
.reset-clock[data-phase="window"] .reset-progress i { background: #ee4f96; }
.reset-clock[data-phase="overdue"] .reset-progress i { background: #ef796e; }
.reset-clock[data-phase="overdue"] .reset-phase span:first-child { border-color: rgba(239,121,110,.35); background: rgba(239,121,110,.12); color: #ffb1aa; }
#reset-clock-context { font-size: 10px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: 999px; background: #f4edf1; color: #604d57; font-size: 12px; font-weight: 700; }
.pill.high { background: var(--red-soft); color: var(--red); }
.pill.medium, .pill.weak { background: var(--amber-soft); color: var(--amber); }
.pill.clear, .pill.A1 { background: var(--accent-soft); color: var(--accent); }
.pill.relay { background: #e7eef5; color: #4d6f91; }
.pill.personal { background: var(--red-soft); color: var(--red); }
.primary-link { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { display: inline; margin: 0 0 0 12px; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.035em; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); text-align: right; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-grid article { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.metric-grid article.accent { background: var(--ink); color: white; border-color: var(--ink); }
.metric-grid strong, .metric-grid span, .metric-grid small { display: block; }
.metric-grid strong { font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.metric-grid span { margin-top: 25px; font-weight: 750; }
.metric-grid small { margin-top: 6px; color: var(--muted); }
.metric-grid .accent small { color: #d9bdca; }
.plain-conclusion { margin: 20px 0 46px; padding: 18px 22px; border-radius: 14px; background: var(--accent-soft); color: #6e2a4c; }
.history-help { margin: -26px 0 26px; color: var(--muted); font-size: 14px; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline-item { overflow: clip; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.timeline-item[open] { box-shadow: var(--shadow); }
.timeline-summary { display: grid; grid-template-columns: 118px minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 22px 24px; cursor: pointer; list-style: none; }
.timeline-summary::-webkit-details-marker { display: none; }
.timeline-summary:hover { background: #fffafd; }
.timeline-date strong { display: block; font-size: 18px; }
.timeline-date span { color: var(--muted); font-size: 13px; }
.timeline-headline { min-width: 0; }
.timeline-title-row { display: flex; align-items: center; gap: 9px; }
.timeline-title-row h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.timeline-headline p { margin: 7px 0 0; color: #5a4952; font-size: 14px; }
.timeline-headline small { display: block; margin-top: 3px; color: var(--accent); font-weight: 700; }
.timeline-toggle { color: var(--accent); font-size: 12px; font-weight: 750; white-space: nowrap; }
.timeline-toggle::after { content: " ↓"; }
.timeline-item[open] .timeline-toggle::after { content: " ↑"; }
.timeline-body { padding: 0 24px 26px 166px; border-top: 1px solid var(--line); }
.outcome-box { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; align-items: center; margin: 22px 0 24px; padding: 15px 17px; border-radius: 13px; background: var(--accent-soft); }
.outcome-box span { color: var(--accent); font-size: 12px; font-weight: 800; }
.outcome-box strong { font-size: 14px; }
.outcome-box time { color: #7d4a63; font-size: 12px; }
.evidence-track { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.evidence-track::before { content: ""; position: absolute; top: 15px; bottom: 15px; left: 9px; width: 1px; background: #e4ceda; }
.evidence-node { position: relative; display: grid; grid-template-columns: 20px 112px minmax(0,1fr); gap: 14px; padding: 0 0 25px; }
.evidence-node:last-child { padding-bottom: 0; }
.evidence-marker { position: relative; z-index: 1; width: 19px; height: 19px; margin-top: 4px; border: 5px solid var(--surface); border-radius: 999px; background: #a996a0; box-shadow: 0 0 0 1px #a996a0; }
.evidence-node.first_party .evidence-marker { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.evidence-node.rumor .evidence-marker, .evidence-node.weak .evidence-marker { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.evidence-node.personal_observation .evidence-marker, .evidence-node.stale .evidence-marker { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.evidence-time { padding-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.evidence-content { min-width: 0; padding-bottom: 1px; }
.evidence-header { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.node-stage { padding: 2px 7px; border-radius: 7px; background: #f4edf1; color: #634e59; font-size: 11px; font-weight: 750; }
.node-stage.first_party { background: var(--accent-soft); color: var(--accent); }
.node-stage.rumor { background: var(--amber-soft); color: var(--amber); }
.node-stage.personal_observation { background: var(--red-soft); color: var(--red); }
.node-role { color: var(--muted); font-size: 11px; }
.timing-badge { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 700; }
.timing-badge.before { color: var(--accent); }
.timing-badge.after { color: var(--red); }
.evidence-content p { margin: 6px 0 4px; color: #5a4952; font-size: 14px; }
.node-link { color: var(--accent); font-size: 12px; font-weight: 750; }
.evidence-missing { color: var(--red); }
.timeline-gaps { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--amber-soft); color: #6e4b25; }
.timeline-gaps strong { font-size: 12px; }
.timeline-gaps p { margin: 5px 0 0; font-size: 13px; }
.community-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.signal-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.signal-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.signal-summary strong, .signal-summary span, .signal-summary small { display: block; }
.signal-summary strong { font-size: 26px; line-height: 1; }
.signal-summary span { margin-top: 10px; font-weight: 750; }
.signal-summary small { margin-top: 3px; color: var(--muted); }
.signal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; }
.signal-filters button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: #58464f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.signal-filters button:hover, .signal-filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.monitor-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.monitor-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 999px; background: #a996a0; }
.legend-dot.official { background: var(--accent); }
.legend-dot.relay { background: #6684a4; }
.legend-dot.rumor { background: var(--amber); }
.legend-dot.personal { background: var(--red); }
.monitor-timeline { position: relative; display: grid; }
.monitor-timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 8px; width: 1px; background: #e4ceda; }
.monitor-node { position: relative; display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 22px; padding: 0 0 24px 32px; }
.monitor-marker { position: absolute; z-index: 1; top: 7px; left: 0; width: 17px; height: 17px; border: 5px solid var(--paper); border-radius: 999px; background: #a996a0; box-shadow: 0 0 0 1px #a996a0; }
.monitor-node.official .monitor-marker { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.monitor-node.relay .monitor-marker { background: #6684a4; box-shadow: 0 0 0 1px #6684a4; }
.monitor-node.rumor .monitor-marker { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.monitor-node.personal .monitor-marker { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.monitor-time { padding-top: 4px; color: var(--muted); font-size: 11px; }
.monitor-body { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.monitor-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.monitor-header h3 { margin: 0; font-size: 17px; }
.monitor-author { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.monitor-body > p { margin: 8px 0; color: #66545e; font-size: 13px; overflow-wrap: anywhere; }
.monitor-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; }
.monitor-meta a { margin-left: auto; color: var(--accent); font-weight: 750; }
.signal-list { display: grid; gap: 13px; }
.signal-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 23px 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.signal-row time { color: var(--muted); font-size: 12px; }
.signal-row h3 { margin: 0 0 5px; font-size: 18px; }
.signal-row p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.signal-row a { color: var(--accent); font-size: 13px; font-weight: 700; }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.source-card { padding: 23px; border-radius: 15px; border: 1px solid var(--line); background: var(--surface); }
.source-card header { display: flex; justify-content: space-between; align-items: center; }
.source-card h3 { margin: 0; font-size: 19px; }
.source-card header small { display: block; margin-top: 2px; color: var(--muted); }
.source-method { margin-bottom: 20px; padding: 20px 22px; border-radius: 14px; background: var(--accent-soft); color: #6e2a4c; }
.source-method p { margin: 6px 0 0; }
.source-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 18px; }
.source-stats div { min-width: 0; padding: 11px 9px; border-radius: 11px; background: #faf2f6; }
.source-stats strong, .source-stats span { display: block; }
.source-stats strong { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.source-stats span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.source-conclusion { margin: 16px 0 0; color: #4f3e47; }
.source-caveat { margin: 8px 0 0; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.watch-source-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.watch-source { padding: 15px 17px; border: 1px dashed var(--line); border-radius: 13px; }
.watch-source strong, .watch-source span { display: block; }
.watch-source span { color: var(--amber); font-size: 11px; font-weight: 750; }
.watch-source p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.system-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; }
.system-card span, .system-card strong, .system-card small { display: block; }
.system-card span { color: var(--muted); font-size: 12px; }
.system-card strong { margin: 9px 0 5px; font-size: 19px; }
.system-card small { color: var(--muted); }
.boundary { margin: 48px 0 80px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: #f8edf2; }
.boundary p { margin: 8px 0 0; color: var(--muted); }
.empty { padding: 24px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }
footer { display: flex; justify-content: space-between; gap: 20px; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 50px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
footer div { display: flex; gap: 18px; }

@media (max-width: 820px) {
  nav { display: none; }
  .header-actions { gap: 0; }
  .star-long { display: none; }
  .star-short { display: inline; }
  section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero-intro { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 520px; transform: none; }
  .hero-status-grid { grid-template-columns: 1fr; }
  .current-card { grid-template-columns: 1fr; align-items: start; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; text-align: left; }
  .metric-grid, .system-grid, .signal-summary { grid-template-columns: repeat(2, 1fr); }
  .timeline-summary { grid-template-columns: 96px minmax(0,1fr); gap: 14px; }
  .timeline-toggle { display: none; }
  .timeline-body { padding-left: 24px; }
  .outcome-box { grid-template-columns: 1fr; gap: 4px; }
  .evidence-node { grid-template-columns: 20px 92px minmax(0,1fr); gap: 10px; }
  .monitor-node { grid-template-columns: 88px minmax(0,1fr); gap: 14px; }
  .source-stats { grid-template-columns: repeat(2,1fr); }
  .watch-source-list { grid-template-columns: 1fr; }
  .signal-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 520px) {
  main, footer { width: min(100% - 28px, 1120px); }
  .site-header { padding-inline: 14px; }
  h1 { font-size: 42px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .usage-link { width: 100%; }
  .metric-grid, .source-grid, .system-grid, .signal-summary { grid-template-columns: 1fr; }
  .current-card { padding: 22px; }
  .timeline-summary { grid-template-columns: 1fr; padding: 19px; }
  .timeline-title-row { align-items: flex-start; }
  .timeline-body { padding: 0 19px 22px; }
  .outcome-box { margin-top: 19px; }
  .evidence-node { grid-template-columns: 20px minmax(0,1fr); }
  .evidence-time { grid-column: 2; padding-top: 0; }
  .evidence-content { grid-column: 2; }
  .timing-badge { margin-left: 0; }
  .monitor-node { grid-template-columns: 1fr; padding-left: 29px; }
  .monitor-time { padding-top: 0; }
  .monitor-author { margin-left: 0; }
  .monitor-meta a { margin-left: 0; }
  footer { display: block; }
  footer div { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Each reset has its own bounded, collapsible evidence track. */
.reset-event { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.reset-event[open] { border-color: var(--accent); box-shadow: 0 5px 20px #b52e7010; }
.reset-event-summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; cursor: pointer; background: var(--accent-soft); list-style: none; }
.reset-event-summary::-webkit-details-marker { display: none; }
.reset-event-summary h3 { margin: 8px 0; font-size: 1.2rem; line-height: 1.45; }
.reset-event-summary p { margin: 0; font-size: .85rem; color: var(--muted); }
.event-eyebrow { font-size: .8rem; color: var(--accent); font-weight: 700; }
.event-toggle { flex-shrink: 0; font-size: .8rem; color: var(--accent); }
.event-toggle::before { content: '+ '; font-weight: 800; }
.reset-event[open] .event-toggle::before { content: '− '; }
.event-track { padding: 12px 24px 24px; }
.monitor-timeline::before { display: none; }
.timeline-item { margin-bottom: 24px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.timeline-item[open] { border-color: var(--accent); }
.reset-event-summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (max-width: 640px) { .reset-event-summary { padding: 18px; gap: 12px; } .event-track { padding: 8px 12px 18px; } .event-toggle { font-size: .7rem; } }
@media (max-width: 640px) {
  .signal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .signal-summary article { padding: 14px; }
  .signal-summary small { font-size: .72rem; }
}

/* Copyable hourly greeting guide. */
#freebie { scroll-margin-top: 88px; }
.freebie-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.freebie-summary { display: flex; align-items: center; margin: 0; padding: 24px; cursor: pointer; list-style: none; }
.freebie-summary::-webkit-details-marker { display: none; }
.freebie-summary h2 { font-size: 24px; }
.freebie-summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 20px; }
.freebie-toggle { flex-shrink: 0; color: var(--accent); font-size: 13px; font-weight: 700; }
.freebie-toggle::before { content: '+ '; }
.freebie-panel[open] .freebie-toggle::before { content: '− '; }
.freebie-panel .when-open, .freebie-panel[open] .when-closed { display: none; }
.freebie-panel[open] .when-open { display: inline; }
.freebie-body { padding: 12px 24px 24px; }
.freebie-intro { max-width: 760px; margin: -12px 0 28px; font-size: 20px; line-height: 1.7; }
.freebie-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.freebie-guide, .freebie-context { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.freebie-guide h3 { margin: 0 0 16px; font-size: 22px; }
.freebie-guide ol { padding-left: 22px; color: var(--muted); }
.freebie-guide li { padding: 0 0 12px 4px; }
.freebie code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; }
.command-panel { min-width: 0; overflow: hidden; color: #fff7fb; background: #2a1723; border-radius: 12px; }
.command-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #ffffff26; font-size: 12px; }
.copy-command { flex-shrink: 0; padding: 7px 11px; border: 1px solid #ffffff50; border-radius: 7px; background: #ffffff12; color: inherit; font: inherit; cursor: pointer; }
.copy-command:hover { background: #ffffff28; }
.copy-command:focus-visible, .command-panel pre:focus-visible { outline: 2px solid #ff9ec8; outline-offset: -2px; }
.command-panel pre { max-width: 100%; overflow-x: auto; margin: 0; padding: 18px; white-space: pre; font-size: 13px; line-height: 1.8; }
.copy-feedback { min-height: 24px; margin: 8px 0; color: var(--accent); font-size: 13px; }
.freebie-path, .freebie-stop { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.freebie-context { background: var(--accent-soft); }
.freebie-context-label { font-size: 13px; font-weight: 800; color: var(--accent); }
.freebie-context figure { margin: 18px 0; }
.freebie-context img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.freebie-context figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.freebie-context p { font-size: 14px; }
.freebie-boundary { padding: 18px; margin: 20px 0; border-radius: 12px; background: white; }
.freebie-boundary strong { color: var(--accent); }
.freebie-boundary p { margin-bottom: 0; }
.site-credit { font-size: 12px; }
footer { flex-wrap: wrap; }
@media (max-width: 800px) {
  .freebie-summary { flex-wrap: wrap; gap: 12px; padding: 20px; }
  .freebie-body { padding: 12px; }
  .freebie-grid { grid-template-columns: minmax(0, 1fr); }
  .freebie-guide, .freebie-context { padding: 20px; }
  .freebie-intro { font-size: 17px; }
}

/* External workflow guide: static, optional, and separate from reset evidence. */
#pedal { scroll-margin-top: 88px; }
.pedal-entry { display: inline-block; color: var(--accent); font-weight: 700; font-size: 14px; }
.pedal-reviewed, .pedal-meta { color: var(--muted); font-size: 12px; }
.pedal-card { min-width: 0; }
.pedal-card h3, .pedal-card a { overflow-wrap: anywhere; }
.pedal-card p { line-height: 1.7; }
.pedal-card a, .pedal-meta a { color: var(--accent); }
.pedal-boundary { margin: 22px 0 12px; line-height: 1.7; }
.pedal-panel a:focus-visible, .pedal-entry:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 520px) {
  .pedal-card { padding: 18px; }
  .pedal-panel .freebie-summary h2 { font-size: 22px; }
}
.notification-capability { font-size: 13px; line-height: 1.65; color: var(--muted, #52645a); border-left: 3px solid #4f7a61; padding-left: 10px; max-width: 42em; }
.token-task { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 ui-monospace, monospace; padding: 14px; background: #f5f4ef; border-radius: 8px; color: #26372d; }
.dingtalk-contact { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }

.site-engagement { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.site-engagement strong { font-variant-numeric: tabular-nums; color: var(--ink, #26372d); }
.site-engagement button { display: inline-flex; gap: 7px; align-items: center; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.site-engagement button:hover:not(:disabled), .site-engagement button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.site-engagement button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-engagement button:disabled { cursor: default; }
.engagement-note { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.engagement-note a { color: var(--accent); }

/* Evidence-backed rollout timing, separate from announcement publication. */
.reset-times { margin-top: 2rem; }
.reset-time-summary { display: flex; flex-wrap: wrap; gap: 1rem; }
.reset-time-card { flex: 1 1 260px; min-width: 0; padding: 1.25rem; border: 1px solid var(--line, #ddd); border-radius: 16px; background: var(--paper, #fffdf7); }
.reset-time-card p { margin: .5rem 0; }
.reset-time-value { font-size: 1.05rem; font-weight: 600; }
.reset-time-note, .reset-query-status { font-size: .86rem; line-height: 1.7; color: var(--muted, #666); }
.reset-time-summary > .reset-time-note { flex-basis: 100%; margin: 0; }
.reset-query-status a { color: inherit; text-decoration: underline; }

/* Product entry: clear outcomes first, evidence available on demand. */
.hero { padding-top: 54px; }
.hero-intro { margin-bottom: 26px; grid-template-columns: minmax(0,1fr) minmax(260px,350px); }
.product-eyebrow { margin: 0; color: var(--accent); letter-spacing: .08em; }
.hero h1 { font-size: clamp(38px,5vw,64px); margin: 18px 0; }
.hero-copy { max-width: 580px; font-size: 19px; }
.hero-benefits { display:flex; flex-wrap:wrap; gap:8px 20px; list-style:none; padding:0; margin: 18px 0 26px; font-size:13px; }
.hero-benefits li::before { content:'✓'; margin-right:7px; color:var(--accent); font-weight:800; }
.subscribe-link { display:inline-flex; align-items:center; gap:24px; justify-content:center; min-height:48px; padding:0 22px; border-radius:12px; background:var(--accent); color:white; font-weight:750; text-decoration:none; }
.usage-secondary { background:transparent; color:var(--ink); border-color:var(--line); box-shadow:none; }
.usage-secondary:hover { background:var(--accent-soft); color:var(--ink); box-shadow:none; }
.hero .pedal-entry { display:inline-block; margin-top:20px; font-size:13px; }
.update-status { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin: 0 0 16px; font-size:12px; color:var(--muted); }
.update-status a { margin-left:auto; }
.notification-capability { font-size:15px; color:var(--accent); }
.clock-details { margin-top:14px; font-size:11px; color:#d9bdca; }
.clock-details summary { cursor:pointer; }
.subscribe-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:38px; padding:52px 0; }
.subscribe-intro h2 { font-size:36px; line-height:1.2; margin:10px 0; }
.subscribe-intro p { color:var(--muted); }
.subscribe-options { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.subscribe-options article { min-width:0; border:1px solid var(--line); padding:22px; background:white; border-radius:18px; }
.subscribe-options h3 { margin:0 0 10px; }
.subscribe-options p { font-size:14px; color:var(--muted); }
.dingtalk-contact code { display:inline-block; overflow-wrap:anywhere; font-size:14px; color:var(--ink); }
.feed-link { color:var(--accent); font-weight:750; }
.notification-notes, .quiet-note { font-size:12px !important; }
.notification-notes summary, .query-details summary { cursor:pointer; color:var(--muted); }
.query-details { font-size:12px; margin-top:18px; }
#sources, #history, #system { padding:25px 0; }
.support-panel > summary { display:flex; justify-content:space-between; align-items:center; list-style:none; cursor:pointer; padding:18px 0; font-size:20px; font-weight:750; }
.support-panel > summary::-webkit-details-marker { display:none; }
.support-panel[open] > summary span { transform:rotate(45deg); }
.support-body { padding-bottom:24px; }
.support-body > .section-heading { margin-top:16px; }
section[id] { scroll-margin-top:90px; }
.hero-engagement .site-engagement { margin-top:20px; gap:14px; }
.hero-engagement #like-button { min-height:44px; padding:9px 18px; border-color:var(--accent); background:var(--accent-soft); color:var(--accent); font-weight:750; }
.hero-engagement .site-engagement > span { font-size:12px; }
.hero-engagement .engagement-note { font-size:11px; }
.subscribe-link:focus-visible, .support-panel summary:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
@media(max-width:760px) {
  .hero { padding-top:30px; }
  .hero-intro { grid-template-columns:minmax(0,1fr) 30%; gap:18px; }
  .hero-visual { align-self:start; margin-top:40px; border-radius:16px; }
  .hero h1 { font-size:clamp(32px,5.5vw,44px); }
  .hero-copy { font-size:16px; }
  .hero-benefits { gap:6px 15px; font-size:12px; }
  .hero-actions { gap:10px; }
  .subscribe-link, .usage-secondary { min-height:44px; padding:0 14px; font-size:12px; }
  .subscribe-section { grid-template-columns:1fr; gap:15px; }
}
@media(max-width:480px) {
  .hero-intro { display:block; position:relative; }
  .hero-visual { position:absolute; width:92px; right:0; top:0; margin-top:0; box-shadow:none; transform:rotate(4deg); }
  .hero h1 { font-size:35px; max-width:calc(100% - 80px); }
  .product-eyebrow { font-size:11px; }
  .hero-copy { max-width:100%; padding-top:8px; }
  .hero-status-grid { grid-template-columns:1fr; }
  .subscribe-options { grid-template-columns:1fr; }
  .subscribe-intro h2 { font-size:30px; }
}

.language-switch { font-size:12px; font-weight:700; white-space:nowrap; text-decoration:none; }

.recent-history { align-items:start; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.recent-reset { padding:16px 20px; background:white; border:1px solid var(--line); border-radius:14px; font-size:13px; }
.recent-reset summary { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; cursor:pointer; list-style:none; }
.recent-reset summary strong { font-variant-numeric:tabular-nums; }
.recent-reset summary span { color:var(--muted); }
.recent-evidence { color:var(--muted); }
.recent-history>.reset-time-note { grid-column:1/-1; }
.more-signals { display:block; margin:24px auto 0; background:white; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:10px 20px; cursor:pointer; }
@media(max-width:700px) { .recent-history { grid-template-columns:1fr; } }

@media(max-width:520px){ .freebie-toggle,.freebie-toggle .when-closed,.freebie-toggle .when-open { white-space:normal; overflow-wrap:anywhere; max-width:100%; } .header-actions { gap:10px; } }

/* Mobile reading: predictable navigation, readable evidence, generous tap areas. */
.mobile-nav { display:none; }
.task-prompt { margin:14px 0; }
.task-prompt > summary { color:var(--accent); font-size:14px; cursor:pointer; padding:10px 0; }
.task-prompt[open] > summary { margin-bottom:4px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
@media(max-width:820px) {
  .site-header { height:72px; min-height:72px; }
  .mobile-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:sticky; top:72px; z-index:9; gap:4px; padding:4px max(14px,env(safe-area-inset-left)); border-bottom:1px solid var(--line); background:var(--paper); }
  .mobile-nav a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:4px; color:var(--ink); font-size:13px; font-weight:700; text-decoration:none; border-radius:8px; }
  .mobile-nav a:hover, .mobile-nav a:focus-visible { background:var(--accent-soft); color:var(--accent); }
  main [id], section[id], #pedal, #freebie { scroll-margin-top:140px; }
}
@media(max-width:520px) {
  body { font-size:16px; line-height:1.8; }
  section { padding:40px 0; }
  .brand { gap:8px; min-width:0; flex:1; padding-right:8px; }
  .brand-mark { width:36px; height:36px; flex-shrink:0; }
  .brand strong { font-size:14px; }
  .brand small { font-size:10px; }
  .header-actions { flex-shrink:0; gap:4px; }
  .language-switch { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
  .github-star { min-height:44px; padding-inline:10px; }
  .hero h1 { font-size:clamp(29px,8.9vw,35px); }
  html[lang="en"] .hero h1 { max-width:100%; font-size:clamp(32px,8.9vw,38px); }
  html[lang="en"] .hero-visual { width:68px; }
  html[lang="en"] .product-eyebrow { padding-right:82px; min-height:70px; display:flex; align-items:center; }
  .hero .pedal-entry { font-size:14px; line-height:1.7; }
  .section-heading { margin-bottom:22px; }
  .section-heading h2 { font-size:27px; overflow-wrap:anywhere; }
  .section-heading p { font-size:15px; }
  .freebie-summary { padding:18px; }
  .freebie-body { padding:0 16px 18px; }
  .pedal-panel .freebie-summary h2 { margin-left:8px; font-size:21px; line-height:1.5; }
  .source-method { padding:16px; }
  .source-method ul { padding-left:22px; }
  .pedal-card { padding:18px; }
  .pedal-card h3 { font-size:19px; line-height:1.5; }
  .pedal-card p { font-size:15px; line-height:1.8; }
  .token-task { font-size:14px; line-height:1.8; padding:12px; }
  .pedal-card .source-caveat, .pedal-card .pedal-meta, .pedal-reviewed { font-size:13px; }
  .task-prompt > summary, .notification-notes > summary, .clock-details > summary, .query-details > summary { display:flex; align-items:center; min-height:44px; font-size:14px; }
  .task-prompt > summary::before, .notification-notes > summary::before, .clock-details > summary::before, .query-details > summary::before { content:'＋'; margin-right:8px; }
  .task-prompt[open] > summary::before, .notification-notes[open] > summary::before, .clock-details[open] > summary::before, .query-details[open] > summary::before { content:'−'; }
  .notification-notes p, .quiet-note { font-size:14px !important; line-height:1.8; }
  .recent-reset { padding:12px 16px; font-size:15px; overflow-wrap:anywhere; }
  .recent-reset > summary { min-height:44px; padding-block:6px; }
  .recent-reset summary strong { font-size:15px; }
  .recent-reset summary span { font-size:13px; }
  .recent-evidence { margin:18px 0; }
  .recent-evidence > span { display:block; font-size:13px; }
  .recent-evidence > a { display:block; margin-top:5px; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
  .reset-time-card { padding:18px; }
  .reset-time-note, .reset-query-status, .history-help, .query-details { font-size:14px; }
  .monitor-body { padding:16px; }
  .monitor-body > p, .evidence-content p { font-size:15px; line-height:1.8; }
  .monitor-meta, .monitor-time, .evidence-time, .node-link { font-size:13px; }
  .signal-filters button { min-height:44px; }
  .timeline-summary, .support-panel > summary { min-height:56px; }
  footer div { flex-wrap:wrap; }
  footer a { display:inline-flex; align-items:center; min-height:44px; }
  .boundary { padding:20px; margin-bottom:36px; }
  .system-card, .subscribe-options article { overflow-wrap:anywhere; }
}

.recent-reset[open] .recent-toggle { font-size:0; }
.recent-reset[open] .recent-toggle::before { content:'−'; font-size:15px; }
