#loginButton {
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#loginButton:hover,
#loginButton:focus-visible {
  background: #f4b400;
  color: #171717;
  box-shadow: 0 8px 22px #f4b40055, 0 0 0 3px #f4b4002e;
  transform: translateY(-1px);
  outline: none;
}

.wizard-progress.employee-progress {
  grid-template-columns: repeat(7, 1fr);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 12px;
}

.section-title h3 {
  margin: 0;
  font: 22px Georgia, serif;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section-title.records-title {
  margin-top: 30px;
}

.master-selector {
  max-width: 560px;
  margin-bottom: 6px;
}

.master-selector label {
  margin: 0;
  color: #4f4a40;
  font-size: 12px;
  font-weight: 650;
}

.master-selector select {
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid #d9cfb9;
  background: #fff;
  color: #201e19;
  font-size: 16px;
  font-weight: 650;
}

.section-title > div p {
  margin-top: 5px;
}

.master-category-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.master-category-card {
  min-height: 174px;
  padding: 22px;
  border: 1px solid #e2dccf;
  border-left: 4px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #201e19;
  text-align: left;
  box-shadow: 0 5px 18px #2c24130b;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.master-category-card:hover,
.master-category-card.active {
  border-color: #f4b400;
  border-left-color: #f4b400;
  box-shadow: 0 12px 30px #3b30151c;
  transform: translateY(-2px);
}

.master-category-card span,
.master-category-card strong,
.master-category-card small,
.master-category-card b {
  display: block;
}

.master-category-card span {
  color: #9a7300;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
}

.master-category-card strong {
  margin-top: 12px;
  font: 20px Georgia, serif;
}

.master-category-card small {
  min-height: 38px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.master-category-card b {
  margin-top: 16px;
  color: #201e19;
  font-size: 11px;
}

.master-category-card i {
  float: right;
  color: #9a7300;
  font-style: normal;
}

@media (max-width: 900px) {
  .master-category-cards {
    grid-template-columns: 1fr;
  }
}

/* Consistent interactive feedback across the system */
button,
input,
select,
textarea,
[data-add],
[data-page],
[data-master-category] {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
    box-shadow .18s ease, transform .18s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #d2a100;
  background-color: #fffdf5;
  box-shadow: 0 0 0 3px #f4b40014;
}

button:hover:not(:disabled),
[data-add]:hover,
[data-master-category]:hover {
  border-color: #f4b400;
  box-shadow: 0 6px 18px #f4b4002b;
}

#recordForm button:hover:not(:disabled),
.section-title .primary:hover,
.tools button:hover {
  background: #f4b400;
  color: #171717;
  transform: translateY(-1px);
}

.dialogHead button:hover {
  background: #fff2c2;
  color: #7a5900;
  box-shadow: 0 0 0 3px #f4b40026;
  transform: rotate(4deg);
}

nav button:hover,
#logout:hover {
  background: #f4b4001f;
  color: #fff;
  border-left: 3px solid #f4b400;
  padding-left: 19px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: #f4b400;
  box-shadow: 0 0 0 4px #f4b4002e;
}

.partner-category select:disabled {
  color: #8a8579;
  background: #f2efe7;
  border-style: dashed;
  cursor: not-allowed;
  box-shadow: none;
}

.row-edit {
  display: block;
  margin-top: 7px;
  padding: 5px 10px;
  border: 1px solid #d8cdaF;
  background: #fffaf0;
  color: #6c5000;
  font-size: 10px;
  font-weight: 750;
}

.row-edit:hover {
  border-color: #f4b400;
  background: #f4b400;
  color: #171717;
}

.same-address-check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  color: #4f4a40;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.same-address-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #f4b400;
}

textarea:disabled {
  color: #6f6b62;
  background: #f2efe7;
}

.split-allocation{margin:12px 0 4px;padding:16px;border:1px solid #ded6c5;border-radius:10px;background:#fffcf5}.split-heading,.allocation-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.split-heading small{display:block;margin-top:4px;color:var(--muted)}.split-heading button{border:1px solid #d9cdaf;background:#fff}.allocation-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) 38px;align-items:end;gap:10px;border-top:1px solid #e9e2d4;margin-top:12px;padding-top:4px}.allocation-row label{margin-bottom:0}.remove-allocation{height:40px;padding:0;border:1px solid #e2c5c0;background:#fff;color:#a43f37;font-size:20px}.allocation-total{margin-top:14px;padding-top:12px;border-top:1px solid #ded6c5;color:#7a5900}.split-allocation.balanced .allocation-total{color:#26603f}@media(max-width:650px){.allocation-row{grid-template-columns:1fr}}
