:root {
	--wa-content-spacing: var(--wa-space-m);
	--main-background: #F1EFE9;
	--main-background-dark: #E3DFD3;
	/* --background-extra-dark: #DDD9D5; */
	--background-extra-dark: #d5cfbe;
	/* --titlebar-color: var(--wa-color-yellow-90); */
	--titlebar-color: #fadb5f;
	--idea-color: #CFBCF2;
    --test-color: #ABDB5E;
}

/* .no-scroll {
	overflow: hidden;
} */
html:has(dialog[open]) {
	/* This is better than toggling a no-scroll class with Alpine because this takes into account things like pressing escape to close a dialog box. */
	overflow: hidden;
}

.icon-heading {
	display: flex;
    gap: var(--wa-space-s);
    /* align-items: baseline; */
	align-items: center;
}
.icon-heading > wa-icon {
	font-size: smaller;
}

/* ?? */
section .header-row {
	display: flex;
    gap: var(--wa-space-l);
	align-items: center;
    margin-bottom: var(--wa-space-l);
}
section > .header-row h2 {
	margin: 0;
}

.pm-text p {
	/* margin-bottom: 0px; <-- I'm not sure why I made this 0px. At least for Text Sources, we need paragraph spacing. */
	line-height: var(--wa-line-height-normal);
}

.giant-emoji {
	/* Used for error pages (4xx) */
	font-size: 8em;
}

/* Prevent a SortableJS card being dropped inside its own contenteditable field (which pastes the card's html in the field) */
.dragging [contenteditable] {
	pointer-events: none;
}

wa-tab svg {
	margin-right: var(--wa-space-xs);
}
