/* Namenskacheln + PIN (19.11.2026) */
.pin-wer .pin-titel, .pin-seite .pin-titel { margin: 0 0 .25rem; font-size: 1.6rem; }
.pin-gruppe { margin: 1.1rem 0 .4rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: #475569; }
.pin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 640px) { .pin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .pin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pin-kachel { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .85rem .5rem; border-radius: 16px;
  border: 2px solid #e2e8f0; background: #fff; text-decoration: none; color: #0f172a; min-height: 128px; justify-content: center;
  text-align: center; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.pin-kachel:active, .pin-kachel:focus-visible { border-color: #2563eb; outline: none; transform: scale(.98); }
.pin-kachel[hidden], .pin-gruppe[hidden], .pin-grid[hidden] { display: none; }
.pin-av { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ma-bg, #cbd5e1); color: var(--ma-fg, #0f172a); font-weight: 700; font-size: 1.15rem; border: 2px solid var(--ma-rand, #94a3b8); }
.pin-av-gross { width: 76px; height: 76px; font-size: 1.7rem; }
.pin-name { font-weight: 700; font-size: 1.08rem; line-height: 1.2; word-break: break-word; }
.pin-chip { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--c-bg, #e2e8f0); color: var(--c-fg, #334155); border: 1px solid var(--c-rand, #cbd5e1); }
.pin-chef { border-color: #b45309; background: #fffbeb; }
.pin-chef .pin-av { background: #fde68a; color: #78350f; border-color: #b45309; }
.pin-suche { width: 100%; font-size: 1.1rem; padding: .7rem .9rem; margin: .5rem 0 .2rem; border: 2px solid #cbd5e1; border-radius: 12px; box-sizing: border-box; }
.pin-hinweis { background: #fef3c7; border: 1px solid #f59e0b; padding: .6rem .8rem; border-radius: 10px; margin: .6rem 0; }
.pin-mail { margin: 1rem 0; }
.pin-mail > summary { cursor: pointer; padding: .9rem 1rem; font-size: 1.05rem; font-weight: 600; color: #1d4ed8; list-style: none;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; }
.pin-mail[open] > summary { margin-bottom: .6rem; }
.pin-seite { text-align: center; }
.pin-zurueck { display: inline-block; float: left; font-size: 1.05rem; font-weight: 600; padding: .3rem 0; }
.pin-kopf { clear: both; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding-top: .4rem; }
.pin-punkte { display: flex; justify-content: center; gap: .7rem; margin: 1.1rem 0 .6rem; min-height: 22px; }
.pin-punkt { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #64748b; background: transparent; }
.pin-punkt.voll { background: #0f172a; border-color: #0f172a; }
.pin-feld { width: 100%; max-width: 20rem; font-size: 1.6rem; text-align: center; letter-spacing: .35em; padding: .7rem; border: 2px solid #cbd5e1; border-radius: 12px; box-sizing: border-box; }
.pin-feld-aus { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pin-zu-kurz + .pin-pad, .pin-punkte.zu-kurz { animation: pin-wackeln .4s; }
@keyframes pin-wackeln { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; max-width: 20rem; margin: .8rem auto; }
.pin-taste { font-size: 1.9rem; font-weight: 700; padding: 0; height: 72px; border-radius: 16px; border: 2px solid #cbd5e1; background: #fff; color: #0f172a; cursor: pointer; }
.pin-taste:active { background: #e2e8f0; border-color: #2563eb; }
.pin-ok { background: #16a34a; border-color: #15803d; color: #fff; }
.pin-weg { color: #b91c1c; }
.pin-absenden-klein { display: none; }
.pin-hilfe { margin-top: 1rem; }
.pin-status { font-weight: 600; padding: .5rem .7rem; border-radius: 10px; }
.pin-ok-txt { background: #dcfce7; color: #14532d; }
.pin-fehl-txt { background: #fee2e2; color: #7f1d1d; }
.pin-schalter { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: .8rem 0; }
.pin-zeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto; gap: .6rem; align-items: center; padding: .55rem 0; border-top: 1px solid #e2e8f0; }
@media (max-width: 700px) { .pin-zeile { grid-template-columns: 1fr; } }
.pin-st { font-size: .88rem; }
.pin-st-ok { color: #15803d; } .pin-st-warn { color: #b45309; } .pin-st-err { color: #b91c1c; }
.pin-chip-chef { --c-bg: #fde68a; --c-fg: #78350f; --c-rand: #b45309; }
.pin-log { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pin-log th, .pin-log td { text-align: left; padding: .3rem .5rem; border-bottom: 1px solid #e2e8f0; }
