body {
  font-family: Arial, sans-serif;
  margin: 24px;
  background: #f4f6f8;
  color: #222;
}

h1 {
  margin-bottom: 16px;
}

.filters {
  background: white;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.filters label {
  margin-left: 12px;
  margin-right: 4px;
}

select,
button {
  padding: 6px 10px;
}

button {
  cursor: pointer;
}

.current-context {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
}

details {
  background: white;
  padding: 0;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

details summary {
  cursor: pointer;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  user-select: none;
}

details[open] {
  padding-bottom: 16px;
}

details > div {
  margin: 0 16px 0 16px;
}

details > canvas {
  margin: 0 16px 0 16px;
}

.section-period {
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

canvas {
  max-height: 360px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  background: #e9eef3;
}

th,
td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

tr:hover {
  background: #f5f5f5;
}

p {
  margin: 12px 0;
  color: #666;
}
