/* Saved cost center distributions on a journal line.
   Uses the ERP gold (#da9e52) and flex layout, so right-to-left pages mirror without extra rules. */
.cct-empty { color: #7b7b7b; padding: 6px 8px; }

/* saved distributions on a line */
.cct-suggest {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 6px 10px; background: #fffaf2; border-bottom: 1px dashed #e8d9bf;
}
.cct-suggest-label { color: #7a5a24; font-size: 12px; font-weight: 600; }
.cct-line-save { cursor: pointer; color: #b9770e; font-size: 12px; }
.cct-line-save:hover { color: #7a5a24; }
.cct-line-hint { color: #a94442; font-size: 12px; }
.cct-line-form { display: flex; align-items: center; gap: 10px; }
.cct-line-form input { width: 240px; }
.cct-line-form input:focus { border-color: #da9e52; box-shadow: none; }
.cct-line-form a { cursor: pointer; color: #da9e52; font-size: 15px; }
.cct-line-form a:hover { color: #b9770e; }

.cct-picker { position: relative; width: 340px; max-width: 100%; }
.cct-picker-btn { display: flex; align-items: center; gap: 8px; width: 100%; text-align: start; background: #fff; cursor: pointer; }
.cct-picker-btn:focus { border-color: #da9e52; box-shadow: none; }
.cct-picker-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #333; }
.cct-picker-empty { font-weight: 400; color: #7b7b7b; }
.cct-picker-count { flex: none; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #da9e52; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.cct-picker-menu {
  position: absolute; inset-inline-start: 0; top: 100%; z-index: 1050; width: 520px; max-width: 90vw; margin-top: 2px; padding: 8px;
  background: #fff; border: 1px solid #da9e52; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.cct-picker-menu input:focus { border-color: #da9e52; box-shadow: none; }
.cct-picker-list { max-height: 300px; overflow-y: auto; margin-top: 6px; }
.cct-picker-group { padding: 6px 8px 3px; color: #7a5a24; font-size: 11px; font-weight: 700; }
.cct-picker-row { display: flex; align-items: center; gap: 8px; border-radius: 3px; }
.cct-picker-renaming { padding: 6px 8px; }
.cct-picker-renaming input:focus { border-color: #da9e52; box-shadow: none; }
.cct-picker-item {
  display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; padding: 6px 8px;
  text-align: start; background: none; border: 0; cursor: pointer;
}
.cct-picker-active { background: #fdf3e2; }
.cct-picker-actions { display: flex; flex: none; gap: 12px; padding-inline-end: 8px; }
.cct-picker-actions a { cursor: pointer; color: #da9e52; }
.cct-picker-actions a:hover { color: #b9770e; }
.cct-picker-head { display: flex; align-items: baseline; gap: 8px; }
.cct-picker-name { font-weight: 600; color: #333; }
.cct-picker-warn { color: #b9770e; }
.cct-picker-meta { margin-inline-start: auto; flex: none; color: #8a8a8a; font-size: 11px; }
.cct-picker-sum { color: #6f6f6f; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cct-picker-from { color: #a08a63; font-size: 11px; }
