Something went wrong. Try again.
Large file storage for AT Protocol: an IPFS server & gateway with XRPC upload & admin. atfs.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224/* The setup flow's own form and step-list layout. Tokens, the reset and the shared base elements come from /atfs.css (linked in src/app.html).
Every selector sits under .setup deliberately: this is a bundled stylesheet and SvelteKit keeps it loaded once the route has been visited, so the bare button/label/main rules below would otherwise follow the visitor onto every other page of the site. */
.setup main { max-width: 42rem; margin: 0 auto; padding: 2rem 1.25rem 4rem;}
.setup h1 { font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.5rem;}
.setup .lede { color: var(--text-dim); margin: 0 0 1rem;}
.setup .hint { color: var(--text-dim); font-size: 0.9rem; margin: 0.25rem 0 0.75rem;}
.setup ol.steps { list-style: none; margin: 2.5rem 0 0; padding: 0;}
.setup .step { border-top: 1px solid var(--border); padding: 1.5rem 0; opacity: 0.45;}
.setup .step[data-state="active"],.setup .step[data-state="done"] { opacity: 1;}
/* A step nobody can act on yet must not accept input either — the opacity above is a hint, not a guard. */.setup .step:not([data-state="active"]):not([data-state="done"]) :is(input,.setup button,.setup textarea,.setup select) { pointer-events: none;}
.setup .step h2 { font-size: 1.15rem; margin: 0 0 0.5rem;}
.setup .step h3 { font-size: 1rem; margin: 0 0 0.5rem;}
.setup .step[data-state="done"] > h2::after { content: " ✓"; color: var(--good);}
.setup label { display: block; font-weight: 600; margin: 0.75rem 0 0.25rem;}
.setup label.check { font-weight: 400; display: flex; gap: 0.5rem; align-items: center;}
.setup input[type="text"],.setup input[type="file"],.setup textarea,.setup select { width: 100%; font: inherit; padding: 0.5rem; border: 1px solid var(--border); border-radius: 0.35rem; background: var(--bg); color: inherit;}
.setup textarea { font-family: var(--mono); font-size: 0.85rem; resize: vertical;}
.setup fieldset { border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.5rem 1rem 1rem; margin: 1.25rem 0;}
.setup legend { font-weight: 600; padding: 0 0.35rem;}
.setup button { font: inherit; font-weight: 600; padding: 0.5rem 1rem; margin-top: 1rem; border: 1px solid transparent; border-radius: 0.35rem; background: var(--accent-strong); color: var(--on-accent); cursor: pointer;}
.setup button:hover { background: var(--accent);}
.setup button.secondary { background: transparent; border-color: var(--border); color: inherit;}.setup button.secondary:hover { background: transparent; border-color: var(--accent-strong); color: var(--accent-strong);}
.setup button.link { background: none; border: none; padding: 0; margin: 0; text-decoration: underline; color: inherit; font-weight: 400;}.setup button.link:hover { background: none;}
.setup button[disabled] { cursor: not-allowed; opacity: 0.5;}
.setup .choices { display: flex; flex-wrap: wrap; gap: 0.75rem;}
.setup .status { margin: 0.75rem 0 0; min-height: 1.6em;}
.setup .status[data-tone="bad"] { color: var(--danger);}
.setup .status[data-tone="good"] { color: var(--good);}
.setup .keybox { border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem; margin-top: 1.5rem; background: var(--bg-raised);}
/* Long DIDs and base64 keys need to break mid-word, not just at the overflow-wrap boundaries /atfs.css's shared `code` allows. */.setup code { word-break: break-all;}
.setup .key { display: block; padding: 0.75rem; border-radius: 0.35rem; font-family: var(--mono); font-size: 0.8rem; word-break: break-all; background: var(--bg); border: 1px solid var(--border); user-select: all;}
.setup ul.written { margin: 1rem 0 0; padding-left: 1.25rem;}
.setup progress { width: 100%; margin-top: 0.75rem;}
.setup footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.9rem;}