* { box-sizing: border-box; }
:root { color: #122822; background: #f7f7f0; font: 16px/1.6 "Microsoft YaHei", system-ui, sans-serif; }
body { margin: 0; }
header { background: #fff; border-bottom: 1px solid #dce4dd; }
header nav, main { max-width: 1060px; margin: auto; padding-inline: clamp(14px, 4vw, 48px); }
header nav, .tabs, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
header nav { justify-content: space-between; padding-block: 5px; }
nav a, .action, summary { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
a { color: #14563f; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #32755e; outline-offset: 3px; }
.brand { font-weight: 700; text-decoration: none; gap: 8px; }
main { padding-bottom: 48px; }
.intro { padding-block: 22px 0; }
h1, h2, h3 { line-height: 1.22; text-wrap: balance; margin: 0 0 .45em; }
h1 { font-size: clamp(2.45rem, 6vw, 4rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: .5em 0 .85em; }
.muted, small { color: #42564f; }
main > section + section { margin-top: 28px; scroll-margin-top: 16px; }
.tabs a, .action { padding: 0 10px; border: 1px solid #c8d7ce; border-radius: 8px; background: #fff; font-weight: 650; text-decoration: none; }
.cards, .outcomes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
article, .study, .ideas details { min-width: 0; background: #fff; border: 1px solid #d9e3da; border-radius: 12px; padding: clamp(12px, 3vw, 21px); }
.study { background: #f0f6ee; }
.study header { background: none; padding-bottom: 10px; }
h3 .status { font-size: .8em; color: #4d553c; }
.baseline { display: block; color: #14563f; margin-bottom: 8px; font-weight: 650; }
details > summary { display: list-item; cursor: pointer; padding-block: .55em; font-weight: 650; }
details[open] > summary { margin-bottom: 4px; }
code { overflow-wrap: anywhere; background: #f2f5f1; border-radius: 4px; padding: 2px 4px; }
dl { display: grid; grid-template-columns: 1fr auto; margin: .5em 0; column-gap: 12px; font-variant-numeric: tabular-nums; }
dd { margin: 0; text-align: end; }
.number { font-size: 1.6rem; font-weight: 700; }
.loss { color: #a33331; }
.gain { color: #195b43; }
.actions { margin-block: 10px; }
label { display: block; font-weight: 650; }
input { font: inherit; width: min(100%, 28rem); min-height: 44px; border: 1px solid #859a8c; border-radius: 8px; padding-inline: 10px; }
.ideas { display: grid; gap: 8px; margin-bottom: 12px; }
.ideas details { padding-block: 0; }
[hidden] { display: none !important; }
@media (max-width: 420px) {
  :root { font-size: 15px; }
  header nav { gap: 0 8px; }
  .brand { gap: 4px; }
}
