/* ── Kontextmenü (Zonen-Design) + Grid-Suche ── */
.lv-suche { background: transparent; border: none; border-bottom: 1px solid var(--rand);
  color: var(--text); font-size: 12.5px; padding: 4px 2px; outline: none; width: 160px; }
.cm-overlay { position: fixed; inset: 0; z-index: 90; }
.cm-menu { position: fixed; z-index: 91; min-width: 280px; background: var(--bg);
  border: 1px solid var(--rand); border-radius: 8px; padding: 5px 0; font-size: 12.5px;
  box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.cm-header { padding: 4px 12px 7px; font-size: 10.5px; color: var(--text-3);
  border-bottom: 1px solid var(--rand-fein); margin-bottom: 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.cm-item { display: flex; align-items: center; gap: 8px; padding: 6px 13px; cursor: pointer; }
.cm-item:hover { background: var(--menu-hover); }
.cm-einzug { padding-left: 36px; }
.cm-ico { width: 16px; text-align: center; color: var(--text-2); font-size: 13px; }
.cm-ico.gruen { color: #3E9963; font-weight: 700; }
.cm-lbl { flex: 1; }
.cm-sub { color: var(--text-3); font-size: 11px; }
.cm-kbd { color: var(--text-3); font-size: 11px; }
.cm-sep { height: 1px; background: var(--rand-fein); margin: 4px 0; }
.cm-gefahr, .cm-gefahr .cm-ico { color: var(--gefahr); }

/* ── Banner + Modal ── */
.lv-banner { display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  border-radius: 6px; font-size: 12.5px; margin-bottom: 10px; }
.lv-banner.warn { background: var(--akvs-bg); color: var(--akvs-fg);
  border: 1px solid color-mix(in srgb, var(--akvs-fg) 40%, transparent); }
.modal-karte { position: fixed; z-index: 95; left: 50%; top: 50%;
  transform: translate(-50%, -50%); width: min(680px, 92vw);
  background: var(--bg); border: 1px solid var(--rand); border-radius: 10px;
  padding: 16px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.modal-titel { font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.modal-text { width: 100%; min-height: 260px; background: var(--bg-alt);
  color: var(--text); border: 1px solid var(--rand); border-radius: 6px;
  padding: 10px; font-size: 13px; font-family: inherit; resize: vertical; }
.modal-fuss { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* Kalkulations-Marker in der Grid-Zelle (Dialog-Styles → dialog-kalkulation.css). */
.kalk-marker { color: var(--termin-fg); font-weight: 700; font-style: italic; margin-right: 4px; }

/* ── Export-Menü ── */
.export-menue { position: relative; }
.export-menue summary { list-style: none; cursor: pointer; }
.export-liste { position: absolute; z-index: 50; top: calc(100% + 4px); right: 0;
  background: var(--bg); border: 1px solid var(--rand); border-radius: 8px;
  padding: 5px 0; min-width: 240px; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.export-liste .cm-item { background: none; border: none; width: 100%; text-align: left;
  color: var(--text); font-size: 12.5px; }
