:root{color-scheme:light;font:16px/1.5 "Segoe UI","Malgun Gothic",Arial,sans-serif;color:#173d39;background:#eff4f2}
*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;display:flex;flex-direction:column}
a{color:#146253;text-underline-offset:3px}
main{position:relative;flex:1;min-height:0;display:grid;isolation:isolate}
#screen,#start-panel{grid-area:1/1}#screen{min-height:0;min-width:0}#start-panel:not([hidden]) + #screen{opacity:.16;pointer-events:none}iframe{display:block;width:100%;height:100%;border:0;background:white}
#start-panel{z-index:1;align-self:center;justify-self:center;width:min(92%,490px);max-height:100%;overflow:auto;padding:clamp(16px,4vw,30px);border:1px solid #c9d9d3;border-radius:12px;background:#fff;box-shadow:0 9px 40px #29483d16}
h1{margin:0;font-size:clamp(24px,5vw,34px);line-height:1.2;letter-spacing:-.04em}
p{color:#45625b;word-break:keep-all}ol{margin:19px 0 13px;padding:0;list-style:none}
li{display:grid;grid-template-columns:1em minmax(0,1fr) auto;align-items:center;gap:9px;min-height:34px;border-bottom:1px solid #e6ece9;font-size:15px}
li:before{content:"";width:9px;height:9px;border:1px solid #939f9b;border-radius:50%}li[data-state=active]{font-weight:700;color:#075c4a}li[data-state=active]:before{background:#107b66;outline:2px solid #c6e8dc}
li[data-state=done]:before{width:6px;height:10px;border:solid #08715b;border-width:0 2px 2px 0;border-radius:0;transform:rotate(45deg);margin-left:2px}
li[data-state=error]:before{content:"!";color:#a23a1a;font-weight:bold;text-align:center;border:0;width:auto;height:auto}
.amount{font:13px/1.4 ui-monospace,monospace;color:#49655d;font-variant-numeric:tabular-nums;white-space:nowrap}
progress{display:block;width:100%;height:9px;margin:16px 0;accent-color:#0a795d}.actions{display:flex;flex-wrap:wrap;gap:8px}
button{border:1px solid transparent;border-radius:6px;background:#086b57;color:#fff;font:inherit;font-weight:650;padding:8px 15px;min-height:44px;cursor:pointer}
#cancel{color:#23594b;background:white;border-color:#c7d5cf}
:focus-visible{outline:3px solid #2581bd;outline-offset:2px}
#status{margin:0;padding:7px 16px;font-size:14px;color:#26493e;background:#f5faf7;border-top:1px solid #d2dfd8}
#status:empty{display:none}#status.ready{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;border:0}
[hidden]{display:none!important}
@media(max-width:460px){li{font-size:14px;gap:5px}.amount{font-size:13px}#start-panel{width:94%}}
