/* Spark Agency HR — transfers between branches (v51) */
@media screen {
  .tx-panel { margin: 4px 0 22px; padding: 22px; }
  .tx-head h2 { margin: 0 0 4px; font-size: 20px; }
  .tx-head p { margin: 0 0 16px; }
  .tx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
  .tx-card {
    display: grid;
    gap: 6px;
    justify-items: start;
    text-align: start;
    padding: 18px;
    border: 1px solid #d9e4e3;
    border-radius: 18px;
    background: #fff;
    color: var(--text, #10262f);
    box-shadow: none;
    font-weight: 400;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  }
  .tx-card:hover { border-color: #0a9a9c; transform: translateY(-2px); box-shadow: 0 10px 26px #0f2a3614; background: #fff; }
  .tx-card b { font-size: 16px; }
  .tx-card > span:last-child { color: #5b7178; font-size: 13.5px; line-height: 1.45; }
  .tx-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e2f4f2; color: #087f81; margin-bottom: 4px; }
  .tx-card[data-tx="send"] .tx-ico { background: #e8eefc; color: #3156c9; }
  .tx-card[data-tx="papers"] .tx-ico { background: #fdf0e1; color: #b0640c; }

  dialog.tx-dialog { width: min(640px, calc(100vw - 32px)); }
  .tx-dialog .br-form { max-height: calc(100vh - 60px); overflow: auto; }
  .tx-dialog label { display: grid; gap: 6px; font-weight: 600; font-size: 13.5px; }
  .tx-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
  .tx-arrow { display: grid; place-items: center; width: 36px; height: 44px; color: #0a9a9c; }
  html[dir="rtl"] .tx-arrow svg { transform: scaleX(-1); }
  .tx-goes { margin: 0; padding: 12px 14px 12px 32px; background: #f3f8f7; border-radius: 14px; display: grid; gap: 4px; color: #33505a; font-size: 13.5px; }
  html[dir="rtl"] .tx-goes { padding: 12px 32px 12px 14px; }
  .tx-items { display: grid; gap: 12px; max-height: 42vh; overflow: auto; padding: 2px; }
  .tx-group h3 { margin: 0 0 6px; font-size: 12.5px; color: #5b7178; font-weight: 700; }
  .tx-dialog label.tx-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin: 0 0 6px;
    border: 1px solid #e0e9e8;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
  }
  .tx-row:has(input:checked) { border-color: #0a9a9c; background: #f0faf9; }
  .tx-row input, .tx-chip input, .tx-check input { width: auto; margin: 0; }
  .tx-row span { flex: 1; display: grid; }
  .tx-row em { font-style: normal; color: #6e858c; font-size: 12.5px; }
  .tx-row small { color: #6e858c; font-variant-numeric: tabular-nums; }
  .tx-to { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .tx-to legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
  .tx-to [data-to] { display: contents; }
  .tx-dialog label.tx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid #d6e2e1; border-radius: 999px; cursor: pointer; font-weight: 600; }
  .tx-chip:has(input:checked) { border-color: #0a9a9c; background: #e6f6f4; }
  .tx-dialog label.tx-check { display: flex; align-items: center; gap: 9px; font-weight: 500; }
  .tx-done { text-align: center; justify-items: center; }
  .tx-done p { margin: 0; }
  .tx-ok { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #e2f4f2; color: #087f81; animation: tx-pop 0.4s cubic-bezier(.22,.8,.3,1); }
  @keyframes tx-pop { from { transform: scale(0.6); opacity: 0; } }
  @media (max-width: 560px) {
    .tx-route { grid-template-columns: 1fr; }
    .tx-arrow { transform: rotate(90deg); height: 24px; justify-self: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tx-card, .tx-ok { transition: none; animation: none; }
  }
}
.pos-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e9f5f3; color: #0b6466; font-weight: 600; font-size: 13px; white-space: nowrap; }
/* v53 — delete accounts and branches */
button.rm-danger { background: #c62f3a; border: 1px solid #c62f3a; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
button.rm-danger:hover { background: #a9232e; }
button.rm-danger:disabled { opacity: 0.45; cursor: not-allowed; }
button.rm-danger.rm-ghost { background: #fff; color: #b3262f; border-color: #efc3c6; }
button.rm-danger.rm-ghost:hover { background: #fff1f2; }
.br-actions [data-del] { margin-inline-end: auto; }
button.rm-user { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #b3262f; border: 1px solid #efc3c6; box-shadow: none; }
button.rm-user:hover { background: #fff1f2; }
.rm-dialog .br-form { text-align: start; }
.rm-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fdecee; color: #c62f3a; }
.rm-dialog label { display: grid; gap: 6px; font-weight: 600; }
.rm-dialog label b { background: #f4f6f7; padding: 1px 7px; border-radius: 6px; font-family: ui-monospace, Menlo, monospace; }
.rm-bin { padding: 20px 22px; margin-bottom: 22px; }
.rm-bin h2 { margin: 0 0 4px; font-size: 18px; }
.rm-list { display: grid; gap: 8px; margin-top: 12px; }
.rm-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px dashed #d9c9cb; border-radius: 14px; background: #fffafa; }
.rm-item > div { flex: 1; display: grid; gap: 2px; }
.rm-item small { color: #6e858c; }
@media (max-width: 560px) { .rm-item { flex-wrap: wrap; } }
