body {
  font-family: Arial, sans-serif;
  background-color: #f3f5f7;
  color: #243044;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px;
}

h1 {
  font-size: 32px;
}

p {
  color: #596579;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background-color: white;
  margin-bottom: 12px;
  border-radius: 12px;
}

label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
}

input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #28785a;
}

label:has(input:checked) {
  background-color: #e3f2e9;
  border-radius: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

nav button {
  padding: 12px 16px;
  border: 1px solid #28785a;
  border-radius: 10px;
  background-color: white;
  color: #28785a;
  font: inherit;
  cursor: pointer;
}

nav button[aria-pressed="true"] {
  background-color: #28785a;
  color: white;
}

.tagesfortschritt {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tagesfortschritt p {
  flex-shrink: 0;
}

#tagesbalken {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 18px;
  accent-color: #28785a;
}

.verzicht-auswertung {
  background-color: white;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
}

.verzicht-auswertung h4 {
  margin: 0 0 8px;
}

.verzicht-auswertung p {
  margin: 0 0 12px;
}

.verzicht-auswertung progress {
  display: block;
  width: 100%;
  height: 18px;
  accent-color: #28785a;
}

h1,
#datum {
  text-align: center;
}

nav {
  justify-content: center;
}


.wochenkarte {
  background-color: white;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.wochenkarte h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.wochentage,
.wochenbalken {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.wochentage {
  margin-bottom: 6px;
  text-align: center;
  font-size: 12px;
  color: #596579;
}

.wochenbalken {
  border: 1px solid #c5ccd3;
  border-radius: 6px;
  overflow: hidden;
}

.wochentag-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  font-size: 12px;
  background-color: #e2e6eb;
  color: white;
}

.wochentag-segment + .wochentag-segment {
  border-left: 1px solid #aab4bf;
}

.wochentag-segment.erledigt {
  background-color: #28785a;
}

.wochentag-segment.zukunft {
  background-color: #f8f9fb;
}

.wochenkarte p {
  margin: 10px 0 0;
  font-size: 14px;
}

.wochenkarte-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.wochenkarte-kopf h3,
.wochenkarte-kopf p {
  margin: 0;
}

.wochenkarte-kopf p {
  margin-left: auto;
}

nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

nav button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 4px;
  font-size: 14px;
}

.verzicht-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.verzicht-kopf h4,
.verzicht-kopf p {
  margin: 0;
}

.verzicht-kopf p {
  margin-left: auto;
  font-size: 14px;
}