*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:-apple-system,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#1c2430;background:#f6f5f1;font-size:16px;line-height:1.5}
.wrap{max-width:640px;margin:0 auto;padding:40px 20px 60px}
h1{font-size:32px;margin:0 0 6px;letter-spacing:-.4px}
.sub{color:#5a6676;margin:0 0 26px}
.step{display:flex;gap:14px;margin:0 0 18px;background:#fff;border:1px solid #dedbd3;border-radius:14px;padding:16px}
.n{flex:none;width:30px;height:30px;line-height:30px;text-align:center;border-radius:50%;background:#1f5f4a;color:#fff;font-weight:700}
.body{flex:1;min-width:0}
.step h2{font-size:17px;margin:2px 0 4px}
.step p{margin:0 0 8px;color:#3d4856}
input[type=text],input[type=password]{width:100%;font:inherit;padding:11px 12px;border:1.5px solid #c9cdd3;border-radius:9px;background:#fff;color:inherit}
input[type=text]:focus,input[type=password]:focus{outline:none;border-color:#1f5f4a;box-shadow:0 0 0 3px rgba(31,95,74,.15)}
details{margin-top:10px;font-size:14.5px}
summary{cursor:pointer;color:#1f5f4a;font-weight:600}
details ol{margin:8px 0 0;padding-left:20px}
details li{margin-bottom:4px}
.check{display:flex;gap:8px;align-items:flex-start;margin-top:12px;font-size:14.5px;color:#3d4856}
.check input{margin-top:4px}
button{font:inherit;font-weight:600;border:0;border-radius:10px;padding:13px 20px;background:#1f5f4a;color:#fff;cursor:pointer}
button:hover{background:#174a39}
button:disabled{opacity:.55;cursor:default}
#go{width:100%;font-size:17px}
button.ghost{background:#fff;color:#1f5f4a;border:1.5px solid #1f5f4a;padding:9px 16px}
.err{background:#fdecea;border:1px solid #f1b8b0;color:#8c2b1e;border-radius:9px;padding:10px 12px;margin:0 0 14px;white-space:pre-line}
.status{font-weight:600;margin:22px 0 8px}
.bar{height:12px;background:#e3e1da;border-radius:6px;overflow:hidden}
#fill{height:100%;width:0;background:#1f5f4a;transition:width .3s}
.small{font-size:13.5px;color:#5a6676}
.foot{border-top:1px solid #d9dee5;margin-top:30px;padding-top:16px;font-size:14px;color:#3d4856}
.foot p{margin:0 0 8px}
#result{display:flex;flex-direction:column;height:100%}
#result[hidden],#progress[hidden],.err[hidden],.notice[hidden]{display:none}
.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;background:#fff;border-bottom:1px solid #dedbd3}
.toolbar button{padding:9px 16px}
.hint{font-size:13.5px;color:#5a6676}
.spacer{flex:1}
.notice{margin:0;padding:9px 16px;background:#fdf6e7;border-bottom:1px solid #ecd9a6;font-size:14px}
iframe{flex:1;width:100%;border:0;background:#f6f5f1}
