/* Besprechungsseite: schlicht, lesbar am PC und am Handy, hell und dunkel. Keine Schriften von außen. */
:root {
  --grund: #f5f6f8; --flaeche: #ffffff; --text: #1c232b; --leise: #5a6472; --linie: #dadfe5;
  --akzent: #1d5c96; --akzent-text: #ffffff; --akzent-zart: #e8f0f8;
  --neu: #92400e; --neu-grund: #fdf0c8; --ok: #14532d; --ok-grund: #dcf5e4;
  --fehler: #8f1d1d; --fehler-grund: #fde3e3; --gefahr: #a32020;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #13161a; --flaeche: #1c2127; --text: #e5e8ec; --leise: #9ba5b2; --linie: #313942;
    --akzent: #72aee6; --akzent-text: #0c1724; --akzent-zart: #1b2a3a;
    --neu: #fcd34d; --neu-grund: #3a2f0e; --ok: #86efac; --ok-grund: #12301f;
    --fehler: #fca5a5; --fehler-grund: #3a1616; --gefahr: #f08a8a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--akzent); }
main { max-width: 860px; margin: 0 auto; padding: 16px 16px 48px; }
h1 { font-size: 1.45rem; line-height: 1.25; margin: 10px 0 14px; }
h2 { font-size: 1.12rem; line-height: 1.3; margin: 26px 0 10px; }
p { margin: 8px 0; }
ul, ol { padding-left: 1.3em; margin: 6px 0; }
li { margin: 4px 0; }

.kopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: 860px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap;
  gap: 6px 18px; align-items: center; justify-content: space-between; }
.marke { font-weight: 650; color: var(--text); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; font-size: .95rem; }
nav form { margin: 0; }
.wer { color: var(--leise); }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; }
.karte > h2:first-child { margin-top: 0; }
.schmal { max-width: 460px; margin: 0 auto; }
.leise { color: var(--leise); font-size: .9rem; }
.zeile { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.neuigkeiten { border-left: 4px solid var(--akzent); }
.neuigkeiten h2 { font-size: 1rem; margin: 0 0 6px; }
.plan h2 { margin: 0 0 8px; }
.plan h2 a { color: var(--text); text-decoration: none; }
.plan h2 a:hover { text-decoration: underline; }
.notizen-link { margin: 8px 0 0; font-size: .95rem; }

.datei { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 8px 0; border-top: 1px solid var(--linie); }
.datei:first-of-type, h2 + .datei, h1 + .datei, section > .datei:first-child { border-top: none; }
.knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }

.knopf, button { display: inline-block; font: inherit; font-size: .95rem; line-height: 1.3; padding: 8px 14px;
  border-radius: 7px; border: 1px solid var(--akzent); background: var(--akzent); color: var(--akzent-text);
  text-decoration: none; cursor: pointer; min-height: 38px; }
.knopf.zweit, button.zweit { background: transparent; color: var(--akzent); }
.knopf:hover, button:hover { filter: brightness(1.08); }
button.link { background: none; border: none; color: var(--akzent); padding: 0; min-height: 0; text-decoration: underline; font-size: inherit; }
button.gefahr, button.zweit.gefahr { border-color: var(--gefahr); color: var(--gefahr); background: transparent; }

.marke-neu { display: inline-block; margin-left: 6px; background: var(--neu-grund); color: var(--neu);
  border-radius: 999px; padding: 0 9px; font-size: .78rem; font-weight: 650; vertical-align: 1px; }

details { margin: 8px 0 0; }
details > summary { cursor: pointer; color: var(--akzent); padding: 4px 0; }
details.aeltere .datei { padding-left: 4px; }
details.gruppe { margin: 18px 0 0; }
details.gruppe > summary { font-weight: 600; }
details.loeschen { margin: 0; }
details.loeschen > summary { display: inline-block; padding: 8px 4px; }
details.loeschen form { margin-top: 6px; }

.notiz.erledigt { opacity: .85; }
.notiz.geloescht { background: transparent; border-style: dashed; }
.notiz-kopf { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.notiz-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 8px; }
.notiz-text.alt { color: var(--leise); border-left: 3px solid var(--linie); padding-left: 10px; margin: 4px 0 10px; }
.notiz-fuss { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.notiz-fuss form { margin: 0; }
.verlauf ol { font-size: .92rem; }

label { display: block; margin: 12px 0 4px; font-weight: 550; }
label.haken { display: flex; gap: 8px; align-items: center; font-weight: 400; }
input[type=text], input[type=email], textarea, select { width: 100%; font: inherit; font-size: 16px; padding: 9px 10px;
  border: 1px solid var(--linie); border-radius: 7px; background: var(--flaeche); color: var(--text); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.neue-notiz label:first-of-type { margin-top: 0; }

.hinweis { padding: 10px 14px; border-radius: 8px; margin: 0 0 14px; }
.hinweis.ok { background: var(--ok-grund); color: var(--ok); }
.hinweis.fehler { background: var(--fehler-grund); color: var(--fehler); }

.rollbar { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--flaeche); }
.tabelle th, .tabelle td { padding: 6px 8px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; white-space: nowrap; }

@media (max-width: 520px) {
  h1 { font-size: 1.3rem; }
  .karte { padding: 12px; }
  .datei { align-items: flex-start; }
}

#code { font: 600 1.5rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .25em; max-width: 12ch; }
