:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #20302c; background: #f3f5f2; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 820px); margin: 2.5rem auto; }
.masthead { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.8rem; }
.brand { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: #235e50; color: white; font-size: 1.6rem; font-weight: 700; flex: none; }
h1 { font-size: 1.5rem; margin: 0; letter-spacing: -.03em; }
h2 { font-size: 1.05rem; margin: 0 0 1rem; }
p { margin: .5rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.masthead p, .hint, footer { color: #576b63; font-size: .875rem; }
.card { background: #fff; border: 1px solid #dbe3dd; border-radius: 1rem; padding: 1.4rem; margin: 1rem 0; min-width: 0; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
input, textarea, select, button { font: inherit; border-radius: .6rem; }
input, textarea, select { width: 100%; min-width: 0; color: inherit; background: #fafcf9; border: 1px solid #b9c9bf; padding: .65rem .8rem; }
textarea { resize: vertical; margin-bottom: .5rem; }
select { margin-bottom: 1rem; }
button { border: 1px solid transparent; padding: .6rem 1rem; color: #fff; background: #235e50; cursor: pointer; flex-shrink: 0; }
button:hover:enabled { background: #184a3d; }
button:disabled { opacity: .55; cursor: default; }
input:disabled, textarea:disabled, select:disabled { opacity: .7; }
:focus-visible { outline: 3px solid #c67e23; outline-offset: 3px; }
.secondary { background: #f0f5f1; border-color: #b9c9bf; color: #235e50; }
.secondary:hover:enabled { background: #dfebe3; }
.row, .actions { display: flex; align-items: center; gap: .7rem; }
.spread, .actions { justify-content: space-between; }
.spread h2 { margin: 0; }
.actions p, [role="status"] { font-size: .9rem; }
[data-tone="error"] { color: #9e3423; }
[data-tone="ok"] { color: #235e50; }
.recent { padding: 0; list-style: none; display: grid; gap: .5rem; }
.recent button { width: 100%; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; color: #20302c; background: #f3f6f2; border-color: #dbe3dd; }
.recent button:hover:enabled { background: #e4eee6; }
.recent button[aria-current="true"] { border-color: #235e50; }
.message { padding: 1rem; border-radius: .8rem; background: #edf4ee; margin-top: 1rem; }
.eyebrow { font-size: .8rem; color: #496257; }
.progress { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.progress li { border: 1px solid #dbe3dd; padding: .4rem .7rem; border-radius: .6rem; font-size: .8rem; }
.progress [aria-current="step"] { border-color: #235e50; background: #edf4ee; font-weight: 600; }
details { border-top: 1px solid #e3e9e3; padding-top: .7rem; margin-top: .7rem; }
summary { cursor: pointer; overflow-wrap: anywhere; }
pre { background: #f5f7f4; padding: .8rem; border-radius: .6rem; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; }
.events { padding-left: 1.5rem; overflow-wrap: anywhere; font-size: .85rem; }
footer { text-align: center; margin: 1.5rem 0; }
[hidden] { display: none !important; }
@media (max-width: 520px) {
  main { width: calc(100% - 1rem); margin: 1.2rem auto; }
  .card { padding: 1rem; }
  .row, .actions { flex-wrap: wrap; }
  .row input { flex: 1 1 100%; }
  .actions button { width: 100%; }
  h1 { font-size: 1.3rem; }
}
