.module-footer {
  margin-top: 2rem;
  padding: 1.25rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-top: 1px solid #eaeaea;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}
.module-footer p {
  margin: 0 0 0.75rem 0;
}
.module-footer p:last-child {
  margin-bottom: 0;
}
.module-footer ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}
.module-footer li {
  margin-bottom: 0.5rem;
}
.module-footer li:last-child {
  margin-bottom: 0;
}
.module-footer strong {
  color: #333;
  font-weight: 600;
}

#chronoCalcModule {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #333;
  line-height: 1.5;
}
.calc-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eaeaea;
}
.calc-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.calc-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.compact-row {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.input-group.compact {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  margin-bottom: 0;
}
.input-group.compact label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: #555;
  white-space: nowrap;
}
.input-group.compact input[type="date"],
.input-group.compact input[type="number"] {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.875rem;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s;
}
.input-group.compact input[type="date"]:focus,
.input-group.compact input[type="number"]:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}
.input-group.compact input[type="number"] {
  min-width: 100px;
}
.compact-btn {
  padding: 0.5rem 1.25rem;
  height: 2.375rem;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}
.compact-btn:hover {
  background-color: #3a7bc8;
}
.compact-btn:active {
  transform: translateY(1px);
}
.result-box {
  margin-top: 1rem;
  padding: 0.875rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #4a90e2;
  font-size: 0.9375rem;
  color: #222;
  min-height: 1.5em;
}
.result-box:empty {
  display: none;
}