/* ============================================================
   ORTSGEMEINSCHAFT/STYLE.CSS - Seitenspezifische Styles
   ============================================================ */
/* Allgemeine Relations-Auswahl (.og-relation) und Chips (.og-chips, .og-chip)
   befinden sich zentral in assets/components.css */

/* Kürzel der Ortsgemeinschaft (B, BE, …) */
.og-kuerzel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  margin-right: 12px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: center;
  color: var(--pal-anthrazit-nacht);
  background: var(--pal-gold-hell);
  border-radius: 8px;
  vertical-align: middle;
}

/* Tabelle: Kürzel groß vor dem Namen, beides mittig in einer Linie */
.col-ortsgemeinschaft .table-entry-title {
  display: flex;
  align-items: center;
}

.og-kuerzel-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.field input.og-kuerzel-input {
  width: 90px;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.og-kuerzel-beispiel {
  font-size: 14px;
  color: var(--ink-soft);
}

.og-kuerzel-beispiel b {
  padding: 1px 6px;
  color: var(--pal-anthrazit-nacht);
  background: var(--pal-gold-hell);
  border-radius: 8px;
}

.og-kuerzel-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* Ortsgemeinschaft mit kleinem Kürzel in anderen Tabellen (Hausgemeinschaften, Sets, Kisten) */
.og-mit-kuerzel { display: inline-flex; align-items: center; white-space: nowrap; }
.og-kuerzel.og-kuerzel-klein { min-width: 28px; height: 28px; padding: 0 6px; margin-right: 8px; font-size: 14px; border-radius: 8px; }

/* Hausgemeinschaften in der Ortsgemeinschaften-Tabelle: Haus-Symbol, Name, Weg-Nummer */
.og-haus-zeile { display: flex; align-items: center; gap: 0; min-height: 32px; white-space: nowrap; }
.og-haus-zeile + .og-haus-zeile { margin-top: 4px; }
.og-haus-name { overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.hg-haus-klein { width: 28px; padding: 0; }
.hg-haus-klein .material-icons { font-size: 16px; }
/* kleiner farbiger Kreis mit der Weg-Nummer (assets/unser-weg.js) */
.uw-punkt {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 20px; height: 20px; margin-left: 8px; border-radius: 50%;
  font-size: 12px; font-weight: 800; line-height: 1;
  background: var(--accent-dark, var(--gold-mittel)); color: #fff;
}

/* Kürzel im Filter-Chip etwas kleiner */
.stock-chip .og-kuerzel.og-kuerzel-klein { min-width: 20px; height: 20px; padding: 0 4px; margin-right: 6px; font-size: 12px; border-radius: 8px; }
/* Weg-Punkt im Auswahlfeld ohne Abstand links */
.va-typ-inhalt .uw-punkt { margin-left: 0; }
