/* Shared icon actions. Priority over legacy per-page shape overrides. */
@layer nexo-record-actions {
 :root { --record-action-size:36px; --record-action-radius:10px; --record-action-gap:8px; }
 :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail) {
  box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 var(--record-action-size)!important;
  width:var(--record-action-size)!important;height:var(--record-action-size)!important;
  min-width:var(--record-action-size)!important;max-width:var(--record-action-size)!important;
  min-height:var(--record-action-size)!important;max-height:var(--record-action-size)!important;
  margin:0!important;padding:8px!important;
  border:0!important;border-radius:var(--record-action-radius)!important;
  background:#f6f7f9!important;color:#73777f!important;
  box-shadow:none!important;transform:none!important;
  transition:background-color .16s ease,color .16s ease!important;
 }
 :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail) svg {
  width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;color:inherit!important;
 }
 .tx-row-actions {gap:var(--record-action-gap)!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;margin:0!important;}
 .row-actions>div:has(>button.delete),.goal-card-actions {gap:var(--record-action-gap)!important;}
 .tx-sheet-actions {gap:var(--record-action-gap)!important;flex-wrap:wrap!important;}
 /* Returning mouse focus after closing an editor is not a selected state. */
 button.delete[data-edit]:focus:not(:focus-visible):not(:hover):not(:active) {
  background:#f6f7f9!important;color:#73777f!important;box-shadow:none!important;outline:none!important;
 }
 @media(min-width:801px) {
  .transaction-table {min-width:1100px!important;}
  .tx-col-description {width:23%!important;}
  .tx-col-category {width:20%!important;}
  .tx-col-date {width:11%!important;}
  .tx-col-invoice {width:13%!important;}
  .tx-col-status {width:9%!important;}
  .tx-col-amount {width:10%!important;}
  .tx-col-actions {width:14%!important;}
  .transaction-table :is(th,td):last-child {padding-left:12px!important;padding-right:12px!important;}
 }
 @media(max-width:800px) {
  :root {--record-action-size:40px;}
  .mobile-tx-status,.tx-status-button,.tx-status-label {border-radius:var(--record-action-radius)!important;}
 }
 @media(hover:hover) and (pointer:fine) {
  :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail):hover:not(:disabled) {background:#e9ebef!important;color:#17191c!important;}
 }
 :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail):active:not(:disabled) {background:#e9ebef!important;color:#17191c!important;}
 :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail):focus-visible {outline:2px solid #687d90!important;outline-offset:2px!important;}
 @media(prefers-reduced-motion:reduce) {
  :is(button.delete[data-edit],button[data-delete],button[data-proj-remove],button.family-remove-visitor,button.tx-sheet-icon-action,button.nexo-transfer-row,button.nexo-transfer-detail) {transition:none!important;}
 }
}
