.notes-note {
	position: relative;
	margin: 1.5rem 0;
	padding: 1rem 1.1rem 1.05rem;
	color: var(--notes-text);
	background: var(--notes-bg);
	border: var(--notes-border-width, 2px) var(--notes-border-style, dashed) var(--notes-border);
	border-radius: 10px;
	box-sizing: border-box;
}

.notes-note__heading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--notes-label);
	font-weight: 700;
	line-height: 1.2;
}

.notes-note__separator {
	width: 100%;
	height: 1px;
	margin: 0.75rem 0;
	background: var(--notes-separator);
	opacity: 0.7;
}

.notes-note__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 auto;
}

.notes-note__icon i {
	font-size: var(--notes-icon-size, 1rem);
	line-height: 1;
}

.notes-note__icon svg,
.notes-note__copy svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.notes-note__label {
	font-size: var(--notes-label-size, 0.95rem);
	text-transform: uppercase;
}

.notes-note__body {
	font-size: var(--notes-text-size, 1rem);
	line-height: 1.65;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.notes-note__body > :first-child {
	margin-top: 0;
}

.notes-note__body > :last-child {
	margin-bottom: 0;
}

.notes-note__body a {
	color: var(--notes-primary);
	font-weight: 700;
	overflow-wrap: anywhere;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
	word-break: break-word;
}

.notes-note__body strong,
.notes-note__body b {
	color: var(--notes-label);
}

.notes-note--has-copy {
	padding-right: 3rem;
}

.notes-note--command {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.notes-note--command .notes-note__body {
	font-family: inherit;
}

.notes-note__copy {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	color: var(--notes-primary);
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.notes-note__copy:hover,
.notes-note__copy:focus {
	background: color-mix(in srgb, var(--notes-primary) 14%, transparent);
	outline: none;
}

.notes-note__copy svg {
	width: 1rem;
	height: 1rem;
}

.editor-styles-wrapper .notes-note {
	max-width: 100%;
}

.notes-note--editor .notes-note__body {
	min-height: 1.5rem;
}
