/* /einbetten – Doku + Generator */
.doku .titel { margin-top: 10px; }
.doku .unterzeile { margin-bottom: 18px; }
.doku-karte { margin-top: 18px; }
.doku-karte h2 { margin: 0 0 12px; font-size: 1.25rem; font-weight: 600; }
.generator { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.generator-form { display: flex; flex-direction: column; gap: 12px; }
.generator-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: .95rem; }
.generator-form label.check { flex-direction: row; align-items: center; gap: 8px; }
.generator-form select { height: 44px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--akzent) 30%, transparent); background: var(--feld); padding: 0 10px; }
.generator-vorschau { display: grid; place-items: center; padding: 14px; border-radius: 22px; background: repeating-conic-gradient(rgba(0,0,0,.04) 0 25%, transparent 0 50%) 0 0 / 20px 20px; }
.generator-vorschau iframe { border: 0; border-radius: 20px; max-width: 100%; box-shadow: 0 12px 30px -10px var(--schatten); }
.code-label { display: block; margin: 16px 0 6px; font-weight: 500; }
.code { width: 100%; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .85rem; background: #1f1836; color: #f3eaff; border: none; border-radius: 14px; padding: 14px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 10px; resize: vertical; }
pre.code code { font: inherit; }
.doku-liste { padding-left: 1.2em; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.doku code:not(pre code) { background: var(--akzent-weich); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.ist-dunkel .doku code:not(pre code) { background: rgba(255,255,255,.1); }
@media (max-width: 760px) { .generator { grid-template-columns: 1fr; } }
