/* One field surface shared by client, catalog, finance and management masters. */
.wizard-step-editor{display:flex;flex-direction:column;gap:8px;width:100%;min-width:0;margin:18px 0 8px;box-sizing:border-box}
.wizard-step-editor [hidden]{display:none!important}
.wizard-step-label{display:block;margin:0;color:#526b8d;font-size:12px;font-weight:600;line-height:1.4}
.wizard-step-editor :is(input:not([type=checkbox]),textarea,select){display:block;box-sizing:border-box;flex:none;width:100%!important;min-width:0!important;max-width:100%;margin:0;padding:10px 12px;border:1px solid #ccd8eb;border-radius:9px;background:#fff;color:#24344c;font:inherit;line-height:20px;resize:none;min-height:0;max-height:none}
.wizard-step-editor :is(input,textarea,select):focus{border-color:#789bef;box-shadow:0 0 0 3px #e3ebff;outline:none}
.wizard-step-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.wizard-step-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:36px;min-height:36px;margin:0;padding:7px 9px;border:1px solid #d4deed;border-radius:8px;background:#fff;color:#5577ad;font:inherit;font-size:12px;line-height:1.25;cursor:pointer}
.wizard-step-editor .wizard-step-collapse{align-self:flex-start;width:auto;min-height:28px;margin:0;padding:3px 0;border:0;background:transparent;color:#6c82ad;font-size:11px;cursor:pointer}
.sales-field-actions,.sales-step-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0;min-width:0}
.sales-dock-line{position:relative}
.client-sales-scenario .sales-overflow-commands{position:absolute;z-index:30;right:0;bottom:calc(100% + 9px);display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;width:max-content;max-width:min(360px,100%);max-height:45dvh;overflow:auto;margin:0;padding:6px;border:1px solid #d4deed;border-radius:9px;background:#fff;box-shadow:0 8px 24px #20385825}
.sales-overflow-commands .sales-button{justify-content:flex-start;white-space:normal;text-align:left}
.client-sales-scenario .sales-dock{position:relative;overflow:visible;max-height:none}
.client-sales-scenario .sales-dock-line{flex-wrap:nowrap!important;max-height:none!important}
.catalog-master-middle .catalog-master-field{display:block;width:100%;min-width:0;margin:16px 0}
.catalog-master-middle .catalog-master-field.is-checkbox{display:flex;align-items:center;gap:8px}
.catalog-master-middle .catalog-master-field.is-checkbox input{width:16px;flex:none}
.workspace-wizard-actions[data-adaptive-wizard-row]{position:relative;display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px;width:100%;min-width:0;overflow:visible}
.workspace-wizard-actions .workspace-adaptive-command-menu{position:absolute;z-index:40;right:0;bottom:calc(100% + 8px);display:flex;flex-direction:column;gap:4px;padding:6px;width:max-content;max-width:min(340px,100%);max-height:45dvh;overflow:auto;border:1px solid #d4deed;border-radius:9px;background:white;box-shadow:0 8px 24px #20385825}
.workspace-adaptive-command-menu[hidden]{display:none!important}
.workspace-wizard-actions .workspace-adaptive-command-menu :is(button,a){display:inline-flex!important;justify-content:flex-start;white-space:normal;text-align:left;width:auto}
.workspace-conversation-mode .wizard-step-editor.workspace-text-assist-composer{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;width:100%!important;max-width:100%;margin:16px 0 8px!important;padding:0!important;background:transparent!important;border:0!important}
.workspace-conversation-mode .wizard-step-editor .wizard-step-tools{display:flex!important;flex-wrap:wrap;justify-content:flex-start;align-self:flex-start;width:auto!important}
.workspace-conversation-mode .wizard-step-editor .wizard-step-tools[hidden]{display:none!important}
.workspace-case-workflow-review form{display:block;width:100%;min-width:0;margin:16px 0 0;padding:0;border:0;background:transparent;box-shadow:none}
.workspace-case-workflow-dock .workspace-wizard-actions{margin:0!important}
.substitution-insert{width:36px!important;min-width:36px!important;max-width:36px;min-height:36px;align-self:flex-start;justify-self:start;padding:6px!important}
.substitution-insert[hidden]{display:none!important}
/* Approved common text surface: compact symbols; collapse is outside the row. */
.wizard-step-editor{position:relative;gap:6px;margin:14px 0 8px}
.wizard-step-editor .wizard-step-label{padding-right:30px;min-height:20px}
.wizard-step-editor .wizard-step-collapse{position:absolute;right:0;top:-6px;align-self:auto;width:30px;min-width:30px;height:30px;padding:4px;border:0;font-size:16px}
.wizard-step-tools button{flex:0 0 34px;width:34px;min-width:34px;min-height:34px;height:34px;padding:5px;font-size:17px;line-height:1.1;background:#f0f5fb;border-radius:7px}
.wizard-step-tools{gap:5px;align-self:flex-start}
.catalog-master-dock>button,.client-sales-scenario .sales-dock-line>.sales-button{min-height:36px;padding:7px 10px;flex:0 0 auto}
.sales-row-text>button,.sales-process button{justify-self:start;width:auto}
@media(max-width:600px){
 .wizard-step-editor :is(input:not([type=checkbox]),textarea,select){padding:7px 9px}
 .wizard-step-tools button{min-height:34px;height:34px;min-width:34px}
 .catalog-master-dock,.client-sales-scenario .sales-dock{padding-top:9px;padding-bottom:9px}
}
.catalog-picker-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 48px));height:min(850px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:1px solid #d1dfed;border-radius:12px;color:#233b55}
.catalog-picker-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.catalog-picker-dialog::backdrop{background:#21374b55}
.catalog-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #dce5ef}
.catalog-picker-heading h2{display:flex;align-items:center;gap:.45rem;min-width:0;font-size:17px;margin:0;overflow-wrap:anywhere}
.catalog-picker-heading h2 svg{flex:none;color:#28588c}
.catalog-picker-heading button{display:grid;place-items:center;flex:0 0 34px;min-height:34px;padding:4px;border:0;background:none;color:inherit}
.catalog-picker-host{min-height:0;overflow:hidden}
.catalog-picker-host>.catalog-frame{height:100%;min-height:0}.catalog-picker-host .catalog-frame{max-height:100%}
@media(max-width:650px){.catalog-picker-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.catalog-picker-heading{padding:10px 14px}}
.wizard-record-picker{min-width:0;margin:12px 0}.wizard-record-picker>h3{font-size:14px;margin:0 0 10px}.wizard-record-toolbar{display:flex;gap:8px;margin:0 0 10px}.wizard-record-toolbar input{min-width:0;flex:1}.wizard-record-toolbar select{width:auto;max-width:130px}.wizard-record-results{min-width:0;max-height:45dvh;overflow:auto;padding:2px}
.wizard-record-results [hidden]{display:none!important}.wizard-record-picker .catalog-standard-entry{min-width:0;padding:10px;min-height:52px}.wizard-record-picker .catalog-standard-entry [data-catalog-entry-check]{width:17px;height:17px;flex:none}.wizard-record-picker[data-catalog-view=list] .catalog-standard-entries{display:grid;grid-template-columns:1fr;gap:6px}.wizard-record-picker[data-catalog-view=tiles] .catalog-standard-entries{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:8px}.wizard-record-picker[data-catalog-view=compact] .catalog-standard-entries{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}.wizard-record-empty{font-size:13px;color:#71849b;padding:12px}
.wizard-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:14px 0}.wizard-presets button.wizard-preset{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-height:64px;padding:10px 12px;border:1px solid #d2dfed;border-radius:8px;background:#fff;color:#294665;white-space:normal;text-align:left;font-size:14px}.wizard-presets button.is-selected{background:#edf5ff;border-color:#7ea8dc}.wizard-preset small{font-size:11px;color:#6c8296}
.wizard-set-row{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid #dce5ef;border-radius:8px;margin:0 0 10px}.wizard-set-position{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#f1f5fa;color:#647e98;border-radius:6px;font-size:12px}.wizard-set-content{flex:1;min-width:0}.wizard-set-content>p{white-space:pre-line;font-size:12px;line-height:1.6;color:#678097;margin:7px 0}.wizard-set-commands{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.wizard-set-commands .sales-button{min-height:32px;padding:5px 8px;font-size:12px}.wizard-set-amount{font-size:13px;white-space:nowrap}
@media(max-width:600px){.wizard-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-set-row{padding:11px;gap:8px}.wizard-set-amount{font-size:12px}.wizard-record-toolbar{gap:6px}.wizard-record-toolbar input{width:50%}}

.client-sales-dialog{width:min(1040px,calc(100vw - 40px));height:min(800px,calc(100dvh - 40px));padding:0;overflow:hidden;}
.client-sales-dialog .client-sales-scenario{height:100%;min-height:0;max-height:none;}
.wizard-source-commands{display:flex;gap:6px;flex-wrap:wrap;margin-block:8px;}
.wizard-record-picker .catalog-standard-entry[hidden]{display:none!important;}
@media(max-width:600px){.client-sales-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;}}

.wizard-frame{display:grid!important;grid-template-rows:auto auto auto minmax(0,1fr) auto auto!important;min-height:0!important;overflow:hidden;}
.wizard-frame-heading,.wizard-frame-steps,.wizard-frame-notices,.wizard-frame-dock,.wizard-frame-messages{min-width:0;}
.wizard-frame-middle{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;}
.wizard-frame-middle>.catalog-master-middle,.wizard-frame-middle>.sales-stage{flex:1;min-height:0;margin:0;}
.wizard-frame .catalog-master-head{margin:0;}
.wizard-frame .sales-dock{position:relative;}
.wizard-frame .sales-stepbar{min-height:36px;}
.wizard-frame .sales-stepbar output::before{content:'Шаг ';}

.wizard-record-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
.wizard-record-toolbar input{flex:1 1 180px;min-width:0;width:auto;}
.wizard-record-toolbar :is(button,select){flex:0 0 auto;min-height:34px;padding:6px 9px;font-size:13px;}
@media(max-width:600px){.wizard-record-toolbar input{flex-basis:100%;width:100%;}.wizard-record-toolbar{justify-content:flex-end;}}

.wizard-clear-undo{align-self:flex-start;min-height:28px;padding:3px 0;border:0;background:none;color:#41699c;font-size:12px;}

.wizard-matching article{padding:10px 0;border-bottom:1px solid #e2e8ef;}.wizard-matching article h3{font-size:14px;margin:0 0 8px;}.wizard-matching-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.wizard-matching-values p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;}.wizard-matching-values section{min-width:0;padding:8px;background:#f5f7fa;border-radius:6px;}
@media(max-width:600px){.wizard-matching-values{grid-template-columns:1fr;}}

.substitution-dialog .substitution-body{display:block;}
.substitution-dialog .substitution-fields{max-height:none;overflow:visible;}
.substitution-dialog [data-variable-details]>p{font-size:14px;}.substitution-dialog [data-expression-tools]{margin:12px 0;}.substitution-dialog [data-record-context]{margin:12px 0;}
.substitution-dialog [data-variable-back][hidden]{display:none!important;}

.market-wizard-dialog{width:min(1040px,calc(100vw - 40px));height:min(800px,calc(100dvh - 40px));padding:0;overflow:hidden;}.market-wizard-dialog>.market-wizard{height:100%;margin:0;max-height:none;}.market-wizard-dialog .catalog-frame-head h1{font-size:18px;}.market-wizard-dialog [data-market-close]{min-width:32px;min-height:32px;padding:4px;border:0;background:none;}
@media(max-width:600px){.market-wizard-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;}}

[data-permission-groups] [hidden]{display:none!important;}

.catalog-master-panel label:not(.is-checkbox){font-size:13px;font-weight:500;line-height:1.4;}
.catalog-master-panel :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:14px;font-weight:400;}
.wizard-presets{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:6px;margin:8px 0;}
.wizard-presets button.wizard-preset{min-height:40px;padding:7px 9px;gap:3px;font-size:13px;line-height:18px;}
.wizard-presets button.wizard-preset strong{font-weight:600;}
@media(max-width:600px){.wizard-presets[data-choice-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr));}.wizard-presets[data-choice-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));}}

.wizard-set-row[hidden]{display:none!important;}[data-wizard-set-query]{box-sizing:border-box;width:100%;min-width:0;margin:0 0 8px;}

.wizard-record-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#637a95;font-size:12px;}.wizard-record-summary select{max-width:180px;min-height:30px;padding:4px 6px;font-size:12px;}.wizard-record-properties{width:28px;min-width:28px;min-height:28px;margin-left:4px;padding:3px;border:0;background:transparent;color:#6381a4;}.wizard-property-text{white-space:pre-wrap;overflow-wrap:anywhere;}
.wizard-record-presentation{position:relative;flex:none}
.wizard-record-presentation>summary{display:grid;place-items:center;min-width:34px;min-height:34px;border:1px solid #cbdced;border-radius:7px;color:#315577;cursor:pointer;list-style:none}
.wizard-record-presentation>summary::-webkit-details-marker{display:none}
.wizard-record-presentation>div{display:var(--wizard-presentation-layout,flex);gap:6px}
.wizard-record-presentation[open]>summary{float:var(--wizard-presentation-float,left);margin-right:var(--wizard-presentation-margin,6px)}
.wizard-record-presentation[open]>div {
 position:var(--wizard-presentation-position,static);z-index:2;right:0;top:calc(100% + 4px);
 min-width:var(--wizard-presentation-width,0);padding:var(--wizard-presentation-padding,0);
 background:white;border:var(--wizard-presentation-border,0);border-radius:8px;box-shadow:var(--wizard-presentation-shadow,none);
}
.wizard-record-presentation[open]>div>select{max-width:var(--wizard-presentation-select-max,130px);width:var(--wizard-presentation-select-width,auto)}
.wizard-record-presentation[data-wizard-presentation-menu] {
 --wizard-presentation-position:absolute;--wizard-presentation-width:145px;--wizard-presentation-padding:6px;
 --wizard-presentation-border:1px solid #cbdced;--wizard-presentation-shadow:0 6px 18px #21374b20;
 --wizard-presentation-layout:grid;--wizard-presentation-float:none;--wizard-presentation-margin:0;
 --wizard-presentation-select-max:none;--wizard-presentation-select-width:100%;
}
.catalog-template-variants{display:grid;gap:8px}
.catalog-template-variants details{background:#f6f9fc;border:1px solid #dce6f0;border-radius:8px;padding:8px}
.catalog-template-variants summary{cursor:pointer;font-weight:600}
.catalog-template-variants p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}
[data-template-preview-entry] .catalog-standard-detail{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 .catalog-frame-explorer .catalog-picker-mobile-list-tools:not(:has(button)){display:none}
 .catalog-view-menu [data-catalog-sort-slot]:not([hidden]){padding:5px;border-top:1px solid #dce6f0}
 .catalog-view-menu .catalog-sort-control{display:flex;gap:5px;align-items:center;white-space:nowrap}
 .wizard-record-presentation {
  --wizard-presentation-position:absolute;--wizard-presentation-width:145px;--wizard-presentation-padding:6px;
  --wizard-presentation-border:1px solid #cbdced;--wizard-presentation-shadow:0 6px 18px #21374b20;
  --wizard-presentation-layout:grid;--wizard-presentation-float:none;--wizard-presentation-margin:0;
  --wizard-presentation-select-max:none;--wizard-presentation-select-width:100%;
 }
 .substitution-dialog[data-dual-variable] .substitution-insert-prefix{display:none}
 .substitution-dialog[data-dual-variable] :is([data-insert],[data-insert-value]){text-transform:capitalize}
}

/* Shared navigation owns both wizard adapters, including their expanded state. */
.wizard-navigation-bar{display:flex!important;align-items:center;gap:6px;min-width:0;overflow:visible!important}
.wizard-navigation-bar select{flex:1;min-width:0}
.wizard-navigation-pager{display:flex;align-items:center;gap:4px;white-space:nowrap;margin-left:auto}
.wizard-navigation-pager output{font-size:11px;white-space:nowrap}
.wizard-navigation-layout{display:flex!important;align-items:stretch;gap:12px;min-width:0;min-height:0}
.wizard-navigation-layout>.catalog-master-panel,.wizard-navigation-layout>.sales-middle{flex:1;min-width:0}
.catalog-master-middle.wizard-navigation-layout{overflow:hidden}
.wizard-navigation-layout>.catalog-master-panel{min-height:0;overflow:auto}
.catalog-master-panel .wizard-record-results,
.factory-admin-workspace .wizard-record-results{max-height:none;overflow:visible}
.catalog-master-panel .wizard-model-clear{font-size:.8rem;margin-top:6px}
.wizard-navigation-layout>.wizard-navigation-outline{position:static!important;inset:auto!important;width:190px;flex:0 0 190px;max-width:none;max-height:none;padding:6px!important;border:0!important;border-right:1px solid #dce5f2!important;background:#fff!important;overflow:auto;box-shadow:none!important}
.wizard-navigation-outline[hidden]{display:none!important}
.wizard-navigation-outline nav{display:grid;gap:3px}
.wizard-navigation-outline button{width:100%;text-align:left;white-space:normal;padding:7px 8px;font-size:12px}
.wizard-navigation-outline button[aria-current=step]{font-weight:700;background:#e5edff!important;border-left:3px solid #5279ce!important}
.wizard-draft-state{font-size:11px;color:#6f819b;padding:2px 12px}
.wizard-draft-state[role=alert]{color:#a33b33}
.wizard-draft-state button{font-size:11px;margin-left:8px}
@media(min-width:900px){.wizard-navigation-bar select{display:none!important}.wizard-navigation-bar{justify-content:flex-end}.catalog-master-dialog:has(.has-wizard-outline),.client-sales-dialog:has(.has-wizard-outline){width:min(1050px,96vw)}}
@media(max-width:899px){.wizard-navigation-layout{flex-direction:column}.wizard-navigation-layout>.wizard-navigation-outline{width:auto;flex:0 0 auto;max-height:180px;border-right:0!important;border-bottom:1px solid #dce5f2!important}.wizard-navigation-outline nav{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-navigation-pager button[data-wizard-page=first],.wizard-navigation-pager button[data-wizard-page=last]{display:none}.wizard-navigation-bar{flex-wrap:wrap}.wizard-navigation-bar select{max-width:100%}}
/* A selected preset is distinct from hover and is not reset by client button defaults. */
.wizard-presets button.wizard-preset[aria-pressed=true],.workspace-conversation-mode .workspace-client-task .wizard-presets button.wizard-preset[aria-pressed=true]{background:#e3ecff;border:2px solid #5479cf;color:#244e98}
.wizard-presets button.wizard-preset[aria-pressed=true] strong{font-weight:750}
.wizard-presets button.wizard-preset[aria-pressed=true]::before{content:'✓';font-weight:750;align-self:flex-end;position:absolute;right:7px;top:4px}
.wizard-presets button.wizard-preset{position:relative;padding-right:24px}

.wizard-navigation-bar output::before{content:none!important}

/* Editable allocations are content, never checkbox-sized controls. */
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field){display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;height:auto;min-height:0;overflow:visible}
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field) .catalog-standard-icon{width:32px;height:32px;grid-column:1;grid-row:1}
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field) .catalog-standard-content{grid-column:2;grid-row:1;min-height:0;height:auto;overflow:visible}
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field) .catalog-standard-content :is(strong,small){white-space:normal;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field) .catalog-standard-meta{grid-column:2;grid-row:2;justify-content:flex-start}
.wizard-record-picker .catalog-standard-entry:has(.wizard-allocation-field) [data-catalog-entry-check]{grid-column:3;grid-row:1;position:static;margin:0}
.wizard-record-picker .wizard-allocation-field{grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 0;font-size:12px}
.wizard-record-picker .wizard-allocation-field input{box-sizing:border-box;width:140px;max-width:60%;min-width:90px;height:36px;padding:7px 10px;font:inherit;text-align:right;flex:0 1 140px}
.wizard-review .sales-review-row header{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.wizard-review .sales-review-row header strong{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
.wizard-review .sales-review-row header button{padding:4px 0;min-height:30px;flex:0 0 auto}
.wizard-review-disclosure summary{width:fit-content;margin-top:6px;color:#2d639f;cursor:pointer;font-size:.85rem}
.catalog-master-panel .wizard-form-issue > [role=alert]{color:#8c422c}
@media(max-width:899px){.wizard-navigation-bar [data-wizard-outline-toggle],.wizard-navigation-layout>.wizard-navigation-outline{display:none!important}.wizard-navigation-layout{flex-direction:column}.wizard-navigation-bar{flex-wrap:nowrap}.wizard-navigation-bar select{width:0;min-width:0;max-width:none;flex:1 1 auto}.wizard-navigation-pager{flex:0 0 auto}.wizard-navigation-pager button{min-width:28px;min-height:32px;padding:4px 7px}}

.wizard-review-issues{padding:12px;border:1px solid #dfb4a7;border-radius:8px;background:#fff6ef;color:#8c422c;margin-bottom:16px}.wizard-review-issues p{margin:8px 0}.wizard-review-issues button{border:0;background:none;color:inherit;text-decoration:underline;padding:0;font:inherit;cursor:pointer}

.wizard-form-steps{padding:8px 12px;border-bottom:1px solid #dce5ef}
[data-wizard-form-step][hidden]{display:none!important}
[data-wizard-form-step] .wizard-review>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.wizard-form-issue{color:#a34832}
.wizard-review-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.wizard-review-actions:empty { display: none; }
.wizard-review-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.wizard-review .wizard-review-edit { width: auto; min-width: 0; flex: none; }
/* Review commands share the deal review appearance in every master. */
.wizard-review .sales-review-row .wizard-review-edit {
  width: auto; min-width: 0; min-height: 24px; padding: 3px 0;
  border: 0; border-radius: 0; background: none; color: #6888c5;
  font-size: 11px; line-height: 1.4; box-shadow: none;
}

/* Reserve the selection mark before a choice changes; labels never sit under it. */
.wizard-presets button.wizard-preset{padding-inline-end:26px}

.wizard-record-picker[data-catalog-view="list"] .catalog-standard-entry:has(.wizard-allocation-field) > .catalog-standard-meta {
  grid-column: 3 / -1; grid-row: 2;
}
.wizard-record-picker:is([data-catalog-view="tiles"],[data-catalog-view="compact"]) .catalog-standard-entry:has(.wizard-allocation-field) {
  position: relative; padding-right: 1.8rem;
}
.wizard-record-picker:is([data-catalog-view="tiles"],[data-catalog-view="compact"]) .catalog-standard-entry:has(.wizard-allocation-field) > [data-catalog-entry-check] {
  position: absolute; inset: .35rem .35rem auto auto;
}
