:root{font-family:-apple-system,BlinkMacSystemFont,system-ui,"Hiragino Kaku Gothic ProN",sans-serif;color:#17233b}
*{box-sizing:border-box}body{background:#f0f4f9;margin:0;line-height:1.55}main{max-width:690px;margin:auto;padding:18px 16px 60px}
nav{display:flex;justify-content:space-between;gap:12px}a{color:#1457a5}h1{font-size:1.55rem;margin:26px 0 15px}h2{font-size:1.16rem;margin:0 0 12px}.banner{background:#fff5e8;border-left:5px solid #d29226;padding:14px;border-radius:11px}
.box{background:#fff;border-radius:18px;padding:20px 16px;margin:18px 0;box-shadow:0 4px 16px #0f386511}.state{background:#f4f9ff;border-radius:12px;padding:13px;white-space:pre-wrap;overflow-wrap:anywhere}
button,select{font:inherit}button{min-height:45px;border-radius:11px;border:1px solid #c7d5e6;background:#eef5fd;color:#13436d;padding:12px 14px;margin:10px 5px 3px 0;font-weight:680;cursor:pointer}button.primary{background:#0e62b3;color:#fff;border:1px solid #0e62b3}
button:disabled{opacity:.55}.row{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.trio button{flex:1 0 115px;margin:0}label{flex:1 0 200px;font-weight:650}select{display:block;width:100%;min-height:46px;margin-top:6px;padding:8px;border:1px solid #b8c9dc;border-radius:9px;background:white}.hint{font-size:.88rem;color:#5b6880}.result{padding:11px 12px;background:#f0f5ff;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.result.ok{color:#0c6d4c;background:#eaf8f1}.result.bad{color:#a52027;background:#ffeded}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#121d30;color:#e2edf9;border-radius:12px;padding:14px;max-height:340px;overflow:auto;font-size:.83rem}footer{margin:24px 0;color:#54637b}
