/* Clubwerk-Notizen – zurückhaltend, übernimmt Schrift und Farben der Seite. Anpassbar über die Klassen .cwn-* */
.cwn-note {
	margin: 40px 0 24px;
	padding: 20px 22px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 8px;
	background: #fbfaf7;
	color: inherit;
}
.cwn-note__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cwn-note__title { margin: 0 !important; font-size: 1.15em; }
.cwn-note__private { font-size: 12px; opacity: .65; }
.cwn-note__private::before { content: "🔒 "; }
.cwn-toolbar { display: flex; gap: 4px; margin-bottom: 6px; }
.cwn-tool {
	min-width: 34px; height: 30px; padding: 0 8px;
	border: 1px solid rgba(0, 0, 0, .15); border-radius: 4px;
	background: #fff; color: #333; font: 600 13px/1 system-ui, sans-serif; cursor: pointer;
}
.cwn-tool:hover { background: #f0f0f0; }
.cwn-tool--italic { font-style: italic; font-family: Georgia, serif; }
.cwn-editor {
	min-height: 140px; max-height: 520px; overflow: auto;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .18); border-radius: 6px;
	background: #fff; color: #222; line-height: 1.55; outline: none;
	word-wrap: break-word;
}
.cwn-editor:focus { border-color: #0b6b63; box-shadow: 0 0 0 2px rgba(11, 107, 99, .15); }
.cwn-editor:empty::before { content: attr(data-placeholder); color: #999; pointer-events: none; }
.cwn-editor p, .cwn-item__content p { margin: 0 0 .6em; }
.cwn-editor ul, .cwn-editor ol, .cwn-item__content ul, .cwn-item__content ol { margin: 0 0 .6em 1.4em; padding: 0; }
.cwn-status { margin-top: 6px; font-size: 12px; opacity: .7; min-height: 1.4em; }
.cwn-status.is-ok { color: #0b6b63; opacity: 1; }
.cwn-status.is-error { color: #b32d2e; opacity: 1; font-weight: 600; }
.cwn-note__readonly { padding: 10px 14px; background: #fff; border-radius: 6px; }
.cwn-muted { opacity: .7; font-size: .9em; }

.cwn-list__tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.cwn-search { flex: 1 1 240px; min-width: 0; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 6px; font: inherit; }
.cwn-btn { padding: 8px 14px; border: 1px solid #0b6b63; border-radius: 6px; background: #fff; color: #0b6b63; font: inherit; cursor: pointer; }
.cwn-btn:hover { background: #0b6b63; color: #fff; }
.cwn-group { margin: 28px 0 0; }
.cwn-group__title { margin: 0 0 8px !important; padding-bottom: 6px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.cwn-item { padding: 12px 0 14px; border-bottom: 1px dashed rgba(0, 0, 0, .1); }
.cwn-item__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; }
.cwn-item__title { font-weight: 600; }
.cwn-item__date { font-size: 12px; }
.cwn-link { margin-left: auto; padding: 0; border: 0; background: none; color: #b32d2e; font-size: 12px; cursor: pointer; text-decoration: underline; }
.cwn-item__content hr, .cwn-editor hr { border: 0; border-top: 1px dashed rgba(0, 0, 0, .2); margin: 12px 0; }
@media (max-width: 600px) {
	.cwn-note { padding: 16px 14px; }
}
