/* The currency of an amount as its symbol (ui/currency-pick.js): a ₪ / $ / € button the native list of currencies lies over. */
.cur-pick { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  min-width: 52px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm, 8px);
  background: var(--surface); color: var(--ink); cursor: pointer; vertical-align: middle; flex: none; }
.cur-pick:hover { background: var(--hover, var(--surface-2)); border-color: var(--accent); }
.cur-pick:focus-within { box-shadow: var(--focus); border-color: var(--accent); }
.cur-pick .cur-face { display: inline-flex; align-items: center; gap: 3px; pointer-events: none; line-height: 1; }
.cur-pick .cur-face::after { content: "▾"; font-size: 10px; color: var(--ink-3); }
.cur-sym { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.cur-pick > select.cur-native { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; min-width: 0; margin: 0;
  padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.cur-pick.is-disabled { background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; }
.cur-pick.is-disabled > select.cur-native { cursor: not-allowed; }
.cur-pick.is-disabled .cur-face::after { content: none; }
/* inside a table cell or a compact row it is as tall as the inputs beside it */
.lf-table .cur-pick, .data .cur-pick, .odt-table .cur-pick { min-width: 48px; min-height: 36px; }
.lf-table .cur-pick > select, .data .cur-pick > select { min-width: 0; }
/* a currency fixed where the amount is typed: the symbol, without the list */
.cur-fixed { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 1px 6px;
  border: 1px dashed var(--line-strong); border-radius: 6px; color: var(--ink-2, var(--ink)); background: var(--surface-2); line-height: 1.3; cursor: help; }
.cur-fixed .cur-sym { font-size: 14px; }
/* an amount and its currency side by side */
.amt-cur { display: flex; align-items: center; gap: 6px; }
.amt-cur > input { flex: 1; min-width: 0; }
/* a currency code written as an amount's unit, with its symbol before it */
.unit-word[data-cur-sym]::before { content: attr(data-cur-sym); font-weight: 700; font-size: 14px; color: var(--ink); margin-inline-end: 4px; }
