.inradr-wizard > .dxbl-modal-content {
    height: min(640px, calc(100dvh - 2rem));
    display: flex;
    flex-direction: column;
}
.inradr-wizard--mobile > .dxbl-modal-content {
    height: 100dvh;
}
/* A one-step sub-dialog over a running wizard (address, investor, company picker; rework-setup-wizards D13) takes the
   height of its content instead of the fixed wizard height; long content still scrolls inside the body. */
.inradr-wizard--compact > .dxbl-modal-content {
    height: auto;
    max-height: calc(100dvh - 2rem);
}
/* A wizard with a search and two lists on one step (the setup wizards; rework-setup-wizards D13) opens taller, so the
   step needs no scrolling; on a low window it takes the window height. */
.inradr-wizard--tall > .dxbl-modal-content {
    height: min(860px, calc(100dvh - 2rem));
}
/* Framework adapter, restricted to participating wizard popups. */
.inradr-wizard .dxbl-modal-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.inradr-wizard .dxbl-popup-header {
    border-bottom: 1px solid var(--inradr-color-border);
}
.inradr-wizard .dxbl-modal-footer {
    border-top: 1px solid var(--inradr-color-border);
}
.inradr-wizard .xaf-validation-message {
    display: block;
    overflow-wrap: anywhere;
}
.inradr-wizard .inradr-wizard-summary {
    background: var(--inradr-color-surface-muted);
    border-radius: var(--inradr-radius-sm);
}
.inradr-wizard .inradr-wizard-summary > textarea {
    padding: var(--inradr-space-xs);
}
.inradr-wizard .inradr-wizard-values > .dxbl-row > :is(.dxbl-col, .dxbl-fl-item) {
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
}
/* Checklist (DxListBox CssClass): "Alles auswählen" and five rows of 2rem, plus the 2px row gaps, the
   list's inner padding and border (20px, measured on Fluent 26.1); a sixth row peeks to show the
   list scrolls. A list with columns adds its header row; --rows-3 / --rows-8 change the visible rows
   (rework-setup-wizards D13). Re-verify on DX upgrade. */
.inradr-wizard-checklist {
    --inradr-wizard-checklist-rows: 5;
    --inradr-wizard-checklist-extra-rows: 1;
}
.inradr-wizard-checklist--rows-3 {
    --inradr-wizard-checklist-rows: 3;
}
.inradr-wizard-checklist--rows-8 {
    --inradr-wizard-checklist-rows: 8;
}
.inradr-wizard-checklist--columns {
    --inradr-wizard-checklist-extra-rows: 2;
}
.inradr-wizard .dxbl-list-box.inradr-wizard-checklist__list {
    height: calc((var(--inradr-wizard-checklist-rows) + var(--inradr-wizard-checklist-extra-rows)) * 2rem + 20px);
    width: 100%;
}
.inradr-wizard .inradr-wizard-checklist__search {
    width: 100%;
}
/* Item list (DxListBox without selection, rework-setup-wizards D13): the checklist height, its extra row being the
   header instead of "Alles auswählen"; the pencil and trash buttons of a row overlap the cell padding, so the row keeps
   the height of a text row. */
.inradr-wizard .inradr-wizard-itemlist__action.inradr-btn--icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-block: -0.375rem;
}
/* Item-list picker (2026-11-11): the tag field takes the remaining width, "Hinzufügen" and "Alle hinzufügen" keep
   theirs; the row wraps when the dialog is narrow. A gap below separates it from the list. */
.inradr-wizard .inradr-wizard-itemlist__picker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    margin-block-end: 0.5rem;
}
.inradr-wizard .inradr-wizard-itemlist__picker-row > .inradr-wizard-itemlist__picker {
    flex: 1 1 16rem;
    min-width: 0;
}
.inradr-wizard .inradr-wizard-itemlist__picker-row > .inradr-btn {
    flex: 0 0 auto;
}
/* A tinted item-list row (rework-setup-wizards D13, D16): warning for an investor whose move must be confirmed, danger
   for a revoked assignment. The list box has no row class, so the row is found by the hidden marker its action cell
   holds. The cells take their background from the list box's own variable ('...> table > tbody ...
   td{background-color:var(--dxbl-list-box-item-bg)}', core.min.css 26.1.4), which outranks a plain background on the
   cell; so the row sets the variable. */
.inradr-wizard .inradr-wizard-itemlist tr:has(.inradr-wizard-itemlist__tone--warning) {
    --dxbl-list-box-item-bg: var(--inradr-color-status-warn-bg);
}
.inradr-wizard .inradr-wizard-itemlist tr:has(.inradr-wizard-itemlist__tone--danger) {
    --dxbl-list-box-item-bg: var(--inradr-color-status-danger-bg);
}
/* Invalid select and checklist (124ca7cte2f): the control's own border turns red, doubled by an inset ring like
   an invalid form editor. An outline on the wrapper lay under the control's border ('.dxbl-text-edit{border:
   var(--dxbl-text-edit-border-width) solid var(--dxbl-text-edit-border-color)}', '.dxbl-list-box{border:
   var(--dxbl-list-box-border-width) solid var(--dxbl-list-box-border-color)}', core.min.css 26.1.4). Inset, because
   the wizard clips horizontal overflow and an outer ring would be cut at full width. The direct border-color
   outranks the accent focus token (inradr-feature-editors.css), so the field stays red while focused; on the
   list it leaves --dxbl-list-box-border-color alone, which also draws the line under "Alles auswählen"
   ('.dxbl-list-box .dxbl-list-box-select-all-container~.dxbl-scroll-viewer{border-top:...}').
   DOM: div.inradr-wizard-select--invalid > dxbl-combo-box.dxbl-text-edit; div.inradr-wizard-checklist--invalid >
   dxbl-list-box.dxbl-list-box.inradr-wizard-checklist__list. Re-verify on DX upgrade. */
.inradr-wizard-select--invalid > .dxbl-text-edit {
    --dxbl-text-edit-underline-focused-color: var(--inradr-color-status-danger-text);
    border-color: var(--inradr-color-status-danger-text);
    box-shadow: inset 0 0 0 1px var(--inradr-color-status-danger-text);
}
.inradr-wizard-checklist--invalid .dxbl-list-box.inradr-wizard-checklist__list {
    border-color: var(--inradr-color-status-danger-text);
    box-shadow: inset 0 0 0 1px var(--inradr-color-status-danger-text);
}
@media (max-width: 600px) {
    .inradr-wizard .inradr-wizard-values > .dxbl-row > :is(.dxbl-col, .dxbl-fl-item) {
        flex-basis: 100%;
        max-width: 100%;
    }
    /* Checklist and item list at phone width: the hosts' fixed column widths would exceed the list and squeeze the
       caption column to a few pixels; the columns size by their content instead ('...> table{table-layout:fixed}' and
       the widths inline on <col>, core.min.css 26.1.4). Long words hyphenate, and the item list's caption column breaks
       a name that cannot, so the row buttons stay in view. */
    .inradr-wizard .dxbl-list-box.inradr-wizard-checklist__list table {
        table-layout: auto;
    }
    .inradr-wizard .dxbl-list-box.inradr-wizard-checklist__list col {
        width: auto !important; /* !important: DevExpress writes the column width inline */
    }
    .inradr-wizard .dxbl-list-box.inradr-wizard-checklist__list td {
        hyphens: auto;
    }
    .inradr-wizard .inradr-wizard-itemlist .dxbl-list-box.inradr-wizard-checklist__list td:first-child {
        overflow-wrap: anywhere;
    }
}
/* Field hints of the wizard step layout (framework item): the wizard template sets the ::after content per field (IAdministrationWizardPresentation.GetFieldHint). */
.inradr-wizard__content .dxbl-fl-item::after {
    display: block;
    width: 100%;
    margin-top: var(--inradr-space-xs);
    color: var(--inradr-color-text-secondary);
    font-size: var(--inradr-text-caption-size);
    font-weight: 400;
}
