/* ===============================================================
   Nolen Young: additions on top of app.css.

   app.css is the shared look, ported from the reference. Only things that
   have no equivalent there live in this file. Colours come from the tokens
   in app.css (:root); do not write colour values here.
   =============================================================== */

/* ---------- Text logo ---------- */
.ny-wordmark {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  white-space: nowrap;
}
.ny-wordmark:hover { color: #fff; text-decoration: none; }

.ny-login-wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--ny-fg);
  text-align: center;
}

/* ---------- Sign-in steps ---------- */
.ny-login-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ny-fg-muted);
  margin: 0 0 16px;
}
.ny-login-qr {
  width: 196px;
  height: 196px;
  margin: 0 auto 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--ny-border);
  border-radius: var(--ny-radius);
}
.ny-login-qr svg { width: 100%; height: 100%; display: block; }
.ny-login-secret {
  font-size: 12.5px;
  color: var(--ny-fg-muted);
  text-align: center;
  margin: 0 0 16px;
}
.ny-login-secret code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--ny-fg);
  user-select: all;
}
.ny-login-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3em;
  text-align: center;
  font-size: 18px;
}
.ny-login-restart {
  font-size: 12.5px;
  text-align: center;
  margin: 16px 0 0;
}
.ny-login-restart a { color: var(--ny-fg-muted); }

/* ---------- Sidebar: a nav item that is a <button> (sign out) ---------- */
.ny-nav-button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
button.ny-dropdown-item {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Privacy Mode: hide amounts ---------- */
.ny-privacy-on .ny-private,
.ny-privacy-on [data-private] {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}
.ny-privacy-on .apexcharts-yaxis,
.ny-privacy-on .apexcharts-tooltip,
.ny-privacy-on .apexcharts-datalabels {
  filter: blur(7px);
}

/* ---------- Gains and losses ---------- */
/* The table selectors are here because a table cell sets its own colour. */
.ny-up, .ny-table tbody td.ny-up { color: var(--ny-success); }
.ny-down, .ny-table tbody td.ny-down { color: var(--ny-danger); }

/* ---------- Numbers in tables ---------- */
.ny-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Checkbox grid (sections on the Users page) ---------- */
.ny-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.ny-check-group-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ny-fg-subtle);
  margin-top: 6px;
}
