/* Ergänzungen für die Shift-Webseite (baut auf style.css des Haupt-Dashboards auf, gleicher flacher Stil). */
.wort-team { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: 0; color: var(--meta); align-self: flex-end; margin-bottom: 3px; }
.server-wahl { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-klein); background: var(--flaeche); }
.server-wahl b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oben-titel { font-weight: 500; }

/* Status-Punkt */
.punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #555; flex: none; }
.punkt.dienst { background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-tief); }
.punkt.pause { background: var(--gelb); box-shadow: 0 0 0 4px var(--gelb-tief); }
.punkt.aus { background: #555; }
@media (prefers-reduced-motion: no-preference) {
  .punkt.dienst { animation: atmen 2.4s ease-in-out infinite; }
}
@keyframes atmen { 50% { box-shadow: 0 0 0 7px transparent; } }

/* Große Shift-Karte mit Live-Uhr */
.dienst-karte { display: grid; gap: 22px; padding: 28px; }
.dienst-status { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--leise); }
.uhr { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; font-size: clamp(44px, 9vw, 84px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.uhr.still { color: #3a3a3a; }
.uhr-zeile { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--meta); font-size: 13px; }
.dienst-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.dienst-knoepfe .knopf { min-width: 150px; justify-content: center; white-space: nowrap; }
.knopf.gross { padding: 14px 22px; font-size: 15px; }
/* html davor: stärker als die Winter-Regeln (.weihnachten .knopf), die später geladen werden */
html .knopf.warnung { background: var(--gelb); color: #1a1500; }
html .knopf.gefahr-rand { background: transparent; color: #ff8a8f; box-shadow: inset 0 0 0 1px #7a2a31; }
html .knopf.gefahr-rand:hover { background: var(--rot-tief); }

/* Shift-Check-Hinweis */
.check-karte { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--gelb-tief); box-shadow: inset 0 0 0 1px #5c4a0f; }
.check-karte h2 { margin: 0; color: var(--gelb); }
.check-karte p { margin: 0; color: #e9dcae; }
.check-uhr { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; color: var(--gelb); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kachel { padding: 16px 18px; border-radius: var(--radius); background: var(--flaeche); display: grid; gap: 4px; }
.kachel .wert { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Listen */
.shift-liste { list-style: none; margin: 0; padding: 0; }
.shift-liste li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--linie); }
.shift-liste li:first-child { border-top: 0; }
.shift-liste .dauer-wert { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.warn-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.warn-liste li { padding: 14px 16px; border-radius: var(--radius-klein); background: var(--hoch); display: grid; gap: 6px; box-shadow: inset 3px 0 0 var(--gelb); }
.warn-liste p { margin: 0; overflow-wrap: anywhere; }

/* Profil */
.profil-kopf { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar.riesig { width: 88px; height: 88px; font-size: 32px; }
.profil-kopf h1 { margin: 0; }
.rang-marke { padding: 6px 12px; border-radius: 999px; background: var(--rot-tief); color: #ff8a8f; font-weight: 500; }
.rollen { display: flex; flex-wrap: wrap; gap: 6px; }
.rolle { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--hoch); font-size: 13px; }
.rolle .farbpunkt { width: 8px; height: 8px; border-radius: 50%; }
.infos { display: grid; gap: 12px; }
.info-wert { font-weight: 500; }

/* Tabelle (Leitung) */
.tabelle-karte { padding: 12px; overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th { text-align: left; font-weight: 500; color: var(--meta); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: 9px 10px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tbody tr { cursor: pointer; transition: background var(--schnell); }
.tabelle tbody tr:hover, .tabelle tbody tr:focus-visible { background: var(--hoch); }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle .rechts { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.person { display: flex; align-items: center; gap: 10px; }
.live-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live-liste li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-klein); background: var(--hoch); }
.live-liste .zeit { margin-left: auto; font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.filter-zeile { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

@media (max-width: 720px) {
  .nur-breit { display: none; }
  .dienst-karte { padding: 20px; }
  .dienst-knoepfe .knopf { flex: 1 1 130px; min-width: 0; padding-inline: 14px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel .wert { font-size: 17px; }
}
