:root {
  --ink: #172631;
  --night: #14232e;
  --paper: #f8f6f1;
  --white: #fffdf9;
  --warm: #ffba86;
  --sand: #e4dfd4;
  --line: #d5d2ca;
  --muted: #53626a;
  --sans: "PingFang SC","Microsoft YaHei",Arial,sans-serif;
  --serif: Georgia,"Songti SC","Noto Serif CJK SC",STSong,serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 var(--sans);
}
a,button {
  color: inherit;
  font: inherit;
}
button,summary {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
h1,h2,h3,p,dl,dd,ol,ul {
  margin: 0;
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid #b16c36;
  outline-offset: 4px;
}
.dark :focus-visible {
  outline-color: var(--warm);
}
.wrap {
  width: min(calc(100% - clamp(44px,12vw,190px)),1320px);
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  text-decoration: none;
  font: 600 27px/1 Georgia,serif;
  letter-spacing: -1.2px;
}
.brand img {
  width: 32px;
  height: 32px;
}
.division {
  border-left: 1px solid #c9c5ba;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
}
.home {
  margin-left: auto;
  font-size: 15px;
}
.dark {
  background: var(--ink);
  color: var(--paper);
}
.stagegrid {
  display: grid;
  grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr);
  gap: clamp(40px,9vw,142px);
  align-items: center;
  padding-block: clamp(40px,4.6vw,74px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #f5c29b;
}
.kicker:before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.kicker span+span {
  color: #c1ccd0;
  font-weight: 400;
  letter-spacing: 0;
  border-left: 1px solid #7e8b91;
  padding-left: 12px;
}
.stage h1 {
  font: 600 clamp(42px,4.8vw,74px)/1.22 var(--serif);
  letter-spacing: -.05em;
  margin: 18px 0 14px;
  text-wrap: balance;
}
.desc {
  color: #d9e0e2;
  font-size: 17px;
  line-height: 1.8;
  max-width: 35em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--warm);
  color: var(--ink);
  border: 0;
  border-radius: 3px;
  padding: 12px 23px;
  font-weight: 650;
  min-height: 48px;
  margin-top: 23px;
}
.button:hover {
  background: #ffca9f;
}
.paper {
  --card: var(--white);
  position: relative;
  color: var(--ink);
  background: var(--card);
  padding: 24px clamp(22px,2.5vw,42px) 22px;
  border-top: 3px solid var(--warm);
  box-shadow: 0 8px 24px #07172230;
}
.paper:after {
  content: "";
  position: absolute;
  bottom: -5px;
  height: 6px;
  inset-inline: 0;
  background: linear-gradient(135deg,var(--card) 25%,transparent 26%) 0 0/10px 10px,linear-gradient(225deg,var(--card) 25%,transparent 26%) 0 0/10px 10px;
  pointer-events: none;
}
.paperhead,.money,.line,.sectionhead,.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.paperhead {
  font-size: 14px;
  color: var(--muted);
}
.paperhead strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.money {
  justify-content: flex-start;
  gap: 10px;
  margin: 8px 0 13px;
}
.num {
  font-family: Georgia,"Times New Roman",serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.043em;
  line-height: 1.14;
}
.money .num {
  font-size: clamp(38px,3.6vw,60px);
}
.unit {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}
.rule {
  border-top: 1px dashed #c5c0b7;
  padding-top: 9px;
}
.line {
  padding: 3px 0;
  color: var(--muted);
  font-size: 15px;
}
.line dd {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.progress {
  padding-bottom: 16px;
}
.period-overview {
  margin: 0 0 10px;
  color: #d9e0e2;
  font-variant-numeric: tabular-nums;
}
.account-lookup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-bottom: 20px;
}
.account-lookup span {
  color: #c1ccd0;
  font-size: 14px;
}
.account-lookup a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: #829097;
}
.account-lookup a:hover {
  color: var(--warm);
}
.allocation-list .dot {
  display: inline-block;
  width: .65em;
  height: .65em;
  border-radius: 50%;
}
.dot.cash { background: #28664c; }
.dot.investment { background: #a9c374; }
.dot.pending { background: #d8ad62; }
.dot.dust { background: #bcc6bb; }
.progress ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  padding: 0;
}
.progress li {
  border-top: 2px solid #607078;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: #c6d0d3;
  font-size: 16px;
}
.progress small {
  font-size: 13px;
}
.progress .current {
  border-color: var(--warm);
  color: #ffd0ae;
}
.progress .done {
  border-color: #b3c9c9;
}
.progress .done small {
  color: #d2e1df;
}
.overview {
  padding-block: clamp(32px,3.3vw,58px);
}
h2 {
  font: 600 clamp(27px,2.4vw,40px)/1.3 var(--serif);
  letter-spacing: -.04em;
}
.sectionhead {
  align-items: center;
}
.sectionhead span {
  color: var(--muted);
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 20px 0 26px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.metrics>div {
  padding-inline: clamp(16px,3vw,48px);
  border-left: 1px solid var(--line);
}
.metrics>div:first-child {
  padding-left: 0;
  border: 0;
}
.metrics dt {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 5px;
}
.metrics dd {
  font-size: clamp(28px,2.6vw,41px);
  overflow-wrap: anywhere;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  font-weight: 550;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
}
details[open]>summary:after {
  content: "−";
}
.details {
  max-width: 670px;
  padding: 0 0 18px;
}
.details .line {
  padding: 8px 0;
  border-top: 1px solid #e3e0d8;
}
.log {
  margin: 0;
  padding: 0 0 16px 20px;
  color: var(--muted);
}
.log li {
  padding: 5px 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 18px 28px;
  color: var(--muted);
  font-size: 14px;
}
.quiet {
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  background: none;
  padding: 7px 0;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip {
  position: fixed;
  left: 8px;
  top: -80px;
  z-index: 10;
  background: var(--paper);
  padding: 8px;
}
.skip:focus {
  top: 5px;
}
@media(max-width:850px) {
  .stagegrid {
    gap: 30px;
    grid-template-columns: minmax(0,1fr) minmax(0,.87fr);
  }
  .progress li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .money .num {
    font-size: 36px;
  }
}
@media(max-width:680px) {
  html {
    scroll-padding-top: 68px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    height: 59px;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .division {
    display: none;
  }
  .home {
    font-size: 14px;
  }
  .stagegrid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 0 0;
  }
  .stage h1 {
    font-size: clamp(35px,8.5vw,47px);
    margin: 12px 0 9px;
  }
  .desc {
    font-size: 16px;
  }
  .button {
    margin-top: 16px;
  }
  .hero-wrap {
    display: grid;
  }
  .stagegrid {
    display: contents;
  }
  .stage {
    padding-top: 27px;
    order: 0;
  }
  .progress {
    order: 1;
    padding: 22px 0 0;
  }
  .progress ol {
    gap: 10px;
  }
  .progress li {
    font-size: 15px;
    padding-top: 6px;
  }
  .progress small {
    font-size: 13px;
  }
  .paper {
    order: 2;
    margin: 22px 0 27px;
    padding: 15px 20px;
  }
  .money {
    margin: 3px 0 8px;
  }
  .overview {
    padding-block: 26px;
  }
  .metrics {
    margin: 14px 0 12px;
    padding: 0;
    display: block;
  }
  .metrics>div,.metrics>div:first-child {
    border: 0;
    border-bottom: 1px solid #e2dfd6;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .metrics>div:last-child {
    border: 0;
  }
  .metrics dt {
    margin: 0;
  }
  .metrics dd {
    font-size: 27px;
  }
  .footer {
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 16px;
  }
  .kicker {
    font-size: 13px;
  }
}
[hidden] {
  display: none!important;
}
#operation {
  scroll-margin-top: 0;
}
button:disabled,[aria-disabled="true"] {
  opacity: .6;
  cursor: default;
}
#buttons {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 20px;
}
#buttons .button {
  text-decoration: none;
}
#buttons .secondary {
  color: var(--paper);
  background: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-weight: 500;
  padding-inline: 0;
}
#busy,#restart-notice,.error {
  margin-top: 14px;
}
.error {
  color: #ffcfac;
}
.paperhead span {
  text-align: right;
}
.account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.account-actions a {
  padding: 8px 0;
}
.fold>.inset {
  padding: 0 0 22px;
}
.fold section,.fold .rules {
  padding: 14px 0;
}
.fold h2,.fold h3 {
  font: 600 19px/1.45 var(--serif);
  margin: 8px 0;
}
.fold p {
  color: var(--muted);
  max-width: 76ch;
  margin: 7px 0;
}
.fold .section-line,.contrib {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.contrib {
  justify-content: flex-start;
}
.contrib span,.subtle,.badge {
  color: var(--muted);
  font-size: 14px;
}
.fold dl {
  margin: 8px 0;
  max-width: 630px;
}
.fold dl>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--sand);
}
.fold dd,.equation b {
  font-variant-numeric: tabular-nums;
}
.fold dt small {
  color: var(--muted);
}
.allocation-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.allocation-list {
  flex: 1;
}
.donut {
  position: relative;
  width: 132px;
  flex: none;
}
.donut svg {
  width: 100%;
  display: block;
  fill: none;
  stroke-width: 10;
}
.ring-bg {
  stroke: var(--sand);
}
.donut>div {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  text-align: center;
}
.donut small {
  color: var(--muted);
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}
th,td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  padding: 9px 0;
}
.checks,.equation,.pension-summary,.goal-grid,.returns-grid {
  display: flex;
  align-items: baseline;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.checks span {
  color: var(--muted);
  font-size: 14px;
}
.equation b,.pension-summary strong,.goal-grid strong,.return-summary strong {
  display: block;
  font-size: 20px;
}
.goal-grid>div,.returns-grid>div {
  flex: 1 1 240px;
}
.evidence,.bridge-equation {
  overflow-wrap: anywhere;
}
.film-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.film-entry,.film-offline {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.film-entry strong,.film-kicker,.film-play {
  display: block;
}
.film-icon,.notice-icon {
  display: none;
}
.film-offline {
  grid-column: 1/-1;
}
.film-help {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
dialog {
  box-sizing: border-box;
  width: min(480px,92vw);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}
dialog::backdrop {
  background: #15232db0;
}
dialog p {
  margin: 14px 0;
}
.dialog-actions {
  display: flex;
  gap: 12px;
}
.dialog-actions .button {
  margin: 0;
}
.dialog-actions .secondary {
  background: var(--sand);
}
dialog .error {
  color: #943d26;
}
@media(max-width:680px) {
  .allocation-content {
    align-items: stretch;
    flex-direction: column;
  }
  .film-entries {
    grid-template-columns: 1fr;
  }
  .paperhead span {
    font-size: 13px;
  }
  .fold .inset {
    overflow-wrap: anywhere;
  }
  .metrics dd {
    min-width: 0;
  }
}
