/* Customer workplace: shared AKZENTA hierarchy, controls and responsive worklist. */
:root {
  --app-bg: #f3f5f8;
  --app-surface: #fff;
  --app-surface-raised: #f6f8fb;
  --app-text: #17243b;
  --app-muted: #475569;
  --app-border: #dce3ec;
  --app-accent: #c8102e;
  --app-accent-hover: #a30e26;
  --workspace-sidebar: 14rem;
}
/* Listing details put decisions and editing ahead of media. */
.listing-detail--workspace { container: listing-detail / inline-size; color: #17243b; }
.customer-shell .availability-recheck-form { margin: .25rem 0 0; }
.customer-shell .availability-recheck-button { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 2.75rem; max-width: 100%; padding: .25rem 0; border: 0; border-radius: .25rem; background: transparent; color: #92400e; font: inherit; font-size: .8125rem; line-height: 1.4; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.customer-shell .availability-recheck-button:hover { color: #78350f; }
.customer-shell .availability-recheck-button:disabled { opacity: .65; cursor: wait; }
.listing-detail--workspace .listing-detail-toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: .5rem; min-height: 3.5rem; padding: .35rem 1rem; border-bottom: 1px solid #e4eaf1; background: #fff; }
.listing-detail-toolbar > strong { flex: 1; color: #526176; font-size: .75rem; font-weight: 550; }
.listing-detail--workspace .listing-detail-toolbar .listing-action { min-height: 2.75rem; padding: .4rem .65rem; font-size: .8125rem; }
.listing-detail--workspace .listing-panel-close { position: static; display: grid; place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; min-height: 2.75rem; padding: 0; border: 1px solid #cbd5e1; border-radius: .5rem; background: #fff; color: #334155; font-size: 1.5rem; line-height: 1; box-shadow: none; }
.customer-shell .listing-detail--workspace .listing-detail-heading { padding: 1rem 1.1rem; }
.customer-shell .listing-detail--workspace .listing-detail-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; font-weight: 650; letter-spacing: -.025em; overflow-wrap: anywhere; }
.listing-detail--workspace .listing-detail-location { margin-top: .35rem; color: #475569; font-size: .875rem; line-height: 1.4; }
.listing-detail--workspace .listing-detail-key-facts { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem .75rem; margin-top: .65rem; }
.listing-detail--workspace .listing-detail-price { color: #17243b; font-size: 1.4rem; line-height: 1.25; font-weight: 650; font-variant-numeric: tabular-nums; }
.listing-detail-key-facts > span { color: #475569; font-size: .8125rem; }
.listing-detail--workspace .listing-detail-origin { display: block; margin-top: .5rem; color: #526176; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.listing-detail-origin > time:not(:first-child)::before { content: " · "; }
.listing-detail--workspace .listing-detail-status-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .65rem; margin-top: .8rem; padding: .7rem; border: 1px solid #dfe6ef; border-radius: .65rem; background: #f7f9fc; }
.listing-detail--workspace .listing-detail-status-summary > div { min-width: 0; }
.customer-shell .listing-detail--workspace .listing-overview-classification { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.listing-detail--workspace .listing-classification { max-width: 100%; padding: .2rem .35rem; border-radius: .35rem; font-size: .8125rem; line-height: 1.4; }
.listing-detail--workspace .workflow-reason-chips,
.listing-detail--workspace .workflow-information-chips { gap: .25rem; margin-top: .35rem; }
.listing-detail--workspace .workflow-reason-chip,
.listing-detail--workspace .workflow-information-chip { padding: .15rem .3rem; font-size: .75rem; line-height: 1.4; }
.listing-detail--workspace .listing-detail-statuses { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.listing-detail--workspace .workflow-contact,
.listing-detail--workspace .listing-preparation { font-size: .8125rem; line-height: 1.4; }
.listing-detail--workspace .listing-preparation { margin-top: 0; padding: .2rem .35rem; }
.listing-detail--workspace .listing-blocker,
.listing-detail--workspace .workflow-short-reason,
.listing-detail--workspace .workflow-commission-note { flex-basis: auto; margin-top: .25rem; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.listing-detail--workspace .listing-detail-contact-reason { color: #8d1c30; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.listing-detail--workspace .listing-detail-quick-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; margin-top: .8rem; }
.listing-detail-quick-actions > :is(button,form) { flex: 1 1 auto; min-width: 0; margin: 0; }
.listing-detail-quick-actions > form > button { width: 100%; }
.listing-detail--workspace .listing-detail-quick-actions :is(button,a) { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem .75rem; font-size: .8125rem; line-height: 1.4; }
.customer-shell .listing-detail--workspace .listing-detail-tabs { position: sticky; top: 3.5rem; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0 .5rem; background: #fff; }
.customer-shell .listing-detail--workspace .listing-detail-tabs button { min-height: 2.875rem; padding: .5rem .25rem; font-size: .8125rem; overflow-wrap: normal; }
.customer-shell .listing-detail--workspace .listing-tab-body { padding: 1rem 1.1rem 1.25rem; font-size: .875rem; line-height: 1.6; }
.listing-detail--workspace .listing-overview-media { margin: 0 0 1rem; }
.listing-detail--workspace .listing-gallery { height: 10rem; border: 1px solid #dfe6ef; border-radius: .65rem; }
.listing-detail--workspace .listing-gallery .listing-image-placeholder { font-size: .8125rem; }
.listing-detail--workspace .listing-gallery--empty { display: none; }
.listing-detail--workspace .listing-media-empty { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .55rem .75rem; border: 1px dashed #cbd5e1; border-radius: .5rem; color: #526176; background: #f7f9fc; font-size: .8125rem; }
.listing-media-empty svg { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.listing-detail--workspace .gallery-control { min-width: 2.75rem; min-height: 2.75rem; width: 2.75rem; height: 2.75rem; }
.listing-detail--workspace .listing-source-text { margin-top: .75rem; border: 1px solid #dfe6ef; border-radius: .5rem; background: #fff; }
.listing-detail--workspace .listing-source-text > summary { display: flex; align-items: center; min-height: 2.75rem; padding: .6rem .75rem; color: #334155; font-size: .875rem; font-weight: 550; cursor: pointer; }
.listing-detail--workspace .listing-source-text > :not(summary) { margin: .5rem .75rem .75rem; }
.listing-detail--workspace .listing-overview-actions { align-items: center; margin-top: .75rem; }
.listing-detail--workspace .listing-detail-feedback:not(:empty) { margin: 0 1.1rem 1rem; }
.customer-shell .listing-direct-detail:has(.listing-detail--workspace) { max-width: 60rem; }
.customer-shell .listing-direct-heading:has(+ .listing-direct-detail .listing-detail--workspace) { display: none; }
.listing-direct-detail .listing-detail--workspace .listing-detail-toolbar,
.customer-shell .listing-direct-detail .listing-detail--workspace .listing-detail-tabs { position: static; }
.customer-shell .listing-direct-detail .listing-detail--workspace .listing-detail-toolbar { min-height: 2.75rem; padding-block: 0; }
.customer-shell .listing-direct-detail .listing-detail--workspace .listing-detail-heading { padding-block: .75rem; }
@container listing-detail (min-width: 44rem) {
  .listing-detail--workspace .listing-detail-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 0 1.5rem; padding: 1.25rem 1.5rem; }
  .listing-detail-heading > .listing-detail-object { grid-column: 1; grid-row: 1 / 3; }
  .listing-detail-heading > .listing-detail-status-summary { grid-column: 2; grid-row: 1; margin-top: 0; }
  .listing-detail-heading > .listing-detail-quick-actions { grid-column: 2; grid-row: 2; }
  .listing-detail--workspace .listing-gallery { height: 15rem; }
}
@media (max-width: 640px) {
  .listing-detail--workspace .listing-detail-toolbar { padding-inline: .75rem; }
  .customer-shell .listing-detail--workspace .listing-detail-heading,
  .customer-shell .listing-detail--workspace .listing-tab-body { padding: .85rem; }
  .customer-shell .listing-detail--workspace .listing-detail-heading h2 { font-size: 1.125rem; }
  .listing-detail--workspace .listing-detail-status-summary { gap: .5rem; padding: .6rem; }
  .customer-shell .listing-detail--workspace .listing-detail-tabs { padding-inline: .25rem; }
  .customer-shell .listing-detail--workspace .listing-detail-tabs button { font-size: .75rem; }
}
html { scroll-padding-top: 6rem; }
.app-body { color: var(--app-text); background: var(--app-bg); }
.customer-shell { display: grid; grid-template-columns: var(--workspace-sidebar) minmax(0, 1fr); grid-template-rows: 4.5rem 1fr; min-height: 100dvh; }
.workspace-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: var(--workspace-sidebar); padding: 1.7rem 1rem 1rem; border-right: 1px solid var(--app-border); background: #fff; }
.workspace-brand-block { padding: 0 .75rem 1.75rem; }
.workspace-sidebar .customer-brand { display: flex; justify-content: flex-start; }
.workspace-sidebar .akzenta-brand-logo-full { display: block; width: 10rem; height: 2.65rem; }
.workspace-sidebar .akzenta-brand-logo-icon { display: none; }
.workspace-product { display: block; margin-top: .8rem; color: var(--app-muted); font-size: .8125rem; font-weight: 550; }
.workspace-nav-label { margin: 1rem .75rem .65rem; color: #526176; font-size: .6875rem; font-weight: 650; letter-spacing: .085em; text-transform: uppercase; }
.workspace-sidebar .customer-nav { display: grid; gap: .4rem; align-self: auto; margin: 0; }
.workspace-sidebar .customer-nav-link { display: flex; gap: .75rem; min-height: 2.875rem; padding: .7rem .85rem; border: 1px solid transparent; border-radius: .625rem; color: #475569; font-size: .9375rem; font-weight: 500; }
.workspace-sidebar .customer-nav-link:hover { background: #f4f6f9; color: #17243b; }
.workspace-sidebar .customer-nav-link.is-active { border-color: #f7d8df; background: #fff0f3; color: #aa102a; font-weight: 650; }
.workspace-sidebar svg, .workspace-guide-button svg, .dashboard-review-area svg, .workspace-empty-symbol svg { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.workspace-sidebar-footer { display: flex; gap: .6rem; align-items: flex-start; margin-top: auto; padding: 1.1rem .65rem .25rem; border-top: 1px solid #e9edf3; color: #475569; font-size: .75rem; font-weight: 600; }
.workspace-sidebar-footer small { display: block; margin-top: .3rem; max-width: 9rem; font-size: .6875rem; line-height: 1.5; font-weight: 400; }
.customer-shell .customer-header { grid-column: 2; position: sticky; inset-block-start: 0; height: auto; min-height: 4.5rem; box-shadow: none; background: #fff; backdrop-filter: none; }
.customer-shell .customer-header-inner { width: 100%; max-width: 100rem; min-height: 4.5rem; padding: .75rem 2rem; gap: 1rem; flex-wrap: nowrap; }
.workspace-topbar-context { display: flex; gap: .6rem; align-items: center; min-width: 0; margin-right: auto; color: #526176; font-size: .8125rem; white-space: nowrap; }
.workspace-topbar-context > span:first-child { font-size: .6875rem; letter-spacing: .035em; font-weight: 650; }
.workspace-topbar-context strong { color: #334155; font-weight: 550; }
.customer-header .agent-profile-switcher { order: initial; flex: 0 1 auto; max-width: 25rem; margin: 0; padding: 0; }
.customer-header .agent-profile-switcher :is(select, button) { min-height: 2.75rem; border-radius: .5rem; font-size: .8125rem; }
.customer-header .agent-profile-switcher select { flex: 1; max-width: 15rem; }
.customer-header .agent-profile-current { padding: .6rem .85rem; background: #f5f7fa; border: 1px solid #e4e9f0; border-radius: .6rem; }
.customer-header .agent-profile-current strong { font-size: .8125rem; }
.customer-header .customer-header-actions { margin: 0; gap: .6rem; }
.customer-header .customer-account-avatar { background: #edf1f7; color: #263b58; border-radius: .65rem; }
.customer-header .customer-account-name { max-width: 8rem; }
.customer-shell .customer-main { grid-column: 2; width: 100%; max-width: 100rem; min-width: 0; padding: 2rem 2rem 3rem; margin: 0 auto; }
.customer-shell :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #b5102c; outline-offset: 3px; }
.customer-shell :is(.btn-primary, .btn-secondary, .btn-danger) { min-height: 2.75rem; border-radius: .5rem; font-size: .875rem; font-weight: 550; }
.customer-shell .btn-primary { color: #fff; background: var(--app-accent); border-color: var(--app-accent); }
.customer-shell .btn-primary:hover { background: var(--app-accent-hover); border-color: var(--app-accent-hover); }
.customer-shell .btn-secondary { color: #334155; background: #fff; border-color: #c5cfdd; }
.customer-shell .btn-secondary:hover { background: #f5f7fb; border-color: #94a3b8; }
.customer-shell [hidden] { display: none !important; }
.workspace-eyebrow { display: block; margin-bottom: .45rem; color: #b5102c; font-size: .6875rem; line-height: 1.5; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.dashboard-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 0 0 1.25rem; }
.dashboard-page-heading h1 { font-size: clamp(1.75rem, 2.4vw, 2.125rem); line-height: 1.25; font-weight: 650; letter-spacing: -.035em; }
.dashboard-page-heading p { margin-top: .5rem; color: #475569; font-size: .9375rem; line-height: 1.6; }
.workspace-guide-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; flex: none; padding: .6rem .85rem; }
.dashboard-view-header { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 1.1rem; }
.workspace-inventory-tabs { display: inline-flex; gap: .35rem; padding: .3rem; margin-bottom: 1rem; border: 1px solid #e0e6ef; border-radius: .65rem; background: #fff; }
.workspace-inventory-tabs .btn-secondary { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .45rem .8rem; border: 0; background: transparent; }
.workspace-inventory-tabs .btn-secondary[aria-current] { background: #edf1f7; color: #17243b; font-weight: 600; }
.dashboard-main-views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) { grid-template-columns: repeat(6,minmax(0,1fr)); }
.dashboard-main-views[data-view-count="5"] { grid-template-columns: repeat(5,minmax(0,1fr)); }
.dashboard-main-view { --metric-ink: #385571; --metric-wash: #eef3f9; position: relative; display: grid; grid-template-columns: 2.625rem minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: .875rem; row-gap: .2rem; align-content: center; padding: 1.1rem; border: 1px solid #e1e6ee; border-radius: 1rem; background: #fff; color: #17243b; box-shadow: 0 2px 5px rgb(26 42 64 / 3%); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dashboard-main-view + .dashboard-main-view::before { display: none; }
.dashboard-main-view:hover { border-color: #a9b8cb; background: #fff; box-shadow: 0 4px 12px rgb(26 42 64 / 7%); }
.dashboard-main-view.is-active { border-color: #c8102e; background: #fff; box-shadow: 0 0 0 1px #c8102e, 0 4px 10px rgb(26 42 64 / 4%); }
.dashboard-main-view-suitable { --metric-ink: #176448; --metric-wash: #eaf7f0; }
.dashboard-main-view-unsuitable { --metric-ink: #536176; --metric-wash: #f0f2f6; }
.dashboard-main-view-analysis_open { --metric-ink: #8b570b; --metric-wash: #fff5e2; }
.dashboard-main-view-conditional, .dashboard-main-view-unclear { --metric-ink: #8b570b; --metric-wash: #fff5e2; }
.dashboard-main-view .dashboard-view-symbol { grid-column: 1; grid-row: 1 / 4; align-self: start; display: grid; place-items: center; width: 2.625rem; height: 2.625rem; border-radius: .75rem; background: var(--metric-wash); color: var(--metric-ink); }
.dashboard-view-symbol svg, .dashboard-view-arrow { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-main-view .dashboard-view-label { display: block; grid-column: 2; padding-right: .5rem; font-size: .8125rem; line-height: 1.45; font-weight: 550; color: #475569; }
.dashboard-main-view strong { grid-column: 2; padding: 0; font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.2; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dashboard-main-view .dashboard-view-description { display: block; grid-column: 2; margin-top: .15rem; font-size: .75rem; line-height: 1.5; color: #526176; }
.dashboard-view-arrow { position: absolute; top: 1rem; right: .7rem; width: .9rem; height: .9rem; color: #64748b; }
.dashboard-main-view.is-active .dashboard-view-arrow { color: #b5102c; }
.dashboard-review-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .75rem 1.25rem; padding: .9rem .2rem 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.dashboard-review-area h2 { display: inline-flex; gap: .45rem; align-items: center; margin: 0; color: #475569; font-size: .8125rem; font-weight: 550; }
.dashboard-review-area svg { width: 1rem; height: 1rem; color: #64748b; }
.dashboard-review-area > div { display: flex; gap: .5rem 1rem; flex-wrap: wrap; font-size: .8125rem; color: #334155; }
.dashboard-review-area a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; text-decoration: none; }
.dashboard-review-area strong { display: grid; place-items: center; min-width: 1.5rem; min-height: 1.5rem; padding: .1rem .35rem; border-radius: .4rem; background: #e7ecf3; color: #334155; font-size: .75rem; font-weight: 600; }
.dashboard-review-area a:hover { text-decoration: underline; }
.dashboard-workspace-surface { border: 1px solid #e0e6ef; border-radius: 1rem; background: #fff; box-shadow: 0 3px 12px rgb(26 42 64 / 3%); }
.dashboard-filter-heading { padding: 1.4rem 1.4rem 0; }
.dashboard-filter-heading h2, .dashboard-results-heading h2 { font-size: 1.0625rem; line-height: 1.4; font-weight: 650; letter-spacing: -.015em; }
.dashboard-filter-heading p { margin-top: .3rem; color: #526176; font-size: .8125rem; line-height: 1.5; }
.dashboard-toolbar { gap: .85rem; padding: 1rem 1.4rem 1.4rem; align-items: end; }
.dashboard-toolbar-form { display: grid; grid-template-columns: minmax(8rem,1fr) minmax(8rem,11rem) minmax(8rem,11rem); gap: .85rem; align-items: end; }
.dashboard-toolbar-form > .dashboard-information-option { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; min-height: 2rem; margin: 0; color: #475569; font-size: .8125rem; }
.dashboard-toolbar-form > .dashboard-information-option input { width: 1rem; height: 1rem; accent-color: #c8102e; }
.dashboard-search-label, .dashboard-toolbar-select { color: #475569; font-size: .8125rem; font-weight: 550; }
.dashboard-search-label { display: block; margin-bottom: .35rem; }
.dashboard-search-field { flex: 1 1 18rem; }
.dashboard-search-field input { height: 2.875rem; padding: .65rem 3rem .65rem .9rem; border: 1px solid #bac7d8; border-radius: .5rem; color: #17243b; background: #fff; font-size: .875rem; }
.dashboard-search-field input::placeholder { color: #64748b; }
.dashboard-search-field button { top: auto; bottom: 0; width: 2.875rem; height: 2.875rem; color: #475569; border-radius: 0 .5rem .5rem 0; }
.dashboard-search-field button:hover { background: #eef2f7; color: #17243b; }
.dashboard-toolbar-select { gap: .35rem; flex-basis: 11rem; }
.dashboard-toolbar-select select { height: 2.875rem; border-color: #bac7d8; border-radius: .5rem; color: #17243b; font-size: .875rem; }
.dashboard-toolbar .dashboard-filter-toggle { align-self: flex-start; margin-top: 1.5rem; min-height: 2.875rem; gap: .5rem; padding: .6rem .85rem; font-size: .875rem; }
.dashboard-active-filter-row { margin-inline: 1.4rem; border-bottom: 0; }
.dashboard-active-filter-row .dashboard-active-reason { border-color: #ccd7e5; border-radius: .45rem; background: #f1f5f9; color: #334155; font-size: .8125rem; }
.workflow-dashboard .listing-list-shell { border-radius: 0 0 1rem 1rem; }
.workflow-dashboard .dashboard-bulk-bar { flex-wrap: wrap; align-items: center; gap: .45rem 1rem; min-height: 0; padding: 1.15rem 1.4rem .8rem; border-top: 1px solid #e4eaf1; border-bottom: 0; background: #fff; }
.dashboard-results-heading { flex: 1 1 auto; }
.dashboard-results-heading h2 { display: flex; align-items: center; gap: .65rem; }
.dashboard-results-heading h2 span { display: inline-grid; place-items: center; min-width: 1.65rem; padding: .15rem .4rem; border: 1px solid #dce4ee; border-radius: .45rem; background: #f5f7fa; color: #475569; font-size: .75rem; font-weight: 600; }
.dashboard-results-heading p { margin-top: .3rem; font-size: .8125rem; color: #526176; }
.workflow-dashboard .dashboard-selection-actions { gap: .4rem .85rem; }
.workflow-dashboard .dashboard-page-selection { min-height: 2.75rem; color: #475569; font-size: .8125rem; }
.workflow-dashboard .dashboard-selection-button { min-height: 2.75rem; padding: .4rem .2rem; color: #334155; font-size: .8125rem; }
.workflow-dashboard .dashboard-selection-button:disabled, .workflow-dashboard .dashboard-bulk-submit:disabled { display: none; }
.workflow-dashboard .dashboard-bulk-count { margin-left: auto; font-weight: 550; color: #334155; }
.workflow-dashboard .dashboard-bulk-count:only-child { display: none; }
.workflow-dashboard .dashboard-bulk-submit { min-height: 2.75rem; border-color: #e4a3af; border-radius: .5rem; color: #ad122d; font-size: .8125rem; }
.workflow-dashboard .workflow-table { width: 100%; min-width: 0; table-layout: fixed; }
.workflow-dashboard .workflow-col-listing { width: 40%; }
.workflow-dashboard .workflow-col-eligibility { width: 23%; }
.workflow-dashboard .workflow-col-contact { width: 22%; }
.workflow-dashboard .workflow-col-actions { width: 15%; }
.workflow-dashboard .workflow-table th { padding: .85rem 1.2rem; border-block: 1px solid #e4eaf1; background: #f7f9fc; color: #475569; font-size: .75rem; font-weight: 600; }
.workflow-dashboard .workflow-table td { padding: 1.3rem 1.2rem; border-bottom: 1px solid #e7ecf3; }
.workflow-dashboard .workflow-table tbody tr:hover { background: #f8fafd; }
.workflow-dashboard .workflow-table tbody tr.is-selected { background: #fff7f9; }
.workflow-dashboard .workflow-listing-heading { gap: .8rem; }
.workflow-dashboard .workflow-title-button { display: block; color: #17243b; font-size: .9375rem; font-weight: 650; line-height: 1.5; text-align: left; }
.workflow-dashboard .workflow-title-button:hover { color: #ad122d; text-decoration: underline; text-underline-offset: .2rem; }
.workflow-dashboard .listing-thumbnail { width: 5.25rem; flex-basis: 5.25rem; height: 5.25rem; border: 1px solid #e1e7ef; border-radius: .65rem; background: #f1f5f9; }
.listing-image-placeholder { color: #526176; }
.workflow-dashboard .listing-image-placeholder { font-size: .6875rem; }
.workflow-dashboard .workflow-location { color: #475569; font-size: .8125rem; margin-top: .35rem; }
.workflow-dashboard .workflow-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin-top: .35rem; color: #475569; font-size: .8125rem; line-height: 1.5; }
.workflow-dashboard .listing-price { color: #17243b; font-weight: 650; }
.workflow-dashboard .workflow-meta, .workflow-dashboard .workflow-provider { color: #526176; font-size: .75rem; line-height: 1.5; }
.workflow-dashboard .workflow-provider { margin-top: .35rem; }
.workflow-dashboard .listing-classification { border-radius: .4rem; font-size: .8125rem; padding: .35rem .5rem; }
.workflow-dashboard .listing-classification-suitable { color: #176448; background: #eaf7f0; }
.workflow-dashboard .listing-classification-unsuitable { color: #475569; background: #eff2f6; }
.workflow-dashboard .listing-classification-open { color: #80500b; background: #fff5e1; }
.workflow-dashboard .workflow-reason-chip { padding: .2rem .45rem; border: 1px solid #e0e6ef; border-radius: .35rem; color: #475569; background: #f6f8fb; font-size: .75rem; line-height: 1.5; }
.workflow-dashboard .workflow-reason-chip.is-legal-threat { color: #9f1239; border-color: #efb5c3; background: #fff0f3; }
.workflow-dashboard .workflow-information-chip { color: #475569; font-size: .75rem; }
.workflow-dashboard .listing-no-findings { color: #416151; font-size: .75rem; }
.workflow-dashboard .workflow-short-reason, .workflow-dashboard .workflow-commission-note { color: #526176; font-size: .75rem; line-height: 1.55; }
.workflow-dashboard .workflow-contact, .workflow-dashboard .listing-preparation { font-size: .8125rem; line-height: 1.5; }
.workflow-dashboard .listing-preparation { padding: .3rem .45rem; border-radius: .4rem; }
.workflow-dashboard .listing-blocker { color: #9f1239; font-size: .75rem; }
.workflow-dashboard .listing-action { min-height: 2.75rem; border-radius: .5rem; border-color: #cbd5e1; background: #fff; color: #334155; font-size: .8125rem; }
.workflow-dashboard .listing-details-button { justify-content: center; border-color: #b8c5d7; color: #263b58; font-weight: 600; }
.workflow-dashboard .listing-action:hover { background: #f1f5f9; border-color: #94a3b8; }
.workflow-dashboard .listing-menu-toggle { min-width: 2.75rem; font-size: 1.15rem; }
.workflow-dashboard .listing-menu-items { border-radius: .75rem; padding: .4rem; }
.workflow-dashboard .listing-menu-items :is(a,button) { min-height: 2.75rem; padding: .65rem; font-size: .8125rem; }
.workflow-dashboard .dashboard-pagination { gap: .6rem 1rem; padding: 1rem 1.4rem; border-top: 1px solid #e7ecf3; border-radius: 0 0 1rem 1rem; color: #475569; font-size: .8125rem; }
.workflow-dashboard .dashboard-pagination .btn-secondary { min-height: 2.75rem; }
.workflow-dashboard .dashboard-page-links { flex-wrap: wrap; }
.workflow-dashboard .dashboard-page-current { color: #a8102a; border-color: #e9b3bf; background: #fff0f3; }
.workflow-dashboard .dashboard-page-jump { display: flex; align-items: center; gap: .5rem; }
.workflow-dashboard .dashboard-page-jump input { width: 4rem; min-height: 2.75rem; padding: .4rem; border: 1px solid #bac7d8; border-radius: .5rem; font-size: .875rem; }
.workflow-dashboard .dashboard-empty { display: flex; flex-direction: column; align-items: center; padding: 3.5rem 1.5rem; border-top: 1px solid #e7ecf3; border-radius: 0 0 1rem 1rem; color: #475569; }
.workspace-empty-symbol { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.1rem; border-radius: 1rem; background: #f0f3f8; color: #526781; }
.workspace-empty-symbol svg { width: 1.75rem; height: 1.75rem; }
.dashboard-empty h2 { color: #17243b; font-size: 1.2rem; font-weight: 600; }
.dashboard-empty p { max-width: 30rem; font-size: .9375rem; line-height: 1.65; }
.customer-shell .cta-action-bar { grid-template-columns: minmax(12rem,1fr) minmax(12rem,1fr) auto 2.75rem; gap: .85rem; padding: 1rem 1.2rem; border: 1px solid #cbd5e1; border-radius: 1rem; box-shadow: 0 6px 28px rgb(26 42 64 / 13%); }
.customer-shell .cta-action-bar[data-state="empty"] { display: grid; grid-template-columns: minmax(0,1fr) auto 2.75rem; background: #fff; border-color: #e0e6ef; box-shadow: 0 2px 8px rgb(26 42 64 / 3%); }
.customer-shell .cta-summary { gap: .75rem; }
.customer-shell .cta-status-icon { width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem; border-radius: .7rem; }
.customer-shell .cta-status-icon svg { width: 1.5rem; height: 1.5rem; }
.customer-shell .cta-summary-text strong { font-size: 1rem; line-height: 1.4; }
.customer-shell .cta-summary-text p { color: #475569; font-size: .8125rem; }
.customer-shell .cta-status { padding: .65rem .8rem; font-size: .8125rem; border-radius: .6rem; }
.customer-shell .cta-status p { color: #475569; }
.customer-shell .cta-actions { grid-column: auto; gap: .5rem; }
.customer-shell .cta-chevron { grid-column: auto; grid-row: auto; }
.customer-shell .cta-button { min-height: 2.75rem; border-radius: .5rem; font-size: .8125rem; }
.customer-shell .cta-button.cta-primary { color: #fff; background: #c8102e; border-color: #c8102e; }
.customer-shell .cta-button.cta-primary:hover:enabled { background: #a30e26; border-color: #a30e26; }
.customer-shell .cta-button:disabled { opacity: 1; color: #526176; background: #edf1f6; border-color: #d4dce6; cursor: not-allowed; }
.customer-shell .cta-detail-dialog, .customer-shell .codex-help-dialog { border-radius: 1rem; border-top-width: 1px; }
.customer-shell .codex-help-card { padding: 1.6rem; }
.customer-shell .codex-help-steps li > span { border-radius: 50%; background: #fff0f3; color: #ad122d; }
.customer-shell [data-listing-panel] { border-radius: 1rem; border-color: #cbd5e1; box-shadow: 0 16px 60px rgb(23 36 59 / 18%); }
html.listing-docked-open .customer-shell [data-listing-panel] { right: max(2rem, calc((100vw - var(--workspace-sidebar) - 100rem) / 2 + 2rem)); }
.customer-shell .listing-detail-heading { padding: 1.4rem 1.5rem 1.15rem; }
.customer-shell .listing-detail-heading h2 { color: #17243b; font-size: 1.3rem; line-height: 1.45; letter-spacing: -.02em; }
.customer-shell .listing-detail-tabs { padding-inline: 1rem; background: #fff; }
.customer-shell .listing-detail-tabs button { min-height: 3.25rem; font-size: .8125rem; }
.customer-shell .listing-tab-body { padding: 1.5rem; color: #334155; font-size: .9375rem; line-height: 1.65; }
.customer-shell .listing-message .draft-copy { background: #f7f9fc; border-radius: .7rem; }
.customer-shell .listing-tab-body :is(.btn-primary,.btn-secondary,.listing-action) { min-height: 2.75rem; }
.customer-shell .listing-overview-classification { border-radius: .7rem; padding: 1rem; }
/* Keep the public maintenance notice readable without dominating every page. */
.customer-shell .maintenance-banner { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: .8rem; }
.customer-shell .maintenance-banner-brand { width: 2.75rem; height: 2.75rem; flex-basis: 2.75rem; }
.customer-shell .maintenance-banner-brand img { width: 2.5rem; height: 2.5rem; }
.customer-shell .maintenance-banner h2 { font-size: 1rem; }
.customer-shell .maintenance-banner p { font-size: .8125rem; line-height: 1.6; }
@container dashboard (max-width: 74rem) {
  .dashboard-main-views { gap: .75rem; }
  .dashboard-main-view { grid-template-columns: 2.25rem minmax(0,1fr); gap: .2rem .65rem; padding: 1rem .85rem; }
  .dashboard-main-view .dashboard-view-symbol { width: 2.25rem; height: 2.25rem; }
  .dashboard-main-view .dashboard-view-description { font-size: .6875rem; }
  .dashboard-view-arrow { display: none; }
  .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) .dashboard-main-view { grid-template-columns: minmax(0,1fr); }
  .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) .dashboard-view-symbol { display: none; }
  .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) .dashboard-view-label { grid-column: 1; min-height: 2.9em; }
  .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) .dashboard-main-view strong, .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) .dashboard-view-description { grid-column: 1; }
  .workflow-table .listing-thumbnail { width: 4rem; height: 4rem; flex-basis: 4rem; }
}
/* Reflow follows available worklist width, including the docked detail panel. */
@container dashboard (max-width: 60rem) {
  .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .workflow-dashboard .workflow-table, .workflow-dashboard .workflow-table tbody { display: block; }
  .workflow-dashboard .workflow-table :is(thead,colgroup) { display: none; }
  .workflow-dashboard .workflow-table [data-dashboard-row] { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; padding: 1.25rem 1.4rem; margin: 0; border: 0; border-top: 1px solid #e7ecf3; box-shadow: none; }
  .workflow-dashboard .workflow-table [data-dashboard-row] > td { display: block; width: auto; min-width: 0; padding: 0; border: 0; }
  .workflow-dashboard .workflow-table td::before { display: none; }
  .workflow-dashboard .workflow-listing-cell { grid-column: 1 / -1; margin: 0; }
  .workflow-dashboard .workflow-contact-cell { padding-left: 0 !important; }
  .workflow-dashboard .workflow-actions-cell { grid-column: 1 / -1; margin-top: 0; }
  .workflow-dashboard .workflow-core-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
  .workflow-dashboard .listing-details-button { flex: 1 1 auto; }
  .workflow-dashboard .listing-actions-secondary { flex: 1 1 auto; }
  .workflow-dashboard .listing-thumbnail { display: block; width: 5.25rem; height: 5.25rem; flex-basis: 5.25rem; }
}
@container dashboard (max-width: 43rem) {
  .dashboard-main-views, .dashboard-main-views:is([data-view-count="5"],[data-view-count="6"]) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-main-view .dashboard-view-description { font-size: .75rem; }
  .dashboard-toolbar { flex-wrap: wrap; }
  .dashboard-toolbar-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; flex-basis: 100%; }
  .dashboard-search-field { grid-column: 1 / -1; }
  .dashboard-toolbar-select { width: 100%; }
  .dashboard-toolbar .dashboard-filter-toggle { width: 100%; margin: 0; }
  .dashboard-toolbar { padding-bottom: 1.1rem; }
  .dashboard-review-area { align-items: flex-start; gap: .25rem .85rem; }
  .dashboard-review-area > div { gap: .25rem .7rem; }
  .workflow-dashboard .dashboard-selection-actions { width: 100%; }
  .dashboard-results-heading { flex-basis: 100%; }
  .workflow-dashboard .dashboard-bulk-count { margin-left: 0; }
}
@media (max-width: 1100px) {
  .customer-shell { display: block; }
  .workspace-sidebar { position: relative; inset: auto; width: 100%; padding: .85rem 1.25rem 0; border-right: 0; border-bottom: 1px solid #dce3ec; }
  .workspace-brand-block { display: flex; align-items: center; gap: 1rem; padding: 0 0 .75rem; }
  .workspace-sidebar .akzenta-brand-logo-full { width: 8.5rem; height: 2.25rem; }
  .workspace-product { margin: 0; padding-left: 1rem; border-left: 1px solid #dce3ec; }
  .workspace-nav-label, .workspace-sidebar-footer { display: none; }
  .workspace-sidebar .customer-nav { display: flex; gap: .5rem; }
  .workspace-sidebar .customer-nav-link { min-height: 2.875rem; margin-bottom: -.0625rem; padding: .6rem .8rem; border-radius: .5rem .5rem 0 0; border: 0; border-bottom: 2px solid transparent; font-size: .875rem; }
  .workspace-sidebar .customer-nav-link.is-active { border-bottom-color: #c8102e; }
  .customer-shell .customer-header { min-height: 4rem; }
  .customer-shell .customer-header-inner { min-height: 4rem; padding: .65rem 1.25rem; flex-wrap: wrap; gap: .5rem 1rem; }
  .customer-header .agent-profile-switcher { order: initial; flex-basis: auto; }
  .customer-shell .customer-main { padding: 1.5rem 1.25rem 2rem; }
  .customer-shell .cta-action-bar { grid-template-columns: minmax(0,1fr) 2.75rem; gap: .75rem; }
  .customer-shell .cta-action-bar .cta-summary { grid-column: 1; }
  .customer-shell .cta-action-bar .cta-status { grid-column: 1 / -1; }
  .customer-shell .cta-action-bar .cta-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .customer-shell .cta-action-bar .cta-chevron { grid-column: 2; grid-row: 1; }
  .customer-shell .cta-action-bar[data-state="empty"] { grid-template-columns: minmax(0,1fr) auto 2.75rem; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-actions { grid-column: 2; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-chevron { grid-column: 3; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 5rem; }
  .workspace-sidebar { padding: .85rem 1rem 0; }
  .workspace-sidebar .customer-nav { justify-content: space-between; gap: .15rem; }
  .workspace-sidebar .customer-nav-link { justify-content: center; gap: .4rem; flex: 1 1 auto; padding: .65rem .35rem; font-size: .75rem; }
  .workspace-sidebar .customer-nav-link svg { width: 1rem; height: 1rem; }
  .workspace-product { font-size: .75rem; }
  .customer-shell .customer-header-inner { padding: .6rem 1rem; gap: .5rem; }
  .workspace-topbar-context { gap: .35rem; font-size: .75rem; }
  .workspace-topbar-context > span:first-child { display: none; }
  .workspace-topbar-context > span:nth-child(2) { display: none; }
  .customer-header .customer-account-name { display: none; }
  .customer-header .agent-profile-switcher { order: 3; flex: 1 1 100%; max-width: none; }
  .customer-header .agent-profile-current { order: initial; flex: 0 1 auto; max-width: 52%; padding: .45rem .6rem; }
  .customer-header .agent-profile-current .agent-settings-muted { display: none; }
  .customer-header .agent-profile-current strong { font-size: .75rem; }
  .customer-header .agent-profile-switcher select { max-width: none; }
  .customer-header .customer-header-actions { gap: .15rem; }
  .customer-shell .customer-main { padding: 1.25rem .85rem 1.5rem; }
  .dashboard-page-heading { align-items: flex-start; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.25rem; }
  .dashboard-page-heading p { max-width: 24rem; font-size: .875rem; }
  .workspace-guide-button { min-height: 2.75rem; font-size: .8125rem; }
  .dashboard-main-views { gap: .65rem; }
  .dashboard-main-view { grid-template-columns: minmax(0,1fr) 2rem; padding: .85rem; gap: .2rem .35rem; }
  .dashboard-main-view .dashboard-view-symbol { grid-column: 2; grid-row: 1 / 3; width: 2rem; height: 2rem; margin: 0; }
  .dashboard-main-view .dashboard-view-label { grid-column: 1; font-size: .8125rem; }
  .dashboard-main-view strong { grid-column: 1; font-size: 1.75rem; }
  .dashboard-main-view .dashboard-view-description { grid-column: 1 / -1; font-size: .6875rem; }
  .dashboard-review-area { padding-top: .75rem; }
  .dashboard-review-area h2 { flex-basis: 100%; }
  .dashboard-filter-heading { padding: 1.1rem 1rem 0; }
  .dashboard-toolbar { padding: .9rem 1rem 1.1rem; }
  .dashboard-active-filter-row { margin-inline: 1rem; }
  .workflow-dashboard .dashboard-bulk-bar { padding: 1rem; }
  .workflow-dashboard .dashboard-page-selection { align-items: center; font-size: .75rem; }
  .workflow-dashboard .dashboard-selection-button { font-size: .75rem; }
  .workflow-dashboard .workflow-table [data-dashboard-row] { padding: 1.1rem 1rem; gap: 1rem .75rem; }
  .workflow-dashboard .listing-thumbnail { display: none; }
  .workflow-dashboard .workflow-listing-heading { gap: .65rem; }
  .workflow-dashboard .workflow-title-button { font-size: .9375rem; }
  .workflow-dashboard .dashboard-pagination { padding: 1rem; }
  .workflow-dashboard .dashboard-page-size { width: 100%; margin-left: 0; }
  .customer-shell .cta-action-bar, .customer-shell .cta-action-bar.is-narrow { padding: .85rem; grid-template-columns: minmax(0,1fr) 2.75rem; }
  .customer-shell .cta-action-bar[data-state="empty"] { grid-template-columns: minmax(0,1fr) 2.75rem; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-actions { grid-column: 1 / -1; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-chevron { grid-column: 2; grid-row: 1; }
  .customer-shell .cta-action-bar .cta-actions .cta-primary { flex: 1; }
  .customer-shell .cta-summary-text strong { font-size: .9375rem; }
  .customer-shell .cta-summary-text p { font-size: .75rem; }
  .customer-shell [data-listing-panel] { inset: .5rem; width: calc(100% - 1rem); max-width: none; height: calc(100dvh - 1rem); border-radius: .85rem; }
  .customer-shell .listing-detail-heading, .customer-shell .listing-tab-body { padding: 1.1rem; }
  .customer-shell .listing-detail-tabs { padding-inline: .35rem; }
  .customer-shell .listing-detail-tabs button { font-size: .75rem; }
  .customer-shell .maintenance-banner { padding: .85rem; gap: .75rem; }
  .customer-shell .maintenance-banner-brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard-main-view, .customer-shell .customer-nav-link { transition: none; }
}
@media print {
  .workspace-sidebar, .customer-header, .cta-action-bar { display: none !important; }
  .customer-shell { display: block; }
  .customer-shell .customer-main { max-width: none; padding: 0; }
}

/* Compact worklist: inventory stays in the first screen; optional controls open on demand. */
.customer-shell:has(.workflow-dashboard--compact) { grid-template-rows: 3.5rem 1fr; }
.customer-shell:has(.workflow-dashboard--compact) .customer-header,
.customer-shell:has(.workflow-dashboard--compact) .customer-header-inner { min-height: 3.5rem; }
.customer-shell:has(.workflow-dashboard--compact) .customer-header-inner { padding-block: .4rem; }
.customer-shell:has(.workflow-dashboard--compact) .customer-main { padding-top: 1rem; }
.workflow-dashboard--compact .dashboard-page-heading { min-height: 2.75rem; margin-bottom: .5rem; gap: .75rem; flex-wrap: nowrap; }
.workflow-dashboard--compact .dashboard-page-heading h1 { flex: none; font-size: 1.65rem; }
.dashboard-heading-actions { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.workflow-dashboard--compact .workspace-inventory-tabs { margin: 0; padding: .15rem; border-radius: .5rem; }
.workflow-dashboard--compact .workspace-inventory-tabs .btn-secondary { min-height: 2.25rem; padding: .3rem .65rem; font-size: .8125rem; }
.workflow-dashboard--compact .workspace-guide-button { min-height: 2.5rem; padding: .4rem .65rem; font-size: .8125rem; }
.workflow-dashboard--compact .setup-notice { display: flex; flex-direction: row; align-items: center; gap: .5rem .8rem; margin-bottom: .25rem; padding: .55rem .75rem; border-radius: .6rem; }
.workflow-dashboard--compact .setup-notice > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .65rem; min-width: 0; }
.workflow-dashboard--compact .setup-notice h2 { margin: 0; font-size: .8125rem; line-height: 1.45; }
.workflow-dashboard--compact .setup-notice p { margin: 0; font-size: .8125rem; line-height: 1.45; }
.workflow-dashboard--compact .setup-notice .btn-secondary { flex: none; min-height: 2.25rem; padding: .35rem .65rem; font-size: .75rem; }
.workflow-dashboard--compact .dashboard-view-header { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.workflow-dashboard--compact .dashboard-main-views { display: flex; flex: 1; gap: .3rem; min-width: 0; padding: 2px 2px 4px; overflow-x: auto; scrollbar-width: thin; scroll-padding-inline: .25rem; }
.workflow-dashboard--compact .dashboard-main-view { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; flex: none; min-height: 2.75rem; padding: .45rem .65rem; border: 1px solid transparent; border-radius: .5rem; background: #eaf0f6; box-shadow: none; white-space: nowrap; }
.workflow-dashboard--compact .dashboard-main-view:hover { border-color: #b7c5d6; background: #fff; box-shadow: none; }
.workflow-dashboard--compact .dashboard-main-view.is-active { border-color: #d898a6; background: #fff0f3; color: #a8102a; box-shadow: none; }
.workflow-dashboard--compact .dashboard-main-view:focus-visible { outline-offset: -3px; }
.workflow-dashboard--compact .dashboard-main-view .dashboard-view-label { display: inline; min-height: 0; margin: 0; padding: 0; color: inherit; font-size: .8125rem; line-height: 1.4; }
.workflow-dashboard--compact .dashboard-main-view strong { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; padding: .1rem .3rem; border-radius: .3rem; background: rgb(255 255 255 / 75%); color: #334155; font-size: .8125rem; line-height: 1.4; letter-spacing: normal; }
.workflow-dashboard--compact .dashboard-main-view .dashboard-view-symbol,
.workflow-dashboard--compact .dashboard-main-view .dashboard-view-description,
.workflow-dashboard--compact .dashboard-main-view .dashboard-view-arrow { display: none; }
.workflow-dashboard--compact [data-dashboard-options] { position: relative; flex: none; }
.workflow-dashboard--compact [data-dashboard-options] > summary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .7rem; border: 1px solid #c5cfdd; border-radius: .5rem; background: #fff; color: #334155; font-size: .8125rem; line-height: 1.4; font-weight: 550; white-space: nowrap; cursor: pointer; list-style: none; }
.workflow-dashboard--compact [data-dashboard-options] > summary::-webkit-details-marker { display: none; }
.workflow-dashboard--compact [data-dashboard-options] > summary::after { content: ''; width: .4rem; height: .4rem; margin-left: .1rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; }
.workflow-dashboard--compact [data-dashboard-options][open] > summary { border-color: #9cabbe; background: #f5f7fb; }
.workflow-dashboard--compact [data-dashboard-options][open] > summary::after { rotate: 225deg; }
.workflow-dashboard--compact [data-dashboard-options] > summary svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.workflow-dashboard--compact .dashboard-review-area,
.dashboard-filter-options-panel { position: absolute; z-index: 45; top: calc(100% + .4rem); right: 0; display: grid; gap: .85rem; width: 19rem; max-width: calc(100vw - 2rem); max-height: min(32rem, calc(100dvh - 12rem)); overflow: auto; margin: 0; padding: 1rem; border: 1px solid #cbd5e1; border-radius: .75rem; background: #fff; box-shadow: 0 12px 30px rgb(23 36 59 / 15%); }
.workflow-dashboard--compact .dashboard-review-area h2 { display: none; }
.workflow-dashboard--compact .dashboard-review-area > div { display: grid; gap: .3rem; }
.workflow-dashboard--compact .dashboard-review-area a { min-height: 2.75rem; padding: .35rem; font-size: .875rem; }
.workflow-dashboard--compact .dashboard-workspace-surface { border-radius: .75rem; }
.workflow-dashboard--compact .dashboard-toolbar { display: flex; flex-wrap: nowrap; align-items: center; gap: .5rem; padding: .6rem .85rem; }
.workflow-dashboard--compact .dashboard-toolbar-form { display: grid; grid-template-columns: minmax(0,1fr) auto; flex: 1; gap: .5rem; min-width: 0; align-items: center; }
.workflow-dashboard--compact .dashboard-search-field { grid-column: auto; min-width: 0; }
.workflow-dashboard--compact .dashboard-search-label { margin: 0; }
.workflow-dashboard--compact .dashboard-search-field input { height: 2.75rem; padding-block: .5rem; font-size: .875rem; }
.workflow-dashboard--compact .dashboard-search-field button { height: 2.75rem; width: 2.75rem; }
.workflow-dashboard--compact .dashboard-toolbar .dashboard-filter-toggle { width: auto; min-height: 2.75rem; margin: 0; padding: .5rem .7rem; font-size: .8125rem; }
.workflow-dashboard--compact .dashboard-toolbar-select { display: grid; width: 100%; color: #334155; font-size: .8125rem; }
.workflow-dashboard--compact .dashboard-toolbar-select select { height: 2.75rem; font-size: .875rem; }
.dashboard-filter-options-panel .dashboard-information-option { display: flex; align-items: flex-start; gap: .5rem; min-height: 2.75rem; margin: 0; font-size: .8125rem; line-height: 1.5; color: #475569; }
.dashboard-filter-options-panel .dashboard-information-option input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: #c8102e; }
.workflow-dashboard--compact .dashboard-active-filter-row { margin-inline: .85rem; padding-bottom: .6rem; }
.workflow-dashboard--compact .dashboard-bulk-bar { align-items: center; gap: .25rem .75rem; padding: .4rem .85rem; }
.workflow-dashboard--compact .dashboard-results-heading { flex: 1 1 auto; margin: 0; }
.workflow-dashboard--compact .dashboard-results-heading h2 { font-size: .9375rem; }
.workflow-dashboard--compact .dashboard-results-heading p { margin-top: .1rem; font-size: .75rem; }
.workflow-dashboard--compact .dashboard-selection-actions { width: auto; gap: .25rem .65rem; }
.workflow-dashboard--compact .dashboard-page-selection,
.workflow-dashboard--compact .dashboard-selection-button { min-height: 2.25rem; font-size: .75rem; }
.workflow-dashboard--compact .dashboard-page-selection { gap: .45rem; }
.workflow-dashboard--compact .dashboard-bulk-count { margin-left: 0; font-size: .75rem; }
.workflow-dashboard--compact .dashboard-bulk-bar form:not([data-dashboard-selection-form]):has(button:disabled) { display: none; }
.workflow-dashboard--compact .workflow-table th { padding: .6rem .85rem; }
.workflow-dashboard--compact .workflow-table td { padding: .8rem .85rem; }
.workflow-dashboard--compact .workflow-listing-heading { gap: .6rem; }
.workflow-dashboard--compact .listing-thumbnail { width: 4rem; height: 4rem; flex-basis: 4rem; }
.workflow-dashboard--compact .workflow-location,
.workflow-dashboard--compact .workflow-facts,
.workflow-dashboard--compact .workflow-provider { margin-top: .2rem; }
.workflow-dashboard--compact .listing-actions-secondary > a.listing-action { white-space: nowrap; }
.workflow-dashboard--compact .listing-actions-secondary > a.listing-action svg { display: none; }
/* Compact rows keep the object, its status and direct actions together. */
.workflow-dashboard--compact .workflow-col-listing { width: 40%; }
.workflow-dashboard--compact .workflow-col-eligibility,
.workflow-dashboard--compact .workflow-col-contact { width: 18%; }
.workflow-dashboard--compact .workflow-col-actions { width: 24%; }
.workflow-dashboard--compact .workflow-table td { padding: .55rem .7rem; vertical-align: top; }
.workflow-dashboard--compact .workflow-listing-heading { gap: .5rem; }
.workflow-dashboard--compact .listing-thumbnail { width: 3.5rem; height: 3.5rem; flex-basis: 3.5rem; }
.workflow-dashboard--compact .listing-image-placeholder { padding: .25rem; font-size: 0; }
.workflow-dashboard--compact .listing-image-placeholder svg { display: block; width: 1.5rem; height: 1.5rem; }
.workflow-dashboard--compact .workflow-title-button { line-height: 1.35; }
.workflow-dashboard--compact .workflow-location,
.workflow-dashboard--compact .workflow-facts { margin-top: .125rem; line-height: 1.35; }
.workflow-dashboard--compact .workflow-listing-info > :is(time.workflow-meta,.workflow-provider) { display: inline; margin-top: 0; font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; }
.workflow-dashboard--compact .workflow-listing-info > time.workflow-meta::after { content: " · "; }
.workflow-dashboard--compact .listing-classification { padding: .2rem .35rem; line-height: 1.35; }
.workflow-dashboard--compact .workflow-reason-chips,
.workflow-dashboard--compact .workflow-information-chips { margin-top: .25rem; gap: .2rem; }
.workflow-dashboard--compact .workflow-reason-chip,
.workflow-dashboard--compact .workflow-information-chip { padding: .125rem .3rem; line-height: 1.35; }
.workflow-dashboard--compact .listing-preparation { margin-top: .25rem; padding: .2rem .35rem; line-height: 1.35; }
.workflow-dashboard--compact .listing-blocker,
.workflow-dashboard--compact .workflow-short-reason,
.workflow-dashboard--compact .workflow-commission-note { margin-top: .25rem; line-height: 1.4; }
.workflow-dashboard--compact .workflow-core-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .375rem; }
.workflow-dashboard--compact .listing-details-button { flex: 1 1 4.5rem; white-space: nowrap; }
.workflow-dashboard--compact .listing-actions-secondary { display: flex; flex: 1 1 7.25rem; gap: .375rem; min-width: 0; }
.workflow-dashboard--compact .listing-action { min-height: 2.75rem; padding: .45rem .5rem; }
.workflow-dashboard--compact .listing-action-menu { flex: 0 0 2.75rem; }
.workflow-dashboard--compact .listing-menu-toggle { width: 2.75rem; }
.workflow-dashboard--compact .workflow-core-actions > form { order: 1; flex: 1 1 11rem; min-width: 0; margin: 0; }
.workflow-dashboard--compact .workflow-core-actions > form > .listing-action { width: 100%; }
@container dashboard (max-width: 60rem) {
  .workflow-dashboard--compact .workflow-table [data-dashboard-row] { gap: .5rem .75rem; padding: .65rem .75rem; }
  .workflow-dashboard--compact .workflow-table [data-dashboard-row] > td { padding: 0; margin: 0; }
  .workflow-dashboard--compact .workflow-listing-heading { padding-right: 0; }
}
@media (max-width: 640px) {
  .customer-shell:has(.workflow-dashboard--compact) .workspace-sidebar { padding-top: .5rem; }
  .customer-shell:has(.workflow-dashboard--compact) .workspace-brand-block { padding-bottom: .35rem; }
  .customer-shell:has(.workflow-dashboard--compact) .akzenta-brand-logo-full { height: 1.8rem; }
  .customer-shell:has(.workflow-dashboard--compact) .customer-header,
  .customer-shell:has(.workflow-dashboard--compact) .customer-header-inner { min-height: 3rem; }
  .customer-shell:has(.workflow-dashboard--compact) .customer-header-inner { padding-block: .125rem; }
  .customer-shell:has(.workflow-dashboard--compact) .customer-main { padding-top: .5rem; }
  .workflow-dashboard--compact .dashboard-page-heading h1 { font-size: 1.5rem; }
  .dashboard-heading-actions { gap: .35rem; }
  .workflow-dashboard--compact .workspace-inventory-tabs .btn-secondary { min-height: 2.5rem; padding: .35rem .45rem; font-size: .75rem; }
  .workflow-dashboard--compact .workspace-guide-button { width: 2.75rem; min-height: 2.75rem; padding: .5rem; font-size: 0; }
  .workflow-dashboard--compact .workspace-guide-button svg { width: 1.2rem; height: 1.2rem; }
  .workflow-dashboard--compact .setup-notice { flex-wrap: nowrap; gap: .5rem; padding-block: .25rem; }
  .workflow-dashboard--compact .setup-notice h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workflow-dashboard--compact .setup-notice p { font-size: .75rem; }
  .workflow-dashboard--compact .setup-notice .btn-secondary { min-height: 2.75rem; max-width: 6.5rem; padding: .4rem .5rem; font-size: .75rem; }
  .workflow-dashboard--compact .dashboard-view-header { gap: .3rem; }
  .workflow-dashboard--compact .dashboard-main-view { padding-inline: .6rem; }
  .workflow-dashboard--compact .dashboard-review-menu > summary { padding-inline: .55rem; font-size: .75rem; }
  .workflow-dashboard--compact .dashboard-toolbar { padding: .5rem .6rem; gap: .35rem; }
  .workflow-dashboard--compact .dashboard-toolbar-form { gap: .35rem; }
  .workflow-dashboard--compact .dashboard-toolbar .dashboard-filter-toggle { width: 2.75rem; padding: .5rem; font-size: 0; }
  .workflow-dashboard--compact .dashboard-filter-toggle > span { display: none; }
  .workflow-dashboard--compact .dashboard-filter-options > summary { padding-inline: .55rem; gap: .35rem; }
  .workflow-dashboard--compact .dashboard-filter-options-panel { position: fixed; inset: auto .85rem; top: 12rem; width: auto; max-width: none; max-height: calc(100dvh - 13rem); }
  .workflow-dashboard--compact .dashboard-review-area { position: fixed; inset: auto .85rem; top: 11rem; width: auto; max-width: none; }
  .workflow-dashboard--compact .dashboard-bulk-bar { padding: .4rem .6rem; gap: .15rem .6rem; }
  .workflow-dashboard--compact .dashboard-bulk-bar { position: relative; }
  .workflow-dashboard--compact .dashboard-results-heading { display: flex; align-items: center; flex-basis: 100%; min-height: 2.75rem; }
  .workflow-dashboard--compact .dashboard-bulk-bar:has([data-dashboard-delete-submit]:enabled) .dashboard-results-heading { padding-right: 11.5rem; }
  .workflow-dashboard--compact .dashboard-page-selection span { display: none; }
  .workflow-dashboard--compact .dashboard-page-selection::after { content: "Seite"; font: inherit; }
  .workflow-dashboard--compact .dashboard-selection-actions { flex: 1 1 100%; justify-content: space-between; }
  .workflow-dashboard--compact .dashboard-selection-actions[data-dashboard-selection-form] { flex-wrap: nowrap; gap: .4rem; }
  .workflow-dashboard--compact .dashboard-selection-button { max-width: none; padding-inline: 0; line-height: 1.35; white-space: nowrap; }
  .workflow-dashboard--compact .dashboard-bulk-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workflow-dashboard--compact .dashboard-bulk-delete-form { position: absolute; top: .4rem; right: .6rem; margin: 0; }
  .workflow-dashboard--compact .dashboard-bulk-submit { padding-inline: .55rem; font-size: .75rem; }
  .workflow-dashboard--compact .workflow-table [data-dashboard-row] { padding: .65rem .65rem; gap: .5rem; }
  .workflow-dashboard--compact .workflow-listing-heading { display: flex; flex-direction: row; align-items: flex-start; gap: .6rem; }
  .workflow-dashboard--compact .workflow-select-form { position: static; order: 0; flex: 0 0 1.25rem; width: 1.25rem; margin: 0; padding: .15rem 0 0; }
  .workflow-dashboard--compact .workflow-listing-info { display: block; order: 1; flex: 1; min-width: 0; }
  .workflow-dashboard--compact .workflow-table [data-dashboard-row] > td { margin: 0; }
  .workflow-dashboard--compact .workflow-core-actions { flex-wrap: wrap; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) { gap: .3rem; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-details-button { flex: 1 1 auto; padding-inline: .4rem; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-details-button svg { display: none; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) > form { order: 0; flex: 1 1 7rem; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-actions-secondary { flex: 0 0 5.8rem; gap: .3rem; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-actions-secondary > a.listing-action { flex: 0 0 2.75rem; width: 2.75rem; font-size: 0; padding: .4rem; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-actions-secondary > a.listing-action svg { display: block; width: 1.1rem; height: 1.1rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) { grid-template-columns: minmax(0,1fr) auto; gap: .5rem; padding: .6rem .75rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-summary { grid-column: 1; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-status-icon,
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-summary-text p,
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-status,
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-help,
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-chevron { display: none; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-actions { grid-column: 2; flex-wrap: nowrap; gap: .35rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-actions > :is(button,a) { flex: none; white-space: nowrap; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-summary-text strong { font-size: .8125rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) .cta-button { padding-inline: .6rem; font-size: .75rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) { grid-template-columns: minmax(0,1fr); }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) .cta-summary { grid-column: 1; grid-row: 1; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) .cta-actions { grid-column: 1; grid-row: 2; flex-wrap: wrap; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) .cta-actions > :is([data-cta-refresh-form],[data-cta-primary]) { flex: 1 1 auto; min-width: 0; margin: 0; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) [data-cta-refresh] { width: 100%; white-space: normal; }
}
/* Compact floating actions; real feedback and processing states may grow naturally. */
.customer-shell .cta-action-bar,
.customer-shell .cta-action-bar.is-narrow { padding: .5rem .75rem; gap: .5rem; }
.customer-shell .cta-action-bar .cta-status-icon { width: 1.75rem; height: 1.75rem; flex-basis: 1.75rem; border-radius: .5rem; }
.customer-shell .cta-action-bar .cta-status-icon svg { width: 1.25rem; height: 1.25rem; }
.customer-shell .cta-action-bar .cta-summary { gap: .5rem; }
.customer-shell .cta-action-bar .cta-summary-text strong { font-size: .875rem; line-height: 1.35; }
.customer-shell .cta-action-bar .cta-summary-text p { margin-top: .15rem; font-size: .75rem; line-height: 1.4; }
.customer-shell .cta-action-bar .cta-status { padding: .4rem .6rem; }
.customer-shell .cta-action-bar .cta-actions { gap: .35rem; }
.customer-shell .cta-action-bar .cta-button { min-height: 2.75rem; padding: .45rem .6rem; }
.customer-shell .cta-action-bar .cta-chevron { width: 2.75rem; min-width: 2.75rem; padding: .4rem; }
.customer-shell .cta-action-bar[data-state="empty"] { grid-template-columns: minmax(0,1fr) auto 2.75rem; }
.customer-shell .cta-action-bar[data-state="empty"] > .cta-summary { grid-column: 1; grid-row: 1; }
.customer-shell .cta-action-bar[data-state="empty"] > .cta-actions { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
.customer-shell .cta-action-bar[data-state="empty"] > .cta-chevron { grid-column: 3; grid-row: 1; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] .cta-status-icon { display: none; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] .cta-summary-text p { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] .cta-summary-text strong { font-size: .8125rem; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] .cta-help { flex: 0 0 2.75rem; width: 2.75rem; min-width: 2.75rem; padding: 0; font-size: 0; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] .cta-help svg { width: 1.2rem; height: 1.2rem; }
.customer-shell .cta-action-bar.is-narrow[data-state="empty"] [data-cta-primary] { flex: 0 0 auto; white-space: nowrap; font-size: .75rem; }
.customer-shell .cta-action-bar[data-state="selected"]:not([aria-busy="true"]):is(:has([data-cta-primary][data-action="check"]:enabled),:has([data-cta-primary][data-action="confirm"]:enabled)) > .cta-status { display: none; }
.customer-shell .cta-action-bar[data-state="selected"]:not([aria-busy="true"]):is(:has([data-cta-primary][data-action="check"]:enabled),:has([data-cta-primary][data-action="confirm"]:enabled)):not(.is-narrow) { grid-template-columns: minmax(0,1fr) auto 2.75rem; }
.customer-shell .cta-action-bar[data-state="selected"]:not([aria-busy="true"]):is(:has([data-cta-primary][data-action="check"]:enabled),:has([data-cta-primary][data-action="confirm"]:enabled)):not(.is-narrow) > .cta-actions { grid-column: 2; grid-row: 1; }
.customer-shell .cta-action-bar[data-state="selected"]:not([aria-busy="true"]):is(:has([data-cta-primary][data-action="check"]:enabled),:has([data-cta-primary][data-action="confirm"]:enabled)):not(.is-narrow) > .cta-chevron { grid-column: 3; grid-row: 1; }
.customer-shell:has(.workflow-dashboard--compact) .cta-action-bar[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) { padding: .45rem .6rem; gap: .35rem; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) { grid-template-columns: minmax(0,1fr) auto; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) > .cta-summary { grid-column: 1; grid-row: 1; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) .cta-status-icon,
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) > .cta-chevron { display: none; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) .cta-summary-text p { display: none; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled) > .cta-actions { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) { grid-template-columns: minmax(0,1fr); }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has([data-cta-refresh-form]:not([hidden])) > .cta-actions { grid-column: 1; grid-row: 2; flex-wrap: wrap; }
.customer-shell .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):is(:has([data-cta-primary][data-action="check"]:enabled),:has([data-cta-primary][data-action="confirm"]:enabled)) .cta-button { font-size: .75rem; }
@media (max-width: 640px) {
  .customer-shell .cta-action-bar[data-state="empty"] .cta-status-icon { display: none; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-summary-text p { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-summary-text strong { font-size: .8125rem; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-help { flex: 0 0 2.75rem; width: 2.75rem; min-width: 2.75rem; padding: 0; font-size: 0; }
  .customer-shell .cta-action-bar[data-state="empty"] .cta-help svg { width: 1.2rem; height: 1.2rem; }
  .customer-shell .cta-action-bar[data-state="empty"] [data-cta-primary] { flex: 0 0 auto; white-space: nowrap; font-size: .75rem; }
}
/* Keep the global clear-selection action beside the other controls on narrow docks. */
.customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) { grid-template-columns: minmax(0,1fr); }
.customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) > .cta-summary { grid-column: 1; grid-row: 1; }
.customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) > .cta-actions { grid-column: 1; grid-row: 2; flex-wrap: wrap; }
/* Keep the two global selection actions together across narrow layouts. */
.customer-shell .cta-selection-actions { display: flex; gap: .35rem; }
.customer-shell .cta-action-bar.is-narrow .cta-selection-actions { flex: 1 1 100%; }
.customer-shell .cta-action-bar.is-narrow .cta-selection-actions > .cta-button { flex: 1 1 0; min-width: 0; white-space: normal; }
.customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:has([data-cta-primary][data-action="check"]:enabled) > .cta-actions > :is([data-cta-primary],[data-cta-details]) { flex: 1 1 auto; min-width: 0; }
/* One next step per record; supporting facts stay available under Why. */
.workflow-dashboard--compact .workflow-col-listing { width: 46%; }
.workflow-dashboard--compact .workflow-col-eligibility { width: 24%; }
.workflow-dashboard--compact .workflow-col-contact { width: 10%; }
.workflow-dashboard--compact .workflow-col-actions { width: 20%; }
.listing-next-step { display: inline-flex; align-items: center; padding: .3rem .55rem; border-radius: .45rem; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: #475569; background: #f1f4f8; }
.listing-next-step--positive { color: #176246; background: #eaf6ef; }
.listing-next-step--warning { color: #805309; background: #fff6e4; }
.listing-next-step--danger { color: #a91835; background: #fff0f1; }
.listing-next-warning { margin: .35rem 0 0; font-size: .8125rem; line-height: 1.5; color: #a91835; }
.listing-why { margin: 0; min-width: 0; }
.listing-why > summary, .listing-message-tools > summary { min-height: 2.75rem; display: flex; align-items: center; gap: .35rem; color: #475569; font-size: .8125rem; cursor: pointer; }
.listing-why > summary::before, .listing-message-tools > summary::before { content: '+'; }
.listing-why[open] > summary::before, .listing-message-tools[open] > summary::before { content: '−'; }
.listing-why > div { padding: .25rem 0 .5rem; overflow-wrap: anywhere; }
.listing-why > div > p:first-child { margin-top: 0; }
.workflow-dashboard--compact .workflow-core-actions { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: .35rem; }
.workflow-dashboard--compact .workflow-core-actions > form { order: 0; flex: 1 1 auto; }
.workflow-dashboard--compact .workflow-core-actions .listing-primary-action { flex: 1 1 auto; min-width: 0; white-space: normal; color: #a50e2b; border-color: #eed0d7; }
.workflow-dashboard--compact .workflow-core-actions .listing-actions-secondary { flex: 0 0 2.75rem; width: 2.75rem; }
.workflow-dashboard--compact .workflow-core-actions .listing-action-menu { margin: 0; }
.workflow-dashboard--compact .dashboard-bulk-count { position: static; width: auto; height: auto; overflow: visible; clip-path: none; margin: 0; font-size: .8125rem; }
.workflow-dashboard--compact .dashboard-outside-count { color: #805309; font-size: .8125rem; }
.workflow-dashboard--compact .dashboard-bulk-bar .dashboard-results-heading { padding-right: 0; }
.workflow-dashboard--compact .dashboard-bulk-bar .dashboard-enrichment-selection { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; flex-basis: 100%; border-top: 1px solid #e4eaf1; padding-top: .5rem; }
.workflow-dashboard--compact .dashboard-enrichment-selection[hidden] { display: none !important; }
.dashboard-enrichment-limit { color: #596273; font-size: .8125rem; line-height: 1.5; }
.dashboard-selection-more { margin: 0 0 0 auto; min-width: 0; }
.dashboard-selection-more > summary { min-height: 2.75rem; display: flex; align-items: center; color: #596273; font-size: .8125rem; cursor: pointer; }
.dashboard-selection-more[open] { flex-basis: 100%; }
.workflow-dashboard--compact .dashboard-selection-more .dashboard-bulk-delete-form { position: static; margin: .25rem 0; }
.listing-contact-check { margin: 1rem 0; }
.listing-message-tools { margin-top: 1rem; }
.listing-detail-status-summary > .listing-why { margin-top: .35rem; }
@container dashboard (max-width: 60rem) {
  .workflow-dashboard--compact .workflow-eligibility-cell { grid-column: 1; align-self: center; }
  .workflow-dashboard--compact .workflow-contact-cell { grid-column: 2; justify-self: end; }
  .workflow-dashboard--compact .workflow-contact-cell:has(.listing-why[open]) { grid-column: 1 / -1; justify-self: stretch; }
  .workflow-dashboard--compact .workflow-core-actions > form { flex-basis: auto; }
  .workflow-dashboard--compact .workflow-core-actions .listing-actions-secondary { flex-basis: 2.75rem; }
}
@media (max-width: 640px) {
  .workflow-dashboard--compact .dashboard-selection-actions[data-dashboard-selection-form] { flex: 1 1 auto; width: auto; }
  .workflow-dashboard--compact .dashboard-bulk-bar .dashboard-enrichment-selection { justify-content: flex-start; }
  .workflow-dashboard--compact .dashboard-selection-more { margin-left: 0; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) > form { flex: 1 1 auto; }
  .workflow-dashboard--compact .workflow-core-actions:has(> form) .listing-actions-secondary { flex: 0 0 2.75rem; }
}
/* Mobile ready actions share two rows without a separate summary row. */
@media (max-width: 640px) {
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) { grid-template-columns: minmax(6.5rem,1.2fr) repeat(2,minmax(0,1fr)); gap: .25rem; padding: .3rem .45rem; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) > .cta-summary { grid-column: 1; grid-row: 2; min-width: 0; align-self: center; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) .cta-summary-text strong { font-size: .75rem; line-height: 1.3; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) > .cta-actions { display: contents; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) > .cta-actions > [data-cta-refresh-form] { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) > .cta-actions > [data-cta-primary] { grid-column: 2; grid-row: 1; min-width: 0; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions):not(:has([data-cta-refresh-form]:not([hidden]))) > .cta-actions > [data-cta-primary] { grid-column: 1 / 3; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) > .cta-actions > [data-cta-details] { grid-column: 3; grid-row: 1; min-width: 0; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) .cta-selection-actions { grid-column: 2 / -1; grid-row: 2; gap: .25rem; min-width: 0; }
  .customer-shell:has(.workflow-dashboard--compact) .cta-action-bar.is-narrow[data-state="selected"]:not([aria-busy="true"]):has([data-cta-primary][data-action="check"]:enabled):has(.cta-selection-actions) .cta-actions .cta-button { min-height: 2.75rem; padding: .2rem .35rem; white-space: normal; }
}
