/* /lns/: register an LNS name. On top of /assets/tokens.css, chrome.css and site.css; uses
   only the site's tokens. No green, no blue: state is shown by marks and words. */
.lns > * { max-width: 44rem; }  /* the column stays readable but starts at the same left edge as the intro */
.lns-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; margin: 0 0 20px; }
@media (min-width: 700px) { .lns-card { padding: 24px; } }
.lns-card h2 { font-size: 1.25rem; margin: 0 0 10px; }
.lns-card p { margin: 0 0 12px; }
.lns-card > :last-child { margin-bottom: 0; }
.lns-field { display: grid; gap: 6px; margin: 0 0 14px; }
.lns-field label { font-weight: 600; }
.lns-field input[type="text"] {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9375rem;
}
.lns-field input:focus-visible, .lns-check input:focus-visible, .lns-card button:focus-visible, .lns-file:focus-within {
  outline: 3px solid var(--site-focus); outline-offset: 2px;
}
.lns-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.lns-card button { cursor: pointer; }
.lns-card button[disabled] { opacity: .5; cursor: not-allowed; }
.lns-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9375rem; overflow-wrap: anywhere; }
.lns-big { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.lns-addr { display: block; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin: 0 0 8px; }
.lns-note { color: var(--dim); font-size: .875rem; }
.lns-warn { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 12px; }
.lns-bad { color: var(--bad); font-weight: 600; }
.lns-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.lns-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.lns-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.lns-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.lns-steps li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--dim); }
.lns-steps li[data-state="done"]::before { background: var(--ink); border-color: var(--ink); }
.lns-steps li[data-state="now"]::before { background: var(--orange); border-color: var(--orange); }
.lns-steps li[data-state="failed"]::before { border-color: var(--bad); border-style: dashed; }
.lns-steps .lns-note { display: block; }
.lns-file { display: inline-flex; align-items: center; gap: 8px; }
.lns-file input { font: inherit; max-width: 100%; }
.lns-facts { margin: 0 0 12px; padding-left: 1.2em; }
.lns-facts li { margin: 0 0 6px; }
.lns-hidden { display: none; }
.lns-drop { border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px; margin: 0 0 12px; }
.lns-drop-on { border-color: var(--orange); }
.lns-drop input { font: inherit; max-width: 100%; }
.lns-need { margin: 0 0 16px; padding-left: 1.2em; }
.lns-need li { margin: 0 0 4px; }
.lns-more summary { cursor: pointer; padding: 4px 0; }
.lns-more summary h2 { display: inline; font-size: 1.25rem; margin: 0; }
.lns-more summary:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 2px; }
.lns-more[open] summary { margin-bottom: 12px; }
.sec > .wrap.lns { display: block; } /* one column: the three lines, then the steps, then the collapsed box */
.lns-link { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange-text); text-underline-offset: 3px; cursor: pointer; }
.lns-link:focus-visible { outline: 3px solid var(--site-focus); outline-offset: 2px; }
.lns-field[hidden] { display: none; } /* the public-key field shows only when the address is new */
