.handover-context-menu {
  position: fixed;
  z-index: 1085;
  width: min(286px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #d8dfec;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(13, 26, 50, .2);
  font-size: .82rem;
}
.handover-context-menu[hidden],
.handover-context-menu [hidden] { display: none !important; }
.handover-context-menu header {
  display: grid;
  padding: 7px 9px 8px;
  border-bottom: 1px solid #e8ecf3;
}
.handover-context-menu header small,
.handover-context-menu header span {
  color: #6b778c;
  font-size: .69rem;
}
.handover-context-menu header strong {
  color: #0c1e34;
  font-size: .84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.handover-menu-section { display: grid; padding: 4px 0; }
.handover-menu-section + .handover-menu-section { border-top: 1px solid #e8ecf3; }
.handover-menu-label {
  display: flex;
  justify-content: space-between;
  padding: 5px 9px 3px;
  color: #778296;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.handover-menu-label em { font-style: normal; letter-spacing: .02em; }
.handover-menu-section > button {
  display: flex;
  width: 100%;
  gap: 9px;
  align-items: center;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  color: #14243a;
}
.handover-menu-section > button:hover,
.handover-menu-section > button:focus { background: #eef5f4; outline: 0; }
.handover-menu-section > button > i {
  display: grid;
  flex: 0 0 27px;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: #e4f4f1;
  color: #087d72;
  font-size: .84rem;
}
.handover-menu-section > button span { display: grid; line-height: 1.18; }
.handover-menu-section > button strong { font-size: .78rem; }
.handover-menu-section > button small { color: #758096; font-size: .67rem; font-weight: 400; }
[data-handover-target] { cursor: context-menu; }
.handover-modal .modal-content { border: 0; border-radius: 12px; box-shadow: 0 26px 70px rgba(13, 26, 50, .28); }
.handover-context { display: grid; padding: 14px 16px; border: 1px solid #dfe5ef; border-radius: 8px; background: #f7f9fc; }
.handover-context small { color: #737e91; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.handover-context span { color: #68758a; font-size: .85rem; }
.handover-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; border: 0; padding: 0; }
.handover-scope legend,
.handover-field > span { font-weight: 700; font-size: .86rem; margin-bottom: 7px; }
.handover-scope label { position: relative; }
.handover-scope input { position: absolute; opacity: 0; }
.handover-scope label > span { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 12px; border: 1px solid #d8dfeb; border-radius: 8px; }
.handover-scope label > span > i { font-size: 1.15rem; color: #187d73; }
.handover-scope label > span strong,
.handover-scope label > span small { display: block; }
.handover-scope label > span small { color: #758096; font-weight: 400; }
.handover-scope input:checked + span { border-color: #178479; background: #eef8f6; box-shadow: 0 0 0 1px #178479; }
.handover-field { display: grid; margin-top: 15px; }
.handover-field span small { font-weight: 400; color: #7b8597; }
.handover-audit-note { display: flex; gap: 9px; margin: 17px 0 0; padding: 12px; background: #f4f8f7; border-radius: 7px; color: #536377; font-size: .82rem; }
.handover-audit-note i { color: #147c72; }
@media (max-width: 600px) {
  .handover-scope { grid-template-columns: 1fr; }
  .handover-context-menu { width: calc(100vw - 16px); }
}
