.accounting-handoff {
  overflow: hidden;
}
.accounting-handoff-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(115deg, #092b48 0%, #0e5d9d 58%, #1187e8 100%);
}
.accounting-handoff-head small,
.accounting-handoff-head span { display: block; }
.accounting-handoff-head small {
  margin-bottom: 3px;
  color: #9ed3ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.accounting-handoff-head strong { font: 700 21px/1.15 Poppins, sans-serif; }
.accounting-handoff-head span { margin-top: 3px; color: #d8edff; font-size: 13px; }
.accounting-handoff-head button { min-width: 170px; box-shadow: 0 7px 18px rgba(2, 30, 55, .24); }
.accounting-handoff-head button:disabled { cursor: not-allowed; opacity: .55; }
.accounting-handoff-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 16px 0;
  padding: 11px 13px;
  color: #4b5d70;
  background: #f4f8fc;
  border: 1px solid #c9d9e8;
  border-left: 4px solid #f4a11a;
  border-radius: 5px;
  font-size: 12px;
}
.accounting-handoff-notice strong { color: #17293d; }
.accounting-handoff-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 14px 16px;
  overflow: hidden;
  background: #c9d9e8;
  border: 1px solid #c9d9e8;
  border-radius: 5px;
}
.accounting-handoff-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  background: #fff;
}
.accounting-handoff-step b {
  display: grid;
  width: 28px; height: 28px;
  place-items: center;
  color: #fff; background: #0b78df;
  border-radius: 50%;
  font-size: 12px;
}
.accounting-handoff-step strong,
.accounting-handoff-step span { display: block; }
.accounting-handoff-step strong { color: #17293d; font-size: 12px; }
.accounting-handoff-step span { margin-top: 2px; color: #667b90; font-size: 10px; }
.accounting-handoff-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px 14px;
}
.accounting-handoff-summary span {
  padding: 9px 11px;
  color: #5b6e82;
  background: #edf4fa;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.accounting-handoff-summary strong { display: block; color: #17293d; font-size: 18px; }
.accounting-queue { padding: 0 16px 16px; }
.accounting-queue-row {
  display: grid;
  grid-template-columns: 120px minmax(190px, 1.2fr) minmax(150px, 1fr) 120px 160px 84px;
  align-items: center;
  min-height: 55px;
  padding: 0 10px;
  border-top: 1px solid #d7e2ec;
  font-size: 12px;
}
.accounting-queue-row:first-child { border-top: 2px solid #0b78df; }
.accounting-queue-row > span { min-width: 0; padding: 8px; }
.accounting-queue-row strong,
.accounting-queue-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.accounting-queue-row small { margin-top: 2px; color: #71869a; }
.accounting-state {
  display: inline-flex !important;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid #bfd0df;
  border-radius: 999px;
  color: #41566b;
  background: #f3f7fa;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.accounting-state.ready { color: #09613e; background: #e8f8ef; border-color: #9dd7b7; }
.accounting-state.blocked { color: #9a321f; background: #fff0ec; border-color: #efb4a7; }
.accounting-state.complete { color: #075fae; background: #e8f4ff; border-color: #9fcbf2; }
.accounting-empty { padding: 28px; text-align: center; color: #60768b; }
@media (max-width: 980px) {
  .accounting-handoff-steps { grid-template-columns: repeat(2, 1fr); }
  .accounting-queue { overflow-x: auto; }
  .accounting-queue-row { min-width: 850px; }
}
@media (max-width: 620px) {
  .accounting-handoff-head { grid-template-columns: 1fr; }
  .accounting-handoff-head button { width: 100%; }
  .accounting-handoff-steps,
  .accounting-handoff-summary { grid-template-columns: 1fr 1fr; }
}
