/* NeXtMailbox Web – „Externes Postfach spiegeln“ (spiegel.js, nm-spiegel-web). Bausteine aus web.css/umzug.css
   (.gruppe, .geraet, .hinweis, .erweitert, .um-schritte), hier nur Abstände und Stand-Farben.
   © 2026 by Sebastian Hirtreiter */
.spg-gruppe > .hilfe { margin-top: 0; }
.spg-liste { margin: 0; }
.spg-liste > .spg-neu { margin: 4px 0 8px; }
.spg-eintrag { border-top: 1px solid var(--line); }
.spg-liste > .spg-neu + .spg-eintrag, .spg-liste > .spg-eintrag:first-child { border-top: 0; }
.spg-eintrag > .geraet { border-top: 0; }
.spg-eintrag > .geraet > svg.ic { flex: none; }
.spg-eintrag .geraet .t > span { overflow-wrap: anywhere; }
.spg-eintrag .geraet .t > .spg-stand { white-space: normal; overflow: visible; }
.spg-stand a { color: var(--akzent-text); white-space: nowrap; }
.spg-eintrag .geraet .t .spg-st.spg-aktiv { color: var(--ok); }
.spg-eintrag .geraet .t .spg-st.spg-erstabgleich { color: var(--akzent-text); }
.spg-eintrag .geraet .t .spg-st.spg-pausiert { color: var(--muted); }
.spg-eintrag .geraet .t .spg-st.spg-bremse { color: var(--warn); font-weight: 600; }
.spg-eintrag .geraet .t .w9-fehler { color: var(--gefahr); }
.spg-eintrag > .spg-aktion { margin: 0 0 10px; flex-wrap: wrap; }
.spg-eintrag > .spg-aktion > svg.ic { flex: none; }
.spg-eintrag > .spg-aktion > span { flex: 1 1 0; min-width: 0; }
.spg-eintrag > .spg-aktion > .kn { margin-left: auto; flex: none; }

.spg-assistent { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-top: 4px; }
.spg-liste:empty + .spg-assistent { border-top: 0; margin-top: 0; }
.spg-titel { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 10px; }
.spg-titel svg.ic { color: var(--akzent-text); flex: none; }
.spg-assistent .zeile { max-width: 520px; }
.spg-assistent .knopfreihe { margin-top: 12px; }
.spg-ergebnis:empty { display: none; }
.spg-ergebnis { margin: 0 0 6px; max-width: 640px; }
.spg-ergebnis > .laden { text-align: left; padding: 8px 0; }
.spg-ergebnis > .hinweis, .spg-assistent > .hinweis { align-items: flex-start; flex-wrap: nowrap; }
.spg-ergebnis > .hinweis > span, .spg-assistent > .hinweis > span { flex: 1 1 auto; }
.spg-ergebnis > .hinweis > svg.ic, .spg-assistent > .hinweis > svg.ic { flex: none; margin-top: 1px; }
.spg-tipps { max-width: 640px; }
.spg-erweitert, .spg-hilfe { max-width: 640px; }
.spg-erweitert > .hilfe { margin-top: 0; }
.spg-unter { font-size: 13px; font-weight: 600; color: var(--muted); margin: 12px 0 8px; text-transform: none; }
.spg-wer { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; min-width: 0; }
.spg-wer > span { min-width: 0; overflow-wrap: anywhere; }
.spg-wer svg.ic { color: var(--muted); flex: none; }
.spg-assistent > .schalter { max-width: 520px; margin: 4px 0 2px; }
.spg-assistent > .hinweis { max-width: 640px; align-items: flex-start; }
.spg-assistent > .laden { text-align: left; padding: 8px 0 0; }

.spg-iphone { max-width: 640px; padding: 10px 14px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line); margin: 6px 0 4px; font-size: 13.5px; line-height: 1.5; }
.spg-iphone h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 4px 0 6px; }
.spg-iphone h3 + ol, .spg-iphone h3 + p { margin-top: 0; }
.spg-iphone h3:not(:first-child) { margin-top: 12px; }
.spg-iphone h3 svg.ic { color: var(--akzent-text); flex: none; }
.spg-iphone ol { margin: 0 0 4px; padding-left: 22px; }
.spg-iphone li { margin: 3px 0; overflow-wrap: anywhere; }
.spg-iphone p { margin: 0 0 4px; overflow-wrap: anywhere; }
.dialog .spg-iphone { margin: 0; }
.spg-dlg-text { margin-top: 0; }

@media (max-width: 600px) {
  .spg-eintrag > .spg-aktion > span { flex: 1 1 calc(100% - 40px); }
  .spg-eintrag > .spg-aktion > .kn { margin-left: 24px; max-width: calc(100% - 24px); white-space: normal; }
  .spg-iphone { padding: 10px 12px; }
}
