:root { color-scheme: light; font: 16px/1.65 "Source Sans 3", "Microsoft YaHei", "PingFang SC", sans-serif; color: #24342e; background: #f5f7f3; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 36rem; margin: clamp(2.5rem, 9vh, 6rem) auto; padding: 0 1.2rem; }
header { margin-bottom: 2rem; }
h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.15; }
h2 { margin: 0 0 .75rem; font-size: 1.35rem; }
p { margin: .5rem 0 1rem; }
header p, #status { color: #47564d; }
section { padding: clamp(1.25rem, 4vw, 2rem); background: #fff; border: 1px solid #d9e2da; border-radius: .8rem; }
label { display: block; margin-bottom: 1.05rem; font-weight: 600; }
input { display: block; width: 100%; margin-top: .35rem; padding: .65rem .75rem; font: inherit; border: 1px solid #82958a; border-radius: .35rem; background: #fff; }
button { padding: .65rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; background: #235743; color: white; border: 0; border-radius: .35rem; }
button.link { background: transparent; color: #235743; text-decoration: underline; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #457b64; outline-offset: 2px; }
output { display: block; overflow-wrap: anywhere; padding: .9rem; margin: .7rem 0 1rem; background: #f1f5ef; font: 1.15rem/1.5 monospace; }
[hidden], #status:empty { display: none !important; }
