* {
  box-sizing: border-box;
}
body {
  width: 340px;
  max-height: 580px;
  overflow-y: auto;
  margin: 0;
  padding: 12px 16px;
  background: #f6f6ef;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9pt;
  color: #828282;
}
.header {
  color: #000;
  font-size: 11pt;
  font-weight: bold;
}
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 8px 0;
}
.section {
  margin-bottom: 12px;
}
.section-header {
  color: #000;
  font-weight: bold;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
}
input[type="number"],
input[type="date"] {
  width: 80px;
  padding: 1px 4px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 9pt;
}
input.inline-input {
  width: 55px;
  padding: 1px 4px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 9pt;
}
fieldset {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 2px 8px 6px;
  margin: 4px 0;
}
fieldset legend {
  font-size: 8pt;
  font-weight: bold;
  padding: 0 4px;
}
.inline-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
  font-size: 8.5pt;
}
.hint {
  font-size: 8pt;
  color: #aaa;
  margin-top: 2px;
}
.bar-scale-hint {
  font-size: 8pt;
  color: #aaa;
  font-style: italic;
}
.btn-row {
  display: flex;
  gap: 8px;
}
.btn-save {
  padding: 4px 12px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 9pt;
}
.btn-reset {
  padding: 4px 12px;
  background: #828282;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 9pt;
}
