:root {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#17362c;
  background:#f4f5ef;
  font-synthesis:none;
  font-size:18px
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
header {
  max-width:560px;
  margin:auto;
  padding:24px 22px 12px;
  display:flex;
  align-items:center;
  gap:12px
}
.brand {
  display:grid;
  place-items:center;
  background:#174b3b;
  color:white;
  border-radius:12px;
  width:42px;
  height:42px;
  font-size:30px
}
main {
  max-width:560px;
  margin:auto;
  padding:16px 22px 130px
}
h1 {
  font-size:2rem;
  line-height:1.15;
  margin:14px 0 24px
}
h2 {
  font-size:1.15rem;
  margin:24px 0 12px
}
p {
  line-height:1.5
}
.muted,small {
  color:#52685f
}
small {
  display:block;
  margin-top:5px
}
button,input,select,textarea {
  font:inherit;
  min-height:56px;
  border-radius:14px
}
button {
  cursor:pointer;
  border:1px solid #a5b5ab;
  background:white;
  color:#17362c;
  padding:14px 18px;
  font-weight:650;
  width:100%;
  margin:6px 0;
  overflow-wrap:anywhere
}
button:disabled {
  opacity:.5;
  cursor:default
}
button:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #236bcb;
  outline-offset:3px
}
input,select,textarea {
  width:100%;
  padding:14px;
  border:1px solid #869c8f;
  background:white;
  color:#17362c;
  margin:8px 0 18px
}
label {
  font-weight:600
}
.rapport-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.primary {
  background:#174b3b;
  color:white;
  border-color:#174b3b
}
.start,.end {
  min-height:116px;
  font-size:2rem;
  border:0;
  margin:22px 0 12px
}
.start {
  background:#174b3b;
  color:white
}
.end {
  background:#a62f26;
  color:white
}
/* Sprachnotiz zum Feierabend (Bautagebuch) */
.record {
  min-height:116px;
  font-size:1.6rem;
  border:0;
  margin:22px 0 8px;
  background:#a62f26;
  color:white
}
.recording {
  background:#fbe3e0;
  color:#7d1f18
}
.skip {
  border-style:dashed
}
.diary audio {
  width:100%;
  margin:10px 0
}
.success-note {
  background:#edf4e9;
  border-color:#174b3b;
  font-weight:650
}
/* Vorbereiteter Knopf für die spätere KI-Brille */
.glasses {
  background:#eef1fb;
  border-color:#8d9ad0;
  color:#1f2d6b
}
.glasses::before {
  content:"👓 "
}
.card {
  background:white;
  border:1px solid #dce3da;
  padding:20px;
  border-radius:18px;
  margin:14px 0;
  overflow-wrap:anywhere
}
.selected {
  border:2px solid #174b3b;
  background:#edf4e9
}
.location {
  text-align:left
}
.status {
  display:inline-block;
  background:#e2efda;
  border-radius:30px;
  padding:8px 14px;
  font-weight:700
}
.timer {
  font-size:clamp(2.5rem,12vw,4rem);
  font-variant-numeric:tabular-nums;
  font-weight:750;
  letter-spacing:-2px;
  margin:20px 0
}
.row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:12px 0
}
.tabs {
  display:flex;
  gap:8px
}
.tabs button[aria-pressed=true] {
  background:#174b3b;
  color:white
}
nav {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#fff;
  border-top:1px solid #dce3da;
  padding:8px 12px calc(8px + env(safe-area-inset-bottom));
  display:flex;
  justify-content:center;
  gap:8px
}
nav[hidden] {
  display:none
}
nav button {
  max-width:170px;
  border:0;
  font-size:.85rem;
  margin:0;
  background:transparent
}
nav button span {
  display:block;
  font-size:1.4rem;
  margin-bottom:3px
}
nav button[aria-current=page] {
  background:#e7efdf;
  color:#174b3b
}
#notice {
  max-width:516px;
  margin:12px auto;
  background:#fff1d2;
  border:1px solid #b67b19;
  padding:16px;
  border-radius:12px;
  line-height:1.45
}
#notice[hidden] {
  display:none
}
.success {
  font-size:3rem;
  color:#174b3b
}
.total {
  font-size:1.3rem;
  font-weight:700
}
.hint {
  font-size:.9rem
}
.empty {
  padding:18px 0;
  color:#52685f
}
@media(max-width:360px) {
  main {
    padding-left:16px;
    padding-right:16px
  }
  h1 {
    font-size:1.7rem
  }
  nav {
    gap:0;
    padding-left:2px;
    padding-right:2px
  }
  nav button {
    padding:12px 6px
  }

}

.pilot-banner{padding:10px 16px;text-align:center;background:#ffedaa;color:#382a00;border-bottom:2px solid #92700a;font-size:16px;font-weight:800;letter-spacing:.03em}
