/* ---------- Schnellbericht (Seite „Bericht schreiben", gedacht fürs Handy) ---------- */

.schnell,
.schnell__karte {
  max-width: 38rem;
}
.schnell__feld {
  margin-bottom: 1.5rem;
}
.schnell label,
.schnell__label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--gruen-900);
}
.schnell input[type='text'],
.schnell input[type='date'],
.schnell textarea {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1.0625rem; /* mindestens 16px, sonst zoomt das iPhone beim Antippen */
  line-height: 1.5;
  color: var(--text);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 0.75rem;
  -webkit-appearance: none;
  appearance: none;
}
.schnell textarea {
  min-height: 11rem;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.schnell textarea.schnell__titel {
  min-height: 0;
  font-weight: 600;
}
.schnell textarea.schnell__kurz {
  min-height: 0;
}
.schnell__freiwillig {
  font-weight: 400;
  color: var(--text-leise);
}
.schnell input[type='text']:focus,
.schnell input[type='date']:focus,
.schnell textarea:focus {
  outline: none;
  border-color: var(--gruen-600);
  box-shadow: 0 0 0 3px var(--gruen-100);
}
.schnell__wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.schnell__pille {
  padding: 0.6rem 1.05rem;
  font: inherit;
  font-weight: 600;
  color: var(--gruen-800);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  cursor: pointer;
}
.schnell__pille[aria-checked='true'] {
  background: var(--gruen-700);
  border-color: var(--gruen-700);
  color: #fff;
}
.schnell__fotoknopf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--gruen-700);
  background: var(--gruen-50);
  border: 2px dashed var(--gruen-200);
  border-radius: 0.9rem;
  cursor: pointer;
}
.schnell__fotos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}
.schnell__fotos:empty {
  display: none;
}
.schnell__foto {
  position: relative;
  aspect-ratio: 1;
}
.schnell__foto.ist-titelbild {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}
.schnell__fotobild {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0.7rem;
  background: var(--gruen-100) center / cover no-repeat;
  cursor: pointer;
}
/* Alben: Fotos untereinander, daneben das Feld für die Bildunterschrift */
.schnell__fotos--liste {
  grid-template-columns: minmax(0, 1fr);
}
.schnell__fotos--liste .schnell__foto {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) 2.6rem;
  gap: 0.6rem;
  align-items: center;
  aspect-ratio: auto;
}
.schnell__fotos--liste .schnell__fotobild {
  height: 4.2rem;
  cursor: default;
}
.schnell__fotos--liste .schnell__entfernen {
  position: static;
  width: 2.6rem;
  height: 2.6rem;
}
.schnell__unterschrift {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 0.6rem;
}
.schnell__unterschrift:focus {
  outline: 2px solid var(--gruen-800);
  outline-offset: 1px;
}
.schnell__titelmarke {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gruen-950);
  background: var(--gold-200);
  border-radius: 999px;
  pointer-events: none;
}
.schnell__entfernen {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.1rem;
  height: 2.1rem;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  background: rgb(14 31 22 / 0.72);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.schnell__tipp {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--text-leise);
}
.schnell__senden {
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-family: inherit;
  font-size: 1.1rem;
  border: 0;
  cursor: pointer;
}
.schnell__senden:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.schnell.ist-beschaeftigt .schnell__entfernen {
  display: none;
}
.schnell__fortschritt {
  margin-bottom: 1rem;
}
.schnell__balken {
  height: 0.6rem;
  background: var(--gruen-100);
  border-radius: 999px;
  overflow: hidden;
}
.schnell__balken > div {
  width: 0;
  height: 100%;
  background: var(--gruen-600);
  border-radius: 999px;
  transition: width 0.3s;
}
.schnell__fortschritt p {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--gruen-700);
}
.schnell__fehler {
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  color: #7a1f1f;
  background: #fbeaea;
  border: 1px solid #efc4c4;
  border-radius: 0.75rem;
}
.schnell__konto {
  margin-top: 2rem;
}

/* Textfeld mit Werkzeugleiste */
.schnell__schreibfeld {
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 0.75rem;
}
.schnell__schreibfeld:focus-within {
  border-color: var(--gruen-600);
  box-shadow: 0 0 0 3px var(--gruen-100);
}
.schnell__leiste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem;
  background: var(--gruen-50);
  border-bottom: 1px solid var(--linie);
  border-radius: 0.65rem 0.65rem 0 0;
  /* bleibt beim Schreiben längerer Texte unter der Kopfzeile sichtbar */
  position: sticky;
  top: 4.5rem;
  z-index: 2;
}
.admin-bar .schnell__leiste {
  top: calc(4.5rem + 46px);
}
.schnell__leiste button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gruen-900);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 0.55rem;
  cursor: pointer;
  touch-action: manipulation;
}
.schnell__leiste button b {
  font-size: 1.15rem;
}
.schnell__leiste button small {
  font-size: 0.8em;
}
.schnell__leiste button[aria-pressed='true'] {
  background: var(--gruen-700);
  border-color: var(--gruen-700);
  color: #fff;
}
.schnell__editor {
  min-height: 11rem;
  padding: 0.85rem 1rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  outline: none;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
}
.schnell__editor {
  position: relative;
}
.schnell__editor.ist-leer::before {
  content: attr(data-platzhalter);
  position: absolute;
  inset: 0.85rem 1rem auto 1rem;
  color: #8a948d;
  pointer-events: none;
}
.schnell__editor p,
.schnell__editor div {
  margin: 0 0 0.75em;
}
.schnell__editor ul,
.schnell__editor ol {
  margin: 0 0 0.75em;
  padding-left: 1.5rem;
}
.schnell__editor li {
  margin-bottom: 0.25em;
}
.schnell__editor > :last-child {
  margin-bottom: 0;
}
.schnell input[type='date'] {
  max-width: 14rem;
  min-height: 3.2rem;
}

/* Termin-Formular und Listen zum Verwalten */
.schnell h2 {
  margin-bottom: 1rem;
}
.schnell input[type='time'] {
  display: block;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 0.75rem;
  -webkit-appearance: none;
  appearance: none;
}
.schnell input[type='time']:focus {
  outline: none;
  border-color: var(--gruen-600);
  box-shadow: 0 0 0 3px var(--gruen-100);
}
.schnell__zeile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0 1rem;
}
.schnell__zeile input[type='date'] {
  max-width: none;
  width: 100%;
}
.schnell__liste {
  max-width: 38rem;
  margin-top: 3rem;
}
.schnell__erfolg {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}
.termin--verwaltung {
  align-items: start;
}
.termin__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem !important;
}
.schnell__klein {
  min-height: 2.6rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gruen-800);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.schnell__klein--rot {
  color: #8f2424;
  border-color: #e6c3c3;
}
.schnell__status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--gruen-100);
  color: var(--gruen-800);
}
.schnell__status--wartet {
  background: #fbf0d0;
  color: #6d4c0b;
}
.schnell__berichte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.schnell__berichte li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1rem;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: 0.75rem;
}
.schnell__berichte strong {
  display: block;
}
.schnell__berichte span.leise {
  font-size: 0.9rem;
}
.schnell select {
  display: block;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.6rem 1rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--papier);
  border: 1.5px solid var(--linie);
  border-radius: 0.75rem;
}
