/* ── Cloud account section in profile modal ── */
.cloud-status-label {
  font-size: .82rem;
  color: var(--mist);
  margin: .1rem 0 .75rem;
}

.cloud-user-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}

.cloud-user-label {
  font-size: .78rem;
  color: var(--mist);
}

.cloud-username-mask {
  font-size: .82rem;
  color: var(--foam);
  font-family: 'DM Mono', monospace;
  cursor: pointer;
  letter-spacing: .05em;
}

.cloud-sync-row {
  font-size: .75rem;
  color: var(--mist);
  margin-bottom: .4rem;
}

.cloud-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: .85rem;
}

.cloud-links a {
  font-size: .78rem;
  color: var(--tide);
  text-decoration: none;
}

.cloud-links a:hover {
  text-decoration: underline;
}

.cloud-links a.cloud-signout {
  color: #eb5757;
}

/* ── Passphrase strength ── */
.strength-bar {
  height: 4px;
  background: rgba(255, 255, 255, .08);
  border-radius: 2px;
  margin: .35rem 0 .15rem;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width .3s, background .3s;
}

.strength-label {
  font-size: .72rem;
  font-family: 'DM Mono', monospace;
  min-height: .9rem;
}

/* ── Field availability status ── */
.field-status {
  font-size: .72rem;
  margin-top: .25rem;
  min-height: .9rem;
  font-family: 'DM Mono', monospace;
}

.field-status--ok {
  color: #6fcf97;
}

.field-status--error {
  color: #eb5757;
}

.field-status--checking {
  color: var(--mist);
}

/* ── Passphrase acknowledgement warning ── */
.passphrase-warn-box {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--sand);
  background: rgba(255, 213, 79, .07);
  border: 1px solid rgba(255, 213, 79, .25);
  border-radius: 8px;
  padding: .65rem .8rem;
  margin: .9rem 0 .5rem;
}

.passphrase-warn-box strong {
  font-size: .8rem;
}

.passphrase-warn-row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8rem;
  color: var(--mist);
  margin: .2rem 0 .5rem;
  cursor: pointer;
  line-height: 1.4;
}

.passphrase-warn-row input {
  margin-top: .15rem;
  flex-shrink: 0;
  accent-color: var(--tide);
}
