:root{color-scheme:light;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#172019;background:#f5f4ee}
*{box-sizing:border-box}body{margin:0}main{width:min(100%,38rem);margin:clamp(1rem,10vh,6rem) auto;padding:1.5rem}
[hidden]{display:none!important}.brand{color:inherit;font-size:.8rem;letter-spacing:.06em}h1{font-size:clamp(1.6rem,6vw,2.2rem);line-height:1.15;margin:2.5rem 0 1rem}
p{line-height:1.6;overflow-wrap:anywhere}#wallet-status{color:#172019;font-weight:700;min-height:3rem;margin:1.75rem 0;font-size:.95rem;position:relative}#wallet-status::before{content:"⚡";position:absolute;left:-1.4em;top:0}#wallet-status[data-state=error]::before,#wallet-status[data-state=retry]::before{content:"!"}#wallet-status:empty::before{content:none}
#wallet-status[data-state=error],#wallet-status[data-state=retry]{color:#9c3028}#wallet-status a{color:inherit}@keyframes loading-ticks{0%{content:"-"}25%{content:"\\"}50%{content:"|"}75%{content:"/"}}#wallet-status[data-state=busy]::before,#wallet-status[data-state=loading]::before,#wallet-status[data-state=checking]::before,#wallet-status[data-state=returning]::before{content:"-";animation:loading-ticks .4s steps(1,end) infinite}dl{margin:0 0 1.5rem}dt{font-size:.8rem;color:#53614f}dd{margin:.5rem 0 1.2rem;overflow-wrap:anywhere}
.actions{display:flex;flex-wrap:wrap;gap:.75rem}button{min-height:3rem;padding:.75rem 1rem;font:inherit;border:1px solid #172019;border-radius:0;background:#172019;color:#fff;cursor:pointer;max-width:100%}
button.secondary{background:transparent;color:inherit}button:disabled{cursor:wait;opacity:.55}button:hover:not(:disabled){background:#364532;color:white}
:focus-visible{outline:3px solid #5275d1;outline-offset:4px}.note{font-size:.8rem;color:#53614f;margin-top:2rem}
@media(max-width:400px){main{padding:1.1rem}.actions{flex-direction:column}.actions button{width:100%}}
label{display:grid;gap:.6rem;margin:1rem 0}input,textarea{box-sizing:border-box;font:inherit;min-height:3rem;width:100%;border:1px solid #172019;border-radius:0;background:white;color:inherit;padding:.75rem}fieldset{margin:1.5rem 0;padding:1rem;border:1px solid #172019;min-width:0}.choice{display:flex;align-items:center}.choice input{width:1.25rem;min-height:1.25rem;margin:0}.secret{display:flex;align-items:center;gap:1rem;margin:.25rem 0 0}.secret input{flex:1;min-width:0;letter-spacing:.08em;min-height:auto;padding:0;border:0;background:none;cursor:default;font-size:1.1rem}.secret input:focus{outline:none}.secret .quiet{margin:0;flex:none}#recovery-kit{margin:1.5rem 0 2rem}details{margin:1.25rem 0}summary{cursor:pointer;color:#53614f}#signup-details{margin-top:2rem}#wallet-status{margin:1.25rem 0 .25rem}#wallet-status:empty{display:none;margin:0}#signup-intro{margin:0 0 2rem}#signup-intro a{color:inherit}#signup-form>label{margin-top:0}#recovery-method{border:0;padding:0;margin:.5rem 0 1.5rem}#recovery-method legend{padding:0;margin-bottom:.75rem}#recovery-method .choice{margin:.5rem 0}#signup-form label{margin-top:.5rem}dialog{border:1px solid #172019;background:#f5f4ee;color:inherit;padding:1.5rem;max-width:26rem;margin:auto;font:inherit}dialog::backdrop{background:rgba(23,32,25,.45)}dialog h2{margin:0 0 .75rem;font-size:1.1rem}dialog p{margin:0 0 1.25rem}dialog .actions{margin:0;display:flex;align-items:flex-end;justify-content:space-between;gap:1.25rem}dialog .quiet{margin:0;line-height:1}.quiet{background:none;border:0;padding:0;margin-top:2.5rem;font:inherit;font-size:.85rem;color:#53614f;text-decoration:underline;cursor:pointer}.quiet:hover:not(:disabled){background:none;color:#172019}.quiet:disabled{opacity:.5}.hint{color:#53614f}.hint a{color:inherit}.hint{margin:0 0 1.25rem}#recovery-hint:empty{display:none}input[type=file]{overflow:hidden}