/* combo-v2: la combobox condivisa (.blazor-combo-box) tiene la misura, il bordo, il raggio e il focus del campo standard
   (site.css, regola .blazor-combo-box.dxbl-text-edit: gli stessi di .form-control; nei form v2 vale forms-v2.css), cosi' resta
   allineata ai campi vicini. Freccia senza riquadro ne' divisore: gia' in site.css. Il popup (nh-combo-dd) e' in detail-v2.css, sezione g).
   Qui resta solo la sola lettura/disattivata come riquadro tenue, uguale a quello delle schede (detail-v2.css, sezione c).
   Tutto sotto body.nh-v2: in produzione il file e' inerte. Per tornare indietro: togliere il <link> in App.razor.
   Esclusi: righe filtro delle tabelle, Assenze, celle di tabella e pager, schede .work-surface--half e form v2
   (.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid, che hanno gia' il loro disattivato/sola lettura). */

/* !important: site.css forza questi campi a testo nudo (sfondo trasparente, peso 400) con !important.
   Il bordo resta, trasparente, cosi' l'ingombro e' quello del campo standard e non cambia l'altezza. */
body.nh-v2 .blazor-combo-box.dxbl-text-edit:not(.smart-table-filter-control, [class*="absences-"][class*="-combo"], .work-surface--half *, .smart-table-header-filters *, .smart-table-filter-row *, .smart-table-filter-bar *, .absences-form-grid *, .absences-day-table *, td *, th *, [class*="pager"] *, :is(.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid) *):is(.dxbl-disabled, .dxbl-readonly) {
  border-color: transparent !important;
  background: var(--surface-soft) !important;
  box-shadow: none;
  cursor: default;
}

body.nh-v2 .blazor-combo-box.dxbl-text-edit:not(.smart-table-filter-control, [class*="absences-"][class*="-combo"], .work-surface--half *, .smart-table-header-filters *, .smart-table-filter-row *, .smart-table-filter-bar *, .absences-form-grid *, .absences-day-table *, td *, th *, [class*="pager"] *, :is(.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid) *):is(.dxbl-disabled, .dxbl-readonly) :is(input, .dxbl-text-edit-input) {
  font-weight: 650 !important;
  cursor: default;
}

body.nh-v2 .blazor-combo-box.dxbl-text-edit:not(.smart-table-filter-control, [class*="absences-"][class*="-combo"], .work-surface--half *, .smart-table-header-filters *, .smart-table-filter-row *, .smart-table-filter-bar *, .absences-form-grid *, .absences-day-table *, td *, th *, [class*="pager"] *, :is(.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid) *):is(.dxbl-disabled, .dxbl-readonly) :is(.dxbl-btn-group-right, .dxbl-edit-btn-dropdown) {
  display: none !important;
}

/* Raggiungibile da tastiera anche in lettura: solo il contorno. */
body.nh-v2 .blazor-combo-box.dxbl-text-edit:not(.smart-table-filter-control, [class*="absences-"][class*="-combo"], .work-surface--half *, .smart-table-header-filters *, .smart-table-filter-row *, .smart-table-filter-bar *, .absences-form-grid *, .absences-day-table *, td *, th *, [class*="pager"] *, :is(.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid) *).dxbl-readonly:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Stessa altezza del campo standard accanto, per TUTTE le combo (non solo sola lettura/disattivate): l'input .form-control misura
   29,3px, il min-height di 38px di site.css (3785-3791) le rendeva piu' alte. Il numero e' quello misurato sul campo standard. */
body.nh-v2 .blazor-combo-box.dxbl-text-edit:not(.smart-table-filter-control, [class*="absences-"][class*="-combo"], .work-surface--half *, .smart-table-header-filters *, .smart-table-filter-row *, .smart-table-filter-bar *, .absences-form-grid *, .absences-day-table *, td *, th *, [class*="pager"] *, :is(.nh-form, .settings-form-grid, .form-grid, .commesse-form-grid) *) {
  min-height: 0;
  height: 29.3px;
}
