/* Memo — an inline callout/notice box (info, with an accent tint). */

.c-memo {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: var(--r);
  background: var(--teal-wash);
  border: 1px solid var(--teal-line);
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.c-memo__icon { color: var(--teal); flex-shrink: 0; margin-block-start: 4px; }
.c-memo b { color: var(--teal); }

/* Links inside a memo must read unmistakably as links (the global reset strips
 * colour + underline): blue + underlined, on every memo skin. */
.c-memo a {
  color: var(--saph);
  text-decoration: underline;
  font-weight: var(--fw-medium);
}
.c-memo a:hover { text-decoration: none; }

.c-memo--warn { background: var(--gold-wash); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.c-memo--warn .c-memo__icon, .c-memo--warn b { color: var(--gold); }

/* Alert — a louder, "you must read this" callout (the cycle notice). Amber
 * skin with a bold accent edge so it can't be skimmed past; the closing date
 * inside it is set in red via .c-memo__due. */
.c-memo--alert {
  background: var(--gold-wash);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
}
.c-memo--alert .c-memo__icon, .c-memo--alert b { color: var(--gold); }

/* Error — a hard stop (e.g. the application window is closed). Garnet skin so it
 * reads unambiguously as "this is blocked", louder than the amber warn/alert. */
.c-memo--error {
  background: var(--danger-wash);
  border-color: color-mix(in srgb, var(--danger) 35%, transparent);
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
}
.c-memo--error .c-memo__icon, .c-memo--error b { color: var(--danger); }

.c-memo__due {
  color: var(--garnet);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
