/* Shared Excel add-in controls. AddinValueCellField: one box with the value/cell mode menu inside on the left and the
   range picker inside on the right, used by the chart builder and the Reporting Variables section. */

.avc-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.avc-label { font-size: 11.5px; font-weight: 500; color: var(--rw-text-secondary, #4b5563); }
.avc-box { display: flex; align-items: center; min-width: 0; border: 1px solid var(--rw-border, #cfd4da); border-radius: 4px; background: #fff; }
.avc-box:focus-within { border-color: #37a686; box-shadow: 0 0 0 2px rgba(55, 166, 134, .25); }
.avc-input { flex: 1 1 auto; min-width: 0; padding: 4px 7px; border: 0; background: transparent; font: inherit; font-size: 12.5px; }
.avc-input:focus { outline: none; }
.avc-cell .avc-input { font-family: var(--rw-font-family-mono, ui-monospace, monospace); color: #08594a; }
.avc-mode { flex: 0 0 auto; border-right: 1px solid var(--rw-border, #e2e5ea); }
.avc-mode .k-button { padding: 2px 4px; }
.avc-mode .dropdown-icon { font-size: 9px; margin-left: 1px; opacity: .7; }
.avc-cell .avc-mode .left-icon { color: #08594a; }
.avc-pick { flex: 0 0 auto; align-self: stretch; padding: 0 8px; border: 0; border-left: 1px solid var(--rw-border, #e2e5ea); border-radius: 0 3px 3px 0; background: transparent; cursor: pointer; color: #37a686; }
.avc-pick:hover { background: #f2f8f6; }
.avc-disabled .avc-box { background: #f5f6f7; }
.avc-disabled .avc-pick { cursor: default; color: #a3aab1; }
.avc-hint { font-size: 11px; line-height: 1.35; color: var(--rw-text-muted, #6b7280); }

/* Companion Home hub: selecting a chart picture on the sheet highlights its row in the hub (find-the-mapping aid). */
.ah-chart-row { border-radius: 6px; transition: box-shadow .12s ease, background .12s ease; }
.ah-chart-selected { box-shadow: inset 0 0 0 2px #2f6fed; background: #eef3ff; }
