/* Startbildschirm — Aufteilung nach Screenshot 16.28.36:
   links die beiden Hinweislisten, rechts Suche und Projektinfo. */

.start {
  display: grid;
  grid-template-columns: minmax(420px, 42%) 1fr;
  gap: 6px;
  padding: 6px;
  height: 100%;
  min-height: 0;
}

.hinweisspalte {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
}
.projektspalte {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 6px;
  min-height: 0;
}

.hinweisliste { display: flex; flex-direction: column; min-height: 0; }
.hinweisliste .tabellenrahmen { flex: 1; }
.werkzeugleiste {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.werkzeugleiste select { width: auto; }
.hinweisliste tbody tr { cursor: pointer; }

/* ---------- Suche ---------- */
.suchzeile {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.trefferliste { margin-top: 4px; max-height: 150px; overflow: auto; }
.treffer {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 2px 6px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 2px;
}
.treffer:hover { background: var(--gruen-hell); }

/* ---------- Projektkoerper ---------- */
.projektkoerper { overflow: auto; min-height: 0; }
.projektraster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
}
.projektraster .spanne { grid-column: 1 / -1; }
.projektraster .feldzeile { grid-template-columns: 145px 1fr; margin-bottom: 2px; }
.projektraster .feldzeile span { overflow: hidden; text-overflow: ellipsis; }
.textblock {
  white-space: pre-wrap;
  font-size: 11.5px;
  color: var(--text);
  max-height: 120px;
  overflow: auto;
}
.projektraster .tabellenrahmen { max-height: 190px; }
.start .leer { height: 120px; }

.projektkopf { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.projektkopf .luecke { flex: 1; }
