:root{font-family:"Inter","PingFang SC","Microsoft YaHei",sans-serif;color:#182331;background:#f2f6f8;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 83% 0%,#e0f3ed 0%,transparent 52%)}
header{max-width:70rem;margin:auto;padding:2rem clamp(1.25rem,4vw,4rem);font-size:1.3rem;font-weight:720;letter-spacing:-.035em}
main{max-width:30rem;margin:clamp(1.6rem,8vh,6rem) auto;padding:clamp(1.5rem,5vw,2.8rem);border:1px solid #d6e2dc;border-radius:1.2rem;background:#fff;box-shadow:0 1rem 3rem #293f3610}
h1{font-size:clamp(1.8rem,5vw,2.25rem);margin:0;letter-spacing:-.055em;line-height:1.25}
.intro,.note{color:#54625d;line-height:1.65}.intro{font-size:1rem;margin:.85rem 0 1.7rem}
label{font-size:.94rem;font-weight:620;display:block;margin:1.05rem 0 .42rem}
input,button{font:inherit;width:100%;border-radius:.55rem;min-height:3.05rem}
input{background:#fbfcfb;border:1px solid #b5c4bd;padding:.7rem .85rem;color:#16251f}
input:focus-visible,button:focus-visible{outline:3px solid #7fc6ae;outline-offset:2px}
button{margin:1.55rem 0 0;border:0;background:#18593f;color:white;font-weight:650;cursor:pointer}
button:hover{background:#10462f}button:disabled{opacity:.68;cursor:progress}
.note{font-size:.875rem;margin:1.2rem 0 0}
#result{margin-top:1rem;padding:.85rem;background:#edf6f1;border-radius:.55rem;text-align:center;color:#18593f}
#result.code{font-family:"IBM Plex Mono",monospace;font-size:2.15rem;letter-spacing:.16em;font-weight:650}
#result.error{background:#fff2ef;color:#883522}
@media(max-width:36rem){main{margin:1.75rem 1rem}header{padding:1.25rem}}
