/* Note teintée : un titre (h3) optionnel, une icône optionnelle, un texte. */
.aside-note {
  margin-top: var(--space-28);
  padding: var(--space-18) var(--space-20);
  border-radius: var(--radius-card);
  background: var(--accent-soft);
  font-size: var(--fs-md);
  color: var(--ink);
  max-width: var(--measure-aside);
}

.aside-note .icon {
  width: var(--size-icon-inline);
  height: var(--size-icon-inline);
  vertical-align: var(--icon-baseline);
  margin-right: var(--space-6);
  color: var(--accent);
}

.aside-note .note-title {
  margin: 0 0 var(--space-6);
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--ink);
}

.aside-note p {
  margin: 0;
}

/* Bloc d'éditeur : une note seule, ou deux côte à côte (.aside-row). */
.aside-notes {
  margin-top: var(--space-28);
}

.aside-notes .aside-note {
  margin-top: 0;
}

.aside-row {
  display: flex;
  gap: var(--space-16);
  align-items: stretch;
}

.aside-row .aside-note {
  flex: 1;
  max-width: none;
}

@media (max-width: 700px) {
  .aside-row {
    flex-direction: column;
  }
}

html:is([data-textsize="3"], [data-textsize="4"]) .aside-row {
  flex-direction: column;
}

@media (forced-colors: active) {
  .aside-note {
    border: var(--bw-hairline) solid CanvasText;
  }
}
