:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1c2430;
  --muted: #5d6b7c;
  --line: #dde2e8;
  --accent: #2457c5;
  --accent-text: #ffffff;
  --focus: #2457c5;
  --changed: #fff4d6;
  --changed-line: #d9a400;
  --danger: #b42318;
  --s-extracted: #6b7785;
  --s-curated: #a35c00;
  --s-confirmed: #157f3d;
  --s-rejected: #b42318;
  --s-extracted-bg: #eef0f3;
  --s-curated-bg: #fff1dc;
  --s-confirmed-bg: #e3f4e9;
  --s-rejected-bg: #fde8e6;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --panel: #1a2029;
    --text: #e6eaf0;
    --muted: #9aa6b4;
    --line: #2c3542;
    --accent: #7aa2ff;
    --accent-text: #0d1320;
    --focus: #7aa2ff;
    --changed: #3a3016;
    --changed-line: #e0b437;
    --danger: #ff7b6e;
    --s-extracted: #a8b3c0;
    --s-curated: #f2b360;
    --s-confirmed: #6fd391;
    --s-rejected: #ff8c80;
    --s-extracted-bg: #262e39;
    --s-curated-bg: #3a2c14;
    --s-confirmed-bg: #173322;
    --s-rejected-bg: #3d1d1a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
code, .mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.topbar {
  display: flex; align-items: center; gap: 16px; padding: 8px 16px;
  background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 8px; }
.badge { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.stats { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.user { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.user input { width: 160px; }

input, select, textarea, button { font: inherit; color: inherit; }
input[type=text], input[type=search], input[type=number], select, textarea {
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; width: 100%;
}
textarea { resize: vertical; min-height: 64px; }
button {
  border: 1px solid var(--line); background: var(--panel); border-radius: 6px; padding: 6px 12px; cursor: pointer;
}
button:hover:not(:disabled) { border-color: var(--accent); }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
button.danger { color: var(--danger); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.link { border: none; background: none; padding: 0; color: var(--accent); cursor: pointer; text-align: left; }
a.link { color: var(--accent); text-decoration: none; cursor: pointer; }
a.link:hover { text-decoration: underline; }
.node-link { display: inline; }
a.new-win { margin-left: 5px; font-size: 11px; color: var(--muted); text-decoration: none; opacity: .55; padding: 0 2px; }
a.new-win:hover, a.new-win:focus { opacity: 1; color: var(--accent); }

.layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; height: calc(100vh - 49px); }
.sidebar { border-right: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; min-height: 0; }
.search { padding: 12px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#result-info { padding: 6px 12px; }
.results { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; }
.results li { padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; display: grid; gap: 2px; }
.results li:hover { background: var(--bg); }
.results li[aria-selected=true] { background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
.results .r-title { font-weight: 550; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.results .r-meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; flex-wrap: wrap; }

.pill { display: inline-block; font-size: 11.5px; padding: 0 7px; border-radius: 999px; line-height: 18px; white-space: nowrap; }
.pill.type { border: 1px solid var(--line); color: var(--muted); }
.st-extracted { color: var(--s-extracted); background: var(--s-extracted-bg); }
.st-curated { color: var(--s-curated); background: var(--s-curated-bg); }
.st-confirmed { color: var(--s-confirmed); background: var(--s-confirmed-bg); }
.st-rejected { color: var(--s-rejected); background: var(--s-rejected-bg); }

.detail { overflow: auto; padding: 20px 28px 60px; }
.empty { max-width: 560px; margin: 10vh auto; text-align: center; color: var(--muted); }
.empty h2 { color: var(--text); }
.node-head { display: grid; gap: 4px; margin-bottom: 14px; }
.node-head h1 { font-size: 20px; margin: 0; line-height: 1.3; }
.node-head .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12.5px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.card h2 { font-size: 14px; margin: 0 0 10px; }
.fields { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; border-left: 3px solid transparent; }
.field.changed { background: var(--changed); border-left-color: var(--changed-line); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field label { font-weight: 550; display: flex; gap: 8px; align-items: baseline; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.field .err { color: var(--danger); font-size: 12px; }
.field .undo { margin-left: auto; font-size: 12px; font-weight: 400; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.checks label { font-weight: 400; display: inline-flex; gap: 4px; align-items: center; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px -16px -14px; padding: 12px 16px;
  border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--panel); border-radius: 0 0 8px 8px; z-index: 2; }
.actions .comment { flex: 1 1 180px; max-width: 360px; }
.actions .spacer { flex: 1; }
.banner { padding: 10px 12px; border-radius: 6px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.banner.warn { background: var(--changed); border: 1px solid var(--changed-line); }
.banner.error { background: var(--s-rejected-bg); border: 1px solid var(--danger); }
.banner.graph-fremd { margin: 6px 12px; }

details.card > summary { cursor: pointer; font-weight: 600; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::before { content: "▸ "; color: var(--muted); }
details.card[open] > summary::before { content: "▾ "; }
details.card[open] > summary { margin-bottom: 10px; }
table.props { width: 100%; border-collapse: collapse; }
table.props td { border-top: 1px solid var(--line); padding: 5px 6px; vertical-align: top; }
table.props td:first-child { width: 190px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.rel-group { margin-bottom: 8px; }
.rel-group h3 { font-size: 12.5px; margin: 6px 0 4px; color: var(--muted); font-weight: 600; font-family: var(--mono); }
.rel-group ul { margin: 0; padding-left: 18px; }
.ev { border-top: 1px solid var(--line); padding: 8px 0; }
.ev:first-of-type { border-top: none; }
.ev .cit { font-weight: 550; }
.ev mark { background: var(--changed); color: inherit; padding: 0 1px; }
.hist { border-top: 1px solid var(--line); padding: 8px 0; }
.hist:first-of-type { border-top: none; }
.hist .diff { font-size: 12.5px; margin: 4px 0 0; padding-left: 18px; }
.hist del { color: var(--danger); }
.hist ins { color: var(--s-confirmed); text-decoration: none; }

/* Beziehungen */
.rel-candidate { color: var(--s-curated); background: var(--s-curated-bg); }
.rel-confirmed { color: var(--s-confirmed); background: var(--s-confirmed-bg); }
.rel-implied { color: var(--s-confirmed); background: var(--s-confirmed-bg); border: 1px dashed var(--s-confirmed); }
.proposal .p-ev.implied { white-space: normal; }
.rel-rejected { color: var(--s-rejected); background: var(--s-rejected-bg); }
.rel-auto { color: var(--s-extracted); background: var(--s-extracted-bg); }
.rel-source { color: var(--s-confirmed); background: var(--s-confirmed-bg); }   /* passendes Paar: Kontrast hell und dunkel (BITV) */
.rel-deleted { color: var(--muted); background: var(--s-extracted-bg); text-decoration: line-through; }
.link-form { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px; }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link-row select { flex: 0 1 auto; max-width: 100%; width: auto; }
.link-row input { flex: 1 1 220px; min-width: 0; }
ul.link-results { list-style: none; padding: 0; margin: 6px 0; max-height: 260px; overflow: auto; }
ul.link-results li { padding: 3px 0; border-bottom: 1px solid var(--line); }
ul.link-results li:last-child { border-bottom: none; }
.pill.ro { border: 1px dashed var(--line); color: var(--muted); }
.pill.mini { font-size: 10.5px; padding: 0 5px; line-height: 16px; }
.pill.doc { border: 1px solid var(--line); color: var(--muted); margin-left: 4px; }
.pill.doc.doc-en { border-color: #6b8fd6; color: #3d5fa8; }
table.review td.num, table.review th.num { text-align: right; }
button.small { padding: 1px 7px; font-size: 12px; }
input.num { width: 6em; }
.path-block { margin: 6px 0 12px; }
.path-block h3 { font-size: 13px; margin: 8px 0 4px; }
.table-wrap { overflow-x: auto; }
table.paths { width: 100%; border-collapse: collapse; font-size: 13px; }
table.paths th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 4px 6px; border-bottom: 1px solid var(--line); }
table.paths td { border-top: 1px solid var(--line); padding: 4px 6px; vertical-align: top; }
table.paths tr.rejected td { opacity: .6; }
table.paths td.num { text-align: right; width: 1%; white-space: nowrap; }
.curate { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }
table.paths td.cur { white-space: nowrap; width: 1%; }
table.paths td.cur .curate { flex-wrap: nowrap; }
.rel-group li { margin: 2px 0; }

/* Anzeige-Einstellungen */
.display { position: relative; }
.display > summary { cursor: pointer; list-style: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.display > summary::-webkit-details-marker { display: none; }
.display[open] > summary { border-color: var(--accent); }
.quellen-dok { padding: 6px 0; border-top: 1px solid var(--line); }
.quellen-kap { margin: 4px 0 0 16px; padding: 0; max-height: 40vh; overflow: auto; }
.quellen-kap li { list-style: none; padding: 1px 0; }
.display-body { position: absolute; right: 0; top: calc(100% + 6px); width: min(420px, 92vw); max-height: 70vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.15); z-index: 5; display: grid; gap: 10px; }
.disp-sec { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.disp-sec > strong { width: 100%; font-size: 12.5px; }
.disp-sec label { display: inline-flex; gap: 4px; align-items: center; }
.disp-sec.types label { font-family: var(--mono); font-size: 12px; }

.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg);
  padding: 8px 14px; border-radius: 6px; box-shadow: 0 4px 18px rgba(0,0,0,.2); max-width: 90vw; z-index: 10; }
.toast.error { background: var(--danger); color: #fff; }

@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; height: auto; }
  .sidebar { max-height: 45vh; border-right: none; border-bottom: 1px solid var(--line); }
  .detail { padding: 16px; }
  .topbar { flex-wrap: wrap; }
  .stats { order: 3; width: 100%; margin-left: 0; }
}

/* Beziehungsvorschläge */
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; border: none; border-radius: 0; background: transparent; padding: 8px; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected=true] { color: inherit; font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.score-filter { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.score-filter input { width: 100%; min-width: 0; }
.results li.proposal { cursor: default; gap: 4px; }
.proposal .p-ends { display: grid; gap: 1px; }
.proposal .p-ends .link { text-align: left; font-weight: 550; }
.proposal .p-rel { font-size: 12px; color: var(--muted); }
.proposal .p-ev { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proposal .curate { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.more { margin: 8px 12px; }
.results li.more { cursor: pointer; color: var(--accent); list-style: none; }
.search[hidden] { display: none; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--muted); }

/* Nur-Lesen-Demo */
.ro-badge { background: #fff3cd; color: #664d03; }
.about-link { margin-left: 8px; font-size: 13px; }
body.readonly .actions, body.readonly .curate button, body.readonly .link-form, body.readonly label.user,
body.readonly .field .undo, body.readonly .proposal .curate button { display: none !important; }
body.readonly .fields input, body.readonly .fields textarea, body.readonly .fields select { pointer-events: none; opacity: .85; }

/* Metamodell */
.tabs button { font-size: 12.5px; padding: 8px 4px; }
.results li.group-head { cursor: default; font-weight: 650; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--bg); padding: 6px 12px; }
.results li.sub-head { cursor: default; font-size: 11.5px; color: var(--muted); padding: 3px 12px; border-bottom: none; }
.results li.group-head:hover, .results li.sub-head:hover { background: var(--bg); }
.results li.sub-head:hover { background: transparent; }
.results li.unused .r-title { color: var(--muted); font-weight: 450; }
.pill.rel-type { font-family: var(--mono); }
button.pill-link { background: transparent; cursor: pointer; font: inherit; font-size: 11.5px; }
button.pill-link:hover { border-color: var(--accent); color: var(--accent); }
.meta-desc { margin: 0 0 10px; line-height: 1.5; }
.example { border-left: 3px solid var(--s-confirmed); background: var(--s-confirmed-bg); border-radius: 0 6px 6px 0; padding: 8px 12px; }
.example-head { font-size: 11.5px; font-weight: 600; color: var(--s-confirmed); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.example-text { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.mm-wrap { overflow-x: auto; margin-top: 8px; }
.mm-svg { max-width: 100%; height: auto; display: block; }
.mm-box { fill: var(--panel); stroke: var(--line); stroke-width: 1.2; }
.mm-box.mm-center { stroke: var(--accent); stroke-width: 2; }
.mm-box.mm-self { stroke-dasharray: 3 2; }
.mm-label { fill: var(--text); font-size: 12px; font-family: var(--mono); }
.mm-rel { fill: var(--muted); font-size: 10.5px; font-family: var(--mono); paint-order: stroke; stroke: var(--panel); stroke-width: 3px; }
.mm-edge { stroke: var(--muted); stroke-width: 1.1; }
.mm-head { fill: var(--muted); }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#meta-form .filters { grid-template-columns: 1fr; }
.check-filter { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.mm-rel.mm-left { text-anchor: start; }
.mm-rel.mm-right { text-anchor: end; }
ul.quotes { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; }
ul.quotes q { quotes: "„" "“"; }

/* Regeln: Formen und Testfälle */
.rule-forms .form-tabs { margin: 10px 0 12px; }
.rule-forms .form-tabs button.missing { color: var(--s-curated); }
.rule-forms .form-tabs button[aria-selected=true] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.artifact { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.artifact:first-child { border-top: none; }
.art-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
pre.code { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 12px;
  overflow: auto; max-height: 360px; white-space: pre; }
.odrl-sentence { font-size: 15px; padding: 8px 12px; background: var(--s-confirmed-bg); border-left: 3px solid var(--s-confirmed); border-radius: 0 6px 6px 0; }
.bpmn-box { height: 420px; border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; overflow: hidden; }
.bpmn-box .muted { padding: 10px; }
.bpmn-els { margin: 0; padding-left: 18px; font-size: 13px; }
.rule-hl:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #d9480f !important; stroke-width: 3px !important; fill: #fff4e6 !important; }
.rule-focus:not(.djs-connection) .djs-visual > :nth-child(1) { stroke-width: 5px !important; }
.rule-forms .formal { background: var(--bg); border-radius: 6px; padding: 8px 10px; margin: 10px 0 6px; }
.rule-forms .cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.rule-forms .case { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.rule-forms .case.hit { border-color: var(--s-rejected); }
.rule-forms .case.pass { border-color: var(--s-confirmed); }
.rule-forms .case.wrong { outline: 3px solid var(--s-curated); }
.rule-forms .res { border-radius: 5px; padding: 5px 8px; font-size: 12.5px; }
.rule-forms .res.hit { background: var(--s-rejected-bg); color: var(--s-rejected); }
.rule-forms .res.pass { background: var(--s-confirmed-bg); color: var(--s-confirmed); }
.rule-forms .res.wrong { background: var(--s-curated-bg); color: var(--s-curated); }
.rule-forms ul.rec { margin: 2px 0; padding-left: 16px; }
.warn-text { color: var(--s-curated); }

.pill.weak { color: var(--muted, #6b7280); border: 1px dashed currentColor; background: transparent; }
body.readonly .proposal .curate button.compare { display: inline-block !important; }
.pill.conflict { color: #a33; background: #fde8e8; border: 1px solid #e5a3a3; }
.card.replay .actions-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.card.replay .warn { color: #a33; }
body.readonly .card.replay { display: none; }
.card.diagram .bpmn-box { height: 520px; margin-top: 6px; }
.bpmn-box.clickable .djs-element:not(.djs-connection) { cursor: pointer; }
.diagram-head { margin: 4px 0; }
.dmn-block { margin-top: 14px; }
.dmn-box { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: auto; max-height: 520px; padding: 6px; }
.dmn-box .dmn-decision-table-container { font-size: 12.5px; }
.adv summary { cursor: pointer; font-size: 12.5px; color: var(--muted); }
.adv-rows { display: grid; gap: 6px; margin-top: 6px; }
.adv-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 4px; }
.adv-row input[hidden] { display: none; }
.adv-row select, .adv-row input { min-width: 0; font-size: 12.5px; }
.adv-actions { display: flex; gap: 6px; margin-top: 6px; }
.r-fields { font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; overflow: hidden; }
.pill.same { color: #1c6b3a; background: #e6f5ec; border: 1px solid #9fd3b2; }
.results li.bulk { cursor: default; background: var(--bg); }
.pill.kind-prozess { color: var(--s-confirmed); background: var(--s-confirmed-bg); }
.pill.kind-kapitel { color: var(--muted); border: 1px solid var(--line); }
table.kinds td { vertical-align: top; }
.schema-tree { position: relative; max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; padding: 6px; background: var(--panel); font-size: 12.5px; }
.schema-tree .kids { margin-left: 16px; border-left: 1px dotted var(--line); padding-left: 4px; }
.schema-tree .frow { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 1px 2px; border-radius: 4px; }
.schema-tree .frow.hl { background: #fff4e6; outline: 2px solid #d9480f; }
.schema-tree .tog { border: none; background: none; width: 16px; padding: 0; cursor: pointer; color: var(--muted); }
.schema-tree ul.svc-tree, .schema-tree ul.svc-tree ul { list-style: none; margin: 0; padding-left: 14px; }
.schema-tree li.hl > .node-link a.link { background: #fff4e6; outline: 2px solid #d9480f; }
.doc-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.doc-bar input { flex: 1 1 200px; min-width: 0; }
.xml-view { position: relative; max-height: 600px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--panel);
  font-family: var(--mono); font-size: 12px; line-height: 1.45; white-space: pre; counter-reset: none; }
.xml-view .xl { padding-left: 52px; position: relative; }
.xml-view .xl::before { content: attr(data-n); position: absolute; left: 0; width: 44px; text-align: right; color: var(--muted); }
.xml-view .xl.mark { background: #fff4e6; }
.xml-view .xl.found { background: #e7f0ff; }
.x-tag { color: #1f5fa8; }
.x-attr { color: #8a4b08; }
.x-val { color: #1c6b3a; }
.readiness-tbl td.mark { width: 22px; text-align: center; }
.ok-mark { color: var(--s-confirmed); font-weight: 700; }
.no-mark { color: #a33; font-weight: 700; }
ul.gaps { margin: 4px 0 8px; padding-left: 18px; font-size: 13px; }
ul.gaps.blocking li::marker { color: #a33; }
ul.gaps.hint { color: var(--muted); }
.pill.stage-formalisiert, .pill.stage-umsetzbar { color: var(--s-confirmed); background: var(--s-confirmed-bg); }
.pill.stage-fast { color: var(--s-curated); background: var(--s-curated-bg); }
.pill.stage-unklar { color: #a33; background: #fde8e8; }
.pill.stage-keine-Regel { color: var(--muted); border: 1px solid var(--line); }
.rr-filter { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; align-items: center; }
.proposals-line { margin-top: 3px; }
/* Domänenmodell ↔ Prozesse und Regeln */
.da-bar { display: inline-block; position: relative; width: 70px; height: 10px; background: var(--line, #ddd); border-radius: 3px; vertical-align: middle; }
.da-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent, #3b82f6); border-radius: 3px; }
.da-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.da-col h3 { font-size: 13px; margin: 4px 0; }
.da-list { margin: 0; padding-left: 18px; max-height: 420px; overflow: auto; font-size: 13px; }
.da-list li { margin: 2px 0; }
.ddd-align tr.sel td { background: var(--sel, rgba(59,130,246,.10)); }
.nowrap { white-space: nowrap; }
@media (max-width: 800px) { .da-cols { grid-template-columns: 1fr; } }
/* Laden: Drehsymbol, Platzhalter, Fortschrittsbalken, Reiter und Detailbereich während des Ladens */
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-ph { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 6px 0; }
.results li.loading-li { cursor: default; padding: 14px 12px; }
body::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 20; pointer-events: none;
  background: linear-gradient(90deg, transparent 0, var(--accent) 40%, transparent 80%); background-size: 50% 100%;
  background-repeat: no-repeat; opacity: 0; transition: opacity .15s; }
body.busy::before { opacity: 1; transition-delay: .2s; animation: busybar 1.1s linear infinite; }
@keyframes busybar { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.tabs button.tab-busy::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 6px; vertical-align: -1px;
  border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.detail.loading { position: relative; }
.detail.loading > * { opacity: .45; transition: opacity .15s .2s; pointer-events: none; }
.detail.loading::after { content: ""; position: fixed; top: 74px; right: 28px; z-index: 5; width: 18px; height: 18px; border: 2px solid var(--line);
  border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.pager { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.da-list li.more { list-style: none; margin: 6px 0 0 -18px; }
@media (prefers-reduced-motion: reduce) { .spinner, .tabs button.tab-busy::after, .detail.loading::after, body.busy::before { animation-duration: 3s; } }
.pill.onto-ok { color: var(--muted, #667); border-color: currentColor; }
.pill.onto-bad { color: #b42318; border-color: #b42318; }
.pill.onto-maybe { color: #b54708; border-color: #b54708; border-style: dashed; }
.docling-link { white-space: nowrap; font-size: 12.5px; }
.ev-all { font-weight: normal; }
.summary-aktionen { margin: -2px 0 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.summary-aktionen:empty { display: none; }
/* Herkunft (configuration/herkunft.yaml) */
.herkunft { display: inline-flex; gap: 3px; flex-wrap: wrap; vertical-align: middle; }
.herkunft.mini { margin-left: 4px; }
.pill.hk { --hk: var(--muted); color: color-mix(in srgb, var(--hk) 55%, var(--text)); border-color: var(--hk); background: color-mix(in srgb, var(--hk) 9%, transparent); }   /* Schrift zur Textfarbe gemischt: Kontrast ≥ 4.5:1 hell und dunkel (BITV) */
.herkunft.mini .pill.hk { font-size: 11px; padding: 0 5px; }
/* Grundlage der Entscheidungen (Ablage, Chips, Historie) */
.basis-btn.has { border-color: #c2417a; color: #c2417a; font-weight: 600; }
.basis-count:empty { display: none; }
.basis { position: fixed; right: 16px; bottom: 76px; width: min(520px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; z-index: 20;
  background: var(--panel, #fff); border: 1px solid #c2417a; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px; }
.basis[hidden] { display: none; }          /* sonst hebt display: flex das hidden auf */
.basis .bhead { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.basis .bhead .link { margin-left: auto; }
.basis .brow { display: flex; gap: 6px; align-items: center; justify-content: space-between; }
.basis .brow input[type=text] { flex: 1; min-width: 0; }
.bchips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 3px; }
.bchip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 1px 4px 1px 8px; max-width: 100%; }
.bchip a, .bchip > span { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.bchip .k { color: #c2417a; font-weight: 600; }
.bchip .x { border: none; background: none; cursor: pointer; padding: 0 4px; color: var(--muted, #666); }
.add-basis { font-size: 12px; margin-left: 6px; }
.pill.basis-pill { color: #c2417a; border-color: #c2417a; cursor: help; margin-left: 4px; }
.decision { margin-top: 4px; }
/* fünf Reiter: umbrechen statt unter die Detailansicht zu ragen */
.tabs { flex-wrap: wrap; }
.tabs button { flex: 1 1 auto; white-space: nowrap; }
.pill.general { color: #a87a52; border-color: #a87a52; }
.general-card { border-color: #a87a52; }
/* Sichten der Fachontologie (v60.3) */
.pill.sicht.s-fachlich { background: #e6f0fa; color: #2c5a85; border-color: #a9c6e4; }
.pill.sicht.s-technisch { background: #eef5e9; color: #3f6b2b; border-color: #b5d3a4; }
.pill.sicht.s-bruecke { background: #f3ecfb; color: #6b3fa0; border-color: #c9b2e6; }
.pill.sicht.mini { font-size: 11px; }
@media (prefers-color-scheme: dark) {
  .pill.sicht.s-fachlich { background: #1d3550; color: #a9cbef; border-color: #2f557d; }
  .pill.sicht.s-technisch { background: #213a1c; color: #b5dba1; border-color: #3b6331; }
  .pill.sicht.s-bruecke { background: #33244a; color: #d4bdf2; border-color: #5a4180; }
}
/* Lese-Oberfläche (v61.1, --viewer): Eigenschaften als Liste statt Formular */
.view-props th { text-align: left; font-weight: 500; color: var(--muted); width: 28%; vertical-align: top; padding: 4px 10px 4px 0; }
.view-props td { vertical-align: top; padding: 4px 0; white-space: pre-wrap; }
.view-props ul.plain { margin: 0; padding-left: 18px; }
body.viewer .ro-badge { background: #e6f0fa; color: #2c5a85; border-color: #a9c6e4; }
@media (prefers-color-scheme: dark) { body.viewer .ro-badge { background: #1d3550; color: #a9cbef; border-color: #2f557d; } }
/* Fachontologie zum Lesen (v61.2) */
.results li.onto-li { display: flex; align-items: baseline; gap: 6px; padding-top: 5px; padding-bottom: 5px; }
.results li.onto-li .r-title { flex: 0 1 auto; margin: 0; }
.results li.onto-li .pill { flex: 0 0 auto; width: auto; }
.crumbs { color: var(--muted); margin-bottom: 4px; }
/* Chat über den Graphen (v61.4) */
.chat-btn[aria-expanded="true"] { background: var(--accent, #2457c5); color: #fff; border-color: transparent; }
.chat-panel { position: fixed; right: 0; top: 49px; bottom: 0; width: 440px; max-width: 100vw; z-index: 40; display: flex; flex-direction: column;
  background: var(--panel); border-left: 1px solid var(--line); box-shadow: -4px 0 16px rgba(0,0,0,.08); }
.chat-panel[hidden] { display: none; }
@media (min-width: 1200px) { body.chat-open .layout { margin-right: 440px; } }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.chat-head .spacer { flex: 1; }
.chat-note { padding: 6px 12px; }
.chat-note:empty { display: none; }
.chat-warn { color: #9a6700; margin-bottom: 6px; }
.chat-keyform { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chat-key { flex: 1; min-width: 160px; }
.chat-log { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { border-radius: 8px; padding: 8px 10px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-user { align-self: flex-end; max-width: 85%; background: var(--sel, #e8effc); white-space: pre-wrap; }
.chat-bot { background: var(--bg); border: 1px solid var(--line); }
.chat-bot p { margin: 0 0 6px; } .chat-bot ul, .chat-bot ol { margin: 0 0 6px; padding-left: 20px; }
.chat-h { font-weight: 600; margin: 6px 0 4px; }
.chat-error { color: #b42318; }
.chat-ref { font-weight: 500; }
.chat-ref-bad { color: var(--muted); text-decoration: line-through dotted; }
.chat-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.chat-tools ul { margin: 2px 0; padding-left: 16px; }
.pill.chat-cached { color: #1a7f37; border-color: #1a7f37; }
.chat-form { display: flex; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: vertical; font: inherit; }
.chat-empty { padding: 8px 2px; }
/* Datenelemente zuordnen (v62.5) */
.el-card .el-filter { min-width: 260px; }
.el-tbl td { vertical-align: top; }
.el-tbl td.el-ctx ul { margin: 0; padding-left: 0; list-style: none; }
.el-tbl td.el-ctx li { margin: 1px 0; }
.el-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.el-tbl th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.el-tbl td { padding: 5px 6px; border-bottom: 1px solid var(--line); }
.el-tbl tr.el-group td { background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 7px; }
.el-form-grid { display: grid; grid-template-columns: max-content minmax(200px, 420px); gap: 4px 8px; align-items: center; margin: 6px 0; }
/* Werkzeugleisten in der Karte „Datenelemente zuordnen“: nicht .actions (die ist eine Fußleiste mit negativem Rand
   und überdeckte die Spaltenköpfe der Tabelle) */
.el-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.el-card details.el-done { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.el-card details.el-done > summary { cursor: pointer; font-weight: 600; }
/* v62.7.1: Gruppenkopf als Überschrift (keine Checkbox), eigener Begriff als abgesetzter Arbeitsbereich */
.el-tbl tr.el-group td { vertical-align: middle; }
.el-tbl tr.el-group .el-gsel { margin-left: 10px; }
.el-tbl tr.el-group .el-new { float: right; margin-left: 10px; }
.el-tbl tr.el-group-form td, .el-tbl tr.el-form td, .el-tbl tr.el-in-form td { background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.el-tbl tr.el-group-form td:first-child, .el-tbl tr.el-form td:first-child, .el-tbl tr.el-in-form td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.el-tbl tr.el-in-form td { border-bottom-color: color-mix(in srgb, var(--accent) 20%, var(--line)); }
.el-form-title { font-weight: 600; margin-bottom: 2px; }
/* v62.7.4: transitiv erledigte Vorschläge nach einer Entscheidung */
.tr-panel { position: fixed; right: 18px; bottom: 64px; width: min(520px, calc(100vw - 36px)); max-height: 50vh; overflow: auto; z-index: 30;
  background: var(--panel); border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 10px 14px; }
.tr-panel .tr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tr-panel .tr-list { margin: 6px 0; padding-left: 0; list-style: none; }
.tr-panel .tr-list li { margin: 3px 0; }
.pill.agent { border-style: dashed; }
.ag-bulk .el-bar { margin: 4px 0 0; }
/* v63.0.3: offene Ablage „Grundlage“ verdeckt nichts dauerhaft */
body.basis-open #detail { padding-bottom: var(--basis-h, 280px); }
/* v63.0.4: Abkürzung mit langer Form beim Zeigen */
abbr[title] { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }

/* Lücken von oben und von unten (Bereich Lücken) */
.gap-req { padding: 6px 0; border-top: 1px solid var(--line); }
.gap-sub { margin-left: 18px; margin-top: 4px; }
.gap-file { margin: 8px 0 4px; }
.gap-mini > summary { cursor: pointer; margin: 4px 0; }
.gap-mini > .card { margin: 6px 0 10px; }
.gap-code { margin: 4px 0; }
.gap-code pre.code { max-height: 300px; }
.gap-code-hl { background: rgba(255, 196, 0, .22); }
.gap-such-zeile { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; }
.gap-such-feld { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; min-width: 0; }
.gap-such-feld input, .gap-such-feld select { width: 100%; box-sizing: border-box; }
/* Lückentyp (Regel des Abgleichs) */
.pill.gap-typ { background: var(--panel); border: 1px solid var(--line); color: inherit; }
/* Anforderungen je System/Package/Klasse, Rollen je System */
.gap-zu-paket { margin: 6px 0 0 12px; }
.gap-zu-paket > summary { cursor: pointer; }
.gap-zu-klasse { margin: 4px 0 4px 18px; padding-left: 8px; border-left: 2px solid var(--line, #e5e7eb); }
.gap-zu-reqs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 2px 0 4px; }
.gap-zu-req { cursor: help; border-bottom: 1px dotted currentColor; }
.gap-zu-req.regel { color: var(--warn, #b45309); }
.gap-rollen { width: 100%; border-collapse: collapse; margin-top: 8px; }
.gap-rollen th, .gap-rollen td { text-align: left; vertical-align: top; padding: 4px 6px; border-top: 1px solid var(--line, #e5e7eb); }
.gap-rollen td:first-child { width: 28%; }
.gap-such-feld.breit { flex-basis: 100%; }
.gap-such-feld > button { align-self: flex-start; }
.gap-treffer { border-top: 1px solid var(--line); padding: 6px 0; }
/* Lücken: BPMN als Graph */
.gg-canvas { height: 440px; min-height: 160px; margin: 6px 0 12px; resize: vertical; isolation: isolate; }
.gg-kopf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.gg-kopf select { max-width: 100%; }
.gg-legende { display: flex; gap: 6px 16px; flex-wrap: wrap; margin: 4px 0 10px; }
.gg-legende > span { display: inline-flex; gap: 6px; align-items: center; }
.gg-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 2px solid #868e96; background: #fff; margin-right: 4px; vertical-align: -1px; }
.gg-dot-passt { border-color: #2f9e44; background: #ebfbee; } .gg-dot-anders { border-color: #2f9e44; border-style: dashed; background: #fff; } .gg-dot-fehlt { border-color: #e03131; background: #ffe3e3; }
.gg-dot-nur { border-color: #f08c00; background: #fff4e6; } .gg-dot-teilweise { border-color: #f59f00; background: #fff9db; }
.gg-pill-passt, .gg-pill-anders { color: #2b8a3e; border-color: #2f9e44; } .gg-pill-fehlt { color: #c92a2a; border-color: #e03131; }
.gg-pill-nur { color: #d9480f; border-color: #f08c00; } .gg-pill-teilweise { color: #a66f00; border-color: #f59f00; }
.gg-passt:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #2f9e44 !important; stroke-width: 2.5px !important; fill: #ebfbee !important; }
.gg-anders:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #2f9e44 !important; stroke-width: 2.5px !important; stroke-dasharray: 5 3; }
.gg-fehlt:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #e03131 !important; stroke-width: 3px !important; fill: #ffe3e3 !important; }
.gg-nur:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #f08c00 !important; stroke-width: 3px !important; fill: #fff4e6 !important; }
.gg-teilweise:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #f59f00 !important; stroke-width: 3px !important; fill: #fff9db !important; stroke-dasharray: 6 3; }
.gg-fokus:not(.djs-connection) .djs-visual > :nth-child(1) { stroke-width: 5px !important; }
.gg-badge { display: inline-block; font: 600 10.5px/1.4 system-ui, sans-serif; color: #fff; background: #c92a2a; border-radius: 8px; padding: 0 6px; white-space: nowrap; }
.gg-legende .gg-badge { margin-right: 4px; }
.gg-detail { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 6px; }
/* Lücken: BPMN als Graph – Ansicht Kommunikation */
.gg-modus { margin-left: auto; }
.gg-modus button[aria-selected="true"] { background: var(--accent, #2457c5); color: #fff; }
.gg-body.komm { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
.gg-body > .gg-diagramme { min-width: 0; }
@media (max-width: 1200px) { .gg-body.komm { grid-template-columns: minmax(0, 1fr); } }
.gk-liste { position: sticky; top: 8px; max-height: calc(100vh - 140px); overflow: auto; }
.gk-liste h3 { margin: 4px 0; font-size: 14px; }
.gk-tab td, .gk-tab th { font-size: 12.5px; }
.gk-tab tr { cursor: pointer; } .gk-tab tr.an td { background: color-mix(in srgb, var(--accent, #2457c5) 12%, transparent); }
.gk-tab .gk-z { text-align: center; font-weight: 600; } .gk-z-ok { color: #2b8a3e; } .gk-z-fehlt { color: #c92a2a; }
.gk-z-teilweise { color: #a66f00; } .gk-z-abweichend { color: #d9480f; }
.gk-badge { margin-left: 6px; }
.gk-weg { font-size: 11.5px; margin-left: 20px; }
.gk-tab { width: 100%; } .gk-tab td:first-child { word-break: break-word; }
.gk-dot-ok { border-color: #2f9e44; background: #ebfbee; } .gk-dot-fehlt { border-color: #e03131; background: #ffe3e3; }
.gk-dot-abweichend { border-color: #f08c00; background: #fff4e6; } .gk-dot-teilweise { border-color: #f59f00; background: #fff9db; }
.gk-abw { color: #d9480f; } .gk-code { font-size: 11.5px; color: var(--muted); }
.gk-dim .djs-visual { opacity: .25; }
.gk-ok:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #2f9e44 !important; stroke-width: 3px !important; fill: #ebfbee !important; }
.gk-fehlt:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #e03131 !important; stroke-width: 3px !important; fill: #ffe3e3 !important; }
.gk-abweichend:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #f08c00 !important; stroke-width: 3px !important; fill: #fff4e6 !important; }
.gk-teilweise:not(.djs-connection) .djs-visual > :nth-child(1) { stroke: #f59f00 !important; stroke-width: 3px !important; fill: #fff9db !important; }
.gk-ok.djs-connection .djs-visual > path { stroke: #2f9e44 !important; stroke-width: 2.5px !important; }
.gk-fehlt.djs-connection .djs-visual > path { stroke: #e03131 !important; stroke-width: 2.5px !important; }
.gk-abweichend.djs-connection .djs-visual > path { stroke: #f08c00 !important; stroke-width: 2.5px !important; }
.gk-teilweise.djs-connection .djs-visual > path { stroke: #f59f00 !important; stroke-width: 2.5px !important; }
.gg-zoom { position: absolute; top: 6px; right: 6px; z-index: 5; display: flex; gap: 4px; background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 6px; padding: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.gg-zoom button { min-width: 28px; padding: 1px 6px; }
.gg-canvas.gg-voll { position: fixed; top: 12px; left: 12px; width: calc(100vw - 24px); height: calc(100vh - 24px) !important; z-index: 1000; margin: 0; resize: none; box-shadow: 0 8px 40px rgba(0,0,0,.35); }
body.gg-voll-offen::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 999; }
.gg-badge-klick { cursor: pointer; } .gg-badge-klick:hover { background: #a61e1e; }
.gg-luecke { display: grid; gap: 6px; } .gg-luecke > .card { margin: 0; }
.quell-link { white-space: nowrap; }

/* Steckbrief der Domäne (UC1) */
.sb-zahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.sb-zahl { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.sb-zahl strong { font-size: 22px; line-height: 1.2; }
.sb-karte h2 { font-size: 16px; margin: 0 0 6px; }
.sb-karte .tabelle { overflow-x: auto; }
/* Architektur (ArchiMate): Farben der Schichten wie in der Spezifikation üblich, Text dunkel auf hellem Grund */
.am-filter { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 4px 0 6px; }
.am-schalter { white-space: nowrap; }
.am-diagramm { overflow-x: auto; margin-top: 6px; }
.mm-svg.am-svg { max-width: none; height: auto; }
.am-band { opacity: .35; }
.am-band-titel { font-size: 13px; font-weight: 600; fill: var(--text, #1d2733); }
.am-band-zahl { font-size: 11px; fill: var(--muted); }
.am-box { stroke: #4b5563; stroke-width: 1; }
.am-typ { font-size: 8.5px; fill: #374151; }
.am-name { font-size: 11px; fill: #111827; }
.am-link { cursor: pointer; }
.am-link:hover .am-box, .am-link:focus .am-box { stroke: var(--accent); stroke-width: 2.5; }
.am-el:focus { outline: none; }
.am-kante { stroke: var(--muted); stroke-width: .7; opacity: .35; }
.am-k-Triggering, .am-k-Flow { stroke-dasharray: 4 3; }
.am-k-Access { stroke-dasharray: 1 3; }
.am-kante.am-aktiv { stroke: var(--accent); stroke-width: 2; opacity: 1; }
.am-Strategy .am-box, .am-band.am-Strategy { fill: #f5deaa; }
.am-Business .am-box, .am-band.am-Business { fill: #ffffb5; }
.am-Application .am-box, .am-band.am-Application { fill: #b5ffff; }
.am-Technology .am-box, .am-band.am-Technology, .am-Physical .am-box, .am-band.am-Physical { fill: #c9e7b7; }
.am-ImplementationMigration .am-box, .am-band.am-ImplementationMigration { fill: #ffe0e0; }
.am-Motivation .am-box, .am-band.am-Motivation { fill: #ccccff; }
.am-Other .am-box, .am-band.am-Other { fill: #e5e7eb; }
.am-dateien { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
