/* Credit actions share the same order and language wherever staff enter them. */
.fund-shortcuts {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
  padding: 15px clamp(16px, 2vw, 26px); margin: 15px 0;
  border: 1px solid var(--staff-line); border-radius: 10px; background: var(--staff-surface);
}
.fund-shortcuts strong { color: var(--staff-text); font-size: 16px; }
.fund-shortcuts p { margin: 3px 0 0; font-size: 14px; color: var(--staff-muted); }
.fund-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fund-buttons .btn { font-size: 14px; min-height: 40px; }
.dossier-funding { margin: 10px 0 14px; }
.fund-packages { margin: 0; border: 0; padding: 0; min-width: 0; }
.fund-packages legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.fund-packages legend small { font-weight: 400; margin-left: 4px; }
.fund-packages > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 123px), 1fr)); gap: 8px; }
.dialog-body .fund-package {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px;
  min-height: 61px; border: 1px solid var(--staff-control-line); border-radius: 8px; cursor: pointer;
}
.dialog-body .fund-package:has(input:checked) { border-color: var(--staff-accent); background: var(--staff-tint); }
.dialog-body .fund-package input {
  width: 17px; height: 17px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--staff-accent);
}
.fund-package > span, .fund-package small { display: block; }
.fund-package strong { color: var(--staff-text); font-size: 16px; font-variant-numeric: tabular-nums; }
.fund-package small, .fund-hint { color: var(--staff-muted); font-size: 13px; line-height: 1.55; font-weight: 400; }
.fund-hint { margin: 0; }
.link-fund-reversal {display:block;background:none;border:0;padding:5px 0;color:var(--staff-accent);cursor:pointer;font:inherit;font-size:.88em}
.link-fund-reversal:hover,.link-fund-reversal:focus-visible {text-decoration:underline}
.field-row[data-fund-custom][hidden] { display: none; }
.fund-recipient { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--staff-line); }
.fund-recipient > span, .fund-recipient small, .fund-recipient summary { color: var(--staff-muted); font-size: 13px; }
.fund-recipient > span { flex: none; }
.fund-recipient > div { min-width: 0; }
.fund-recipient strong, .fund-recipient small { display: block; }
.fund-recipient strong, .fund-recipient code { overflow-wrap: anywhere; }
.fund-recipient summary, .receipt-extra summary { cursor: pointer; width: fit-content; }
.receipt-entry-fields { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 12px; }
.receipt-entry-fields input[readonly] { background: var(--staff-subtle); }
.receipt-extra { border-top: 1px solid var(--staff-line); padding-top: 7px; }
.receipt-extra summary { padding: 5px 0; font-size: 14px; color: var(--staff-muted); }
.receipt-extra .field-row { margin-top: 6px; }
.fund-impact {
  padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; border-radius: 8px; color: var(--staff-text); background: var(--staff-subtle);
}
.fund-impact > span { font-size: 14px; }
.fund-impact b { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 9px; font-variant-numeric: tabular-nums; }
.fund-impact b > span, .fund-impact i { font-style: normal; font-weight: 400; color: var(--staff-muted); }
.fund-impact strong { color: var(--staff-accent); }
@media (max-width: 550px) {
  .receipt-entry-fields { grid-template-columns: minmax(0, 1fr); }
  .fund-shortcuts { align-items: flex-start; flex-direction: column; }
  .fund-shortcuts .fund-buttons { width: 100%; }
  .fund-shortcuts .fund-buttons .btn { flex: 1; }
}
.registration-trial-panel { max-width:740px; }
.trial-policy-current { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:20px 24px; border-bottom:1px solid var(--staff-line); }
.trial-policy-current h2, .trial-policy-current p { margin:0; }
.trial-policy-current p, .registration-trial-body p, .registration-trial-body small { color:var(--staff-muted); }
.trial-policy-current strong { font-size:1.75rem; color:var(--staff-accent); font-variant-numeric:tabular-nums; }
.registration-trial-body { padding:20px 24px; }
.registration-trial-body form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; }
.registration-trial-body small { flex-basis:100%; }
.registration-trial-body .trial-policy-result { flex-basis:100%; margin:0; }
.registration-trial-body .trial-policy-result:empty { display:none; }
