/* Tertius Online — what the hosted version adds to the shared stylesheet.
 *
 * Loaded after `style.css`, never instead of it. The palette, the type scale,
 * the shell, the status band and the queue are the local app's and are shared
 * verbatim; these are the two things only the online version has — an account
 * with a balance, and a page to sign in on.
 *
 * Nothing here overrides a shared rule. If something needs to, it belongs in
 * `style.css` behind a class, not here as a heavier selector.
 */

.account {
  display: grid;
  gap: 8px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.account-email {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--text-3);
}

.credit {
  font-size: 12px;
  color: var(--text-2);
}

.credit b {
  font-family: var(--data);
  font-weight: 500;
  color: var(--text);
}

/* Low, not empty: the warning arrives while there is still time to act on it. */
.credit.is-low b { color: var(--accent); }

/* Where a select used to be, for a setting that is now a fact. Sits on the
   grid's baseline like the controls around it rather than floating. */
.static-value {
  align-self: center;
  font-size: 12px;
  color: var(--text-2);
}

.signin {
  max-width: 380px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  gap: 14px;
}

.signin .brand { border-bottom: none; padding: 0 0 12px; }
.signin .headline { font-size: 22px; margin: 0; }

.signin-form {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
}

.signin .caption.dim { color: var(--text-4); }
.signin .theme-toggle { justify-self: start; margin-top: 8px; }
.signin .rail-foot { border-top: 1px solid var(--border-subtle); margin-top: 12px; }
