/* The hub's own rules. Colours, fonts and radius come from the notices tool's portal.css tokens. */

.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  min-height: 7rem;
  padding: 16px 20px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

a.tile:hover { border-color: var(--focus); background: var(--focus-wash); color: var(--ink); }

.tile-title { font-size: 1.1rem; font-weight: 600; }
.tile-note { color: var(--muted); }

.tile.is-soon { background: var(--paper); border-style: dashed; }
.tile.is-soon .tile-title { color: var(--muted); }

/* The notices tool's header: the hub's name, a link back to the hub, beside the tool's own name. */
.site-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hub-link { margin: 0; }
.hub-link a { color: var(--muted); }
.hub-link a:hover { color: var(--ink); }

.two-factor-qr svg { display: block; width: 17rem; max-width: 100%; height: auto; background: #ffffff; shape-rendering: crispEdges; }
.two-factor-key { font-family: var(--figure-font); font-size: 1.1rem; letter-spacing: 0.05em; word-break: break-all; }
.code-input { font-family: var(--figure-font); font-size: 1.2rem; letter-spacing: 0.2em; width: 9rem; }
