:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #173e35;
  background: #f5f6ee;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0 auto; padding: 0 24px; max-width: 920px; }
header, footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-bottom: 1px solid #ccd6cb; padding: 22px 0;
}
a { color: #19553f; text-underline-offset: .24em; }
a:hover { color: #072c21; }
.brand { font-size: 22px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
#account { display: flex; align-items: center; gap: 12px; font-size: 14px; }
main { margin: clamp(22px, 7vh, 66px) 0 0; }
.card { background: #fffef9; border: 1px solid #cad5c9; border-radius: 16px; padding: clamp(24px, 6vw, 64px); overflow-wrap: anywhere; }
h1 { color: #183c2e; font-size: clamp(32px, 5.9vw, 58px); line-height: 1.2; letter-spacing: -.04em; margin: 0 0 22px; }
h2 { font-size: clamp(19px, 2.8vw, 25px); margin: 14px 0 8px; line-height: 1.4; }
p, dd { color: #3c4e42; }
.description { font-size: clamp(16px, 2.4vw, 19px); white-space: pre-wrap; margin: 0; }
.section { border-top: 1px solid #d7ded3; margin-top: 32px; padding-top: 12px; }
.handoff { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 20px; margin-top: 16px; }
.address { font-family: ui-monospace, monospace; font-size: 14px; overflow-wrap: anywhere; }
button { color: white; background: #225d43; border: 1px solid #225d43; font: inherit; font-weight: 600; border-radius: 9px; padding: 9px 17px; min-height: 44px; cursor: pointer; }
button:hover { background: #194b35; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { background: transparent; color: #19553f; }
button.text-button { border: 0; background: transparent; color: #315c42; padding: 0 4px; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #689350; outline-offset: 3px; }
form { display: grid; justify-items: start; gap: 16px; }
label { display: block; width: min(100%, 33rem); font-weight: 600; }
input { font: inherit; display: block; margin-top: 5px; width: 100%; min-height: 44px; padding: 8px; border: 1px solid #91a18e; border-radius: 7px; }
code { overflow-wrap: anywhere; }
.status { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 650; color: #315c42; }
.dates { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; margin: 26px 0 8px; }
dt { font-size: 14px; color: #526551; }
dd { margin: 2px 0 0; }
.facts { margin: 24px 0; padding: 0; }
.facts > div { display: grid; grid-template-columns: minmax(88px, 110px) 1fr; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e4e9df; }
#notice { min-height: 1.6em; margin: 14px 0; }
footer { border-bottom: none; border-top: 1px solid #ccd6cb; font-size: 14px; color: #526551; }
@media (max-width: 520px) {
  body { padding: 0 16px; }
  .card { padding: 24px 19px; }
  .handoff { flex-direction: column; align-items: stretch; }
  header, footer { padding: 14px 0; }
}
.choice { display: flex; align-items: flex-start; gap: 10px; width: 100%; margin: 16px 0; font-weight: 500; cursor: pointer; }
.choice input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin: .25em 0 0; padding: 0; accent-color: #225d43; }
.back-link { display: inline-block; margin: 10px 0 10px 16px; }
:is(#decision, #activity-controls) details { margin-top: 20px; overflow-wrap: anywhere; }
:is(#decision, #activity-controls) summary { cursor: pointer; }
:is(#decision, #activity-controls) .facts dd { white-space: pre-wrap; }
#my-outcome .result-text, #my-outcome dd { white-space: pre-wrap; }
#my-outcome .facts > div { display: block; }
#decision fieldset { margin: 16px 0; padding: 0; border: 0; }
#decision legend { padding: 0; font-weight: 600; }
:is(#decision, #activity-controls) button + button { margin: 6px 0 6px 10px; }
