body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  margin: 0;
  padding: 30px;
}

h1 {
  text-align: center;
}

.card {
  background: white;
  padding: 20px;
  margin: 20px auto;
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.input-grid,
.input-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.full-width {
  grid-column: 1 / -1;
}

.hidden {
  display: none;
}

label {
  font-weight: bold;
}

input,
select {
  box-sizing: border-box;
  padding: 8px;
  width: 100%;
}

.button-group {
  justify-content: end;
}

button {
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
}

.note {
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #222;
  color: white;
}

td, th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.zero-row {
  background-color: #fff59d;
  font-weight: bold;
}


.summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.summary-grid div{
  background:#f4f6f8;
  padding:10px;
  border-radius:8px;
}


.notes-section textarea{
  width:100%;
  box-sizing:border-box;
  padding:12px;
  resize:vertical;
  font-family:inherit;
}

.notes-section .static-text{
  width:100%;
  box-sizing:border-box;
  padding:12px;
  font-family:inherit;
  background:#fafafa;
  border:1px solid #ccc;
  border-radius:4px;
  min-height:18em;
  white-space:pre-wrap;
  overflow:auto;
  color:#333;
}
