@import '_content/Z.Blazor.Diagrams/Z.Blazor.Diagrams.ezdqu7jd9f.bundle.scp.css';

/* /Components/CustomComponents/ChangeControl/ChangeChecksPanel.razor.rz.scp.css */
/* LW+CL:05.11.26 change controls: the checks a change made without a case must pass. */
.ccp[b-tcuas0mw4c] {
    display: grid;
    gap: 6px;
    margin: 8px 0;
}

.ccp-row[b-tcuas0mw4c] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    padding: 6px 8px;
    border-radius: 4px;
}

.ccp-block[b-tcuas0mw4c] {
    background: var(--bs-danger-bg-subtle, #f8d7da);
}

.ccp-warn[b-tcuas0mw4c] {
    background: var(--bs-warning-bg-subtle, #fff3cd);
}

.ccp-resolved[b-tcuas0mw4c] {
    background: var(--bs-success-bg-subtle, #d1e7dd);
}

.ccp-pass[b-tcuas0mw4c] {
    background: var(--bs-success-bg-subtle, #d1e7dd);
}

.ccp-fallback[b-tcuas0mw4c] {
    padding: 6px 8px;
    border-radius: 4px;
    background: #fff8e1;
    border: 1px solid #fde68a;
    border-left: 4px solid #f0ad4e;
}

.ccp-tag[b-tcuas0mw4c] {
    font-weight: 600;
    display: inline-block;
    padding: 0 8px;
    border-radius: 10px;
    font-size: .78rem;
}

/* The POC fills the tag by severity: block red, warn amber, pass and resolved green. */
.ccp-block .ccp-tag[b-tcuas0mw4c] { background: #b02a37; color: #fff; }
.ccp-warn .ccp-tag[b-tcuas0mw4c] { background: #f0ad4e; color: #000; }
.ccp-resolved .ccp-tag[b-tcuas0mw4c], .ccp-pass .ccp-tag[b-tcuas0mw4c] { background: #198754; color: #fff; }

.ccp-link[b-tcuas0mw4c] {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.85rem;
    color: var(--bs-link-color, #0d6efd);
    text-decoration: underline;
    cursor: pointer;
}

.ccp-hint[b-tcuas0mw4c] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ccp-title[b-tcuas0mw4c] {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #5f6b7a;
    margin-bottom: .35rem;
}
/* /Components/CustomComponents/ChangeControl/ChangeLookupPopup.razor.rz.scp.css */
/* LW+CL:06.11.26 change controls: the read-only list behind a check. */
.clp[b-14am326034] {
    padding: 4px 2px 12px;
    min-height: 120px;
}

.clp-meta[b-14am326034] {
    font-weight: 600;
    padding: 4px 2px;
}

.clp-hint[b-14am326034] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    padding: 0 2px 6px;
}

.clp-empty[b-14am326034] {
    padding: 12px 4px;
    color: var(--bs-secondary-color, #6c757d);
}

.clp-sub[b-14am326034] {
    font-size: .8rem;
    color: #5f6b7a;
    margin-bottom: .4rem;
}

.clp-foot[b-14am326034] {
    font-size: .75rem;
    color: #6c757d;
}
/* /Components/CustomComponents/ChangeControl/ControlledChangeDialog.razor.rz.scp.css */
/* LW+CL:05.11.26 change controls: the dialog a controlled change's Save opens when a reason or a check is needed. */
.ccd[b-rk2ul21869] {
    display: grid;
    gap: 10px;
    padding: 4px 2px 12px;
}

.ccd-change[b-rk2ul21869] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    padding: 8px 10px;
}

.ccd-subtitle[b-rk2ul21869] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

.ccd-why[b-rk2ul21869],
.ccd-label[b-rk2ul21869] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ccd-entity[b-rk2ul21869] {
    font-weight: 600;
    margin-right: 6px;
}

.ccd-footer[b-rk2ul21869] {
    font-size: 0.85rem;
    padding: 6px 2px;
    color: var(--bs-secondary-color, #6c757d);
}

.ccd-footer-ready[b-rk2ul21869] {
    color: var(--bs-success, #198754);
}

.ccd-error[b-rk2ul21869] {
    color: var(--bs-danger, #dc3545);
    font-weight: 600;
}

.ccd-fallback-tag[b-rk2ul21869] {
    display: inline-block;
    padding: 0 8px;
    border-radius: 10px;
    background: #fff8e1;
    color: #a16207;
    border: 1px solid #fde68a;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ccd-req[b-rk2ul21869] {
    color: #b02a37;
    margin-left: 2px;
}
/* /Components/CustomComponents/CommandPalette/CommandPalette.razor.rz.scp.css */
.cp-backdrop[b-m83a7mrjzy] {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
	z-index: 9998;
	animation: cp-fade-in-b-m83a7mrjzy 120ms ease-out;
}

.cp-root[b-m83a7mrjzy] {
	position: fixed;
	top: 15vh;
	left: 50%;
	transform: translateX(-50%);
	width: 640px;
	max-width: calc(100vw - 32px);
	max-height: 70vh;
	background-color: #1a1d2e;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 217, 197, 0.5);
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: cp-pop-in-b-m83a7mrjzy 140ms ease-out;
}

@keyframes cp-fade-in-b-m83a7mrjzy {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes cp-pop-in-b-m83a7mrjzy {
	from { opacity: 0; transform: translateX(-50%) scale(0.97); }
	to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

.cp-input-row[b-m83a7mrjzy] {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-input-icon[b-m83a7mrjzy] {
	color: rgba(255, 255, 255, 0.45);
	font-size: 16px;
}

.cp-input[b-m83a7mrjzy] {
	flex: 1;
	background: transparent;
	border: 0;
	outline: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	font-family: inherit;
	padding: 2px 0;
}

.cp-input[b-m83a7mrjzy]::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.cp-esc-hint[b-m83a7mrjzy] {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	padding: 2px 6px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cp-notice[b-m83a7mrjzy] {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background-color: rgba(255, 180, 80, 0.10);
	border-bottom: 1px solid rgba(255, 180, 80, 0.25);
	color: #ffc46b;
	font-size: 12px;
}

.cp-results[b-m83a7mrjzy] {
	overflow-y: auto;
	max-height: calc(70vh - 110px);
	padding: 6px 0;
}

.cp-empty[b-m83a7mrjzy] {
	padding: 16px 18px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 13px;
}

.cp-empty strong[b-m83a7mrjzy] {
	color: rgba(255, 255, 255, 0.75);
	font-weight: 600;
}

.cp-row[b-m83a7mrjzy] {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 16px;
	cursor: pointer;
	border-left: 2px solid transparent;
	transition: background-color 60ms ease, border-color 60ms ease;
}

.cp-row--selected[b-m83a7mrjzy] {
	background-color: #242840;
	border-left-color: #00d9c5;
}

.cp-row-icon[b-m83a7mrjzy] {
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
	width: 18px;
	text-align: center;
	flex-shrink: 0;
}

.cp-row--selected .cp-row-icon[b-m83a7mrjzy] {
	color: #00d9c5;
}

.cp-row-name[b-m83a7mrjzy] {
	flex: 1;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp-row-path[b-m83a7mrjzy] {
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 45%;
}

.cp-row-badge[b-m83a7mrjzy] {
	font-size: 10px;
	line-height: 1;
	padding: 3px 6px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	flex-shrink: 0;
}

.cp-row-badge--action[b-m83a7mrjzy] {
	background-color: rgba(0, 217, 197, 0.15);
	color: #00d9c5;
}

.cp-row-badge--recent[b-m83a7mrjzy] {
	background-color: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
}

[b-m83a7mrjzy] mark.cp-hit {
	background: transparent;
	color: #00d9c5;
	font-weight: 600;
	padding: 0;
}

.cp-show-all[b-m83a7mrjzy] {
	padding: 10px 16px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	cursor: pointer;
	text-align: center;
	border-top: 1px dashed rgba(255, 255, 255, 0.08);
	transition: color 80ms ease, background-color 80ms ease;
}

.cp-show-all:hover[b-m83a7mrjzy] {
	color: #00d9c5;
	background-color: rgba(0, 217, 197, 0.05);
}

.cp-footer[b-m83a7mrjzy] {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.45);
	background-color: rgba(0, 0, 0, 0.15);
}

.cp-footer-sep[b-m83a7mrjzy] {
	opacity: 0.5;
}
/* /Components/CustomComponents/CronScheduleEditor.razor.rz.scp.css */
.cse-inline[b-bmchhb2gcs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-bmchhb2gcs] .cse-spin {
    width: 80px;
}

.cse-unit[b-bmchhb2gcs] {
    color: var(--bs-secondary, #6c757d);
    white-space: nowrap;
    font-size: 0.875rem;
}

.cse-timesep[b-bmchhb2gcs] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bs-body-color, #212529);
    line-height: 1;
}

.cse-day-picker[b-bmchhb2gcs] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cse-day-btn[b-bmchhb2gcs] {
    width: 46px;
    height: 36px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: #fff;
    color: var(--bs-body-color, #212529);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
}

.cse-day-btn:hover:not(.cse-day-btn--on)[b-bmchhb2gcs] {
    border-color: #11C683;
    color: #11C683;
}

.cse-day-btn--on[b-bmchhb2gcs] {
    background: #11C683;
    border-color: #11C683;
    color: #fff;
}

.cse-day-btn--on:hover[b-bmchhb2gcs] {
    background: #0ea86e;
    border-color: #0ea86e;
}

.cse-day-warn[b-bmchhb2gcs] {
    display: block;
    margin-top: 4px;
}

.cse-preview[b-bmchhb2gcs] {
    padding: 0.5rem 0.75rem;
    background: #f0fdf8;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
}

.cse-preview--invalid[b-bmchhb2gcs] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
/* /Components/CustomComponents/Dashboard/DashboardDrawer.razor.rz.scp.css */
.ws-drawer-overlay[b-s8bn5o9xip] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: ws-drawer-fade-in-b-s8bn5o9xip 0.15s ease;
}

.ws-drawer-panel[b-s8bn5o9xip] {
    background: #ffffff;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    outline: none;
    animation: ws-drawer-pop-b-s8bn5o9xip 0.18s ease;
}

.ws-drawer-header[b-s8bn5o9xip] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

.ws-drawer-title[b-s8bn5o9xip] {
    font-size: 15px;
    font-weight: 700;
    color: #1a1d2e;
}

.ws-drawer-close[b-s8bn5o9xip] {
    width: 28px;
    height: 28px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ws-drawer-close:hover[b-s8bn5o9xip] {
    background: #e2e8f0;
    color: #1a1d2e;
}

.ws-drawer-close:focus-visible[b-s8bn5o9xip] {
    outline: 2px solid #0a3d62;
    outline-offset: 2px;
}

.ws-drawer-body[b-s8bn5o9xip] {
    padding: 16px 20px;
}

@keyframes ws-drawer-fade-in-b-s8bn5o9xip {
    from { background: rgba(0, 0, 0, 0); }
    to   { background: rgba(0, 0, 0, 0.4); }
}

@keyframes ws-drawer-pop-b-s8bn5o9xip {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/CustomComponents/EmailVariablePickerPopup.razor.rz.scp.css */
.email-var-picker[b-30d8bisv0s] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 520px;
}

.email-var-picker__search-input[b-30d8bisv0s] {
    width: 100%;
}

.email-var-picker__list[b-30d8bisv0s] {
    flex: 1;
    min-height: 300px;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
}

.email-var-picker__category[b-30d8bisv0s] {
    padding: 0.5rem 0.75rem;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1;
}

.email-var-picker__category:first-child[b-30d8bisv0s] {
    border-top: none;
}

.email-var-picker__row[b-30d8bisv0s] {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto;
    grid-template-rows: auto auto;
    grid-column-gap: 0.75rem;
    align-items: start;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.email-var-picker__row:hover[b-30d8bisv0s],
.email-var-picker__row:focus[b-30d8bisv0s] {
    background: #e6f0ee;
    outline: none;
}

.email-var-picker__name[b-30d8bisv0s] {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-weight: 500;
    color: #111827;
}

.email-var-picker__token[b-30d8bisv0s] {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 0.125rem 0.375rem;
    background: #0a3d62;
    color: #fff;
    border-radius: 3px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.email-var-picker__desc[b-30d8bisv0s] {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    margin-top: 0.125rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.email-var-picker__empty[b-30d8bisv0s] {
    padding: 2rem 1rem;
    text-align: center;
    color: #6b7280;
}

.email-var-picker__footer[b-30d8bisv0s] {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.25rem;
}
/* /Components/CustomComponents/EntityPicker.razor.rz.scp.css */
/* The governance create forms' one entity picker (engine review 02.10.26 B15). Scoped, so simple names. */
.picker[b-awi043hj4q] {
    position: relative;
    margin-bottom: .9rem;
}

.picker-head[b-awi043hj4q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .3rem;
}

.picker-label[b-awi043hj4q] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin: 0;
}

.picker-field[b-awi043hj4q] { position: relative; }

/* LW+CL:30.10.26 the box and, when a form passes AfterInput, its button on one line. */
.picker-input-row[b-awi043hj4q] { display: flex; align-items: center; gap: .4rem; }
.picker-input-row > .picker-field[b-awi043hj4q] { flex: 1 1 auto; min-width: 0; }

/* The code chip, inside the right-hand end of the box. The input is MyTextBox's, so it is reached with ::deep, and gets
   room on the right so a long name never runs underneath the chip. */
.picker-chip[b-awi043hj4q] {
    position: absolute;
    top: 50%;
    right: .55rem;
    transform: translateY(-50%);
    padding: .08rem .45rem;
    background: #f0fdf4;
    border: 1px solid rgba(0,168,150,.25);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gt-navy, #0a3d62);
    white-space: nowrap;
    pointer-events: none;
}

.picker-field-chosen[b-awi043hj4q]  input { padding-right: 4.8rem; }
.picker-field-chosen-wide[b-awi043hj4q]  input { padding-right: 9rem; }

.picker-required[b-awi043hj4q] { color: var(--gt-red, #c0392b); }

.picker-results[b-awi043hj4q] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--gtc-card, #fff);
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 0 0 var(--gt-radius-sm, 6px) var(--gt-radius-sm, 6px);
    box-shadow: var(--gt-shadow-lg, 0 4px 12px rgba(0,0,0,.15));
    max-height: 240px;
    overflow-y: auto;
}

.picker-result[b-awi043hj4q] {
    padding: .45rem .7rem;
    font-size: .8rem;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
}

.picker-result:hover[b-awi043hj4q] { background: #f0fdfb; }

.picker-result-active[b-awi043hj4q] { background: #f0fdfb; outline: 2px solid rgba(0,168,150,.45); outline-offset: -2px; }

.picker-meta[b-awi043hj4q] {
    color: var(--gt-text-muted, #8a94a6);
    font-size: .74rem;
}

/* LW+CL:29.10.26 why a result is offered when it is not its name (email, phone, other name, codes) */
.picker-match[b-awi043hj4q] {
    display: block;
    color: var(--gt-text-muted, #8a94a6);
    font-size: .72rem;
    font-style: italic;
}

/* LW+CL:02.11.26 a category picker's list: how many more there are, kept in view at the foot of the scrolling list; and the empty answer */
.picker-more[b-awi043hj4q] {
    position: sticky;
    bottom: 0;
    padding: .35rem .7rem;
    font-size: .72rem;
    color: var(--gt-text-muted, #8a94a6);
    background: var(--gtc-card, #fff);
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}

.picker-none[b-awi043hj4q] {
    padding: .45rem .7rem;
    font-size: .8rem;
    color: var(--gt-text-muted, #8a94a6);
}

.picker-rating[b-awi043hj4q] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.picker-rating-label[b-awi043hj4q] {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
}

.picker-error[b-awi043hj4q] {
    margin-top: .35rem;
    padding: .4rem .65rem;
    background: #fff8e1;
    color: #8a5300;
    border: 1px solid #ffe08a;
    border-radius: 5px;
    font-size: .76rem;
}
/* /Components/CustomComponents/EntityWizard/Wizard.razor.rz.scp.css */
.razorpage[b-w5soilayjy] {
    overflow: hidden;
}

/* HD #912 — inside a popup, site.css's ".dxbl-modal .razorpagemain" rule forces
   flex:auto + overflow:hidden !important (by design for simple popups that should
   auto-size to content — see that rule's own comment). The Entity/Company/Trust/
   Partnership/Foundation wizard steps are long forms in a FIXED-size popup
   (EntityEditWizard callers all use .WithSize(...)), so that auto-size behaviour
   just clips them with no scrollbar instead of growing (screenshots on HD #912
   showed the Add Entity modal cut off mid-form with no way to scroll further).
   Restore flex-fill + scroll for THIS wizard's own .razorpagemain specifically —
   written as a descendant selector so Blazor's per-component scope attribute is
   applied twice ([b-xxxx] on both .razorpage and .razorpagemain), giving this rule
   higher specificity than site.css's two-class selector so it wins outright
   without relying on stylesheet load order. Scoped to the wizard only — every
   other popup in the app keeps the auto-size-to-content default. LW+CL:04.09.26 */
.razorpage .razorpagemain[b-w5soilayjy] {
    flex: 1 !important;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
}
/* /Components/CustomComponents/GridStackDashboard.razor.rz.scp.css */
[b-owfx8wsegt]::-webkit-scrollbar {
    width: 10px;
}

[b-owfx8wsegt]::-webkit-scrollbar-track-piece {
    background-color: #FFF;
}

[b-owfx8wsegt]::-webkit-scrollbar-thumb {
    background-color: #CBCBCB;
    outline: 2px solid #FFF;
    outline-offset: -2px;
    border: .1px solid #B7B7B7;
}

[b-owfx8wsegt]::-webkit-scrollbar-thumb:hover {
    background-color: #909090;
}
/* /Components/CustomComponents/IQ/IqFab.razor.rz.scp.css */
/* ─── Floating Action Button ─────────────────────────────────── */

.iq-fab[b-ii5lkfhnnt] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    height: 44px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.1rem 0 0.85rem;
    z-index: 1040;
    transition: all 0.25s ease;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.iq-fab:hover[b-ii5lkfhnnt] {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(13, 148, 136, 0.5);
    background: linear-gradient(135deg, #0f766e, #115e59);
}

.iq-fab:active[b-ii5lkfhnnt] {
    transform: translateY(0);
}

/* 25.08.26 — coexistence with the Pulse RH flyout. Without this, the flyout's full-viewport
   backdrop (z-index 1990) sits above this button (z-index 1040) and intercepts every click —
   the button is still visible but nothing happens when clicked. Shift it clear instead, same
   424px (Pulse's 400px width + 24px gap) as IqPanel's own coexistence rule. */
.iq-fab.iq-fab-shifted[b-ii5lkfhnnt] {
    right: 424px;
}

/* Echelon theme — green accent */
.iq-fab-echelon[b-ii5lkfhnnt] {
    background: var(--ech-accent,#11C683);
    box-shadow: 0 3px 12px color-mix(in srgb, var(--ech-accent,#11C683) 35%, transparent);
}

.iq-fab-echelon:hover[b-ii5lkfhnnt] {
    background: var(--ech-accent-hover,#0EAA6F);
    box-shadow: 0 5px 20px color-mix(in srgb, var(--ech-accent,#11C683) 45%, transparent);
}

.iq-fab svg[b-ii5lkfhnnt] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media print {
    .iq-fab[b-ii5lkfhnnt] { display: none !important; }
}

/* Mobile: shift above bottom nav, reduce size */
@media (max-width: 768px) {
    .iq-fab[b-ii5lkfhnnt] {
        bottom: 70px;
        right: 12px;
        height: 36px;
        font-size: 0.75rem;
        padding: 0 0.8rem 0 0.6rem;
    }

    /* Pulse's panel is already near-fullscreen below 768px (max-width: 92vw) — shifting the FAB
       424px here would push it off-screen instead of clearing it. Same specificity as the
       unconditional .iq-fab.iq-fab-shifted rule above; wins here by appearing later. */
    .iq-fab.iq-fab-shifted[b-ii5lkfhnnt] {
        right: 12px;
    }
}
/* /Components/CustomComponents/IQ/IqInsightCard.razor.rz.scp.css */
/* ─── Container ──────────────────────────────────────────────── */

.iq-insight-container[b-3px9he8r2e] {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fafffe;
    margin-bottom: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

/* ─── Header ─────────────────────────────────────────────────── */

.iq-insight-header[b-3px9he8r2e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    cursor: pointer;
    user-select: none;
}

.iq-insight-header-left[b-3px9he8r2e] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iq-insight-icon[b-3px9he8r2e] {
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.5px;
}

.iq-insight-title[b-3px9he8r2e] {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iq-insight-badge[b-3px9he8r2e] {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.iq-insight-header-right[b-3px9he8r2e] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.iq-insight-toggle[b-3px9he8r2e] {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.iq-insight-toggle.open[b-3px9he8r2e] {
    transform: rotate(180deg);
}

.iq-insight-dismiss[b-3px9he8r2e] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
    line-height: 1;
}

.iq-insight-dismiss:hover[b-3px9he8r2e] {
    color: #fff;
}

/* ─── Body ───────────────────────────────────────────────────── */

.iq-insight-body[b-3px9he8r2e] {
    padding: 10px;
}

/* ─── Insight cards ──────────────────────────────────────────── */

.iq-insight-card[b-3px9he8r2e] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    color: #334155;
    transition: all 0.15s ease;
}

.iq-insight-card:hover[b-3px9he8r2e] {
    background: #f0fdfa;
    border-color: #0d9488;
}

.iq-insight-alert[b-3px9he8r2e] { border-left: 3px solid #ef4444; }
.iq-insight-warning[b-3px9he8r2e] { border-left: 3px solid #f59e0b; }
.iq-insight-info[b-3px9he8r2e] { border-left: 3px solid #0d9488; }

.iq-insight-card-icon[b-3px9he8r2e] {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.4;
}

.iq-insight-card-text[b-3px9he8r2e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.iq-insight-card-text strong[b-3px9he8r2e] {
    font-size: 13px;
    color: #0f172a;
}

.iq-insight-card-text span[b-3px9he8r2e] {
    font-size: 12px;
    color: #64748b;
}

.iq-insight-card-chevron[b-3px9he8r2e] {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.15s ease;
}

.iq-insight-card:hover .iq-insight-card-chevron[b-3px9he8r2e] {
    color: #0d9488;
}

/* ─── Suggestions ────────────────────────────────────────────── */

.iq-insight-suggestions[b-3px9he8r2e] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.iq-insight-suggestion[b-3px9he8r2e] {
    background: none;
    border: none;
    text-align: left;
    padding: 6px 10px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.iq-insight-suggestion:hover[b-3px9he8r2e] {
    background: #f0fdfa;
    color: #0f766e;
}

/* ─── Quick actions ──────────────────────────────────────────── */

.iq-insight-actions[b-3px9he8r2e] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.iq-insight-action-btn[b-3px9he8r2e] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #334155;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.iq-insight-action-btn:hover[b-3px9he8r2e] {
    background: #f0fdfa;
    color: #0f766e;
}

/* ─── Loading ────────────────────────────────────────────────── */

.iq-insight-loading[b-3px9he8r2e] {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    padding: 8px;
    animation: iq-insight-pulse-b-3px9he8r2e 1.5s infinite;
}

@keyframes iq-insight-pulse-b-3px9he8r2e {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
/* /Components/CustomComponents/IQ/IqMessageRenderer.razor.rz.scp.css */
/* ─── Message container ──────────────────────────────────────── */

.iq-msg[b-vubhj961aw] {
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    max-width: 92%;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* User messages: right-aligned, teal gradient */
.iq-msg-user[b-vubhj961aw] {
    margin-left: auto;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border-bottom-right-radius: 3px;
}

/* Assistant messages: left-aligned, white */
.iq-msg-assistant[b-vubhj961aw] {
    margin-right: auto;
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 3px;
}

/* ─── Message header (role + time) ───────────────────────────── */

.iq-msg-header[b-vubhj961aw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 11px;
    opacity: 0.7;
}

.iq-msg-role[b-vubhj961aw] {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iq-msg-time[b-vubhj961aw] {
    font-variant-numeric: tabular-nums;
}

/* ─── Content formatting ─────────────────────────────────────── */

.iq-msg-content[b-vubhj961aw]  p {
    margin: 0 0 6px 0;
}

.iq-msg-content[b-vubhj961aw]  p:last-child {
    margin-bottom: 0;
}

/* Markdown tables (collection results) can be far wider than the narrow IQ panel.
   Render each as its own block that scrolls horizontally instead of overflowing /
   cramping the message bubble — the panel body itself never scrolls sideways.
   display:block + width:max-content lets the table size to its content, and
   max-width:100% caps it to the bubble so the overflow becomes an internal scroll. */
.iq-msg-content[b-vubhj961aw]  table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 12px;
    margin: 8px 0;
}

.iq-msg-content[b-vubhj961aw]  th,
.iq-msg-content[b-vubhj961aw]  td {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.iq-msg-content[b-vubhj961aw]  th {
    background: #f8fafc;
    font-weight: 600;
}

.iq-msg-content[b-vubhj961aw]  tr:hover td {
    background: #f0fdfa;
}

.iq-msg-content[b-vubhj961aw]  code {
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 12px;
}

.iq-msg-content[b-vubhj961aw]  pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 12px;
}

/* ─── Entity links ───────────────────────────────────────────── */

[b-vubhj961aw] .iq-entity-link {
    color: #0d9488;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

[b-vubhj961aw] .iq-entity-link:hover {
    color: #0f766e;
    text-decoration-style: solid;
}

[b-vubhj961aw] .iq-entity-code-link {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

[b-vubhj961aw] .iq-entity-code-link:hover {
    text-decoration: underline;
}

/* ─── Inline buttons in assistant content (I6) ───────────────── */

/* Action button — emitted by ConvertNavigateMarkers ([NAVIGATE:]) and
   ConvertOpenReportMarkers ([OPEN_REPORT:]) for in-message CTAs. Replaces the inline
   `style=` these two used to build ad hoc (Blazor convention: .razor.css, not inline
   styles) — same teal #11C683 button, same markup shape, just a class now. */
[b-vubhj961aw] .iq-action-btn {
    display: inline-block;
    background: var(--ech-accent,#11C683);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin: 4px 0;
    border: none;
    cursor: pointer;
}

/* ─── AML status colorisation (I6) ───────────────────────────── */

[b-vubhj961aw] .iq-aml-status-amber {
    color: #ffc107;
    font-weight: bold;
}

[b-vubhj961aw] .iq-aml-status-green {
    color: #28a745;
}

[b-vubhj961aw] .iq-aml-status-red {
    color: #dc3545;
}

.iq-msg-skills[b-vubhj961aw] {
    margin-top: 6px;
    font-size: 11px;
    color: #5a6b7d;
    border-top: 1px dashed #d7dee6;
    padding-top: 4px;
}
/* /Components/CustomComponents/IQ/IqPanel.razor.rz.scp.css */
/* ─── Overlay ────────────────────────────────────────────────── */

.iq-panel-overlay[b-kdjnre56jp] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1049;
}

/* ─── Panel ──────────────────────────────────────────────────── */

/* Translucent surround per IQ panel transparency standard
   (docs/standards/IQ-PANEL-TRANSPARENCY.md). Bubbles, header, chip pills
   stay opaque; only the panel surface, chip strip and input strip are
   translucent. NO backdrop-filter — blur softens behind-text and
   defeats the legibility-of-behind-content goal. */
.iq-panel[b-kdjnre56jp] {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.40);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transition: right 0.25s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.iq-panel-open[b-kdjnre56jp] {
    right: 0;
}

/* 25.08.26 — coexistence with the Pulse RH flyout (`PulsePanel`, 400px wide, same right-anchored
   corner). Without this, opening Pulse hides this panel underneath it entirely (Pulse's higher
   z-index wins) instead of sitting beside it — the same problem Brett's POC solves with
   `body.pulse-open { #iqPanel { right: 364px } }`. 424px = Pulse's 400px width + 24px gap, same
   convention as the POC's 340px + 24px. */
.iq-panel-open.iq-panel-shifted-for-pulse[b-kdjnre56jp] {
    right: 424px;
}

/* Full-screen mode — expands to fill available width */
.iq-panel-full[b-kdjnre56jp] {
    width: 100%;
    max-width: 100vw;
}

/* Full screen is opaque (AM+CL 07.10.26). The translucent surround is for the side panel, so the operator can glance
   at the page beside it; full screen covers the page, and the page showing through every message is only noise.
   Two classes so it wins over .iq-panel and .iq-panel-echelon whatever the source order.
   docs/standards/IQ-PANEL-TRANSPARENCY.md, "Full screen". */
.iq-panel.iq-panel-full[b-kdjnre56jp] {
    background: #fff;
}

.iq-panel-echelon.iq-panel-full[b-kdjnre56jp] {
    background: rgb(15, 23, 42);
}

.iq-panel-full .iq-msg-content[b-kdjnre56jp]  table {
    font-size: 13px;
}

/* ─── Header ─────────────────────────────────────────────────── */

.iq-panel-header[b-kdjnre56jp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    flex-shrink: 0;
}

.iq-panel-header-left[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iq-panel-logo[b-kdjnre56jp] {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.iq-panel-badge[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iq-panel-header-right[b-kdjnre56jp] {
    display: flex;
    gap: 4px;
}

.iq-panel-btn[b-kdjnre56jp] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.iq-panel-btn:hover[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Per-session token counter chip in the header (subtle, light on the dark header). */
.iq-panel-tokens[b-kdjnre56jp] {
    align-self: center;
    margin-right: 6px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    cursor: default;
}

/* ─── Context banner ─────────────────────────────────────────── */

.iq-panel-banner[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fef9c3;
    border-bottom: 1px solid #fde68a;
    font-size: 12px;
    color: #92400e;
    flex-shrink: 0;
}

.iq-panel-banner-btn[b-kdjnre56jp] {
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.iq-panel-banner-dismiss[b-kdjnre56jp] {
    background: none;
    border: none;
    cursor: pointer;
    color: #92400e;
    font-size: 14px;
    margin-left: auto;
    padding: 0 2px;
}

/* Context-change banner (21.09.26) — a sentence and up to three choices; the panel is narrow, so the
   choices wrap onto their own row rather than squeezing the sentence. */
.iq-panel-banner-context[b-kdjnre56jp] {
    flex-wrap: wrap;
}

.iq-panel-banner-actions[b-kdjnre56jp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    align-items: center;
}

.iq-panel-banner-btn-quiet[b-kdjnre56jp] {
    background: #fff;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* "About: <entity>" — shown on the entity bar when the conversation is deliberately about a different
   entity than the one on screen, so a mismatched answer can never look like a right one. */
.iq-entity-bar-about[b-kdjnre56jp] {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 1px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
}

/* Chip-learning consent banner (HelpDesk #868) — purple, per the ticket's own POC-spec colour,
   distinct from the amber context-change banner above so the two are never confused. */
.iq-panel-banner-chip-learn[b-kdjnre56jp] {
    background: #f3e8ff;
    border-bottom-color: #d8b4fe;
    color: #6b21a8;
}

.iq-panel-banner-btn-secondary[b-kdjnre56jp] {
    background: #fff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

/* Learned chip — ⭐ prefix + purple border distinguishes a user's own chip from the curated set. */
.iq-panel-suggestions-inline .iq-panel-suggestion-learned[b-kdjnre56jp] {
    background: #faf5ff;
    border-color: #d8b4fe;
    color: #6b21a8;
}

.iq-panel-suggestions-inline .iq-panel-suggestion-learned:hover[b-kdjnre56jp] {
    background: #f3e8ff;
    border-color: #a855f7;
    color: #581c87;
}

/* ─── Messages area ──────────────────────────────────────────── */

/* 22.09.26 (Alex) — the input now lives at the TOP of the panel and messages render newest-
   exchange-first below it, so this area always fills the remaining height and the latest answer
   is always adjacent to the box. (Supersedes Brett's 13.09.26 conditional-stretch fix: that
   existed to stop the input being pushed to the bottom of an empty panel, which cannot happen
   now that the input is above this area.) */
.iq-panel-messages[b-kdjnre56jp] {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.75);
}

/* ─── Welcome state ──────────────────────────────────────────── */

.iq-panel-welcome[b-kdjnre56jp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 4px;
    text-align: center;
}

.iq-panel-welcome-title[b-kdjnre56jp] {
    font-size: 18px;
    font-weight: 600;
    color: #0f766e;
}

.iq-panel-suggestions[b-kdjnre56jp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.iq-panel-suggestion[b-kdjnre56jp] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.iq-panel-suggestion:hover[b-kdjnre56jp] {
    border-color: #0d9488;
    background: #f0fdfa;
    color: #0f766e;
}

/* Inline suggestion strip — persists below messages until first user message.
   Background per IQ panel transparency standard — translucent so behind-screen
   stays visible; chip pills (.iq-panel-suggestion) themselves stay opaque. */
.iq-panel-suggestions-inline[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.50);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 0 2px;
}

.iq-panel-suggestions-inline .iq-panel-suggestion[b-kdjnre56jp] {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    background: #fff;
    color: #0f766e;
    border: 1px solid #99f6e4;
    width: auto;
    text-align: center;
    line-height: 1.2;
}

.iq-panel-suggestions-inline .iq-panel-suggestion:hover[b-kdjnre56jp] {
    background: #ccfbf1;
    border-color: #0d9488;
    color: #134e4a;
}

/* Action chips — teal-filled variant for one-touch actions (Route / SkillId).
   Visually distinct from question chips so the user can spot "do something
   now" affordances vs "ask the LLM". Mirrors the POC iq-chip-action style. */
.iq-panel-suggestions-inline .iq-panel-suggestion-action[b-kdjnre56jp] {
    background: #ccfbf1;
    border-color: #0d9488;
    color: #0f766e;
    font-weight: 600;
}

.iq-panel-suggestions-inline .iq-panel-suggestion-action:hover[b-kdjnre56jp] {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

/* Unavailable chip — a chip whose backing tool/skill doesn't exist yet. Rendered rather than
   hidden so admins/users can see what's coming; disabled attribute makes it non-interactive. */
.iq-panel-suggestion-unavailable[b-kdjnre56jp],
.iq-panel-suggestions-inline .iq-panel-suggestion-unavailable[b-kdjnre56jp] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
}

.iq-panel-suggestion-unavailable:hover[b-kdjnre56jp],
.iq-panel-suggestions-inline .iq-panel-suggestion-unavailable:hover[b-kdjnre56jp] {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #94a3b8;
}

/* ─── Thinking animation ─────────────────────────────────────── */

/* Thinking bubble is rendered by IqPanel, not IqMessageRenderer,
   so we need the base message styles here (can't rely on IqMessageRenderer's scoped CSS) */
.iq-msg-thinking[b-kdjnre56jp] {
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    max-width: 80px;
    font-size: 14px;
    margin-right: auto;
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 3px;
}

.iq-msg-thinking-label[b-kdjnre56jp] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.iq-thinking-dots[b-kdjnre56jp] {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.iq-thinking-dots span[b-kdjnre56jp] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    animation: iq-bounce-b-kdjnre56jp 1.4s infinite ease-in-out both;
}

.iq-thinking-dots span:nth-child(1)[b-kdjnre56jp] { animation-delay: -0.32s; }
.iq-thinking-dots span:nth-child(2)[b-kdjnre56jp] { animation-delay: -0.16s; }

@keyframes iq-bounce-b-kdjnre56jp {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* ─── Error display ──────────────────────────────────────────── */

.iq-panel-error[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.iq-panel-error-retry[b-kdjnre56jp] {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
}

/* ─── Entity action bar ──────────────────────────────────────── */

/* 22.09.26 — the bar sits ABOVE the input near the top of the panel now, so its divider is
   below it and its actions popup opens DOWNWARD over the messages area. */
.iq-entity-bar[b-kdjnre56jp] {
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    z-index: 5;
}

.iq-entity-bar-toggle[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    transition: background 0.15s ease;
}

.iq-entity-bar-toggle:hover[b-kdjnre56jp] {
    background: #f0fdfa;
}

.iq-entity-bar-name[b-kdjnre56jp] {
    font-weight: 600;
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.iq-entity-bar-arrow[b-kdjnre56jp] {
    transition: transform 0.2s ease;
    font-size: 11px;
}

.iq-entity-bar-arrow.open[b-kdjnre56jp] {
    transform: rotate(180deg);
}

.iq-entity-bar-actions[b-kdjnre56jp] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    animation: iq-slide-down-b-kdjnre56jp 0.15s ease;
    z-index: 5;
}

@keyframes iq-slide-down-b-kdjnre56jp {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.iq-entity-action-btn[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #334155;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.iq-entity-action-btn:hover[b-kdjnre56jp] {
    background: #f0fdfa;
    color: #0f766e;
}

/* ─── Input area ─────────────────────────────────────────────── */

/* 22.09.26 — pinned under the header (divider below, not above).
   29.09.26, Brett — two states, not one. Idle/composing (this is the default,
   including on a fresh panel) carries the same teal as a sent message
   (.iq-msg-user in IqMessageRenderer.razor.css — identical gradient values,
   not a new colour), so the box reads as "ready to talk", the same register
   as what it becomes once sent. Firing a suggestion chip flips it to
   `.iq-input-neutral`, the ORIGINAL plain-white look this rule used to be
   unconditionally — attention should go to the new reply, not the empty box.
   A chip never populates the textarea (SendSuggestion sends directly,
   IqPanel.razor.cs), so which state applies cannot be read off the text
   content; it is set explicitly in code and cleared on the next focus or
   keystroke (OnFieldFocus / OnInputKeyDown). */
.iq-panel-input[b-kdjnre56jp] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.iq-panel-input.iq-input-neutral[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.65);
}

/* Strips that sit between the input and the messages (chips, collect-params, errors) —
   they help fill the box, so they live with it rather than inside the scrolling chat. */
.iq-panel-strip[b-kdjnre56jp] {
    flex-shrink: 0;
    margin: 0;
    padding: 6px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.iq-panel-input textarea[b-kdjnre56jp] {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    min-height: 38px;
    max-height: 120px;
    outline: none;
    transition: background 0.18s ease, color 0.18s ease;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.iq-panel-input textarea[b-kdjnre56jp]::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.iq-panel-input textarea:focus[b-kdjnre56jp] {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4) inset;
}

.iq-panel-input textarea:disabled[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
}

/* .iq-input-neutral — the state after a chip fires. This was the whole
   component's unconditional look before 29.09.26; kept byte-for-byte so the
   "just fired a chip" state is exactly what shipped before, not a new design. */
.iq-panel-input.iq-input-neutral textarea[b-kdjnre56jp] {
    background: #fff;
    color: #0f172a;
}

.iq-panel-input.iq-input-neutral textarea[b-kdjnre56jp]::placeholder {
    color: #94a3b8;
}

.iq-panel-input.iq-input-neutral textarea:focus[b-kdjnre56jp] {
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.25) inset;
}

.iq-panel-input.iq-input-neutral textarea:disabled[b-kdjnre56jp] {
    background: #f8fafc;
    color: #94a3b8;
}

.iq-panel-send[b-kdjnre56jp],
.iq-panel-cancel[b-kdjnre56jp] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

/* Default (idle/teal background): a translucent circle, not solid teal,
   or the button would blend into the field behind it. */
.iq-panel-send[b-kdjnre56jp] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.iq-panel-input.iq-input-neutral .iq-panel-send[b-kdjnre56jp] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
}

.iq-panel-send:hover:not(:disabled)[b-kdjnre56jp] {
    transform: scale(1.05);
}

.iq-panel-send:disabled[b-kdjnre56jp] {
    background: #cbd5e1;
    cursor: not-allowed;
}

.iq-panel-cancel[b-kdjnre56jp] {
    background: #ef4444;
    color: #fff;
}

.iq-panel-cancel:hover[b-kdjnre56jp] {
    background: #dc2626;
}

/* ─── Entity confirm popup ───────────────────────────────────── */

.iq-entity-confirm[b-kdjnre56jp] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
}

.iq-entity-confirm-box[b-kdjnre56jp] {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: iq-scale-in-b-kdjnre56jp 0.15s ease;
}

@keyframes iq-scale-in-b-kdjnre56jp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.iq-entity-confirm-title[b-kdjnre56jp] {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.iq-entity-confirm-body[b-kdjnre56jp] {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
}

.iq-entity-confirm-actions[b-kdjnre56jp] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.iq-entity-confirm-cancel[b-kdjnre56jp],
.iq-entity-confirm-go[b-kdjnre56jp] {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.iq-entity-confirm-cancel[b-kdjnre56jp] {
    background: #f1f5f9;
    color: #475569;
}

.iq-entity-confirm-go[b-kdjnre56jp] {
    background: #0d9488;
    color: #fff;
}

.iq-entity-confirm-go:hover[b-kdjnre56jp] {
    background: #0f766e;
}

/* ─── "What is WealthSphere IQ" panel ─────────────────────────── */

/* Docks immediately to the left of the 420px chat panel (`right: 420px`) rather than
   squeezing its own content into it — the capability grid needs the room. 13.09.26:
   an earlier iteration of this same idea (built first as a standalone prototype) hid a
   panel resting at a non-zero `right` offset with `transform:translateX(100%)` — that
   only clears an element by its OWN width, not the extra offset, so the "closed" panel
   never actually left the viewport. Sidestepped entirely here: Blazor's `@if` mounts and
   unmounts this element rather than hiding it in place, so there is no closed-resting-
   position transform to get wrong. */
.iq-what-panel[b-kdjnre56jp] {
    position: fixed;
    top: 0;
    right: 420px;
    width: 640px;
    max-width: 60vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1049;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Same 424px convention as .iq-panel-shifted-for-pulse (400px Pulse width + 24px gap),
   plus the chat panel's own 420px width, so this panel keeps its place beside both. */
.iq-what-panel-shifted-for-pulse[b-kdjnre56jp] {
    right: 844px;
}

.iq-what-panel-header[b-kdjnre56jp] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    flex-shrink: 0;
}

.iq-what-panel-icon[b-kdjnre56jp] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.iq-what-panel-title[b-kdjnre56jp] {
    font-size: 15px;
    font-weight: 700;
}

.iq-what-panel-subtitle[b-kdjnre56jp] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 1px;
}

.iq-what-panel-header .iq-panel-btn[b-kdjnre56jp] {
    margin-left: auto;
}

.iq-what-panel-scroll[b-kdjnre56jp] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.iq-what-panel-intro[b-kdjnre56jp] {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eef1f6;
}

.iq-what-panel-intro h2[b-kdjnre56jp] {
    font-size: 17px;
    color: #0f766e;
    margin: 0 0 8px;
}

.iq-what-panel-intro p[b-kdjnre56jp] {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

.iq-what-panel-section-title[b-kdjnre56jp] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 14px;
}

.iq-what-panel-grid[b-kdjnre56jp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.iq-what-panel-card[b-kdjnre56jp] {
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    padding: 16px 18px;
}

.iq-what-panel-card-icon[b-kdjnre56jp] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.iq-what-panel-card-title[b-kdjnre56jp] {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.iq-what-panel-card-desc[b-kdjnre56jp] {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 10px;
}

.iq-what-panel-card-example[b-kdjnre56jp] {
    font-size: 11.5px;
    color: #0f766e;
    background: #f0fdfa;
    border-radius: 7px;
    padding: 8px 10px;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   echelon theme overrides
   All rules scoped under .iq-panel-echelon — WealthSphere
   styles above are untouched.
   ═══════════════════════════════════════════════════════════════ */

/* Echelon variant of the translucent surround — navy alpha so the navy-themed
   panel stays in-theme rather than showing pale-grey through the surround. */
.iq-panel-echelon[b-kdjnre56jp] {
    background: rgba(15, 23, 42, 0.40);
    width: 400px;
    right: -440px;
    border-left: 1px solid rgba(200, 200, 210, 0.4);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
}

.iq-panel-echelon .iq-panel-suggestions-inline[b-kdjnre56jp] {
    background: rgba(15, 23, 42, 0.50);
}

.iq-panel-echelon .iq-panel-input[b-kdjnre56jp] {
    background: rgba(15, 23, 42, 0.65);
}

.iq-panel-echelon.iq-panel-open[b-kdjnre56jp] {
    right: 0;
}

/* Same coexistence shift as the base rule above, at higher specificity so it wins over the
   Echelon rule immediately above regardless of source order. Pulse isn't reachable from the
   Echelon customer portal today (its trigger lives in TopHeader, not EchelonHeader), so this is
   belt-and-braces rather than a fix for an observed case. */
.iq-panel-echelon.iq-panel-open.iq-panel-shifted-for-pulse[b-kdjnre56jp] {
    right: 424px;
}

/* Header — dark navy instead of teal */
.iq-panel-echelon .iq-panel-header[b-kdjnre56jp] {
    background: linear-gradient(135deg, var(--ech-dark,#1A1A2E), var(--ech-dark2,#16213E));
}

.iq-panel-echelon .iq-panel-logo[b-kdjnre56jp] {
    font-size: 15px;
    letter-spacing: 0.3px;
}

.iq-panel-echelon .iq-panel-badge[b-kdjnre56jp] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 25%, transparent);
}

/* Welcome — slightly different accent */
.iq-panel-echelon .iq-panel-welcome-title[b-kdjnre56jp] {
    color: #1a1a2e;
}

/* Suggestions — horizontal chips instead of vertical buttons */
.iq-panel-echelon .iq-panel-suggestions[b-kdjnre56jp] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.iq-panel-echelon .iq-panel-suggestion[b-kdjnre56jp] {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1.5px solid #e5e7eb;
    background: #fff;   /* LW+CL:11.11.26 (verify C82) pills stay solid, docs/standards/IQ-PANEL-TRANSPARENCY.md:61 */
    color: #6b7280;
    text-align: center;
}

.iq-panel-echelon .iq-panel-suggestion:hover[b-kdjnre56jp] {
    border-color: var(--ech-accent,#11C683);
    background: color-mix(in srgb, var(--ech-accent,#11C683) 8%, transparent);
    color: var(--ech-accent,#11C683);
}

/* Action chips — Echelon variant uses the brand-green accent. */
.iq-panel-echelon .iq-panel-suggestion-action[b-kdjnre56jp] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 15%, transparent);
    border-color: var(--ech-accent,#11C683);
    color: var(--ech-accent,#11C683);
    font-weight: 600;
}

.iq-panel-echelon .iq-panel-suggestion-action:hover[b-kdjnre56jp] {
    background: var(--ech-accent,#11C683);
    border-color: var(--ech-accent,#11C683);
    color: #fff;
}

/* Messages — user bubbles: purple-to-blue gradient */
.iq-panel-echelon[b-kdjnre56jp]  .iq-msg-user {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
}

/* Messages — assistant bubbles: light grey, no border */
.iq-panel-echelon[b-kdjnre56jp]  .iq-msg-assistant {
    background: #f3f4f6;
    border: none;
    color: #1a1a2e;
}

/* Thinking indicator */
.iq-panel-echelon .iq-msg-thinking[b-kdjnre56jp] {
    background: #f3f4f6;
    border: none;
}

/* Entity links — echelon accent green */
.iq-panel-echelon[b-kdjnre56jp]  .iq-entity-link {
    color: var(--ech-accent,#11C683);
}

.iq-panel-echelon[b-kdjnre56jp]  .iq-entity-link:hover {
    color: var(--ech-accent-hover,#0EAA6F);
}

.iq-panel-echelon[b-kdjnre56jp]  .iq-entity-code-link {
    color: var(--ech-accent,#11C683);
}

/* Table hover — echelon accent */
.iq-panel-echelon[b-kdjnre56jp]  .iq-msg-content tr:hover td {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 8%, transparent);
}

/* Input — pill-shaped */
.iq-panel-echelon .iq-panel-input textarea[b-kdjnre56jp] {
    border-radius: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.iq-panel-echelon .iq-panel-input textarea:focus[b-kdjnre56jp] {
    border-color: #7c3aed;
}

/* Send button — purple-to-blue gradient */
.iq-panel-echelon .iq-panel-send[b-kdjnre56jp] {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
}

/* Cancel button stays red — no change needed */

/* Entity bar — subtle tweak */
.iq-panel-echelon .iq-entity-action-btn:hover[b-kdjnre56jp] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 8%, transparent);
    color: var(--ech-accent,#11C683);
}

/* Entity confirm popup — echelon accent */
.iq-panel-echelon .iq-entity-confirm-go[b-kdjnre56jp] {
    background: var(--ech-accent,#11C683);
}

.iq-panel-echelon .iq-entity-confirm-go:hover[b-kdjnre56jp] {
    background: var(--ech-accent-hover,#0EAA6F);
}

/* Context banner — keep as-is (yellow is fine for both themes) */

/* Error display — keep as-is (red is fine for both themes) */
/* /Components/CustomComponents/IQ/IqResultCard.razor.rz.scp.css */
/* Tool-result card (features/iq2-tuneup, 21.09.26). Sits inside an assistant message, so it borrows the
   panel's type scale and stays visually quieter than the reply text around it. A card is a stack of blocks -
   badges, fields, tables, text - and the rules below are grouped the same way. */

.iq-result[b-tr16ibrrci] {
    margin: 8px 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.iq-result-head[b-tr16ibrrci] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.iq-result-title[b-tr16ibrrci] {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
}

.iq-result-count[b-tr16ibrrci] {
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
}

.iq-result-expand[b-tr16ibrrci] {
    margin-left: auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    white-space: nowrap;
}

.iq-result-expand:hover[b-tr16ibrrci] {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* ── Blocks ─────────────────────────────────────────────────────────────── */

.iq-result-block + .iq-result-block[b-tr16ibrrci] {
    border-top: 1px solid #f1f5f9;
}

.iq-result-heading[b-tr16ibrrci] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 10px 2px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}

/* Values that are the same on every row, said once instead of repeated down a column. Sits directly under the
   heading so it reads as a property OF the list rather than as a row in it. */
.iq-result-uniform[b-tr16ibrrci] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    padding: 4px 10px 2px;
}

.iq-result-text[b-tr16ibrrci] {
    margin: 0;
    padding: 6px 10px 8px;
    font-size: 12px;
    color: #334155;
}

/* ── Badges: the verdict, read before anything else ─────────────────────── */

.iq-result-badge-row[b-tr16ibrrci] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 8px 10px;
}

.iq-badge[b-tr16ibrrci] {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.iq-badge-label[b-tr16ibrrci] {
    font-weight: 400;
    opacity: 0.75;
}

/* One palette for both badges and field values, so a tone means the same thing wherever it appears. */

.iq-badge.iq-tone-neutral[b-tr16ibrrci] { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
.iq-badge.iq-tone-good[b-tr16ibrrci]    { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.iq-badge.iq-tone-warn[b-tr16ibrrci]    { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.iq-badge.iq-tone-bad[b-tr16ibrrci]     { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* ── Fields: one record, label above value in the narrow panel ──────────── */

.iq-result-fields[b-tr16ibrrci] {
    display: grid;
    grid-template-columns: minmax(96px, auto) 1fr;
    gap: 2px 10px;
    margin: 0;
    padding: 4px 10px 8px;
    font-size: 12px;
}

.iq-result-fields dt[b-tr16ibrrci] {
    color: #94a3b8;
    font-weight: 400;
}

.iq-result-fields dd[b-tr16ibrrci] {
    margin: 0;
    color: #0f172a;
}

.iq-result-fields dd.iq-tone-good[b-tr16ibrrci] { color: #047857; }
.iq-result-fields dd.iq-tone-warn[b-tr16ibrrci] { color: #b45309; }
.iq-result-fields dd.iq-tone-bad[b-tr16ibrrci]  { color: #b91c1c; font-weight: 600; }

/* ── Collapsed table: one stacked block per row (the 420px panel) ───────── */

.iq-result-rows[b-tr16ibrrci] {
    display: flex;
    flex-direction: column;
}

.iq-result-row[b-tr16ibrrci] {
    padding: 6px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.iq-result-row:last-child[b-tr16ibrrci] {
    border-bottom: none;
}

.iq-result-row-name[b-tr16ibrrci] {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
}

.iq-result-row-fields[b-tr16ibrrci] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    margin-top: 2px;
}

/* Wraps rather than clips. A violation reason is a sentence, and nowrap cut one off mid-word at 420px
   ("register is incomplete: direct o..."), which loses the only part of the row that matters. Short values
   still sit side by side, because the row is a wrapping flex container. */
.iq-result-field[b-tr16ibrrci] {
    font-size: 11px;
    color: #475569;
    overflow-wrap: anywhere;
}

/* The row's classifier, sitting with the name rather than in a column of its own. Subdued, because it
   qualifies the name rather than competing with it. */
.iq-result-qualifier[b-tr16ibrrci] {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    white-space: nowrap;
}

.iq-result-field-label[b-tr16ibrrci] {
    color: #94a3b8;
}

/* The entity name is the way into the record. A button rather than an anchor: it selects the entity in
   AppState before navigating, which an href cannot do, and it keeps keyboard focus behaviour for free. */
.iq-result-link[b-tr16ibrrci] {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #0369a1;
    cursor: pointer;
    text-align: left;
}

.iq-result-link:hover[b-tr16ibrrci],
.iq-result-link:focus-visible[b-tr16ibrrci] {
    color: #0c4a6e;
    text-decoration: underline;
}

.iq-result-more[b-tr16ibrrci] {
    width: 100%;
    background: #f8fafc;
    border: none;
    border-top: 1px solid #e2e8f0;
    padding: 6px 10px;
    font-size: 11px;
    color: #475569;
    cursor: pointer;
    text-align: left;
}

.iq-result-more:hover[b-tr16ibrrci] {
    background: #f1f5f9;
    color: #0f172a;
}

/* ── Expanded table: a real table, which is what the extra width is for ─── */

.iq-result-scroll[b-tr16ibrrci] {
    overflow-x: auto;
}

.iq-result-table[b-tr16ibrrci] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.iq-result-table th[b-tr16ibrrci],
.iq-result-table td[b-tr16ibrrci] {
    padding: 5px 10px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

/* A cell holds a name or a date in most tables and a sentence in one (the reason a check failed), so cap the
   width and let the long one wrap instead of pushing every other column off the side. */
.iq-result-table td[b-tr16ibrrci] {
    max-width: 52ch;
    overflow-wrap: anywhere;
}

.iq-result-table th[b-tr16ibrrci] {
    font-weight: 600;
    color: #475569;
    background: #fff;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.iq-result-table tbody tr:hover[b-tr16ibrrci] {
    background: #f8fafc;
}

/* The row number must never wrap - dropping nowrap from the cells turned "10" into two stacked digits. */
.iq-result-num[b-tr16ibrrci] {
    color: #94a3b8;
    width: 1%;
    white-space: nowrap;
}
/* /Components/CustomComponents/MessageBox.razor.rz.scp.css */
.msg-text[b-1nl5jq275e] {
  white-space: pre-wrap;
  font-size: 9pt;
}
/* /Components/CustomComponents/MyDevExpress/MyDxGrid.razor.rz.scp.css */
/* ============================================================
   MyDxGrid — visual theme
   Palette: teal #3bb0a0, bg #f7f9fc, border #e2e8f0,
            text #1a1d2e / #4a5568 / #94a3b8
   ============================================================ */

/* ===== Flex layout chain ===== */
/* Root container — flex column so toolbar + grid share space naturally.
   DxLoadingPanel wrapper rules are in site.css (global) because the
   loading panel DOM is generated by DevExpress and doesn't carry the
   Blazor CSS-isolation scope attribute. */
.grid-flex-root[b-wn94e4z28a] {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	height: 100%;
}

/* =====================================================================
   Card styling — split into two independent axes:
     .card-framed      → outer chrome: shadow, border, rounded corners,
                         left accent bar, top gradient, toolbar-as-header-band,
                         uppercase title.
     .card-accent-teal / .card-accent-green → inner styling: row hover/focus,
                         column header tint, sort arrow, summary footer,
                         empty state accent.
   Emitted by MyDxGrid.razor based on CardVariant:
     default/metrics  → card-framed card-accent-teal
     finance          → card-framed card-accent-green
     flat             → card-accent-teal       (no frame — for modals/wizards)
     flat-finance     → card-accent-green      (no frame)
     none             → nothing (plain grid)
   Modals and wizards cascade "flat" so their grids keep the same accent
   feel without double-framing over the modal/wizard's own container.
   ===================================================================== */

/* ========== OUTER FRAME (card-framed only) ========== */

.grid-flex-root.card-framed[b-wn94e4z28a] {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	position: relative;
	transition: box-shadow 0.2s ease;
}

.grid-flex-root.card-framed:hover[b-wn94e4z28a] {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* Full-height 3px left accent bar (uses --card-accent from accent class) */
.grid-flex-root.card-framed[b-wn94e4z28a]::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--card-accent);
	z-index: 2;
	pointer-events: none;
}

/* Top fade tint — per accent */
.grid-flex-root.card-framed.card-accent-teal[b-wn94e4z28a] {
	background: linear-gradient(180deg, rgba(59, 176, 160, 0.025), white 44px);
}

.grid-flex-root.card-framed.card-accent-green[b-wn94e4z28a] {
	background: linear-gradient(180deg, rgba(26, 138, 58, 0.025), white 44px);
}

/* Toolbar becomes the card-header band (only when framed) */
.grid-flex-root.card-framed .toolbar-container[b-wn94e4z28a] {
	background: transparent;
	border: none;
	border-bottom: 1px solid #e2e8f0;
	border-radius: 0;
	padding-left: 18px;
	padding-right: 8px;
	min-height: 42px;
}

/* Uppercase title — only framed (section-label treatment belongs to the header band) */
.grid-flex-root.card-framed .toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-item-text,
.grid-flex-root.card-framed .toolbar-container[b-wn94e4z28a]  [class*="toolbar-title"] {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.09em;
	color: #0a3d62;
}

/* ========== ACCENT — TEAL (default, metrics, flat) ========== */

.grid-flex-root.card-accent-teal[b-wn94e4z28a] {
	--card-accent: #3bb0a0;
}

/* Row hover */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td {
	background: rgba(59, 176, 160, 0.06) !important;
	transition: background 0.13s ease;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td:first-child {
	box-shadow: inset 2px 0 0 rgba(59, 176, 160, 0.55);
}

/* Focused row */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td {
	background: rgba(59, 176, 160, 0.12) !important;
	color: #1a1d2e !important;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0 !important;
}

/* Focus row emphasis text — darker teal so it reads against the tint */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td strong,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td a {
	color: #2a9080 !important;
}

/* Selected row */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td {
	background: rgba(59, 176, 160, 0.12) !important;
	color: #1a1d2e !important;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0 !important;
}

/* LW+CL:29.10.26 pinned columns (MyGridColumn.FixedPosition): the row tints above are see-through, so a pinned cell let the
   columns scrolling under it show through. The same tint over a solid base, one rule per state above. */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index] > td.dxbl-grid-fixed-cell {
	background-color: #fff;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td.dxbl-grid-fixed-cell {
	background: linear-gradient(rgba(59, 176, 160, 0.06), rgba(59, 176, 160, 0.06)), #fff !important;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td.dxbl-grid-fixed-cell,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td.dxbl-grid-fixed-cell {
	background: linear-gradient(rgba(59, 176, 160, 0.12), rgba(59, 176, 160, 0.12)), #fff !important;
}

.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  th.dxbl-grid-fixed-cell,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th.dxbl-grid-fixed-cell {
	background: linear-gradient(rgba(59, 176, 160, 0.05), rgba(59, 176, 160, 0.05)), #fff !important;
}

/* Column header — subtle teal bg */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  [class*="dxbl-grid-header"] th {
	background: rgba(59, 176, 160, 0.05) !important;
}

/* Sort indicator */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-sort-indicator {
	color: #3bb0a0 !important;
}

/* Summary footer — teal tint + border, navy text for readability */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-row > td,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-cell {
	background: rgba(59, 176, 160, 0.08) !important;
	border-top: 2px solid #3bb0a0 !important;
	border-bottom: none !important;
	padding: 10px 12px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #0a3d62 !important;
}

/* Empty state */
.grid-flex-root.card-accent-teal .grid-empty-state[b-wn94e4z28a]::before {
	color: rgba(59, 176, 160, 0.35);
}

.grid-flex-root.card-accent-teal .grid-empty-clear-btn[b-wn94e4z28a] {
	color: #3bb0a0;
	border-color: #3bb0a0;
}

.grid-flex-root.card-accent-teal .grid-empty-clear-btn:hover[b-wn94e4z28a] {
	background: rgba(59, 176, 160, 0.08);
	color: #2a9080;
}

/* Scrollbar — no override needed; base scrollbar rule below is already teal. */

/* ========== ACCENT — GREEN (finance, flat-finance) ========== */

.grid-flex-root.card-accent-green[b-wn94e4z28a] {
	--card-accent: #1a8a3a;
}

/* Row hover */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td {
	background: rgba(26, 138, 58, 0.06) !important;
	transition: background 0.13s ease;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td:first-child {
	box-shadow: inset 2px 0 0 rgba(26, 138, 58, 0.55);
}

/* Focused row */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td {
	background: rgba(26, 138, 58, 0.12) !important;
	color: #1a1d2e !important;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td:first-child {
	box-shadow: inset 3px 0 0 #1a8a3a !important;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td strong,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td a {
	color: #1a8a3a !important;
}

/* Selected row */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td {
	background: rgba(26, 138, 58, 0.12) !important;
	color: #1a1d2e !important;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td:first-child {
	box-shadow: inset 3px 0 0 #1a8a3a !important;
}

/* Column header — subtle green bg */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  [class*="dxbl-grid-header"] th {
	background: rgba(26, 138, 58, 0.05) !important;
}

/* Sort indicator */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-sort-indicator {
	color: #1a8a3a !important;
}

/* Summary footer */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-row > td,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-cell {
	background: rgba(26, 138, 58, 0.08) !important;
	border-top: 2px solid #1a8a3a !important;
	border-bottom: none !important;
	padding: 10px 12px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #0a3d62 !important;
}

/* Empty state */
.grid-flex-root.card-accent-green .grid-empty-state[b-wn94e4z28a]::before {
	color: rgba(26, 138, 58, 0.35);
}

.grid-flex-root.card-accent-green .grid-empty-clear-btn[b-wn94e4z28a] {
	color: #1a8a3a;
	border-color: #1a8a3a;
}

.grid-flex-root.card-accent-green .grid-empty-clear-btn:hover[b-wn94e4z28a] {
	background: rgba(26, 138, 58, 0.08);
	color: #166e2e;
}

/* Loading spinner — green */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel-content::before {
	border-color: rgba(26, 138, 58, 0.20);
	border-top-color: #1a8a3a;
}

/* Scrollbar — green */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-thumb {
	background: rgba(26, 138, 58, 0.5);
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-thumb:hover {
	background: #1a8a3a;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid * {
	scrollbar-color: rgba(26, 138, 58, 0.5) transparent;
}

/* ========== SHARED (any accent class) ========== */

/* Column header typography — Title Case bold navy, accent-class agnostic */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row th,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  [class*="dxbl-grid-header"] th,
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell-content,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row th,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  [class*="dxbl-grid-header"] th,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell-content {
	text-transform: none !important;
	font-weight: 700 !important;
	letter-spacing: 0.01em !important;
	color: #0a3d62 !important;
}

/* Negative values in summary — red regardless of accent */
.grid-flex-root.card-accent-teal .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-row > td .grid-cell-negative,
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-row > td .grid-cell-negative {
	color: #b91c1c !important;
}

/* ===== Toolbar ===== */
.toolbar-container[b-wn94e4z28a] {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-shrink: 0;
	background: #f7f9fc;
	border: 1px solid #e2e8f0;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	padding: 4px 8px;
	gap: 2px;
	min-height: 38px;
	overflow: hidden; /* clip transient overrun while DX adaptivity fires */
}

/* Fix #65: prevent "More A…" half-state on the action menu toolbar.
   DX's AdaptivityAutoCollapseItemsToIcons collapses items to icons via a
   ResizeObserver on the toolbar root — it only fires when that root actually
   shrinks. Two parts must hold together:
     1. The root must be allowed to shrink below its content (min-width:0),
        otherwise the observer never sees a narrower width and never collapses —
        the parent's overflow:hidden just clips "More Actions" to "More A".
     2. The items must keep their natural width (min-width:max-content) so they
        overflow the shrinking root and trigger the collapse, rather than letting
        flexbox compress their text and fool DX into thinking they still fit.
   The right-hand action toolbar (search + icons) is pinned flex-shrink:0 below
   so the menu is always the side that yields first. */
.toolbar-container[b-wn94e4z28a]  .grid-menu-toolbar {
	overflow: hidden;
	min-width: 0;
}

.toolbar-container[b-wn94e4z28a]  .grid-menu-toolbar .dxbl-toolbar-item {
	flex-shrink: 0;
	min-width: max-content;
}

/* #343: After saving an edit/new popup with the Enter key, keyboard focus is
   restored to the invoking toolbar item (correct a11y behaviour) and :focus-visible
   matches. DevExpress draws the focus indicator as an OUTWARD outline (positive
   outline-offset) with rounded corners; the .grid-menu-toolbar overflow:hidden above
   (needed for adaptive collapse) clips its top/bottom edges, leaving only the curved
   sides — they read as "( )" brackets around the item. Inset the outline so it renders
   fully inside the item box and is no longer clipped, keeping a visible focus ring. */
.toolbar-container[b-wn94e4z28a]  .grid-menu-toolbar .dxbl-toolbar-item > .dxbl-btn:focus-visible,
.toolbar-container[b-wn94e4z28a]  .grid-menu-toolbar .dxbl-toolbar-item > .dxbl-btn-split > .dxbl-btn:focus-visible,
.toolbar-container[b-wn94e4z28a]  .grid-menu-toolbar .dxbl-toolbar-item > .dxbl-toolbar-item-tmpl:focus-visible {
	outline-offset: -2px !important;
}

/* Keep the search box + right-hand icon group at full width so the menu
   toolbar (above) is the flex item that shrinks and collapses first. */
.toolbar-container[b-wn94e4z28a]  .grid-action-toolbar {
	flex-shrink: 0;
}

.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	min-height: unset !important;
}

/* Toolbar buttons — subtle, icon-forward */
.toolbar-container[b-wn94e4z28a]  .dxbl-btn {
	color: #4a5568 !important;
	font-size: 12px !important;
	border-radius: 6px !important;
	transition: all 0.15s !important;
	padding: 4px 8px !important;
}

.toolbar-container[b-wn94e4z28a]  .dxbl-btn:hover {
	color: #2a9080 !important;
	background: rgba(59, 176, 160, 0.10) !important;
}

/* Toolbar icon sizing */
.toolbar-container[b-wn94e4z28a]  .dxbl-image,
.toolbar-container[b-wn94e4z28a]  [class*="dx-icon-"] {
	font-size: 15px !important;
	color: inherit !important;
}

/* Toolbar separators — thin and subtle */
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-separator,
.toolbar-container[b-wn94e4z28a]  .dxbl-btn-group-separator {
	background: #e2e8f0 !important;
	width: 1px !important;
	margin: 6px 4px !important;
	opacity: 0.6;
}

/* Toolbar dropdown items */
.toolbar-container[b-wn94e4z28a]  .dxbl-dropdown-item,
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-dropdown .dxbl-btn {
	font-size: 12px !important;
	color: #4a5568 !important;
	padding: 6px 14px !important;
}

.toolbar-container[b-wn94e4z28a]  .dxbl-dropdown-item:hover,
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-dropdown .dxbl-btn:hover {
	background: rgba(59, 176, 160, 0.08) !important;
	color: #2a9080 !important;
}

/* Toolbar search input — soft background to blend with toolbar */
.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit {
	border: 1px solid #e2e8f0 !important;
	border-radius: 7px !important;
	background: rgba(255, 255, 255, 0.7) !important;
	font-size: 12px !important;
	min-width: 160px;
	transition: all 0.15s !important;
}

.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit::placeholder,
.toolbar-container[b-wn94e4z28a]  .search2 input::placeholder {
	color: #94a3b8 !important;
}

/* Search + clear button icons inside the search box — pick up the teal accent */
.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit .dx-icon-search,
.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit .dx-icon-clear {
	color: #3bb0a0 !important;
	opacity: 0.75;
	transition: opacity 0.15s;
}

.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit:focus-within .dx-icon-search,
.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit .dxbl-btn:hover .dx-icon-search,
.toolbar-container[b-wn94e4z28a]  .search2 .dxbl-text-edit .dxbl-btn:hover .dx-icon-clear {
	opacity: 1;
}

/* Active layout name badge — teal pill next to layouts icon */
.layout-name-badge[b-wn94e4z28a] {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 600;
	color: #2a9080;
	background: rgba(59, 176, 160, 0.12);
	padding: 2px 8px;
	border-radius: 8px;
	margin-left: 4px;
	white-space: nowrap;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

/* Row count badge — pill style, vertically centred in toolbar */
.grid-row-count[b-wn94e4z28a] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 600;
	color: #4a5568;
	background: rgba(59, 176, 160, 0.10);
	padding: 4px 10px;
	border-radius: 10px;
	white-space: nowrap;
	letter-spacing: 0.02em;
	line-height: 1;
}

/* The DxToolbarItem template wrapper needs to align its content to the toolbar centre */
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-item:has(.grid-row-count) {
	display: flex !important;
	align-items: center !important;
}

.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-template:has(.grid-row-count),
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-item-template:has(.grid-row-count) {
	display: flex !important;
	align-items: center !important;
}

/* Layouts button template — align with standard icon buttons */
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-item:has(.dx-icon-detailslayout) {
	display: flex !important;
	align-items: center !important;
}

.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-template:has(.dx-icon-detailslayout),
.toolbar-container[b-wn94e4z28a]  .dxbl-toolbar-item-template:has(.dx-icon-detailslayout) {
	display: flex !important;
	align-items: center !important;
}

/* ===== Empty state ===== */
.grid-empty-state[b-wn94e4z28a] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	gap: 8px;
}

.grid-empty-state[b-wn94e4z28a]::before {
	content: "\2205"; /* ∅ empty-set — reads as "nothing here" for both filter-empty and no-data states */
	font-size: 40px;
	font-weight: 200;
	line-height: 1;
	color: #cbd5e0;
}

.grid-empty-message[b-wn94e4z28a] {
	font-size: 13px;
	color: #94a3b8;
	font-weight: 500;
}

.grid-empty-clear-btn[b-wn94e4z28a] {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #3bb0a0;
	background: transparent;
	border: 1px solid #3bb0a0;
	border-radius: 6px;
	padding: 5px 16px;
	cursor: pointer;
	transition: all 0.15s;
}

.grid-empty-clear-btn:hover[b-wn94e4z28a] {
	background: rgba(59, 176, 160, 0.08);
	color: #2a9080;
}

/* ===== Grid height ===== */
.grid-height-wrapper[b-wn94e4z28a] {
	flex: 1;
	min-height: 0;
}

.grid-height-wrapper[b-wn94e4z28a]  .my-grid {
	height: 100% !important;
}

/* ===== Grid border & rounding ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid {
	border: 1px solid #e2e8f0 !important;
	border-radius: 0 0 8px 8px !important;
	overflow: hidden;
	background: #fff !important;
}

/* When toolbar is hidden, round all corners. Driven by an explicit .no-toolbar modifier class
   on grid-flex-root (set from ToolbarVisible in code), not a sibling combinator — when
   ToolbarVisible is false, .grid-height-wrapper has no preceding sibling element at all
   (the @if block renders nothing), so ":not(.toolbar-container) + .grid-height-wrapper" could
   never match regardless of what DxLoadingPanel renders around it. */
.grid-flex-root.no-toolbar .grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid {
	border-radius: 8px !important;
}

/* ===== Table — collapse borders, horizontal-only lines ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid table,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
}

/* Kill all cell borders, add back only the horizontals we want */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid th,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid td {
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
}

/* ===== Header row ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row {
	background: #f7f9fc !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row > th,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-row th,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell,
.grid-height-wrapper[b-wn94e4z28a]  [class*="dxbl-grid-header"] th {
	background: #f7f9fc !important;
	border-bottom: 2px solid #e2e8f0 !important;
	padding: 9px 8px !important;  /* tighter horizontal padding recovers ~8px per column on wide grids */
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #4a5568 !important;
	white-space: normal;  /* allow wrap so narrow columns don't crowd neighbours */
	letter-spacing: 0.01em;
	text-transform: none;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell-content {
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #4a5568 !important;
}

/* Filtered column header highlight */
.grid-height-wrapper[b-wn94e4z28a]  .grid-header-filtered {
	background: rgba(59, 176, 160, 0.10) !important;
	border-bottom-color: #3bb0a0 !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-header-filtered .dxbl-grid-header-cell-content {
	color: #2a9080 !important;
}

/* Filtered column — accent-aware override for card-accent-green grids so the
   teal highlight doesn't clash with the green card accent. */
.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .grid-header-filtered {
	background: rgba(26, 138, 58, 0.10) !important;
	border-bottom-color: #1a8a3a !important;
}

.grid-flex-root.card-accent-green .grid-height-wrapper[b-wn94e4z28a]  .grid-header-filtered .dxbl-grid-header-cell-content {
	color: #166e2e !important;
}

/* Sort indicator — teal, gentle opacity */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-sort-indicator {
	color: #3bb0a0 !important;
	opacity: 0.7;
	font-size: 10px !important;
}

/* Filter-menu icon in header — match header colour, not accent */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-filter-menu-button,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell .dxbl-btn {
	color: #94a3b8 !important;
	opacity: 0.7;
	transition: opacity 0.15s !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-filter-menu-button:hover,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-header-cell .dxbl-btn:hover {
	color: #3bb0a0 !important;
	opacity: 1;
}

/* Column resize handle — subtle */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-column-resize-handle {
	background: #e2e8f0 !important;
	width: 1px !important;
}

/* ===== Data rows =====
   This DevExpress build renders data rows WITHOUT the .dxbl-grid-data-row
   class — they're plain <tr data-visible-index="N" role="row">. Match on
   the data attribute so selectors actually fire. Spacer / empty / footer
   rows don't carry data-visible-index, so they're correctly excluded. */
.grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index] {
	transition: background 0.13s !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-data-row > td,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-data-row td,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-cell {
	padding: 9px 12px !important;
	font-size: 12px !important;
	color: #1a1d2e !important;
	vertical-align: middle !important;
	background: #fff;
}

/* Last data row — no bottom border */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-data-row:last-child > td,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-data-row:last-of-type > td,
.grid-height-wrapper[b-wn94e4z28a]  tbody tr:last-child > td {
	border-bottom: none !important;
}

/* Hover */
.grid-height-wrapper[b-wn94e4z28a]  tr[data-visible-index]:hover > td {
	background: rgba(59, 176, 160, 0.08) !important;
}

/* Alternating row stripe — disabled for clean look */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-data-row:nth-child(even) > td {
	background: #fff;
}

/* ===== Focused row ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td {
	background: rgba(59, 176, 160, 0.14) !important;
	color: #1a1d2e !important;
}

/* Left accent on first cell */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0;
}

/* Emphasise primary text in the focused row */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td strong,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-focused-row > td a {
	color: #2a9080 !important;
}

/* ===== Selected rows (multi-select) ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td {
	background: rgba(59, 176, 160, 0.14) !important;
	color: #1a1d2e !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selected-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0;
}

/* ===== Group row ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-row > td {
	background: #f7f9fc !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #4a5568 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 8px 12px !important;
}

/* Group expand/collapse icon */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-row .dxbl-image,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-row [class*="dx-icon-"] {
	color: #3bb0a0 !important;
	font-size: 12px !important;
}

/* ===== Group panel ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-panel {
	background: #f7f9fc !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 6px 12px !important;
	font-size: 11px !important;
	color: #94a3b8 !important;
}

/* Group panel tags (dragged column chips) */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-panel .dxbl-btn,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-group-panel-item {
	background: rgba(59, 176, 160, 0.08) !important;
	color: #4a5568 !important;
	border: 1px solid rgba(59, 176, 160, 0.25) !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	padding: 2px 8px !important;
}

/* ===== Summary / footer row ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-row > td,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-footer-cell {
	background: #f7f9fc !important;
	border-top: 2px solid #e2e8f0 !important;
	border-bottom: none !important;
	padding: 9px 12px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #1a1d2e !important;
	/* #826 -- footer totals are bold, so at the same column width/padding as the (regular-weight)
	   data rows they're measurably wider and were being ellipsis-truncated with no tooltip
	   (computed style: text-overflow: ellipsis; overflow: hidden; white-space: nowrap, inherited
	   from the base grid cell CSS). Grand totals must always be legible, so let a footer value
	   wrap onto a second line inside the row rather than clip -- never bleeds into neighbouring
	   cells, unlike overflow: visible would. */
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	word-break: break-word;
}

/* #917 -- DevExpress renders the TotalSummary row inside a <tfoot position:sticky;bottom:0>
   nested in the SAME scrollable div as the data rows (confirmed live: .dxbl-scroll-viewer-content
   has overflow:auto and contains thead+tbody+tfoot as one table). A sticky-bottom element always
   paints over whatever row currently occupies that screen position until the user has scrolled
   all the way to the end -- with an opaque footer background, that reads as a row silently missing
   its lower half rather than an intentional "always-visible totals" affordance, on ANY grid whose
   row count doesn't fit the pane without scrolling. Grounding the footer back to its normal
   in-flow position removes the overlap entirely (verified live on Payables > Invoices, DEV) --
   totals now sit after the last row like a normal table footer, reached by scrolling to the end,
   same as any other row. This only targets the page-level TotalSummary <tfoot>; group footers
   (GroupFooterDisplayMode) render inline inside <tbody>, not <tfoot>, so they're unaffected. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid tfoot {
	position: static !important;
}

/* #1553 -- a total that is wider than its column (Shares > Holders, Qty sum 255,700.000000 in a
   120px column) was breaking mid-number onto a second row ("255,700.0000" / "00") because the
   summary cell inherits the break-word wrapping the data cells use. A figure must stay on one line:
   no wrapping, and let it spill into the empty summary cell to its right rather than split. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid tfoot td {
	white-space: nowrap !important;
	word-break: normal !important;
	overflow: visible !important;
}

/* ===== Pager ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager {
	background: #f7f9fc !important;
	border-top: 1px solid #e2e8f0 !important;
	padding: 6px 12px !important;
	font-size: 12px !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager .dxbl-btn {
	font-size: 12px !important;
	color: #4a5568 !important;
	border-radius: 6px !important;
	min-width: 28px;
	min-height: 28px;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager .dxbl-btn:hover {
	color: #2a9080 !important;
	background: rgba(59, 176, 160, 0.10) !important;
}

/* Active page button */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager .dxbl-btn.dxbl-active,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager .dxbl-btn[aria-current] {
	background: #3bb0a0 !important;
	color: #fff !important;
	border-radius: 6px !important;
}

/* Page size selector */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager select,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-pager .dxbl-text-edit {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	font-size: 12px !important;
	background: #fff !important;
	color: #4a5568 !important;
}

/* ===== Filter row ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-filter-row > td {
	background: #fff !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 4px 8px !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-filter-row .dxbl-text-edit {
	font-size: 12px !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	background: #f7f9fc !important;
	transition: border-color 0.15s !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-filter-row .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

/* ===== Column chooser popup ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-column-chooser {
	border: 1px solid #edf0f4 !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10) !important;
	background: #f8f9fb !important;
}

/* Context menu styling moved to site-theme-fluent.css (portaled to body, outside component scope) */

/* ===== Search box (DxGrid built-in) ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-search-box .dxbl-text-edit {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	font-size: 12px !important;
	background: #fff !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-search-box .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

/* ===== Editable cell hint — subtle background so users know which cells accept input ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-cell-editable {
	background: rgba(59, 176, 160, 0.03) !important;
	border-left: 1px dashed rgba(59, 176, 160, 0.20) !important;
}

/* ===== Mandatory column header indicator — teal asterisk after caption ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-header-mandatory .dxbl-grid-header-cell-content::after {
	content: " *";
	color: #d32f2f;
	font-weight: 700;
}

/* ===== Active edit row highlight ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-row-editing {
	background: rgba(59, 176, 160, 0.06) !important;
}

/* ===== Edit cells ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-text-edit,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-combobox,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-date-edit {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	font-size: 12px !important;
	background: #f7f9fc !important;
	transition: border-color 0.15s !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-text-edit:focus-within,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-combobox:focus-within,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-cell .dxbl-date-edit:focus-within {
	border-color: #3bb0a0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

/* ===== Loading panel overlay =====
   Adds a CSS-only rotating teal ring above the loading text. The component has
   IndicatorAreaVisible="false" so DevExpress's built-in spinner isn't rendered;
   the ::before below fills that gap without touching component markup. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel-content {
	border-radius: 8px !important;
}

/* Softer background shading — white with slight opacity instead of DX default grey */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel {
	background: rgba(255, 255, 255, 0.75) !important;
	backdrop-filter: blur(2px);
}

/* Centred panel — a small rounded card rather than a full-height overlay band.
   min-width uses min(...) so the panel stays ≤90% of the container on narrow
   splitter panes — avoids horizontal overflow when the grid is < 160px wide. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel-content {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
	padding: 20px 28px !important;
	min-width: min(160px, 90%);
	text-align: center;
	color: #4a5568 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

/* Teal spinner — default for every grid. Green variant overrides below. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel-content::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto 12px;
	border: 3px solid rgba(59, 176, 160, 0.20);
	border-top-color: #3bb0a0;
	border-radius: 50%;
	animation: mydxgrid-spinner-b-wn94e4z28a 0.8s linear infinite;
}

/* Scoped-CSS note: Blazor doesn't rewrite @keyframes names, so they're global.
   The mydxgrid- prefix avoids collisions with other components' animations. */
@keyframes mydxgrid-spinner-b-wn94e4z28a {
	to {
		transform: rotate(360deg);
	}
}

/* Respect users who prefer reduced motion — slow the spin instead of stopping
   completely so the loading state is still visually distinguishable. */
@media (prefers-reduced-motion: reduce) {
	.grid-height-wrapper[b-wn94e4z28a]  .dxbl-loading-panel-content::before {
		animation-duration: 3s;
	}
}

/* ===== Scrollbar — thin, subtle, teal to match app scheme. =====
   Base applies to every grid (plain, card-none, or unstyled). Green finance
   grids override to green in the card-accent-green block above. */

/* Double-scrollbar fix: DevExpress renders its OWN custom scrollbar
   (dxbl-scroll-viewer-*-scroll-bar + dxbl-thumb, a thin grey overlay) and
   hides the native one. Our `::-webkit-scrollbar { height: 8px }` rule below
   re-shows the native bar to style it teal — so both appear stacked (grey DX
   thumb + teal native bar). We keep the styled native bar (nicer, already
   themed) and suppress DX's redundant custom overlay. Native overflow scroll
   is unaffected. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-scroll-viewer-hor-scroll-bar,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-scroll-viewer-vert-scroll-bar {
	display: none !important; /* beat DX's more-specific :not(.dxbl-disabled) rule */
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-track {
	background: transparent;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-thumb {
	background: rgba(59, 176, 160, 0.5);
	border-radius: 4px;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-thumb:hover {
	background: #3bb0a0;
}

/* Corner where horizontal + vertical scrollbars meet — transparent, not the
   default grey block browsers render. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid ::-webkit-scrollbar-corner {
	background: transparent;
}

/* Firefox — scrollbar-width/color only apply in Firefox; Chromium ignores. */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid,
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid * {
	scrollbar-width: thin;
	scrollbar-color: rgba(59, 176, 160, 0.5) transparent;
}

/* ===== Drag handle (AllowDragRows) ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-drag-handle {
	color: #94a3b8 !important;
	cursor: grab !important;
}

.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-drag-handle:hover {
	color: #3bb0a0 !important;
}

/* ===== Selection column checkbox ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-selection-cell {
	padding: 9px 8px !important;
}

/* ===== Popup edit form ===== */
.grid-height-wrapper[b-wn94e4z28a]  .dxbl-grid-edit-form-popup {
	border-radius: 10px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
	border: 1px solid #e2e8f0 !important;
}

/* ===== Negative amounts — red text ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-cell-negative {
	color: #d32f2f !important;
}

/* ===== Overdue dates — red text ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-cell-overdue {
	color: #d32f2f !important;
	font-weight: 600;
}

/* ===== Status/priority badges ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 10px;
	line-height: 1.4;
	white-space: nowrap;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-badge-danger {
	background: rgba(211, 47, 47, 0.10);
	color: #d32f2f;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-badge-warning {
	background: rgba(237, 167, 44, 0.12);
	color: #b27a1a;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-badge-success {
	background: rgba(59, 176, 160, 0.12);
	color: #2a9080;
}

/* ===== Editable checkbox cells (#153 3b) =====
   The checkbox is a display-only indicator; the toggle is driven from a JS listener
   (registerGridCheckboxToggle in enSynergy.js) that looks for [data-cb-field]. */
.grid-height-wrapper[b-wn94e4z28a]  .grid-checkbox-display {
	display: inline-block;
	cursor: pointer;
}

/* pointer-events:none is load-bearing, not cosmetic — a disabled input is not a valid
   event target in Chrome, so without this the mousedown never reaches the span the JS
   listener matches on, and the toggle silently does nothing. */
.grid-height-wrapper[b-wn94e4z28a]  .grid-checkbox-display * {
	pointer-events: none;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-cell-editable:has(.grid-checkbox-display) {
	cursor: pointer;
}

/* ===== Boolean icons (read-only checkboxes) ===== */
.grid-height-wrapper[b-wn94e4z28a]  .grid-bool-icon {
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	text-align: center;
	width: 20px;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-bool-true {
	color: #3bb0a0;
}

.grid-height-wrapper[b-wn94e4z28a]  .grid-bool-false {
	color: #d0d5dd;
	font-weight: 400;
}
/* /Components/CustomComponents/MyDevExpress/MyDxTreeList.razor.rz.scp.css */
/* ============================================================
   MyDxTreeList — visual theme (ported from MyDxGrid)
   Palette: teal #3bb0a0, bg #f7f9fc, border #e2e8f0,
            text #1a1d2e / #4a5568 / #94a3b8
   ============================================================ */

/* ===== Height wrapper — mirrors MyDxGrid's grid-height-wrapper pattern ===== */
.treelist-height-wrapper[b-f7x082tcii] {
	flex: 1;
	min-height: 0;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist {
	height: 100% !important;
}

/* ===== Toolbar ===== */
.toolbar-container[b-f7x082tcii] {
	display: flex;
	flex-direction: row;
	align-items: center;
	background: #f7f9fc;
	border: 1px solid #e2e8f0;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	padding: 4px 8px;
	gap: 2px;
	min-height: 38px;
}

.toolbar-container[b-f7x082tcii]  .dxbl-toolbar {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	min-height: unset !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-btn {
	color: #4a5568 !important;
	font-size: 12px !important;
	border-radius: 6px !important;
	transition: all 0.15s !important;
	padding: 4px 8px !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-btn:hover {
	color: #2a9080 !important;
	background: rgba(59, 176, 160, 0.10) !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-image,
.toolbar-container[b-f7x082tcii]  [class*="dx-icon-"] {
	font-size: 15px !important;
	color: inherit !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-separator,
.toolbar-container[b-f7x082tcii]  .dxbl-btn-group-separator {
	background: #e2e8f0 !important;
	width: 1px !important;
	margin: 6px 4px !important;
	opacity: 0.6;
}

.toolbar-container[b-f7x082tcii]  .dxbl-dropdown-item,
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-dropdown .dxbl-btn {
	font-size: 12px !important;
	color: #4a5568 !important;
	padding: 6px 14px !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-dropdown-item:hover,
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-dropdown .dxbl-btn:hover {
	background: rgba(59, 176, 160, 0.08) !important;
	color: #2a9080 !important;
}

.toolbar-container[b-f7x082tcii]  .search2 .dxbl-text-edit {
	border: 1px solid #e2e8f0 !important;
	border-radius: 7px !important;
	background: rgba(255, 255, 255, 0.7) !important;
	font-size: 12px !important;
	min-width: 160px;
	transition: all 0.15s !important;
}

.toolbar-container[b-f7x082tcii]  .search2 .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

.toolbar-container[b-f7x082tcii]  .search2 .dxbl-text-edit::placeholder,
.toolbar-container[b-f7x082tcii]  .search2 input::placeholder {
	color: #94a3b8 !important;
}

/* Active layout name badge */
.layout-name-badge[b-f7x082tcii] {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 600;
	color: #2a9080;
	background: rgba(59, 176, 160, 0.12);
	padding: 2px 8px;
	border-radius: 8px;
	margin-left: 4px;
	white-space: nowrap;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

/* Row count badge */
.grid-row-count[b-f7x082tcii] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 600;
	color: #4a5568;
	background: rgba(59, 176, 160, 0.10);
	padding: 4px 10px;
	border-radius: 10px;
	white-space: nowrap;
	letter-spacing: 0.02em;
	line-height: 1;
}

.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-item:has(.grid-row-count),
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-item:has(.dx-icon-detailslayout) {
	display: flex !important;
	align-items: center !important;
}

.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-template:has(.grid-row-count),
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-item-template:has(.grid-row-count),
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-template:has(.dx-icon-detailslayout),
.toolbar-container[b-f7x082tcii]  .dxbl-toolbar-item-template:has(.dx-icon-detailslayout) {
	display: flex !important;
	align-items: center !important;
}

/* Empty state */
.grid-empty-state[b-f7x082tcii] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	gap: 8px;
}

.grid-empty-state[b-f7x082tcii]::before {
	content: "\2014";
	font-size: 28px;
	color: #e2e8f0;
}

.grid-empty-message[b-f7x082tcii] {
	font-size: 13px;
	color: #94a3b8;
	font-weight: 500;
}

.grid-empty-clear-btn[b-f7x082tcii] {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #3bb0a0;
	background: transparent;
	border: 1px solid #3bb0a0;
	border-radius: 6px;
	padding: 5px 16px;
	cursor: pointer;
	transition: all 0.15s;
}

.grid-empty-clear-btn:hover[b-f7x082tcii] {
	background: rgba(59, 176, 160, 0.08);
	color: #2a9080;
}

/* ===== TreeList border & rounding ===== */
[b-f7x082tcii] .dxbl-treelist {
	border: 1px solid #e2e8f0 !important;
	border-radius: 0 0 8px 8px !important;
	overflow: hidden;
	background: #fff !important;
}

[b-f7x082tcii] .dxbl-treelist table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
}

[b-f7x082tcii] .dxbl-treelist th,
[b-f7x082tcii] .dxbl-treelist td {
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
}

/* ===== Header row ===== */
[b-f7x082tcii] .dxbl-treelist-header-row {
	background: #f7f9fc !important;
}

[b-f7x082tcii] .dxbl-treelist-header-row > th,
[b-f7x082tcii] .dxbl-treelist-header-row th,
[b-f7x082tcii] .dxbl-treelist-header-cell,
[b-f7x082tcii] [class*="dxbl-treelist-header"] th {
	background: #f7f9fc !important;
	border-bottom: 2px solid #e2e8f0 !important;
	padding: 9px 12px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #4a5568 !important;
	white-space: nowrap;
	letter-spacing: 0.01em;
	text-transform: none;
}

[b-f7x082tcii] .dxbl-treelist-header-cell-content {
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #4a5568 !important;
}

/* Sort indicator */
[b-f7x082tcii] .dxbl-treelist-sort-indicator {
	color: #3bb0a0 !important;
	opacity: 0.7;
	font-size: 10px !important;
}

/* Filtered column header highlight */
[b-f7x082tcii] .grid-header-filtered {
	background: rgba(59, 176, 160, 0.10) !important;
	border-bottom-color: #3bb0a0 !important;
}

[b-f7x082tcii] .grid-header-filtered .dxbl-treelist-header-cell-content {
	color: #2a9080 !important;
}

/* Filter-menu icon */
[b-f7x082tcii] .dxbl-treelist-filter-menu-button,
[b-f7x082tcii] .dxbl-treelist-header-cell .dxbl-btn {
	color: #94a3b8 !important;
	opacity: 0.7;
	transition: opacity 0.15s !important;
}

[b-f7x082tcii] .dxbl-treelist-filter-menu-button:hover,
[b-f7x082tcii] .dxbl-treelist-header-cell .dxbl-btn:hover {
	color: #3bb0a0 !important;
	opacity: 1;
}

/* Column resize handle */
[b-f7x082tcii] .dxbl-treelist-column-resize-handle {
	background: #e2e8f0 !important;
	width: 1px !important;
}

/* ===== Data rows ===== */
[b-f7x082tcii] .dxbl-treelist-data-row {
	transition: background 0.13s !important;
}

[b-f7x082tcii] .dxbl-treelist-data-row > td,
[b-f7x082tcii] .dxbl-treelist-data-row td {
	padding: 9px 12px !important;
	font-size: 12px !important;
	color: #1a1d2e !important;
	vertical-align: middle !important;
	background: #fff;
}

/* Hover */
[b-f7x082tcii] .dxbl-treelist-data-row:hover > td {
	background: rgba(59, 176, 160, 0.08) !important;
}

/* ===== Focused row ===== */
[b-f7x082tcii] .dxbl-treelist-focused-row > td,
[b-f7x082tcii] .dxbl-treelist-focused-row.dxbl-treelist-data-row > td {
	background: rgba(59, 176, 160, 0.14) !important;
	color: #1a1d2e !important;
}

[b-f7x082tcii] .dxbl-treelist-focused-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0;
}

[b-f7x082tcii] .dxbl-treelist-focused-row > td strong,
[b-f7x082tcii] .dxbl-treelist-focused-row > td a {
	color: #2a9080 !important;
}

/* ===== Selected rows ===== */
[b-f7x082tcii] .dxbl-treelist-selected-row > td {
	background: rgba(59, 176, 160, 0.14) !important;
	color: #1a1d2e !important;
}

[b-f7x082tcii] .dxbl-treelist-selected-row > td:first-child {
	box-shadow: inset 3px 0 0 #3bb0a0;
}

/* ===== Filter row ===== */
[b-f7x082tcii] .dxbl-treelist-filter-row > td {
	background: #fff !important;
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 4px 8px !important;
}

[b-f7x082tcii] .dxbl-treelist-filter-row .dxbl-text-edit {
	font-size: 12px !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	background: #f7f9fc !important;
	transition: border-color 0.15s !important;
}

[b-f7x082tcii] .dxbl-treelist-filter-row .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

/* ===== Search box ===== */
[b-f7x082tcii] .dxbl-treelist-search-box .dxbl-text-edit {
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 7px !important;
	font-size: 12px !important;
	background: #fff !important;
}

[b-f7x082tcii] .dxbl-treelist-search-box .dxbl-text-edit:focus-within {
	border-color: #3bb0a0 !important;
	box-shadow: 0 0 0 3px rgba(59, 176, 160, 0.12) !important;
}

/* Context menu styling moved to site-theme-fluent.css (portaled to body, outside component scope) */

/* ===== Scrollbar — teal, matching MyDxGrid =====
   DxTreeList renders as `.dxbl-grid.my-treelist` (TreeList is built on the Grid
   base) — there is NO `.dxbl-treelist` element, so the previous `.dxbl-treelist`
   rules were dead and the tree fell back to DevExpress's default grey custom
   scrollbar. Mirror MyDxGrid: suppress DX's custom scroll overlay and theme the
   native bar teal. Native overflow scroll is unaffected. */
.treelist-height-wrapper[b-f7x082tcii]  .my-treelist .dxbl-scroll-viewer-hor-scroll-bar,
.treelist-height-wrapper[b-f7x082tcii]  .my-treelist .dxbl-scroll-viewer-vert-scroll-bar {
	display: none !important; /* beat DX's more-specific :not(.dxbl-disabled) rule */
}

/* The .treelist-height-wrapper prefix gives these (0,3,x) specificity so they
   beat DX's (0,2,x) `scrollbar-width: none` / `::-webkit-scrollbar{display:none}`
   that hide the native bar — same trick MyDxGrid uses. Without the prefix the
   rules only TIE DX and the native bar stays hidden, leaving no scrollbar at all.
   Modern Chromium honours scrollbar-width/color (the actual win here);
   ::-webkit-scrollbar covers older engines. */
.treelist-height-wrapper[b-f7x082tcii]  .my-treelist ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist ::-webkit-scrollbar-track {
	background: transparent;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist ::-webkit-scrollbar-thumb {
	background: rgba(59, 176, 160, 0.5);
	border-radius: 4px;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist ::-webkit-scrollbar-thumb:hover {
	background: #3bb0a0;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist ::-webkit-scrollbar-corner {
	background: transparent;
}

.treelist-height-wrapper[b-f7x082tcii]  .my-treelist,
.treelist-height-wrapper[b-f7x082tcii]  .my-treelist * {
	scrollbar-width: thin;
	scrollbar-color: rgba(59, 176, 160, 0.5) transparent;
}

/* ===== Drag handle ===== */
[b-f7x082tcii] .dxbl-treelist-drag-handle {
	color: #94a3b8 !important;
	cursor: grab !important;
}

[b-f7x082tcii] .dxbl-treelist-drag-handle:hover {
	color: #3bb0a0 !important;
}

/* ===== Loading panel ===== */
[b-f7x082tcii] .dxbl-loading-panel,
[b-f7x082tcii] .dxbl-loading-panel-content {
	border-radius: 8px !important;
}

/* ===== Negative amounts ===== */
[b-f7x082tcii] .grid-cell-negative {
	color: #d32f2f !important;
}

/* ===== Overdue dates ===== */
[b-f7x082tcii] .grid-cell-overdue {
	color: #d32f2f !important;
	font-weight: 600;
}

/* ===== Status badges ===== */
[b-f7x082tcii] .grid-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 10px;
	line-height: 1.4;
	white-space: nowrap;
}

[b-f7x082tcii] .grid-badge-danger {
	background: rgba(211, 47, 47, 0.10);
	color: #d32f2f;
}

[b-f7x082tcii] .grid-badge-warning {
	background: rgba(237, 167, 44, 0.12);
	color: #b27a1a;
}

[b-f7x082tcii] .grid-badge-success {
	background: rgba(59, 176, 160, 0.12);
	color: #2a9080;
}

[b-f7x082tcii] .grid-badge-source {
	background: rgba(59, 130, 246, 0.10);
	color: #1d4ed8;
}

/* ===== Boolean icons ===== */
[b-f7x082tcii] .grid-bool-icon {
	font-size: 14px;
	font-weight: 700;
	display: inline-block;
	text-align: center;
	width: 20px;
}

[b-f7x082tcii] .grid-bool-true {
	color: #3bb0a0;
}

[b-f7x082tcii] .grid-bool-false {
	color: #d0d5dd;
	font-weight: 400;
}

/* ===== Column chooser popup ===== */
[b-f7x082tcii] .dxbl-treelist-column-chooser {
	border: 1px solid #edf0f4 !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10) !important;
	background: #f8f9fb !important;
}
/* /Components/CustomComponents/PendingApprovalsDrawer.razor.rz.scp.css */
.pad-root[b-8c69k23x68] {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
    padding: 4px 2px;
}

.pad-loading[b-8c69k23x68],
.pad-empty[b-8c69k23x68] {
    padding: 24px;
    text-align: center;
    color: #6c757d;
}

.pad-empty[b-8c69k23x68] {
    font-style: italic;
}

.pad-intro[b-8c69k23x68] {
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
}

.pad-list[b-8c69k23x68] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.pad-row[b-8c69k23x68] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.pad-row:last-child[b-8c69k23x68] {
    border-bottom: none;
}

.pad-row:hover[b-8c69k23x68] {
    background-color: #f8f9fa;
}

.pad-row-main[b-8c69k23x68] {
    flex: 1;
    min-width: 0;
}

.pad-row-user[b-8c69k23x68] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
}

.pad-row-usercode[b-8c69k23x68] {
    font-weight: normal;
    color: #6c757d;
    font-size: 0.82rem;
    margin-left: 4px;
}

.pad-row-role[b-8c69k23x68] {
    margin-top: 2px;
    font-size: 0.88rem;
    color: #343a40;
}

.pad-row-category[b-8c69k23x68] {
    margin-left: 8px;
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #e9ecef;
    padding: 1px 6px;
    border-radius: 8px;
}

.pad-row-meta[b-8c69k23x68] {
    margin-top: 4px;
    font-size: 0.78rem;
    color: #6c757d;
}

.pad-row-reason[b-8c69k23x68] {
    font-style: italic;
}

.pad-row-actions[b-8c69k23x68] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
/* /Components/CustomComponents/Pulse/PulsePanel.razor.rz.scp.css */
.pulse-panel-backdrop[b-k4ewg9hpzd] {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	z-index: 1990;
	/* Visual dim only. A clickable full-viewport layer here intercepts clicks on anything else
	   on screen, including IqFab/IqPanel once they shift left to stay clear of this panel — found
	   live: the FAB moved out from under .pulse-panel but was still unclickable because this div
	   still covered the whole page underneath it. Close via the header X only, matching IqPanel's
	   own precedent (no click-outside-to-close outside its full-screen mode). */
	pointer-events: none;
}

.pulse-panel[b-k4ewg9hpzd] {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 400px;
	max-width: 92vw;
	background: #f7f8fa;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
	z-index: 2000;
	display: flex;
	flex-direction: column;
	animation: pulse-panel-in-b-k4ewg9hpzd 0.2s ease-out;
}

@keyframes pulse-panel-in-b-k4ewg9hpzd {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

/* Header — dark navy with a live dot, matching ws-regsphere-poc.html's "Pulse feed" bar. */
.pulse-panel-header[b-k4ewg9hpzd] {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	background: #10233c;
	flex-shrink: 0;
}

.pulse-panel-live-dot[b-k4ewg9hpzd] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #11c683;
	box-shadow: 0 0 0 3px rgba(17, 198, 131, 0.25);
	/* LW+CL:09.11.26 (parity C84): the pulsing ring of the POC's header icon. */
	animation: pulse-ring-a-b-k4ewg9hpzd 2s ease-out infinite;
}

@keyframes pulse-ring-a-b-k4ewg9hpzd {
	0% { box-shadow: 0 0 0 0 rgba(17, 198, 131, 0.55); }
	70% { box-shadow: 0 0 0 7px rgba(17, 198, 131, 0); }
	100% { box-shadow: 0 0 0 0 rgba(17, 198, 131, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.pulse-panel-live-dot[b-k4ewg9hpzd] { animation: none; }
}

/* LW+CL:09.11.26 (parity C83): compose hint line. */
.pulse-panel-compose-hint[b-k4ewg9hpzd] {
	padding: 0 12px 8px;
	font-size: 11px;
	color: #6b7280;
}

.pulse-panel-title[b-k4ewg9hpzd] {
	flex: 1;
	font-weight: 700;
	font-size: 1.05rem;
	color: #ffffff;
}

/* LW+CL:08.09.26 — same icon-button shape as .pulse-panel-refresh right beside it, slightly larger
   glyph since a bare "+" reads smaller than "↺" at the same font-size. */
.pulse-panel-new[b-k4ewg9hpzd] {
	border: none;
	background: none;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	color: #aab4c2;
	padding: 0 4px;
}

.pulse-panel-new:hover[b-k4ewg9hpzd] {
	color: #ffffff;
}

.pulse-panel-refresh[b-k4ewg9hpzd] {
	border: none;
	background: none;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	color: #aab4c2;
	padding: 0 2px;
}

.pulse-panel-refresh:hover[b-k4ewg9hpzd] {
	color: #ffffff;
}

.pulse-panel-refresh:disabled[b-k4ewg9hpzd] {
	color: #5a6b80;
	cursor: default;
}

.pulse-panel-close[b-k4ewg9hpzd] {
	border: none;
	background: none;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	color: #aab4c2;
	padding: 0 4px;
}

.pulse-panel-close:hover[b-k4ewg9hpzd] {
	color: #ffffff;
}

/* Tab row — REAL IPulseSource keys, not the POC's fake #channels. */
.pulse-panel-tabs[b-k4ewg9hpzd] {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 16px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
}

.pulse-panel-tab[b-k4ewg9hpzd] {
	border: 1px solid #d0d5dd;
	background: #ffffff;
	color: #444;
	border-radius: 14px;
	padding: 3px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.pulse-panel-tab:hover[b-k4ewg9hpzd] {
	border-color: #11c683;
}

.pulse-panel-tab--active[b-k4ewg9hpzd] {
	background: #11c683;
	border-color: #11c683;
	color: #ffffff;
}

.pulse-panel-tab-count[b-k4ewg9hpzd] {
	opacity: 0.75;
	margin-left: 2px;
}

/* LW+CL:26.08.26 Pulse channels -- a second tab row. Styling matches Brett's
   ws-regsphere-poc.html .pulse-channel-tabs/.pulse-ch-btn pixel-for-pixel (light-tint active
   state, 20px pill, 11px/600 text, #11c683 accent) -- the one real difference from the POC is
   that these tabs filter REAL cross-source data, not the POC's hardcoded demo channel. */
.pulse-panel-channels[b-k4ewg9hpzd] {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 10px 16px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
}

.pulse-panel-channel-tab[b-k4ewg9hpzd] {
	background: none;
	border: 1px solid #d0d5dd;
	border-radius: 20px;
	padding: 3px 12px;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #444;
	cursor: pointer;
	white-space: nowrap;
	font-family: inherit;
	transition: all .15s;
}

.pulse-panel-channel-tab:hover[b-k4ewg9hpzd] {
	border-color: #11c683;
}

.pulse-panel-channel-tab--active[b-k4ewg9hpzd] {
	background: rgba(17, 198, 131, 0.1);
	border-color: #11c683;
	color: #11c683;
}

/* LW+CL:03.09.26 — .pulse-panel-truncated removed with the 8-item cap it annotated. The panel
   scrolls the complete list now, so there is no truncation to announce. */

/* Urgency narrowing — deliberately reads as an active filter, not as chrome, so it can never be
   mistaken for "this is everything". Teal matches the Pulse channel tabs' own accent. */
.pulse-panel-urgency[b-k4ewg9hpzd] {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px 0;
}

.pulse-panel-urgency-toggle[b-k4ewg9hpzd] {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #555;
	border-radius: 20px;
	padding: 3px 12px;
	font-size: 11px;
	cursor: pointer;
}

.pulse-panel-urgency-toggle--on[b-k4ewg9hpzd] {
	background: rgba(17, 198, 131, 0.1);
	border-color: #11c683;
	color: #11c683;
	font-weight: 600;
}

.pulse-panel-urgency-count[b-k4ewg9hpzd] {
	font-size: 11px;
	color: #888;
}

/* LW+CL:04.09.26 — live search row. Same padding rhythm as .pulse-panel-urgency above it. */
.pulse-panel-search[b-k4ewg9hpzd] {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px 4px;
}

.pulse-panel-search-input[b-k4ewg9hpzd] {
	flex: 1;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	padding: 5px 12px;
	font-size: 12px;
	font-family: inherit;
	min-width: 0;
}

.pulse-panel-search-input:focus[b-k4ewg9hpzd] {
	outline: none;
	border-color: #11c683;
}

.pulse-panel-search-clear[b-k4ewg9hpzd] {
	background: none;
	border: none;
	color: #888;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.pulse-panel-search-clear:hover[b-k4ewg9hpzd] {
	color: #333;
}

.pulse-panel-loading[b-k4ewg9hpzd],
.pulse-panel-empty[b-k4ewg9hpzd],
.pulse-panel-error[b-k4ewg9hpzd] {
	padding: 24px 16px;
	color: #666;
	font-size: 0.9rem;
	text-align: center;
}

.pulse-panel-error[b-k4ewg9hpzd] {
	color: #a81f16;
}

/* LW+CL:03.09.26 — PARTIAL failure: some sources loaded, some didn't. Deliberately a compact
   inline strip rather than .pulse-panel-error's centred 24px block, because it sits ABOVE a
   populated card list instead of replacing it. */
.pulse-panel-warning[b-k4ewg9hpzd] {
	margin: 8px 10px 0;
	padding: 6px 10px;
	border-left: 3px solid #c77700;
	background: #fff6e6;
	color: #8a5300;
	font-size: 0.8rem;
	border-radius: 3px;
}

.pulse-panel-list[b-k4ewg9hpzd] {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
}

/* Day divider (parity C15) — the POC's .pulse-divider-label: centred 10px grey label over a hairline. */
.pulse-panel-day-divider[b-k4ewg9hpzd] {
	text-align: center;
	font-size: 10px;
	color: #94a3b8;
	padding: 6px 0;
	position: relative;
}

.pulse-panel-day-divider[b-k4ewg9hpzd]::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 12px;
	right: 12px;
	height: 1px;
	background: #f1f5f9;
}

.pulse-panel-day-divider span[b-k4ewg9hpzd] {
	position: relative;
	background: #fff;
	padding: 0 8px;
}

/* The sender's name beside the source label (parity C20), the POC's .pulse-name. */
.pulse-panel-card-sender[b-k4ewg9hpzd] {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #1e3a5f;
}

/* "via echelon" after a portal sender's name (parity C20) — the POC's muted inline label. */
.pulse-panel-via-echelon[b-k4ewg9hpzd] {
	font-weight: 500;
	color: #94a3b8;
}

/* Card — circular source avatar + body, matching the POC's feed entries. */
.pulse-panel-card[b-k4ewg9hpzd] {
	display: flex;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 8px;
	cursor: pointer;
}

.pulse-panel-card:hover[b-k4ewg9hpzd] {
	border-color: #11c683;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.pulse-panel-card-avatar[b-k4ewg9hpzd] {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	color: #ffffff;
}

/* pulse-source-* already carries a light tint + dark text (site.css, shared with the /pulse grid
   badges) — the avatar wants the SAME hue solid and white text, so it overrides colour/background
   here rather than duplicating the palette. */
.pulse-panel-card-avatar.pulse-source-tasks[b-k4ewg9hpzd] { background: #00a896; }
.pulse-panel-card-avatar.pulse-source-alerts[b-k4ewg9hpzd] { background: #d93025; }
.pulse-panel-card-avatar.pulse-source-messages[b-k4ewg9hpzd] { background: #2962ff; }
/* LW+CL:20.10.26 message sent from the client portal (echelon): teal PO, after the messages rule so it wins. */
.pulse-panel-card-avatar.pulse-source-portal[b-k4ewg9hpzd] { background: #0d9488; }
.pulse-panel-card-avatar.pulse-source-dispatch[b-k4ewg9hpzd] { background: #8e44ad; }
.pulse-panel-card-avatar.pulse-source-approvals[b-k4ewg9hpzd] { background: #c97c00; }

.pulse-panel-card-body[b-k4ewg9hpzd] {
	flex: 1;
	min-width: 0;
}

.pulse-panel-card-top[b-k4ewg9hpzd] {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 4px;
}

.pulse-panel-card-source[b-k4ewg9hpzd] {
	font-weight: 700;
	font-size: 0.8rem;
	color: #1f2937;
}

.pulse-panel-card-time[b-k4ewg9hpzd] {
	font-size: 0.7rem;
	color: #999;
}

.pulse-panel-card-badges[b-k4ewg9hpzd] {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 6px;
}

/* LW+CL:07.11.26 the channel pill on a card; a monitored channel is amber with a small lock (as the compose warning). */
.pulse-panel-card-channel[b-k4ewg9hpzd] {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 600;
	color: #475467;
	background: #f2f4f7;
}

.pulse-panel-card-channel.is-monitored[b-k4ewg9hpzd] {
	color: #92400e;
	background: #fffbeb;
}

.pulse-panel-lock[b-k4ewg9hpzd] {
	width: 9px;
	height: 9px;
}

.pulse-panel-badge[b-k4ewg9hpzd] {
	display: inline-block;
	border-radius: 4px;
	padding: 1px 6px;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.pulse-panel-card-title[b-k4ewg9hpzd] {
	font-weight: 700;
	font-size: 0.9rem;
	color: #14213d;
	margin-bottom: 2px;
}

/* LW+CL:07.11.26 the @mention highlight (markup is injected, so ::deep reaches it). */
.pulse-panel-card-title[b-k4ewg9hpzd]  .pulse-mention {
	color: #0f8f7e;
	background: #e6f7f3;
	border-radius: 3px;
	padding: 0 3px;
}

.pulse-panel-card-entity[b-k4ewg9hpzd] {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 6px;
}

.pulse-panel-card-actions[b-k4ewg9hpzd] {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.pulse-panel-action-link[b-k4ewg9hpzd] {
	border: none;
	background: none;
	color: #11c683;
	font-weight: 600;
	font-size: 0.78rem;
	cursor: pointer;
	padding: 0;
}

.pulse-panel-action-link:hover[b-k4ewg9hpzd] {
	text-decoration: underline;
}

.pulse-panel-action-link:disabled[b-k4ewg9hpzd] {
	color: #aaa;
	cursor: default;
	text-decoration: none;
}

.pulse-panel-action-link--muted[b-k4ewg9hpzd] {
	color: #6b7280;
}

.pulse-panel-footer[b-k4ewg9hpzd] {
	padding: 12px 16px;
	border-top: 1px solid #e5e7eb;
	background: #ffffff;
	flex-shrink: 0;
}

.pulse-panel-expand[b-k4ewg9hpzd] {
	width: 100%;
	background: #11c683;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px;
	font-weight: 600;
	cursor: pointer;
}

.pulse-panel-expand:hover[b-k4ewg9hpzd] {
	background: #0da570;
}

/* LW+CL:04.09.26 #887 — compose box. */
/* LW+CL:07.11.26 (parity C20) the monitored-channel warning above the compose box: amber like the POC's restricted channels. */
.pulse-panel-compose-notice[b-k4ewg9hpzd] {
	padding: 6px 16px;
	font-size: 12px;
	color: #92400e;
	background: #fffbeb;
	border-top: 1px solid #fde68a;
	flex-shrink: 0;
}

.pulse-panel-compose[b-k4ewg9hpzd] {
	display: flex;
	gap: 8px;
	padding: 10px 16px;
	border-top: 1px solid #e5e7eb;
	background: #ffffff;
	flex-shrink: 0;
}

.pulse-panel-compose-input[b-k4ewg9hpzd] {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 13px;
}

.pulse-panel-compose-input:disabled[b-k4ewg9hpzd] {
	background: #f3f4f6;
}

.pulse-panel-compose-send[b-k4ewg9hpzd] {
	background: #11c683;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0 14px;
	font-weight: 600;
	cursor: pointer;
}

.pulse-panel-compose-send:hover:not(:disabled)[b-k4ewg9hpzd] {
	background: #0da570;
}

.pulse-panel-compose-send:disabled[b-k4ewg9hpzd] {
	background: #9ca3af;
	cursor: default;
}
/* /Components/CustomComponents/Workflow/CaseStateBadge.razor.rz.scp.css */
.case-state-badge[b-1lwasbyvxp] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

/* LW+CL:09.11.26 parity C45: the badge with "Stage n of N" under it, when the host passes its engine case. */
.case-state-stack[b-1lwasbyvxp] {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.case-state-active[b-1lwasbyvxp]    { background: #e8f4fd; color: #1565c0; }
.case-state-returned[b-1lwasbyvxp]  { background: #e8f4fd; color: #1565c0; }
.case-state-onhold[b-1lwasbyvxp]    { background: #fff8e1; color: #f57f17; }
.case-state-escalated[b-1lwasbyvxp] { background: #fff3e0; color: #e65100; }
.case-state-completed[b-1lwasbyvxp] { background: #e8f5e9; color: #2e7d32; }
.case-state-rejected[b-1lwasbyvxp]  { background: #ffebee; color: #c62828; }
.case-state-cancelled[b-1lwasbyvxp] { background: #f5f5f5; color: #999; }
/* /Components/CustomComponents/Workflow/GenericChecklistPanel.razor.rz.scp.css */
.wf-checklist[b-nvjo928kn7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wf-checklist-title[b-nvjo928kn7] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.wf-checklist-count[b-nvjo928kn7] {
    font-size: 0.8rem;
    color: #5f6b7a;
    margin: -0.25rem 0 0.25rem;
}

.wf-checklist-item[b-nvjo928kn7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background: #fff;
}

.wf-checklist-item--done[b-nvjo928kn7] {
    background: #f3faf6;
    border-color: #b7e0c8;
}

.wf-checklist-name[b-nvjo928kn7] {
    font-weight: 500;
}

.wf-checklist-required[b-nvjo928kn7] {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: #b35c00;
}

.wf-checklist-desc[b-nvjo928kn7] {
    font-size: 0.85rem;
    color: #555;
}

.wf-checklist-meta[b-nvjo928kn7] {
    font-size: 0.8rem;
    color: #666;
}

.wf-checklist-empty[b-nvjo928kn7] {
    color: #888;
    font-style: italic;
}

.wf-checklist-error[b-nvjo928kn7] {
    color: #c0392b;
}

.wf-checklist-note[b-nvjo928kn7] {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #2f3b45;
}

.wf-checklist-text[b-nvjo928kn7]  .wf-checklist-note-input {
    margin-top: 0.35rem;
    max-width: 22rem;
}
/* /Components/CustomComponents/Workflow/WorkflowActionBar.razor.rz.scp.css */
/* spec.md §3.8 — WorkflowActionBar. CSS isolation per component; no global styles, no inline
   <style> block (those leak). Visual language matches the bespoke bars it replaces so the
   migration's surface diff stays about behaviour rather than about spacing. */

/* "Isn't connected to the workflow" notice — matches the eob-/rrc-action-message styling both
   pages hand-rolled before this was folded in here. */
.wf-action-message[b-yto0o3oddw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
}

.wf-msg-error[b-yto0o3oddw] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

.wf-action-bar[b-yto0o3oddw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    /* LW+CL:30.10.26: the right side is kept clear of the floating Ask IQ button, which sits over the bottom-right corner. */
    padding: .75rem 9rem .75rem 1rem;
    border-top: 1px solid #dfe6e9;
    background: #fbfcfd;
}

.wf-action-bar--empty[b-yto0o3oddw] {
    justify-content: flex-start;
}

.wf-action[b-yto0o3oddw] {
    display: flex;
    align-items: center;
    gap: .35rem;   /* LW+CL:30.10.26: the help icon sits tight against its button, the bar gap separates actions */
    margin-right: .5rem;
}

/* LW+CL:30.10.26: the theme draws every outline button neutral grey, so the two outlines that carry meaning get their colour:
   cancel reads as destructive, a second way forward as the primary's quieter sibling. */
[b-yto0o3oddw] .wf-action-button.dxbl-btn-outline-danger:not(:disabled) {
    color: #c0392b;
    border-color: #e6a39b;
}

[b-yto0o3oddw] .wf-action-button.dxbl-btn-outline-danger:not(:disabled):hover {
    background: #fdf1f0;
}

[b-yto0o3oddw] .wf-action-button.dxbl-btn-outline-primary:not(:disabled) {
    color: #00796b;
    border-color: #80cbc4;
}

/* LW+CL:30.10.26: "More (n)" / "Fewer", the quiet toggle for the occasional actions. */
[b-yto0o3oddw] .wf-action-more {
    font-size: .82rem;
    color: #4a5563;
}

/* LW+CL:30.10.26: one small icon per action that needs anything, opening the help flyout. Muted when every check
   passes, amber when the user cannot do it yet. */
[b-yto0o3oddw] .wf-help-btn {
    padding: 0 .1rem;
    min-width: 0;
    line-height: 1;
    color: #8395a1;
}

[b-yto0o3oddw] .wf-help-btn:hover { color: #2d3436; }
[b-yto0o3oddw] .wf-help-btn--attention { color: #d68910; }
[b-yto0o3oddw] .wf-help-btn--attention:hover { color: #9c640c; }

.wf-help-icon[b-yto0o3oddw] {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.wf-help-icon circle[b-yto0o3oddw] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.wf-help-icon path[b-yto0o3oddw] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

/* The flyout body. */
.wf-help[b-yto0o3oddw] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .25rem .1rem;
    font-size: .82rem;
    color: #2d3436;
}

.wf-help-title[b-yto0o3oddw] {
    font-weight: 600;
    font-size: .88rem;
}

.wf-help-heading[b-yto0o3oddw] {
    margin-top: .3rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #636e72;
}

.wf-help-muted[b-yto0o3oddw] { color: #636e72; }

.wf-help-buttons[b-yto0o3oddw] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .3rem;
}

/* The list of checks an action needs is WorkflowActionChecks.razor.css (shared with the look-ahead panel, parity C25). */

.wf-action-none[b-yto0o3oddw] {
    font-size: .85rem;
    color: #636e72;
}

/* U-1 — the blocked reason sits BESIDE the button, never replacing its name. Muted and
   non-interactive so it reads as an explanation rather than as another control. */
.wf-action-reason[b-yto0o3oddw] {
    font-size: .82rem;
    color: #636e72;
    flex-shrink: 0;
    max-width: 32rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* LW+CL:26.10.26 #1563: who else can take a refused action, and the outcome of asking. In the help flyout since 30.10.26. */
.wf-action-asked[b-yto0o3oddw] { color: #1e8449; }

/* LW+CL:09.11.26 parity C55: a four-eyes refusal, which no role or administrator can lift. */
.wf-action-foureyes[b-yto0o3oddw] { color: #8a6400; }

/* LW+CL:09.11.26 parity C67: what Ask an administrator would send, shown before Send. */
.wf-action-ask-preview[b-yto0o3oddw] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.wf-action-ask-message[b-yto0o3oddw] {
    padding: .4rem .5rem;
    border: 1px solid #dfe6e9;
    border-radius: 4px;
    background: #f8f9fa;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: .78rem;
}

/* LW+CL:26.10.26 #1563: choosing the role to ask for, and the outcome when it is granted at once. */
.wf-action-role-request[b-yto0o3oddw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

[b-yto0o3oddw] .wf-action-role-combo {
    min-width: 16rem;
}

/* LW+CL:09.11.26 parity C23: the reason and valid-until date of a role request, each on its own line. */
.wf-action-role-terms[b-yto0o3oddw] {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex-basis: 100%;
}

.wf-action-notice[b-yto0o3oddw] {
    font-size: .82rem;
    color: #1e8449;
    padding: .25rem 1rem .5rem;
    background: #fbfcfd;
}

.wf-action-prompt[b-yto0o3oddw] {
    font-size: .82rem;
    color: #636e72;
    margin-right: .25rem;
}

.wf-action-notes[b-yto0o3oddw] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 22rem;
}

/* A refused action's reason, from the engine. Same red as the notes hint: it asks the user to act
   (usually refresh), unlike the muted U-1 reason, which only explains. */
.wf-action-refusal[b-yto0o3oddw] {
    font-size: .82rem;
    color: #d63031;
    padding: .25rem 1rem .5rem;
    background: #fbfcfd;
}

.wf-notes-hint[b-yto0o3oddw] {
    font-size: .78rem;
    color: #d63031;
}

/* Matches the bespoke bars' required-field treatment so a notes box that has not been filled in
   looks the same after the migration as before it. */
[b-yto0o3oddw] .wf-notes-required input {
    border-color: #d63031;
}

/* LW+CL:09.11.26 parity C103 (POC red notes box): a DevExpress editor draws its border on the editor's own box and takes the colour from
   --dxbl-text-edit-border-color (the input inside has none), and the theme turns it teal on focus, so the red is set on the box itself and
   on its focused state: a too-short rationale is marked red whether or not the cursor is still in it. */
[b-yto0o3oddw] .wf-notes-required,
[b-yto0o3oddw] .wf-notes-required.dxbl-focused,
[b-yto0o3oddw] .wf-notes-required:focus-within {
    --dxbl-text-edit-border-color: #d63031;
    border-color: #d63031;
}

/* LW+CL:10.11.26 parity C151 (POC .action-bar position:sticky;bottom:0): opt-in, so only a host that asks keeps the bar in view. */
.wf-action-bar--sticky[b-yto0o3oddw] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    box-shadow: 0 -6px 24px rgba(26, 138, 58, .20);
    border-top: 3px solid #1a8a3a;
}
/* /Components/CustomComponents/Workflow/WorkflowActionChecks.razor.rz.scp.css */
/* LW+CL:26.10.26 #1563: each check an action needs, passed or failed for this user. Moved here 09.11.26 from WorkflowActionBar
   (parity C25), so the action bar's help and the look-ahead panel draw the same list. */
.wf-action-checks[b-ivex5dg6qf] {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .8rem;
    color: #2d3436;
}

.wf-action-checks li[b-ivex5dg6qf] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: baseline;
    padding: .1rem 0;
}

.wf-check-mark[b-ivex5dg6qf] {
    flex-shrink: 0;
    width: .9rem;
    height: .9rem;
}

.wf-check-mark path[b-ivex5dg6qf] {
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wf-check-pass .wf-check-mark circle[b-ivex5dg6qf] { fill: #1e8449; }
.wf-check-fail .wf-check-mark circle[b-ivex5dg6qf] { fill: #c0392b; }
.wf-check-na .wf-check-mark circle[b-ivex5dg6qf] { fill: #95a5a6; }   /* LW+CL:09.11.26 parity C52: not judged yet, neither tick nor cross */
.wf-check-label[b-ivex5dg6qf] { color: #636e72; }

/* LW+CL:09.11.26 parity C51/C53/C65/C66: how the user stands against the requirement, in words. */
.wf-check-detail[b-ivex5dg6qf] { color: #636e72; }

/* LW+CL:09.11.26 parity C67: OK / NO / n/a before a check, in the Ask an administrator preview. */
.wf-check-verdict[b-ivex5dg6qf] {
    font-weight: 600;
    min-width: 1.6rem;
}
.wf-check-pass .wf-check-verdict[b-ivex5dg6qf] { color: #1e8449; }
.wf-check-fail .wf-check-verdict[b-ivex5dg6qf] { color: #c0392b; }
.wf-check-na .wf-check-verdict[b-ivex5dg6qf] { color: #636e72; }

/* LW+CL:09.11.26 parity C27: the sentence under a failed check. */
.wf-check-note[b-ivex5dg6qf] {
    flex-basis: 100%;
    padding-left: 1.25rem;
    font-size: .76rem;
    color: #8a6400;
}
/* /Components/CustomComponents/Workflow/WorkflowNextActionLabel.razor.rz.scp.css */
/* LW+CL:10.11.26 (parity C116) the POC's .action-bar::before label. */
.wf-next-action-label[b-rkhd9e8xr8] { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: #1a8a3a; background: #fff; padding: .3rem .75rem; border-radius: 4px; margin-right: .4rem; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
/* /Components/CustomComponents/Workflow/WorkflowProgressBar.razor.rz.scp.css */
/* The shared engine progress bar (D-27) — RRC's look, which followed the GTC progress bar pattern. */
.wf-progress[b-qgeq09sm9j] {
    background: var(--gtc-card);
    padding: 1rem 1.1rem .75rem;
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    margin-bottom: .9rem;
    display: flex;
    align-items: flex-start;
}

.wf-step[b-qgeq09sm9j] {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 72px;
}

.wf-step-circle[b-qgeq09sm9j] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--gtc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .35rem;
    font-weight: 700;
    font-size: .72rem;
    color: #bbb;
    transition: transform .15s;
}

.wf-step-clickable[b-qgeq09sm9j] { cursor: pointer; }
.wf-step-clickable:hover .wf-step-circle[b-qgeq09sm9j] { transform: scale(1.18); box-shadow: 0 0 0 4px rgba(0,217,197,.2); }
.wf-step-clickable:hover .wf-step-label[b-qgeq09sm9j] { color: var(--gtc-teal); }
/* The stage the host has open for review or a look ahead (PreviewLaterStages). */
.wf-step-selected .wf-step-circle[b-qgeq09sm9j] { box-shadow: 0 0 0 3px var(--gtc-teal); }
.wf-step-selected .wf-step-label[b-qgeq09sm9j] { color: var(--gtc-teal); font-weight: 700; }

.wf-step-label[b-qgeq09sm9j] {
    font-size: .62rem;
    color: #aaa;
    font-weight: 500;
}

.wf-step-line[b-qgeq09sm9j] {
    flex: 0 0 auto;
    width: 30px;
    height: 3px;
    background: var(--gtc-border);
    margin-top: 18px;
}

.wf-step-done .wf-step-circle[b-qgeq09sm9j] { background: var(--gtc-green); border-color: var(--gtc-green); color: white; }
.wf-step-done .wf-step-label[b-qgeq09sm9j] { color: var(--gtc-green); }
.wf-step-line-done[b-qgeq09sm9j] { background: var(--gtc-green); }
.wf-step-active .wf-step-circle[b-qgeq09sm9j] { background: var(--gtc-teal); border-color: var(--gtc-teal); color: white; animation: wf-pulse-b-qgeq09sm9j 2s infinite; }
.wf-step-active .wf-step-label[b-qgeq09sm9j] { color: var(--gtc-teal); font-weight: 700; }
.wf-step-rejected .wf-step-circle[b-qgeq09sm9j] { background: #c0392b; border-color: #c0392b; color: white; }
.wf-step-rejected .wf-step-label[b-qgeq09sm9j] { color: #c0392b; font-weight: 700; }
.wf-step-done-faded .wf-step-circle[b-qgeq09sm9j] { background: #b2bec3; border-color: #b2bec3; color: white; }
.wf-step-done-faded .wf-step-label[b-qgeq09sm9j] { color: #b2bec3; }

.wf-step-escalated .wf-step-circle[b-qgeq09sm9j] { background: #c0392b; border-color: #c0392b; color: white; }
.wf-step-escalated .wf-step-label[b-qgeq09sm9j] { color: #c0392b; font-weight: 700; }
.wf-step-onhold .wf-step-circle[b-qgeq09sm9j] { background: white; border-color: #b2bec3; border-style: dashed; color: #7f8c8d; }
.wf-step-onhold .wf-step-label[b-qgeq09sm9j] { color: #7f8c8d; font-weight: 700; }
.wf-step-skipped .wf-step-circle[b-qgeq09sm9j] { background: #e9ecef; border-color: #ccc; color: #999; }
.wf-step-skipped .wf-step-label[b-qgeq09sm9j] { color: #bbb; font-style: italic; }

/* The current stage while it still has work outstanding (the host's ActiveStageReady = false). */
.wf-step-active.wf-step-active-waiting .wf-step-circle[b-qgeq09sm9j] { background: #f39c12; border-color: #e67e22; color: white; animation: wf-pulse-amber-b-qgeq09sm9j 2s infinite; }
.wf-step-active.wf-step-active-waiting .wf-step-label[b-qgeq09sm9j] { color: #e67e22; }

/* A stage left by an Approve edge: a double ring and a GATE tag, from the template, for every workflow. */
.wf-step-gate .wf-step-circle[b-qgeq09sm9j] { border-style: double; border-width: 4px; }
.wf-step-gate-tag[b-qgeq09sm9j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    font-size: .5rem;
    font-weight: 700;
    color: #c0392b;
    margin-top: .1rem;
    letter-spacing: .02em;
}
.wf-gate-lock-icon[b-qgeq09sm9j] { flex: none; }

/* The version the case runs on: quiet, at the end of the bar, so it reads as a label and not a stage. */
.wf-version-badge[b-qgeq09sm9j] {
    flex: none;
    align-self: flex-start;
    margin-left: .75rem;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: rgba(0,0,0,.05);
    color: var(--gtc-muted, #6b7280);
    font-size: .68rem;
    font-weight: 600;
    white-space: nowrap;
}

/* LW+CL:09.11.26 parity C24: the roles a stage needs (or tells) under its name, and the lock on a stage not reached yet. */
.wf-step-roles[b-qgeq09sm9j] {
    font-size: .55rem;
    color: var(--gtc-muted, #6b7280);
    line-height: 1.2;
    margin-top: .1rem;
    padding: 0 .15rem;
    overflow-wrap: anywhere;
}

.wf-step-circle[b-qgeq09sm9j] { position: relative; }
.wf-role-lock-icon[b-qgeq09sm9j] { color: #9aa3ab; }
.wf-step-num-badge[b-qgeq09sm9j] {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    background: var(--gtc-border, #e5e7eb);
    color: #6b7280;
    font-size: .55rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

@keyframes wf-pulse-amber-b-qgeq09sm9j {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243,156,18,.5); }
    50% { box-shadow: 0 0 0 8px rgba(243,156,18,0); }
}

@keyframes wf-pulse-b-qgeq09sm9j {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,217,197,.4); }
    50% { box-shadow: 0 0 0 8px rgba(0,217,197,0); }
}

/* LW+CL:10.11.26 (Officer Resignation C133) the opt-in hint above the bar (the POC's .prog-hint). */
.wf-progress-hint[b-qgeq09sm9j] { font-size: .7rem; color: var(--gtc-text-light); margin-bottom: .3rem; }
/* /Components/CustomComponents/Workflow/WorkflowStageActionsPreview.razor.rz.scp.css */
/* LW+CL:09.11.26 parity C25: a later stage's actions in the look-ahead panel, read-only. */
.wf-stage-preview[b-q78qo7yrx3] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .75rem;
    padding: .75rem 1rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    background: #fbfcfd;
    font-size: .85rem;
    color: #2d3436;
}

.wf-stage-preview-head[b-q78qo7yrx3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.wf-stage-preview-title[b-q78qo7yrx3] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

/* LW+CL:09.11.26 parity C48: the "viewing ahead" pill (grey, as the POC's p-grey). */
.wf-stage-preview-ahead[b-q78qo7yrx3] {
    font-size: .68rem;
    font-weight: 600;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: #eef0f2;
    color: #5f6b76;
}

.wf-stage-preview-link[b-q78qo7yrx3] {
    padding: 0;
    border: 0;
    background: none;
    font-size: .78rem;
    color: var(--bs-link-color, #0d6efd);
    cursor: pointer;
}

.wf-stage-preview-link:hover[b-q78qo7yrx3] { text-decoration: underline; }

.wf-stage-preview-continue[b-q78qo7yrx3] { text-align: right; }

.wf-stage-preview-none[b-q78qo7yrx3] {
    color: #636e72;
}

.wf-stage-preview-action[b-q78qo7yrx3] {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .4rem 0;
    border-top: 1px solid #eef1f2;
}

.wf-stage-preview-name[b-q78qo7yrx3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
}

.wf-stage-preview-pill[b-q78qo7yrx3] {
    font-size: .72rem;
    font-weight: 600;
    padding: .05rem .5rem;
    border-radius: 999px;
}

.wf-stage-preview-pill--pass[b-q78qo7yrx3] { background: #e3f4ea; color: #1e8449; }
.wf-stage-preview-pill--fail[b-q78qo7yrx3] { background: #fbe9e7; color: #a93226; }

.wf-stage-preview-heading[b-q78qo7yrx3] {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #636e72;
}
/* /Components/CustomComponents/Workflow/WorkflowStageGatesPanel.razor.rz.scp.css */
/* LW+CL:30.10.26: the "next step" card: who can act, and the stage's approval, acknowledgement, time and evidence, in one
   frame directly above the action bar. Its rows draw no frames of their own. Empty (a closed case) it is not shown. */
.wf-next[b-e4sq8ky1ox] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: .5rem 0 0;
    padding: .6rem .9rem;
    border: 1px solid #dfe3e8;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
    background: #fff;
    flex-shrink: 0;
}

.wf-next:empty[b-e4sq8ky1ox] {
    display: none;
}
/* /Components/CustomComponents/Workflow/WorkflowStageGatesView.razor.rz.scp.css */
/* Sits between a page's scrolling content and its pinned footer, so it scrolls itself rather than push the footer down. */
.wf-gates[b-mqmb6xk5lj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;   /* LW+CL:30.10.26: inside the "next step" card, which spaces it */
    max-height: 35vh;
    overflow-y: auto;
    flex-shrink: 0;
}

/* LW+CL:30.10.26: a row of the "next step" card, divided from the row above rather than framed. */
.wf-gates-approval[b-mqmb6xk5lj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eef1f4;
}

.wf-gates-title[b-mqmb6xk5lj] {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.wf-gates-rule[b-mqmb6xk5lj],
.wf-gates-empty[b-mqmb6xk5lj] {
    font-size: 0.875rem;
    color: #4a5563;
}

.wf-gates-wording[b-mqmb6xk5lj] {
    margin: 0.375rem 0;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid #00a99d;
    background: #f4faf9;
    font-size: 0.875rem;
    color: #0a3d62;
}

.wf-gates-entry[b-mqmb6xk5lj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.wf-gates-who[b-mqmb6xk5lj] {
    font-weight: 500;
}

.wf-gates-role[b-mqmb6xk5lj],
.wf-gates-when[b-mqmb6xk5lj],
.wf-gates-lapses[b-mqmb6xk5lj] {
    color: #4a5563;
}

.wf-gates-awaited[b-mqmb6xk5lj] {
    font-size: 0.875rem;
    color: #b35c00;
}

.wf-gates-error[b-mqmb6xk5lj] {
    font-size: 0.875rem;
    color: #b42318;
}

/* premigration-batch-spec.md §2: the stage's expected time. */
.wf-gates-sla[b-mqmb6xk5lj] {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    background: #fbfcfd;
    align-self: flex-start;
}

.wf-gates-sla-label[b-mqmb6xk5lj] {
    font-weight: 600;
}

.wf-gates-sla--soon[b-mqmb6xk5lj] {
    border-color: #f0ad4e;
    background: #fff8ec;
}

.wf-gates-sla--overdue[b-mqmb6xk5lj] {
    border-color: #d9534f;
    background: #fdf1f0;
}

/* LW+CL:10.11.26 (GTC C73): the approver's comment under their row, and the tag on a role whose approval is a mandatory gate. */
.wf-gates-comment[b-mqmb6xk5lj] {
    flex-basis: 100%;
    font-size: 0.8rem;
    color: #4a5563;
    font-style: italic;
}

.wf-gates-mandatory[b-mqmb6xk5lj] {
    font-size: 0.7rem;
    font-weight: 700;
    color: #c0392b;
}
/* /Components/CustomComponents/Workflow/WorkflowStagePosition.razor.rz.scp.css */
/* LW+CL:09.11.26 parity C45: small and quiet, under the state badge. */
.wf-stage-position[b-ytfdv7i3s3] {
    display: block;
    margin-top: .3rem;
    font-size: .68rem;
    color: var(--gtc-muted, #6b7280);
    text-align: right;
    white-space: nowrap;
}
/* /Components/CustomComponents/Workflow/WorkflowWaitingOnPanel.razor.rz.scp.css */
/* LW+CL:26.10.26 #1563: who the stage is waiting on, and the reminder. LW+CL:30.10.26: one row of the "Next step" card
   (WorkflowStageGatesPanel), so it has no frame of its own. */
.wf-waiting[b-zy1iaaztgs] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    align-items: center;
    font-size: .85rem;
    color: #2d3436;
}

.wf-waiting--loading[b-zy1iaaztgs] {
    color: #636e72;
    font-style: italic;
}

.wf-waiting-text[b-zy1iaaztgs] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: baseline;
}

.wf-waiting-label[b-zy1iaaztgs] {
    font-weight: 600;
}

.wf-waiting-people[b-zy1iaaztgs] {
    color: #636e72;
    cursor: help;
}

/* LW+CL:09.11.26 parity C64: nobody holds what the stage needs: red, as the POC draws it. */
.wf-waiting-people--nobody[b-zy1iaaztgs] {
    color: #c0392b;
    font-weight: 600;
    cursor: default;
}

.wf-waiting-sent[b-zy1iaaztgs] {
    color: #1e8449;
}

[b-zy1iaaztgs] .wf-waiting-remind {
    font-size: .78rem;
}
/* /Components/CustomComponents/Workflow/WorkflowYouCard.razor.rz.scp.css */
/* LW+CL:09.11.26 parity C26: a quiet card beside the case's next step, in the case pages' own card look. */
.wf-you[b-jsi3wu8amc] {
    background: var(--gtc-card, #fff);
    border-radius: var(--gt-radius, 8px);
    box-shadow: var(--gt-shadow, 0 1px 3px rgba(0,0,0,.08));
    padding: .75rem 1rem;
    margin-bottom: .9rem;
}

.wf-you-head[b-jsi3wu8amc] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .4rem;
}

.wf-you-title[b-jsi3wu8amc] { font-weight: 700; font-size: .85rem; }
.wf-you-link[b-jsi3wu8amc] { font-size: .72rem; white-space: nowrap; }
.wf-you-none[b-jsi3wu8amc] { font-size: .78rem; color: var(--gtc-muted, #6b7280); }

.wf-you-head[b-jsi3wu8amc] { flex-wrap: nowrap; }
.wf-you-title[b-jsi3wu8amc] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wf-you-roles[b-jsi3wu8amc] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
}

.wf-you-role[b-jsi3wu8amc] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .1rem .2rem .1rem .55rem;
    border: 1px solid var(--gtc-border, #e5e7eb);
    border-radius: 999px;
    font-size: .74rem;
    line-height: 1.3;
}

.wf-you-role-name[b-jsi3wu8amc] { font-weight: 600; }

.wf-you-toggle[b-jsi3wu8amc] {
    margin-top: .4rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: .72rem;
    color: var(--bs-link-color, #0d6efd);
    cursor: pointer;
}

.wf-you-toggle:hover[b-jsi3wu8amc] { text-decoration: underline; }

.wf-you-kind[b-jsi3wu8amc] {
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .58rem;
    font-weight: 700;
}

.wf-you-kind--workflow[b-jsi3wu8amc] { background: #e0f7f4; color: #0b7a6c; }
.wf-you-kind--module[b-jsi3wu8amc] { background: #eef0f2; color: #5f6b76; }
.wf-you-until[b-jsi3wu8amc] { font-size: .68rem; color: var(--gtc-muted, #6b7280); }

/* LW+CL:09.11.26 parity C57: the status pill, as the POC colours it (green active, amber pending or ending soon, grey expired). */
.wf-you-assigned[b-jsi3wu8amc] { font-size: .68rem; color: var(--gtc-muted, #6b7280); }
.wf-you-status[b-jsi3wu8amc] {
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 700;
}
.wf-you-status--active[b-jsi3wu8amc] { background: #e3f6ea; color: #1e7a45; }
.wf-you-status--expiring[b-jsi3wu8amc], .wf-you-status--pending[b-jsi3wu8amc] { background: #fff3d6; color: #8a5a00; }
.wf-you-status--expired[b-jsi3wu8amc] { background: #eef0f2; color: #5f6b76; }
/* /Components/Layout/EchelonHeader.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   echelon Client Portal — Header
   Matches Brett's echelon-portal.html POC header.
   ═══════════════════════════════════════════════════════════════════ */

.ech-header[b-xl7mar3bie] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem 0 60px;
    height: 50px;
    background: linear-gradient(135deg, var(--ech-dark,#1A1A2E), var(--ech-dark2,#16213E));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

/* ─── Left: brand ────────────────────────────────────────────────── */

.ech-header-left[b-xl7mar3bie] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ech-header-brand[b-xl7mar3bie] {
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
}

.ech-header-brand:hover[b-xl7mar3bie] {
    color: #fff;
    text-decoration: none;
}

.ech-header-brand strong[b-xl7mar3bie] {
    font-weight: 600;
}

/* ─── Right: icons + user ────────────────────────────────────────── */

.ech-header-right[b-xl7mar3bie] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ech-header-icon[b-xl7mar3bie] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.ech-header-icon:hover[b-xl7mar3bie] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.ech-header-icon svg[b-xl7mar3bie] {
    width: 18px;
    height: 18px;
}

.ech-header-notif-dot[b-xl7mar3bie] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    border: 1.5px solid var(--ech-dark,#1A1A2E);
}

/* ─── User ───────────────────────────────────────────────────────── */

.ech-header-user[b-xl7mar3bie] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
}

.ech-header-avatar[b-xl7mar3bie] {
    width: 28px;
    height: 28px;
    background: var(--ech-accent,#11C683);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

/* Persona accent colors — mirror EchelonNav avatar. Driven by EchelonCapabilities.PersonaAccentClass. */
.ech-header-avatar.persona-full[b-xl7mar3bie]   { background: #9333ea; }   /* full service — purple */
.ech-header-avatar.persona-invest[b-xl7mar3bie] { background: #4f46e5; }   /* investment client — indigo */
.ech-header-avatar.persona-trust[b-xl7mar3bie]  { background: #059669; }   /* trust beneficiary — green */
.ech-header-avatar.persona-corp[b-xl7mar3bie]   { background: #0891b2; }   /* corporate client — cyan */

.ech-header-uname[b-xl7mar3bie] {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .ech-header-uname[b-xl7mar3bie] {
        display: none;
    }
}

@media (max-width: 480px) {
    .ech-header-brand[b-xl7mar3bie] {
        display: none;
    }
}

/* ─── White-label brand (LW+CL:21.10.26) ─────────────────────────────
   A brand's logo sits in the flow, not in the 50px corner the echelon icon is pinned to, so the bar needs no left gutter and the
   logo and the title stay together on the left while the icons keep to the right. */
.ech-header--branded[b-xl7mar3bie] {
    padding-left: 1.25rem;
}

.ech-header--branded .ech-header-left[b-xl7mar3bie] {
    margin-right: auto;
}

/* ─── API status, build reference, persona label (LW+CL:11.11.26: C26, C71, C72) ───────────────────── */
.ech-api-status[b-xl7mar3bie] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    cursor: help;
    user-select: none;
}

.ech-api-dot[b-xl7mar3bie] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ca3af;
}

.ech-api-status.ech-ok[b-xl7mar3bie] { color: #bbf7d0; }
.ech-api-status.ech-ok .ech-api-dot[b-xl7mar3bie] {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18), 0 0 8px rgba(34, 197, 94, 0.55);
    animation: ech-api-pulse-b-xl7mar3bie 2.4s ease-in-out infinite;
}

.ech-api-status.ech-down[b-xl7mar3bie] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}
.ech-api-status.ech-down .ech-api-dot[b-xl7mar3bie] {
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18), 0 0 8px rgba(239, 68, 68, 0.55);
}

@keyframes ech-api-pulse-b-xl7mar3bie {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.ech-header-build[b-xl7mar3bie] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.65rem;
    color: #fff;
    opacity: 0.4;
    user-select: all;
}

.ech-header-persona[b-xl7mar3bie] {
    display: block;
    font-size: 0.62rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
    .ech-header-build[b-xl7mar3bie],
    .ech-header-persona[b-xl7mar3bie] {
        display: none;
    }
}
/* /Components/Layout/EchelonMobileNav.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   echelon Client Portal — Mobile Bottom Navigation
   Matches Brett's echelon-portal.html POC mobile nav.
   Only visible on screens <= 768px via the echelon-theme media query.
   ═══════════════════════════════════════════════════════════════════ */

.ech-mobile-nav[b-z7mhws5epn] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--ech-dark,#1A1A2E);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ech-mn-item[b-z7mhws5epn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ech-mn-item:hover[b-z7mhws5epn] {
    text-decoration: none;
}

.ech-mn-item.active[b-z7mhws5epn] {
    color: var(--ech-accent,#11C683);
}

.ech-mn-item svg[b-z7mhws5epn] {
    width: 18px;
    height: 18px;
}

/* Show mobile nav, hide sidebar on small screens */
@media (max-width: 768px) {
    .ech-mobile-nav[b-z7mhws5epn] {
        display: flex !important;
    }
}
/* /Components/Layout/EchelonNav.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   echelon Client Portal — Sidebar Navigation
   ───────────────────────────────────────────────────────────────────
   Matches Brett's echelon-portal.html POC: narrow icon sidebar with
   tooltips, green accent on active/hover, dark navy background.
   ═══════════════════════════════════════════════════════════════════ */

.echelon-nav[b-ippk6y37hl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0.6rem 0;
    gap: 0.15rem;
    background: var(--ech-dark,#1A1A2E);
    overflow-y: auto;
    overflow-x: hidden;
}

/* ─── Logo ────────────────────────────────────────────────────────── */

.echelon-nav-logo[b-ippk6y37hl] {
    width: 34px;
    height: 34px;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.echelon-nav-logo img[b-ippk6y37hl] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

/* White-label brand (LW+CL:21.10.26): its logo on a white disc so any logo reads on the dark sidebar, or its initials in the accent colour. */
.echelon-nav-logo img.echelon-nav-logo-brand[b-ippk6y37hl] {
    background: #fff;
    padding: 3px;
    box-sizing: border-box;
}

.echelon-nav-logo-initials[b-ippk6y37hl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--ech-accent,#11C683);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ─── Menu items ──────────────────────────────────────────────────── */

.echelon-nav-items[b-ippk6y37hl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
}

.echelon-nav-item[b-ippk6y37hl] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    position: relative;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.echelon-nav-item:hover[b-ippk6y37hl] {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.echelon-nav-item.active[b-ippk6y37hl] {
    color: var(--ech-accent,#11C683);
    background: color-mix(in srgb, var(--ech-accent,#11C683) 12%, transparent);
}

/* Hide the text label — icon-only sidebar */
.echelon-nav-label[b-ippk6y37hl] {
    display: none;
}

/* ─── Tooltip on hover ────────────────────────────────────────────── */

.echelon-nav-tooltip[b-ippk6y37hl] {
    position: absolute;
    left: 54px;
    background: var(--ech-dark,#1A1A2E);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.echelon-nav-item:hover .echelon-nav-tooltip[b-ippk6y37hl] {
    opacity: 1;
}

/* ─── Icons (mask-based, inherits currentColor) ───────────────────── */

.echelon-nav-icon[b-ippk6y37hl] {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
}

.echelon-icon-home[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/home.svg");
    mask-image: url("/images/menuicons/home.svg");
}

.echelon-icon-entities[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitiesges.svg");
    mask-image: url("/images/menuicons/entitiesges.svg");
}

.echelon-icon-dashboard[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitydashboard.svg");
    mask-image: url("/images/menuicons/entitydashboard.svg");
}

.echelon-icon-documents[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitydocuments.svg");
    mask-image: url("/images/menuicons/entitydocuments.svg");
}

.echelon-icon-ownership[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitylivewealth.svg");
    mask-image: url("/images/menuicons/entitylivewealth.svg");
}

.echelon-icon-compliance[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitycompliance.svg");
    mask-image: url("/images/menuicons/entitycompliance.svg");
}

.echelon-icon-messages[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entityportalmessages.svg");
    mask-image: url("/images/menuicons/entityportalmessages.svg");
}

.echelon-icon-alerts[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/alerts.svg");
    mask-image: url("/images/menuicons/alerts.svg");
}

.echelon-icon-services[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entityworkflow.svg");
    mask-image: url("/images/menuicons/entityworkflow.svg");
}

.echelon-icon-requests[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/entitytasks.svg");
    mask-image: url("/images/menuicons/entitytasks.svg");
}

.echelon-icon-logout[b-ippk6y37hl] {
    -webkit-mask-image: url("/images/menuicons/logout.svg");
    mask-image: url("/images/menuicons/logout.svg");
}

/* ─── Spacer ──────────────────────────────────────────────────────── */

.echelon-nav-spacer[b-ippk6y37hl] {
    flex: 1;
}

/* ─── User avatar ─────────────────────────────────────────────────── */

.echelon-nav-user[b-ippk6y37hl] {
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.echelon-nav-avatar[b-ippk6y37hl] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ech-accent,#11C683);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.echelon-nav-avatar:hover[b-ippk6y37hl] {
    opacity: 0.85;
}

/* ─── Sidebar badges (LW+CL:11.11.26: C27) ─────────────────────────── */
.echelon-nav-badge[b-ippk6y37hl] {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: 1.5px solid var(--ech-dark,#1A1A2E);
    box-sizing: content-box;
    pointer-events: none;
}

.echelon-nav-badge--amber[b-ippk6y37hl] {
    background: #f59e0b;
}

/* Persona accent colors — match Brett's POC. Derived from EchelonCapabilities.PersonaAccentClass.
   persona-default leaves the existing brand teal in place. */
.echelon-nav-avatar.persona-full[b-ippk6y37hl]   { background: #9333ea; }   /* full service — purple */
.echelon-nav-avatar.persona-invest[b-ippk6y37hl] { background: #4f46e5; }   /* investment client — indigo */
.echelon-nav-avatar.persona-trust[b-ippk6y37hl]  { background: #059669; }   /* trust beneficiary — green */
.echelon-nav-avatar.persona-corp[b-ippk6y37hl]   { background: #0891b2; }   /* corporate client — cyan */
/* /Components/Layout/PulseToastHost.razor.rz.scp.css */
/* Top-right under the 50px navbar — bottom-right hid the fixed Ask IQ FAB. LW+CL:29.09.26 */
.pulse-toast[b-jsa0etu3my] {
	position: fixed;
	right: 24px;
	top: 62px;
	z-index: 2000;
	max-width: 360px;
	background: #ffffff;
	border: 1px solid #d0d5dd;
	border-left: 4px solid #11c683;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	padding: 14px 16px;
	animation: pulse-toast-in-b-jsa0etu3my 0.2s ease-out;
}

@keyframes pulse-toast-in-b-jsa0etu3my {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* LW+CL:07.11.26 the channel line above a toast's title. */
.pulse-toast-channel[b-jsa0etu3my] {
	font-size: 0.7rem;
	color: #667085;
	margin-bottom: 2px;
}

.pulse-toast-title[b-jsa0etu3my] {
	font-weight: 600;
	color: #11c683;
	margin-bottom: 4px;
}

.pulse-toast-body[b-jsa0etu3my] {
	font-size: 0.9rem;
	color: #333;
	margin-bottom: 10px;
	max-height: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* LW+CL:07.11.26 the POC's draining bar; 8s matches PulseToastHost.AutoDismissAfter. Paused while the pointer is on the toast. */
.pulse-toast-progress[b-jsa0etu3my] {
	height: 3px;
	margin: 0 0 8px;
	border-radius: 2px;
	background: #11c683;
	transform-origin: left center;
	animation: pulse-toast-drain-b-jsa0etu3my 8s linear forwards;
}

.pulse-toast:hover .pulse-toast-progress[b-jsa0etu3my] {
	animation-play-state: paused;
}

@keyframes pulse-toast-drain-b-jsa0etu3my {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}

.pulse-toast-actions[b-jsa0etu3my] {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.pulse-toast-actions button[b-jsa0etu3my] {
	border: none;
	background: none;
	cursor: pointer;
	font-size: 0.85rem;
	padding: 4px 8px;
	border-radius: 4px;
}

.pulse-toast-open[b-jsa0etu3my] {
	color: #11c683;
	font-weight: 600;
}

.pulse-toast-open:hover[b-jsa0etu3my] {
	background: #e6f9f1;
}

.pulse-toast-mute[b-jsa0etu3my] {
	color: #b7791f;
}

.pulse-toast-mute:hover[b-jsa0etu3my] {
	background: #fdf3e0;
}

.pulse-toast-dismiss[b-jsa0etu3my] {
	color: #666;
}

.pulse-toast-dismiss:hover[b-jsa0etu3my] {
	background: #f0f0f0;
}
/* /Components/Layout/SearchItem.razor.rz.scp.css */
.listbox-item-template[b-1jn14wf0bi] {
	display: flex;
	align-items: center;
}

	.listbox-item-template > img[b-1jn14wf0bi] {
		border-radius: 50%;
		width: 2rem;
		height: 2rem;
	}

	.listbox-item-template-initials[b-1jn14wf0bi] {
		border-radius: 50%;
		width: 2rem;
		height: 2rem;
	}

img + .listbox-item-template-text[b-1jn14wf0bi] {
	margin-left: 0.5rem;
}

.dxbl-sm img + .listbox-item-template-text[b-1jn14wf0bi] {
	margin-left: 0.375rem;
}

.key-rel-initials2 + .listbox-item-template-text[b-1jn14wf0bi] {
	margin-left: 0.375rem;
}

.dxbl-lg img + .listbox-item-template-text[b-1jn14wf0bi] {
	margin-left: 0.625rem;
}

.listbox-item-template-text[b-1jn14wf0bi] {
	display: flex;
	flex-flow: column;
}

.listbox-item-template-text-phone[b-1jn14wf0bi] {
	opacity: 0.65;
}

.key-rel-initials2[b-1jn14wf0bi] {
	display: inline-block;
	width: 30px; /* Adjust as needed */
	height: 30px; /* Adjust as needed */
	background-color: #007bff; /* Example background color */
	color: white; /* Text color */
	text-align: center;
	line-height: 30px; /* Vertically center the text */
}

.key-rel-image[b-1jn14wf0bi] {
	width: 30px; /* Adjust as needed */
	height: 30px; /* Adjust as needed */
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
.ad-wrap[b-zq15mnh05g] {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px;
}

.ad-card[b-zq15mnh05g] {
    max-width: 520px;
    width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ad-icon[b-zq15mnh05g] {
    width: 2.4rem;
    height: 2.4rem;
    color: #b02a37;
    display: block;
    margin: 0 auto 12px;
}

.ad-title[b-zq15mnh05g] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.ad-body[b-zq15mnh05g] {
    font-size: 0.95rem;
    color: #343a40;
    margin-bottom: 8px;
    word-break: break-word;
}

.ad-help[b-zq15mnh05g] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 20px;
}
/* /Components/Pages/Accounting/AccountingEntityEditor.razor.rz.scp.css */
.chart-template-list-wrap[b-ctkh5erkj9] {
    height: 300px;
}

.control-accounts-grid-wrap[b-ctkh5erkj9] {
    height: 420px;
}
/* /Components/Pages/Accounting/Funds/CommitmentRegister.razor.rz.scp.css */
/* ── Root ───────────────────────────────────────────────────────────────── */
.cr-root[b-ptf5mwhkzj] {
    font-family: inherit;
    font-size: 12px;
    color: #333;
    background: #f5f7fa;
    min-height: 200px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.cr-header[b-ptf5mwhkzj] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 18px 14px;
    background: #0a3d62;
    color: white;
    border-radius: 6px 6px 0 0;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cr-header-title[b-ptf5mwhkzj] {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
    min-width: 200px;
}

.cr-header-meta[b-ptf5mwhkzj] {
    font-size: 11px;
    opacity: 0.85;
    display: flex;
    gap: 5px;
    align-items: center;
}

.cr-sep[b-ptf5mwhkzj] { opacity: 0.4; }

.cr-header-date[b-ptf5mwhkzj] {
    font-size: 10px;
    opacity: 0.65;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── KPI strip ───────────────────────────────────────────────────────────── */
.cr-kpi-strip[b-ptf5mwhkzj] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 0 18px 16px;
}

.cr-kpi[b-ptf5mwhkzj] {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.cr-kpi-label[b-ptf5mwhkzj] {
    background: #1a4b8c;
    color: white;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 10px;
}

.cr-kpi-accent .cr-kpi-label[b-ptf5mwhkzj] {
    background: #00a896;
}

.cr-kpi-value[b-ptf5mwhkzj] {
    padding: 8px 10px 2px;
    font-size: 16px;
    font-weight: 700;
    color: #0a3d62;
    line-height: 1.1;
}

.cr-value-blue[b-ptf5mwhkzj] { color: #0d6efd; }

.cr-kpi-sub[b-ptf5mwhkzj] {
    padding: 0 10px 8px;
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

/* ── Progress bar ────────────────────────────────────────────────────────── */
.cr-progress-section[b-ptf5mwhkzj] {
    padding: 0 18px 18px;
}

.cr-progress-track[b-ptf5mwhkzj] {
    background: #dde3ea;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.cr-progress-fill[b-ptf5mwhkzj] {
    background: linear-gradient(90deg, #00a896, #11C683);
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.cr-progress-legend[b-ptf5mwhkzj] {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 10px;
}

.cr-legend-called[b-ptf5mwhkzj]  { color: #00a896; font-weight: 600; }
.cr-legend-uncalled[b-ptf5mwhkzj] { color: #6c757d; }

/* ── Table container ─────────────────────────────────────────────────────── */
.cr-table-wrap[b-ptf5mwhkzj] {
    background: white;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 18px 18px;
}

.cr-table-header[b-ptf5mwhkzj] {
    background: #1a4b8c;
    color: white;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cr-table-count[b-ptf5mwhkzj] {
    font-size: 10px;
    opacity: 0.75;
    font-weight: 400;
}

/* ── Table ───────────────────────────────────────────────────────────────── */
.cr-table[b-ptf5mwhkzj] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.cr-table thead th[b-ptf5mwhkzj] {
    background: #f3f5f8;
    color: #555;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 7px 11px;
    border-bottom: 1px solid #dde3ea;
    white-space: nowrap;
}

.cr-th-right[b-ptf5mwhkzj] { text-align: right !important; }
.cr-th-center[b-ptf5mwhkzj] { text-align: center !important; }

.cr-table tbody tr[b-ptf5mwhkzj] {
    border-bottom: 1px solid #f0f2f5;
    transition: background 0.1s;
}

.cr-table tbody tr:last-child[b-ptf5mwhkzj] { border-bottom: none; }
.cr-table tbody tr:hover[b-ptf5mwhkzj] { background: #f7fafc; }

.cr-table td[b-ptf5mwhkzj] { padding: 6px 11px; vertical-align: middle; }

.cr-td-name[b-ptf5mwhkzj] { font-weight: 600; color: #0a3d62; }
.cr-td-date[b-ptf5mwhkzj] { color: #666; white-space: nowrap; }
.cr-td-num[b-ptf5mwhkzj]  { text-align: right; font-variant-numeric: tabular-nums; }
.cr-td-uncalled[b-ptf5mwhkzj] { color: #0d6efd; font-weight: 600; }
.cr-td-dpi[b-ptf5mwhkzj]  { color: #0a3d62; font-weight: 700; }

/* ── Mini progress bar (per row) ─────────────────────────────────────────── */
.cr-td-bar[b-ptf5mwhkzj] {
    white-space: nowrap;
    vertical-align: middle;
}

.cr-mini-track[b-ptf5mwhkzj] {
    display: inline-block;
    width: 72px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: middle;
    margin-right: 5px;
}

.cr-mini-fill[b-ptf5mwhkzj] {
    height: 100%;
    background: #11C683;
    border-radius: 3px;
}

.cr-mini-pct[b-ptf5mwhkzj] {
    font-size: 10px;
    color: #666;
    vertical-align: middle;
}

/* ── Table footer ────────────────────────────────────────────────────────── */
.cr-table tfoot tr[b-ptf5mwhkzj] {
    background: #f3f5f8;
    border-top: 2px solid #dde3ea;
}

.cr-table tfoot td[b-ptf5mwhkzj] {
    padding: 7px 11px;
    font-size: 11px;
    color: #0a3d62;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.cr-badge[b-ptf5mwhkzj] {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cr-badge-teal[b-ptf5mwhkzj]  { background: #d0f5ed; color: #006c56; }
.cr-badge-navy[b-ptf5mwhkzj]  { background: #dde8f8; color: #0a3d62; }

/* ── Empty / loading ─────────────────────────────────────────────────────── */
.cr-empty[b-ptf5mwhkzj] {
    padding: 24px 18px;
    color: #888;
    font-style: italic;
}
/* /Components/Pages/Accounting/Funds/FundDashboard.razor.rz.scp.css */
.fd-dashboard[b-e7b3rmb3g7] {
    font-size: 12px;
    color: #333;
    overflow-y: auto;
    max-height: calc(90vh - 60px); /* 60px = modal header height */
    padding-right: 4px;            /* prevent scrollbar overlapping content */
}

/* ── Fund header ────────────────────────────────────────────────────── */

.fd-fund-header[b-e7b3rmb3g7] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 16px 12px;
    background: #0a3d62;
    color: white;
    border-radius: 6px 6px 0 0;
    margin-bottom: 16px;
}

.fd-fund-title[b-e7b3rmb3g7] {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.fd-fund-meta[b-e7b3rmb3g7] {
    font-size: 11px;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.fd-sep[b-e7b3rmb3g7] {
    opacity: 0.5;
}

.fd-as-of[b-e7b3rmb3g7] {
    font-size: 10px;
    opacity: 0.7;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── KPI Cards ──────────────────────────────────────────────────────── */

.fd-kpi-row[b-e7b3rmb3g7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.fd-kpi-card[b-e7b3rmb3g7] {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    background: white;
}

.fd-kpi-label[b-e7b3rmb3g7] {
    background: #1a4b8c;
    color: white;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 10px;
}

.fd-accent-teal .fd-kpi-label[b-e7b3rmb3g7] {
    background: #00a896;
}

.fd-kpi-value[b-e7b3rmb3g7] {
    padding: 8px 10px 2px;
    font-size: 17px;
    font-weight: 700;
    color: #0a3d62;
    line-height: 1.1;
}

.fd-kpi-sub[b-e7b3rmb3g7] {
    padding: 0 10px 8px;
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

/* ── Stale price warning ────────────────────────────────────────────── */

.fd-stale-warning[b-e7b3rmb3g7] {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #856404;
}

/* ── Economics strip (closed-end) ───────────────────────────────────── */

.fd-econ-strip[b-e7b3rmb3g7] {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    overflow: hidden;
    background: #f8f9fb;
}

.fd-econ-item[b-e7b3rmb3g7] {
    flex: 1;
    padding: 8px 14px;
    border-right: 1px solid #dde3ea;
    text-align: center;
}

.fd-econ-item:last-child[b-e7b3rmb3g7] {
    border-right: none;
}

.fd-econ-label[b-e7b3rmb3g7] {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 3px;
}

.fd-econ-value[b-e7b3rmb3g7] {
    font-size: 14px;
    font-weight: 700;
    color: #0a3d62;
}

/* ── Content row (two-column panels) ───────────────────────────────── */

.fd-content-row[b-e7b3rmb3g7] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fd-panel[b-e7b3rmb3g7] {
    background: white;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    overflow: hidden;
}

.fd-panel-wide[b-e7b3rmb3g7] {
    flex: 2;
}

.fd-panel-narrow[b-e7b3rmb3g7] {
    flex: 1;
}

.fd-panel-header[b-e7b3rmb3g7] {
    background: #1a4b8c;
    color: white;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fd-panel-count[b-e7b3rmb3g7] {
    font-size: 10px;
    opacity: 0.8;
    font-weight: 400;
}

.fd-empty[b-e7b3rmb3g7] {
    padding: 16px 12px;
    color: #888;
    font-style: italic;
}

/* ── Tables ─────────────────────────────────────────────────────────── */

.fd-table[b-e7b3rmb3g7] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.fd-table thead th[b-e7b3rmb3g7] {
    background: #f3f5f8;
    color: #444;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 10px;
    border-bottom: 1px solid #dde3ea;
    white-space: nowrap;
}

.fd-table tbody tr[b-e7b3rmb3g7] {
    border-bottom: 1px solid #f0f0f0;
}

.fd-table tbody tr:last-child[b-e7b3rmb3g7] {
    border-bottom: none;
}

.fd-table tbody tr:hover[b-e7b3rmb3g7] {
    background: #f7fafc;
}

.fd-table td[b-e7b3rmb3g7] {
    padding: 5px 10px;
    vertical-align: middle;
}

.fd-row-stale td[b-e7b3rmb3g7] {
    background: #fffbf0;
    color: #7a5c00;
}

.fd-row-exited td[b-e7b3rmb3g7] {
    color: #888;
}

.fd-bold[b-e7b3rmb3g7] {
    font-weight: 600;
    color: #0a3d62;
}

.fd-mono[b-e7b3rmb3g7] {
    font-family: monospace;
    font-size: 10px;
}

.fd-table-footer[b-e7b3rmb3g7] {
    padding: 5px 10px;
    font-size: 10px;
    color: #888;
    border-top: 1px solid #f0f0f0;
}

.fd-accrual-total[b-e7b3rmb3g7] {
    padding: 7px 10px;
    font-size: 11px;
    text-align: right;
    border-top: 1px solid #dde3ea;
    background: #f8f9fb;
    color: #555;
}

/* ── Badges ─────────────────────────────────────────────────────────── */

.fd-badge[b-e7b3rmb3g7] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fd-badge-green[b-e7b3rmb3g7] {
    background: #d4edda;
    color: #155724;
}

.fd-badge-grey[b-e7b3rmb3g7] {
    background: #e9ecef;
    color: #666;
}

.fd-badge-red[b-e7b3rmb3g7] {
    background: #f8d7da;
    color: #721c24;
}

/* ── Full-width panel ───────────────────────────────────────────────── */

.fd-panel-full[b-e7b3rmb3g7] {
    width: 100%;
}

.mb-3[b-e7b3rmb3g7] {
    margin-bottom: 12px;
}

/* ── Table footer totals ────────────────────────────────────────────── */

.fd-table tfoot td[b-e7b3rmb3g7] {
    padding: 6px 10px;
    border-top: 2px solid #dde3ea;
    background: #f3f5f8;
    font-size: 11px;
}

.fd-table-total td[b-e7b3rmb3g7] {
    font-weight: 600;
    color: #0a3d62;
}

/* ── Credit rows (liabilities in NAV composition) ───────────────────── */

.fd-row-credit td[b-e7b3rmb3g7] {
    background: #fff8f8;
    color: #5a2020;
}

/* ── Gain / loss colouring ──────────────────────────────────────────── */

.fd-positive[b-e7b3rmb3g7] {
    color: #155724;
}

.fd-negative[b-e7b3rmb3g7] {
    color: #721c24;
}

/* ── Clickable KPI cards ────────────────────────────────────────────── */

.fd-kpi-clickable[b-e7b3rmb3g7] {
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.1s;
}

.fd-kpi-clickable:hover[b-e7b3rmb3g7] {
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

.fd-kpi-active[b-e7b3rmb3g7] {
    box-shadow: 0 3px 12px rgba(26,75,140,0.3);
    outline: 2px solid #1a4b8c;
    outline-offset: -2px;
}

.fd-kpi-active .fd-kpi-label[b-e7b3rmb3g7] {
    background: #0a3d62;
}

.fd-kpi-active.fd-accent-teal .fd-kpi-label[b-e7b3rmb3g7] {
    background: #007a6e;
}

/* ── KPI expansion panel ────────────────────────────────────────────── */

.fd-kpi-expansion[b-e7b3rmb3g7] {
    background: #f8f9fb;
    border: 1px solid #c8d4e3;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 16px;
    animation: fd-expand 0.15s ease-out;
}

@@keyframes fd-expand {
    from[b-e7b3rmb3g7] { opacity: 0; transform: translateY(-4px); }
    to[b-e7b3rmb3g7]   { opacity: 1; transform: translateY(0); }
}

.fd-expansion-title[b-e7b3rmb3g7] {
    font-size: 11px;
    font-weight: 700;
    color: #0a3d62;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fd-expansion-close[b-e7b3rmb3g7] {
    cursor: pointer;
    color: #888;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.fd-expansion-close:hover[b-e7b3rmb3g7] {
    color: #333;
}

.fd-expansion-grid[b-e7b3rmb3g7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.fd-expansion-metric[b-e7b3rmb3g7] {
    background: white;
    border: 1px solid #dde3ea;
    border-radius: 4px;
    padding: 8px 10px;
}

.fd-expansion-metric-label[b-e7b3rmb3g7] {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #888;
    margin-bottom: 3px;
}

.fd-expansion-metric-value[b-e7b3rmb3g7] {
    font-size: 14px;
    font-weight: 700;
    color: #0a3d62;
}

.fd-expansion-note[b-e7b3rmb3g7] {
    font-size: 10px;
    color: #666;
    font-style: italic;
    margin-top: 6px;
}

.fd-expansion-sep[b-e7b3rmb3g7] {
    border: none;
    border-top: 1px solid #dde3ea;
    margin: 10px 0;
}

/* ── Open-end performance panel — calendar year strip ───────────────── */

.fd-perf-years[b-e7b3rmb3g7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 16px 12px;
}

.fd-perf-years-label[b-e7b3rmb3g7] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 4px;
}

.fd-perf-year-row[b-e7b3rmb3g7] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.fd-perf-year-cell[b-e7b3rmb3g7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f6f9;
    border-radius: 5px;
    padding: 4px 10px;
    min-width: 58px;
}

.fd-perf-year-heading[b-e7b3rmb3g7] {
    font-size: 10px;
    color: #6c757d;
    font-weight: 600;
}

.fd-perf-year-val[b-e7b3rmb3g7] {
    font-size: 13px;
    font-weight: 700;
}

.fd-perf-year-bench[b-e7b3rmb3g7] {
    font-size: 10px;
    color: #6c757d;
}

/* ── Closed-end performance attribution — IRR vs Hurdle strip ────────── */

.fd-perf-hurdle-strip[b-e7b3rmb3g7] {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 16px;
    border-bottom: 1px solid #e8edf3;
}

.fd-perf-hurdle-stat[b-e7b3rmb3g7] {
    display: flex;
    flex-direction: column;
    padding: 4px 16px 4px 0;
    margin-right: 16px;
    border-right: 1px solid #dde3ea;
}

.fd-perf-hurdle-stat:last-of-type[b-e7b3rmb3g7] {
    border-right: none;
}

.fd-perf-hurdle-above .fd-perf-hurdle-val[b-e7b3rmb3g7],
.fd-perf-hurdle-above .fd-perf-hurdle-label[b-e7b3rmb3g7] {
    /* no override needed — default colours fine for above-hurdle */
}

.fd-perf-hurdle-below .fd-perf-hurdle-val[b-e7b3rmb3g7] {
    color: #721c24;
}

.fd-perf-hurdle-label[b-e7b3rmb3g7] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.fd-perf-hurdle-val[b-e7b3rmb3g7] {
    font-size: 16px;
    font-weight: 700;
    color: #0a3d62;
}

.fd-perf-hurdle-badge[b-e7b3rmb3g7] {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.fd-perf-hurdle-badge-above[b-e7b3rmb3g7] {
    background: #d4edda;
    color: #155724;
}

.fd-perf-hurdle-badge-below[b-e7b3rmb3g7] {
    background: #f8d7da;
    color: #721c24;
}

/* ── NAV chart container ─────────────────────────────────────────────── */

.fd-chart-wrap[b-e7b3rmb3g7] {
    padding: 8px 12px 12px;
    overflow-x: auto;
}

.fd-chart-wrap svg[b-e7b3rmb3g7] {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
}

/* ── Quick-action bar ───────────────────────────────────────────────── */

.fd-action-bar[b-e7b3rmb3g7] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.fd-action-bar .btn[b-e7b3rmb3g7] {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.fd-action-alert[b-e7b3rmb3g7] {
    border-color: #e6a817 !important;
    color: #7a5c00 !important;
    background: #fffbf0 !important;
}

.fd-action-alert:hover[b-e7b3rmb3g7] {
    background: #fff3cd !important;
}
/* /Components/Pages/Accounting/Funds/Funds.razor.rz.scp.css */
.funds-tab-grid[b-5i0h5w5nti] {
    height: 600px;
}
/* /Components/Pages/Accounting/Funds/InvestmentReconciliation.razor.rz.scp.css */
.invrecon-summary-bar[b-d299eql9e9] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    background: #f5f7fa;
    border-bottom: 1px solid #dce1e9;
}

.invrecon-summary-card[b-d299eql9e9] {
    display: flex;
    flex-direction: column;
    padding: 10px 18px;
    border-radius: 6px;
    min-width: 150px;
    color: #fff;
}

.invrecon-asset[b-d299eql9e9] {
    background: #1a4b8c;
}

.invrecon-liability[b-d299eql9e9] {
    background: #c0392b;
}

.invrecon-nav[b-d299eql9e9] {
    background: #11C683;
}

.invrecon-sync-ok[b-d299eql9e9] {
    background: #5a6a7e;
}

.invrecon-warn[b-d299eql9e9] {
    background: #e67e22;
}

.invrecon-summary-label[b-d299eql9e9] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 4px;
}

.invrecon-summary-value[b-d299eql9e9] {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.invrecon-summary-sub[b-d299eql9e9] {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.9;
}

.invrecon-empty[b-d299eql9e9] {
    padding: 60px 40px;
    text-align: center;
    color: #8a95a0;
    font-size: 14px;
}
/* /Components/Pages/Accounting/Funds/NavManagement.razor.rz.scp.css */
/* NAV Ledger panel — scoped to NavManagement (LG+CL 15.06.26) */

.nav-ledger-panel[b-iurg0wjw5y] {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    background: #fafbfc;
    overflow: hidden;
}

.nav-ledger-header[b-iurg0wjw5y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 6px;
}

.nav-ledger-title[b-iurg0wjw5y] {
    font-weight: 700;
    font-size: 13px;
    color: #1a4b8c;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-ledger-badge[b-iurg0wjw5y] {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.badge-estimate[b-iurg0wjw5y] {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.nav-ledger-summary[b-iurg0wjw5y] {
    font-size: 12px;
    color: #555;
}

.nav-ledger-table-wrap[b-iurg0wjw5y] {
    flex: 1;
    overflow-y: auto;
}

.nav-ledger-table[b-iurg0wjw5y] {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.nav-ledger-table th[b-iurg0wjw5y] {
    position: sticky;
    top: 0;
    background: #f0f5ff;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #1a4b8c;
    padding: 4px 8px;
    border-bottom: 2px solid #b0c4de;
    white-space: nowrap;
}

.nav-ledger-table td[b-iurg0wjw5y] {
    padding: 3px 8px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.nav-ledger-table tbody tr:hover[b-iurg0wjw5y] {
    background: #e8f0fe;
}

[b-iurg0wjw5y] .ledger-liability td {
    color: #c0392b;
}
/* /Components/Pages/Accounting/Funds/OpenFundHoldings.razor.rz.scp.css */
.ofh-nav-strip[b-i8isos5wa8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 24px;
    padding: 8px 16px;
    background: #f0f4f8;
    border-top: 1px solid #d0dae4;
    border-bottom: 1px solid #d0dae4;
    font-size: 13px;
    color: #1a4b8c;
}

.ofh-nav-strip--stale[b-i8isos5wa8] {
    background: #fff8e1;
    border-color: #ffe082;
}

.ofh-nav-item[b-i8isos5wa8] {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ofh-nav-label[b-i8isos5wa8] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a8fa6;
}

.ofh-nav-total[b-i8isos5wa8] {
    font-weight: 700;
    font-size: 14px;
    color: #11744a;
}

.ofh-nav-warning[b-i8isos5wa8] {
    color: #b45309;
    font-weight: 600;
    font-size: 12px;
    margin-left: auto;
}
/* /Components/Pages/Accounting/GeneralLedger/BankReconciliation.razor.rz.scp.css */
.reconciliation-main[b-kltnakt59a] {
    gap: 4px;
}

/* #1011 -- DevExpress's TotalSummary <tfoot> is grounded in-flow app-wide by the #917 fix
   (MyDxGrid.razor.css), which is correct for grids that fit their pane -- but this modal's
   panes are only ~190px tall and a real account routinely has 50+ already-reconciled
   transactions (measured live: 55 rows, scrollHeight 2080px vs 187px visible), so the
   in-flow footer lands thousands of pixels below the visible area and reads as missing
   entirely. Tried re-pinning the native <tfoot> with position:sticky first -- rejected: it
   broke DevExpress's row virtualization instead of pinning correctly (the totals row
   rendered mid-list, after only 2 of the 50+ rows, looking like corrupted data rather than
   a summary). Totals bar below replaces reliance on that footer instead. */
.grid-totals-bar[b-kltnakt59a] {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 6px 12px;
    background: #f7f9fc;
    border-top: 2px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    color: #1a1d2e;
}

.grid-totals-bar .grid-totals-label[b-kltnakt59a] {
    font-weight: 400;
    color: #4a5568;
    margin-right: 4px;
}
/* /Components/Pages/Accounting/GeneralLedger/JournalEditor.razor.rz.scp.css */
/* Inter Client "Add Transaction" popup stacks two MyDxGrid panes (Transaction
   Lines + Inter Client) in a 50/50 vertical split. With no explicit Height on
   the DxPopup, the splitter's available height is driven by flex distribution
   alone, and each pane's .dxbl-splitter-pane-content collapses to whatever's
   left after the header form fields — often less than one grid's own
   header+row+footer needs. Rows then render partly under the grid's sticky
   summary footer, and the overlapped area stops receiving pointer events
   (clicks silently do nothing). Same defect class as the DevExpress 26.1
   grid-fill collapse documented for other screens — see
   feedback_mydxgrid_devexpress26_grid_fill.md — but here it's genuine space
   exhaustion, not an unbridged flex wrapper, so the fix is a min-height floor
   rather than another bridge rule. flex-basis:auto (not 0%) lets each pane
   still grow into extra space when the popup is resized taller. */
[b-4ddml9psl7] .ic-pane-lines.dxbl-splitter-pane-content,
[b-4ddml9psl7] .ic-pane-interclient.dxbl-splitter-pane-content {
	flex: 1 1 auto;
	min-height: 160px;
}

/* #183 LW+CL:10.09.26 — header Reference given its own row (was ColSpanMd=4
   sharing with Type/Templates); this makes the input noticeably deeper so more
   of its ~500-char value is visible by default instead of scrolling within a
   standard-height single-line box. */
.gl-header-reference-field[b-4ddml9psl7]  .myComboBoxInput {
	height: 48px;
	font-size: 1rem;
}
/* /Components/Pages/Accounting/GeneralLedger/JournalLineEditor.razor.rz.scp.css */
/* #183 LW+CL:10.09.26 — line-detail Reference made roughly double the standard
   combo height (~36px default -> 72px), per Dexter's mock-up on the ticket. */
.gl-line-reference-field[b-rzcksqokt6]  .myComboBoxInput {
	height: 72px;
	font-size: 1rem;
}
/* /Components/Pages/Accounting/GeneralLedger/SalesTaxReturnReconciliation.razor.rz.scp.css */
.reconciliation-main[b-n63ea6vx48] {
    gap: 4px;
}
/* /Components/Pages/Accounting/PurchaseLedger/InvoiceRecoverWiPLineEditor.razor.rz.scp.css */
.recover-validation-state[b-eq1to15v07] {
    color: red;
}

.recover-date-notice[b-eq1to15v07] {
    margin: 0 0 8px 0;
    padding: 8px 12px;
    background: #fff8e1;
    border-left: 4px solid #f0ad4e;
    color: #5c4400;
    font-size: 0.9em;
    border-radius: 4px;
}

.recover-summary-line[b-eq1to15v07] {
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 3px;
    font-family: monospace;
    color: #555;
}
/* /Components/Pages/Accounting/PurchaseLedger/SuppliersEditor.razor.rz.scp.css */
.tax-grid-wrap[b-6tn5w11ai8] {
    height: 420px;
}
/* /Components/Pages/Accounting/SalesLedger/CustomersEditor.razor.rz.scp.css */
.tax-grid-wrap[b-v2h9u5f1g5] {
    height: 420px;
}

.MyTab[b-v2h9u5f1g5] {
	height: calc(100% - 75px) !important;
}
/* /Components/Pages/Accounting/SalesLedger/FISCQueueCasePicker.razor.rz.scp.css */
/* FISCQueueCasePicker scoped styles. Single-purpose modal: list of open
   Fiscalisation cases with a Queue button on each row. */

.rs-iqp[b-s7tw0v4b26] { padding: 4px 0; font-size: 13px; color: #1a1a2e; }

.rs-iqp__header[b-s7tw0v4b26] {
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid #e4e8ed;
    color: #0a3d62; font-size: 14px;
}

.rs-iqp__empty[b-s7tw0v4b26] { font-size: 12px; color: #6b7280; font-style: italic; }

.rs-iqp__list[b-s7tw0v4b26]  { list-style: none; margin: 0; padding: 0; }

.rs-iqp__item[b-s7tw0v4b26] {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-bottom: 1px solid #e4e8ed;
}

.rs-iqp__item:last-child[b-s7tw0v4b26] { border-bottom: none; }

.rs-iqp__main[b-s7tw0v4b26]  { flex: 1 1 auto; min-width: 0; }
.rs-iqp__title[b-s7tw0v4b26] { font-weight: 600; color: #0a3d62; }
.rs-iqp__meta[b-s7tw0v4b26]  { font-size: 11px; color: #6b7280; margin-top: 2px; }
/* /Components/Pages/Accounting/SalesLedger/Profiles/CustomerProfileEditor.razor.rz.scp.css */
.profile-grid-wrap[b-vjwlr8qui0] {
    height: 420px;
}

.history-grid-wrap[b-vjwlr8qui0] {
    height: 420px;
}

/* Bridge the popup flex chain through the DevExpress tab content. The chain
   (.dxbl-popup-body → .razorpage.in-popup → .my-tab → .dxbl-tabs-content-panel)
   dead-ends at .dxbl-tabs-content, which is a plain block — so the EditForm's
   .editform-layout flex:1 never resolves, the grid collapses to content height
   and the Save footer isn't pinned. Scoped to this editor via the extra class. */
.profile-editor-tabs .dxbl-tabs-content[b-vjwlr8qui0] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
/* /Components/Pages/Accounting/SalesLedger/Receipts.razor.rz.scp.css */
.fillscreen2[b-trdx8sh2ko] {
    height: calc(100% - 25px);
}
/* /Components/Pages/Accounting/SalesLedger/SLOpeningBalanceJournal.razor.rz.scp.css */
/* Fills the space between the header and the Post footer, so the lines grid scrolls inside the popup instead of growing
   with its rows. The popup's own fixed size (SalesLedger: WithSize 1100 x 720) is what bounds it; this wrapper only makes
   that bound visible in the markup (UiConvention rule R3, docs/conventions/BLAZOR.md). */
.obj-lines-grid-wrap[b-9jtzruwgz4] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
/* /Components/Pages/Accounting/WiP/ALLtimeCalendar.razor.rz.scp.css */
.customScheduler[b-47jk51rqfv] {
	height: calc(100% - 23px) !important;
	background-color: white;
}

	/* 		.customScheduler .dxbl-sc-time-cell {
			height: 250px !important;
		} */

	.customScheduler .dxbl-sc-timeline[b-47jk51rqfv] {
		height: 100% !important;
	}

		.customScheduler .dxbl-sc-timeline .dxbl-sc-timecells-container[b-47jk51rqfv] {
			height: 100% !important;
		}

dxbl-horizontal-view[b-47jk51rqfv] {
	height: 100% !important;
	display: flex;
}

	dxbl-horizontal-view tr:nth-child(2)[b-47jk51rqfv] {
		height: 100% !important;
	}

.indentCell[b-47jk51rqfv] {
	flex: 0 0 85px;
}

@media (max-width: 560px) {
	.indentCell[b-47jk51rqfv] {
		flex: 0 0 32px;
	}
}

.weekSummaryContainer[b-47jk51rqfv] {
	display: flex;
	flex: 1;
	overflow: auto;
	scrollbar-width: none;
}

.weekSummaryRow[b-47jk51rqfv] {
	display: flex;
}

/* LW+CL:27.10.26 #1055 — appointment template content (carries the right-click menu); mirrors DxScheduler's default text layout */
.alt-apt[b-47jk51rqfv] {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0 2px 0 8px;
	line-height: 1.25;
	border-radius: 4px;
}

.alt-apt-default[b-47jk51rqfv] {
	background-color: #5fe3d1;
	color: #161616;
}

.alt-apt-status[b-47jk51rqfv] {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	background-color: rgba(0, 0, 0, 0.3);
}

.alt-apt-subject[b-47jk51rqfv] {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.alt-apt-time[b-47jk51rqfv],
.alt-apt-description[b-47jk51rqfv] {
	font-size: 0.85em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* /Components/Pages/Alerts/Alerts.razor.rz.scp.css */
/* Alerts screen. LW+CL:31.07.26
   The triage tiles deliberately carry NO styling here — they use the shared KpiTile component and the
   gtc-kpi-* classes from wwwroot/css/gtc.css, which App.razor loads globally, so /alerts looks like
   Governance, RRC, Meetings and RegSphere rather than inventing a fifth KPI style.
   Only the last-swept marker needs anything, and it is scoped by CSS isolation. */

.alerts-lastswept[b-z2bm5zd50k] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    white-space: nowrap;
}

/* LW+CL:14.10.26 "Showing one rule" bar, when opened from a Pulse rule group (?rule=). */
.alerts-rule-filter[b-z2bm5zd50k] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 168, 150, 0.08);
    border: 1px solid rgba(0, 168, 150, 0.35);
    border-radius: 6px;
    font-size: 0.85rem;
}
/* /Components/Pages/Assets/AssetInvestments.razor.rz.scp.css */
[b-6mwtfsrlzn] .schedule-posted-tick  { color: #198754; font-weight: 600; }
[b-6mwtfsrlzn] .schedule-posted-cross { color: #dc3545; font-weight: 600; }

/* LG+CL:08.10.26 — Post investment popup */
.posting-asset-name[b-6mwtfsrlzn]    { font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.posting-detail-row[b-6mwtfsrlzn]    { display: flex; justify-content: space-between; margin-bottom: 8px; }
.posting-label[b-6mwtfsrlzn]         { color: #6c757d; }
.posting-amount[b-6mwtfsrlzn]        { font-weight: 500; }
.posting-date-row[b-6mwtfsrlzn]      { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.posting-date-row .posting-label[b-6mwtfsrlzn] { min-width: 100px; }
.posting-actions-row[b-6mwtfsrlzn]   { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
/* /Components/Pages/Assets/BulkCorporateActionsWizard.razor.rz.scp.css */
/* BulkCorporateActionsWizard.razor.css — LG+CL:02.09.26 */

/* ── List view header ── */
.bca-list-header[b-w317egr3bj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0 0.75rem 0;
}

.bca-list-header h5[b-w317egr3bj] {
    margin: 0;
    font-weight: 600;
}

/* ── Wizard header (back link + title) ── */
.bca-wizard-header[b-w317egr3bj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0 0.75rem 0;
}

.bca-wizard-header h5[b-w317egr3bj] {
    margin: 0;
    font-weight: 600;
}

/* ── Stepper ── */
.bca-stepper[b-w317egr3bj] {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0 1.25rem 0;
    overflow-x: auto;
}

.bca-step[b-w317egr3bj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    flex: 1;
    position: relative;
}

.bca-step:not(:last-child)[b-w317egr3bj]::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
    height: 2px;
    background-color: #dee2e6;
    z-index: 0;
}

.bca-step-done:not(:last-child)[b-w317egr3bj]::after {
    background-color: #198754;
}

.bca-step-bubble[b-w317egr3bj] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    flex-shrink: 0;
}

.bca-step-active .bca-step-bubble[b-w317egr3bj] {
    background-color: #0d6efd;
    color: #fff;
}

.bca-step-done .bca-step-bubble[b-w317egr3bj] {
    background-color: #198754;
    color: #fff;
}

.bca-step-label[b-w317egr3bj] {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.bca-step-active .bca-step-label[b-w317egr3bj] {
    color: #0d6efd;
    font-weight: 600;
}

.bca-step-done .bca-step-label[b-w317egr3bj] {
    color: #198754;
}

/* ── Step body ── */
.bca-step-body[b-w317egr3bj] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* ── Scrollable form area (step 1) ── */
.bca-form-scroll[b-w317egr3bj] {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* ── Grid containers inside wizard steps ── */
.bca-grid-wrap[b-w317egr3bj] {
    height: 420px;
    overflow: hidden;
}

/* ── Step footer (navigation buttons) ── */
.bca-step-footer[b-w317egr3bj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
}

.bca-step-footer .ms-auto[b-w317egr3bj] {
    margin-left: auto;
}

/* ── Summary card (step 4 / step 6) ── */
.bca-summary-card[b-w317egr3bj] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.bca-summary-card dl[b-w317egr3bj] {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1.5rem;
    row-gap: 0.25rem;
    margin: 0;
}

.bca-summary-card dt[b-w317egr3bj] {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bca-summary-card dd[b-w317egr3bj] {
    margin: 0;
    font-size: 0.875rem;
}

/* ── Clickable exception badges ── */
.bca-badge-link[b-w317egr3bj] {
    cursor: pointer;
}

/* ── Pre-flight badge row ── */
.bca-preflight-badges[b-w317egr3bj] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

/* ── Access denied message ── */
.bca-access-denied[b-w317egr3bj] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #6c757d;
}

/* ── Persistent case header strip ── */
.bca-case-hdr[b-w317egr3bj] {
    background-color: #f0f4f8;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.6rem 1rem;
    margin-bottom: 0.75rem;
}

.bca-case-hdr-grid[b-w317egr3bj] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.bca-case-cell[b-w317egr3bj] {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.bca-case-label[b-w317egr3bj] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.bca-case-value[b-w317egr3bj] {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ── Maker-checker auth panels (Step 4) ── */
.bca-auth-panel[b-w317egr3bj] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    height: 100%;
}

.bca-auth-dot[b-w317egr3bj] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bca-auth-dot-done[b-w317egr3bj]    { background-color: #198754; }
.bca-auth-dot-pending[b-w317egr3bj] { background-color: #adb5bd; }

/* ── Inline exception cards (Step 3) ── */
.bca-exceptions-section[b-w317egr3bj] {
    border-top: 1px solid #dee2e6;
    padding-top: 0.75rem;
}

/* ── Side-by-side exceptions column (Step 3) ── */
.bca-exc-col[b-w317egr3bj] {
    display: flex;
    flex-direction: column;
}

.bca-exc-scroll[b-w317egr3bj] {
    height: 420px;
    overflow-y: auto;
    border-top: none;
    padding-top: 0;
    padding-right: 0.25rem;
}

.bca-exc-heading[b-w317egr3bj] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.bca-exception-card[b-w317egr3bj] {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

.bca-exc-error[b-w317egr3bj]   { background-color: #f8d7da; border-left: 3px solid #dc3545; }
.bca-exc-warning[b-w317egr3bj] { background-color: #fff3cd; border-left: 3px solid #ffc107; }

/* ── Entity exception accordion (Step 3) ── */
.bca-exc-entity-group[b-w317egr3bj] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.bca-exc-entity-overridden[b-w317egr3bj] {
    border-color: #198754;
    background-color: #f0fff4;
}

.bca-exc-entity-hdr[b-w317egr3bj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
}

.bca-exc-entity-hdr:hover[b-w317egr3bj] {
    background-color: #e9ecef;
}

.bca-exc-entity-toggle[b-w317egr3bj] {
    font-size: 0.85rem;
    color: #6c757d;
    flex-shrink: 0;
}

.bca-exc-entity-body[b-w317egr3bj] {
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: 1px solid #dee2e6;
}

.bca-exc-holding-block[b-w317egr3bj] {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.bca-exc-holding-block:last-child[b-w317egr3bj] {
    border-bottom: none;
}

.bca-exc-override[b-w317egr3bj] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bca-exc-override-applied[b-w317egr3bj] {
    padding: 0.4rem 0.6rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.bca-exc-overridden[b-w317egr3bj] {
    opacity: 0.65;
    text-decoration: line-through;
}

/* ── Posting preview table (Step 5) ── */
.bca-post-preview[b-w317egr3bj] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.bca-post-table[b-w317egr3bj] {
    margin-bottom: 0;
}

.bca-post-preview-row:hover[b-w317egr3bj] {
    background-color: #f0f4f8;
}

/* ── Inline override rationale input (Step 3) ── */
.bca-exc-rationale-input[b-w317egr3bj] {
    width: 160px;
    min-width: 100px;
}

/* ── Exception entity group cards (Step 3) ── */
.bca-exc-entity-group[b-w317egr3bj] {
    border-color: #dee2e6 !important;
}

.bca-exc-entity-hdr[b-w317egr3bj] {
    background-color: #f8f9fa;
}

.bca-exc-entity-body[b-w317egr3bj] {
    background-color: #fff;
}

/* ── Override panels inside exception entity cards (Step 3) ── */
.bca-exc-override[b-w317egr3bj] {
    background-color: #fff8e1;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.bca-exc-override-applied[b-w317egr3bj] {
    background-color: #d1e7dd;
}

/* Overridden error card (greyed, green badge) */
.bca-exc-overridden[b-w317egr3bj] {
    background-color: #d1e7dd;
    border-left: 3px solid #198754;
}

/* Holding block separator inside entity body */
.bca-exc-holding-block + .bca-exc-holding-block[b-w317egr3bj] {
    border-top: 1px dashed #dee2e6;
    padding-top: 0.5rem;
}
/* /Components/Pages/Assets/EditInvestment.razor.rz.scp.css */
[b-ws8y742est] .schedule-posted-tick  { color: #198754; font-weight: 600; }
[b-ws8y742est] .schedule-posted-cross { color: #dc3545; font-weight: 600; }

.investment-form-body[b-ws8y742est] {
    overflow-y: auto;
    height: calc(90vh - 80px);
    display: flex;
    flex-direction: column;
}

.disposal-pl-grid-wrap[b-ws8y742est] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 13px;
}

.disposal-pl-table[b-ws8y742est] {
    width: 100%;
    border-collapse: collapse;
}

.disposal-pl-table thead th[b-ws8y742est] {
    background: #f8f9fa;
    padding: 6px 12px;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: sticky;
    top: 0;
    z-index: 1;
}

.disposal-pl-table thead th:last-child[b-ws8y742est] {
    text-align: right;
}

.disposal-pl-table tbody tr[b-ws8y742est] {
    border-bottom: 1px solid #e9ecef;
}

.disposal-pl-table tbody tr:last-child[b-ws8y742est] {
    border-bottom: none;
}

.disposal-pl-table tbody td[b-ws8y742est] {
    padding: 5px 12px;
    color: #495057;
}

.disposal-pl-table tbody td:last-child[b-ws8y742est] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.disposal-pl-subtotal td[b-ws8y742est] {
    border-top: 1px solid #ced4da !important;
}

.disposal-pl-total td[b-ws8y742est] {
    border-top: 2px solid #adb5bd !important;
    font-weight: 700;
}

.disposal-pl-pos[b-ws8y742est] {
    color: #198754;
}

.disposal-pl-neg[b-ws8y742est] {
    color: #dc3545;
}

.investment-save-footer[b-ws8y742est] {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: white;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 6px rgba(0,0,0,.08);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.charges-grid-wrap[b-ws8y742est] {
    height: 420px;
}

.schedule-grid-wrap[b-ws8y742est] {
    height: 420px;
}

.selection-grid-wrap[b-ws8y742est] {
    height: 420px;
}

.details-grid-wrap[b-ws8y742est] {
    height: 420px;
}

.disposal-to-grid-wrap[b-ws8y742est] {
    height: 220px;
}

.disposal-done-grid-wrap[b-ws8y742est] {
    height: 180px;
}
/* /Components/Pages/Assets/EditOther.razor.rz.scp.css */
.divgrid[b-5602pqy27l] {
	height: calc(100% - 100px);
	width: 99%;
	display: flex;
	flex-direction: column;
}

.valuations-grid-wrap[b-5602pqy27l] {
	height: 420px;
}

.documents-grid-wrap[b-5602pqy27l] {
	height: 420px;
}

.impairments-grid-wrap[b-5602pqy27l] {
	height: 420px;
}

.income-grid-wrap[b-5602pqy27l] {
	height: 300px;
}

.cost-grid-wrap[b-5602pqy27l] {
	height: 300px;
}

/* LG+CL:20.08.26 — tab content panel scrolls when form content exceeds popup height.
   Targets the DX content area below the tab strip, so the tab strip stays fixed.
   Override the global overflow:hidden set in MyDxTabs. */
[b-5602pqy27l] .dxbl-tabs-content-panel {
	overflow-y: auto !important;
}

/* LG+CL:14.09.26 -- Cap Adds and Revaluations grid height constraints */
.cap-add-grid-wrap[b-5602pqy27l] {
	height: 420px;
}

.revaluations-grid-wrap[b-5602pqy27l] {
	height: 300px;
}
/* /Components/Pages/Assets/EditVal.razor.rz.scp.css */
.edit-val-notes[b-4mw0mrrpoo] {
    font-size: 12px;
}
/* /Components/Pages/Assets/OtherAssets.razor.rz.scp.css */
/* OtherAssets.razor.css — LG+CL:22.07.26 */

.posting-detail-row[b-npu3zutbgm] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
}

.posting-dep-table[b-npu3zutbgm] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 0.9em;
}

.posting-dep-table th[b-npu3zutbgm],
.posting-dep-table td[b-npu3zutbgm] {
    padding: 5px 10px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.posting-dep-table thead tr[b-npu3zutbgm] {
    background: #f3f4f6;
    font-weight: 600;
}

.posting-amount[b-npu3zutbgm] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.posting-label[b-npu3zutbgm] {
    color: #6b7280;
    font-size: 0.875em;
    white-space: nowrap;
    min-width: 140px;
}

.posting-hint[b-npu3zutbgm] {
    color: #9ca3af;
    font-size: 0.85em;
}

.posting-date-row[b-npu3zutbgm] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.posting-asset-name[b-npu3zutbgm] {
    margin-bottom: 10px;
    font-size: 0.95em;
}

/* LG+CL:22.07.26 — Transaction Ledger popup */

.ledger-date-row[b-npu3zutbgm] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ledger-table[b-npu3zutbgm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.ledger-table th[b-npu3zutbgm],
.ledger-table td[b-npu3zutbgm] {
    padding: 5px 10px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.ledger-table thead tr[b-npu3zutbgm] {
    background: #f3f4f6;
    font-weight: 600;
}

.ledger-date-col[b-npu3zutbgm] {
    width: 110px;
}

.ledger-account-col[b-npu3zutbgm] {
    width: 120px;
    font-family: monospace;
    font-size: 0.85em;
}

.ledger-account-name[b-npu3zutbgm] {
    color: #6b7280;
    font-size: 0.875em;
}

.ledger-amount-col[b-npu3zutbgm] {
    width: 110px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ledger-badge[b-npu3zutbgm] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.78em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ledger-badge-posted[b-npu3zutbgm] {
    background: #d1fae5;
    color: #065f46;
}

.ledger-badge-pending[b-npu3zutbgm] {
    background: #fef3c7;
    color: #92400e;
}

.ledger-badge-reversed[b-npu3zutbgm] {
    background: #fee2e2;
    color: #991b1b;
}

.ledger-row-reversed td[b-npu3zutbgm] {
    opacity: 0.55;
    text-decoration: line-through;
}

.ledger-empty[b-npu3zutbgm] {
    color: #9ca3af;
    font-size: 0.9em;
    padding: 20px 0 10px;
    text-align: center;
}
/* /Components/Pages/Assets/TermLoansEdit.razor.rz.scp.css */
.rate-history-grid-wrap[b-97ja7rmtxb] {
    height: 420px;
}

.schedule-grid-wrap[b-97ja7rmtxb] {
    height: 420px;
}

.accounts-grid-wrap[b-97ja7rmtxb] {
    height: 260px;
}

.amendments-grid-wrap[b-97ja7rmtxb] {
    height: 420px;
}

.fees-grid-wrap[b-97ja7rmtxb] {
    height: 420px;
}

.covenants-grid-wrap[b-97ja7rmtxb] {
    height: 300px;
}

.covenant-tests-grid-wrap[b-97ja7rmtxb] {
    height: 300px;
}

.reporting-grid-wrap[b-97ja7rmtxb] {
    height: 300px;
}

.reporting-receipts-grid-wrap[b-97ja7rmtxb] {
    height: 280px;
}
/* /Components/Pages/Assets/TermLoansPaymentEdit.razor.rz.scp.css */
.term-loan-journal-preview[b-4djqfa1sjt] {
    margin-top: 1rem;
    border-top: 1px solid #dee2e6;
    padding-top: 0.75rem;
}

.preview-heading[b-4djqfa1sjt] {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0.4rem;
}

.preview-table[b-4djqfa1sjt] {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
}

.preview-table th[b-4djqfa1sjt] {
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding: 0.2rem 0.5rem;
    text-align: left;
}

.preview-table td[b-4djqfa1sjt] {
    padding: 0.2rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: #343a40;
}

.preview-table .text-end[b-4djqfa1sjt] {
    text-align: right;
}

.dr-cell[b-4djqfa1sjt] {
    font-weight: 600;
    color: #0a3d62;
    width: 2.5rem;
}

.cr-cell[b-4djqfa1sjt] {
    font-weight: 600;
    color: #28a745;
    width: 2.5rem;
}
/* /Components/Pages/Compliance/SAR/SARNoAccess.razor.rz.scp.css */
.sar-no-access[b-8ytzifsk5z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px 20px;
    color: #4a5568;
    text-align: center;
}

.sar-no-access__icon[b-8ytzifsk5z] { color: #94a3b8; }

.sar-no-access__title[b-8ytzifsk5z] {
    margin: 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a3d62;
}

.sar-no-access__body[b-8ytzifsk5z] {
    margin: 0;
    font-size: 13px;
    max-width: 480px;
}

.sar-no-access__link[b-8ytzifsk5z] {
    font-size: 13px;
    color: #0d9488;
    text-decoration: none;
    margin-top: 8px;
}

.sar-no-access__link:hover[b-8ytzifsk5z] { text-decoration: underline; }
/* /Components/Pages/Dispatch/Dispatch.razor.rz.scp.css */
.dsp-page[b-kc41wm1adc] {
    background: #f5f7fa;
    min-height: 100%;
}

/* KPI stats row */
.dsp-stats-row[b-kc41wm1adc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));   /* LW+CL:03.11.26 was 6 fixed: the attention tiles come and go */
    gap: 12px;
    margin-bottom: 18px;
}

.dsp-stat-card[b-kc41wm1adc] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
}

.dsp-stat-card--link[b-kc41wm1adc] {
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

.dsp-stat-card--link:hover[b-kc41wm1adc] {
    border-color: #11c683;
    box-shadow: 0 0 0 2px rgba(17, 198, 131, .15);
}

.dsp-stat-card--active[b-kc41wm1adc] {
    border-color: #11c683;
    background: #f0fdf9;
}

.dsp-stat-val[b-kc41wm1adc] {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.1;
}

.dsp-stat-val--red[b-kc41wm1adc]    { color: #dc2626; }
.dsp-stat-val--amber[b-kc41wm1adc]  { color: #d97706; }
.dsp-stat-val--teal[b-kc41wm1adc]   { color: #00a896; }
.dsp-stat-val--purple[b-kc41wm1adc] { color: #6d28d9; }
.dsp-stat-val--grey[b-kc41wm1adc]   { color: #64748b; }

.dsp-stat-lbl[b-kc41wm1adc] {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Card container */
.dsp-card[b-kc41wm1adc] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.dsp-card-header[b-kc41wm1adc] {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dsp-card-title[b-kc41wm1adc] {
    font-size: 12px;
    font-weight: 700;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 7px;
}

.dsp-card-actions[b-kc41wm1adc] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Active stat filter chip shown in card title area */
.dsp-filter-chip[b-kc41wm1adc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf9;
    border: 1px solid #11c683;
    color: #065f46;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
}

.dsp-filter-chip:hover[b-kc41wm1adc] { background: #d1fae5; }

/* New Request button — teal primary */
[b-kc41wm1adc] .dsp-btn-new.dxbl-btn {
    background: #00d9c5;
    color: #fff;
    border-color: #00d9c5;
    font-weight: 600;
}

[b-kc41wm1adc] .dsp-btn-new.dxbl-btn:hover {
    background: #00c4b2;
    border-color: #00c4b2;
}

/* Row action buttons */
.dsp-row-btn[b-kc41wm1adc] { margin-right: 4px; }

/* Badge classes (source, status, overdue) live in wwwroot/css/dispatch.css —
   CellCssClassFunc spans are owned by MyDxGrid so scoped CSS can't reach them. */

/* LW+CL:07.11.26 (C63) Due Date cell (a page-owned CellTemplate, so scoped CSS reaches it): the POC's dueStyle colours. */
.dsp-due[b-kc41wm1adc] { font-size: 11px; color: #475569; white-space: nowrap; }
.dsp-due-overdue[b-kc41wm1adc] { color: #dc2626; font-weight: 700; }
.dsp-due-today[b-kc41wm1adc] { color: #d97706; }

/* LW+CL:03.11.26 Queue and request side by side (the splitter needs a set height; each pane scrolls on its own). */
.dsp-split[b-kc41wm1adc] {
    height: calc(100vh - 250px);
    min-height: 480px;
}

.dsp-panel[b-kc41wm1adc] {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #fff;
}

.dsp-panel-head[b-kc41wm1adc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.dsp-panel-title[b-kc41wm1adc] {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dsp-panel-actions[b-kc41wm1adc] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dsp-panel-body[b-kc41wm1adc] {
    flex: 1;
    overflow: auto;
    padding: 12px 14px;
}

/* LW+CL:03.11.26 the "Request panel" on/off switch in the queue header */
[b-kc41wm1adc] .dsp-panel-switch {
    font-size: 12px;
    color: #475569;
    margin-right: 8px;
}

/* LW+CL:03.11.26 the "Task created" bar after Create Task */
.dsp-task-created[b-kc41wm1adc] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px 10px;
    padding: 8px 12px;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 13px;
}
.dsp-task-created > span[b-kc41wm1adc] { flex: 1; }

/* LW+CL:03.11.26 the "needs attention" tiles: the same card, marked so they read as a call to act */
.dsp-stat-card--attention[b-kc41wm1adc] { border-left: 3px solid #f59e0b; }

/* LW+CL:04.11.26 the IQ insights card between the tiles and the queue */
.dsp-insights[b-kc41wm1adc] {
  margin: 0 0 12px 0;
}

/* LW+CL:07.11.26 Activity strip above the tiles: requests received in the last hour, by source. */
.dsp-activity[b-kc41wm1adc] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #64748b;
}

.dsp-activity-dot[b-kc41wm1adc] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11c683;
}

.dsp-activity-pill[b-kc41wm1adc] {
  padding: 1px 8px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}
/* /Components/Pages/Dispatch/DispatchAttachmentPreview.razor.rz.scp.css */
.dsp-att-preview[b-crbfs4o778] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.dsp-att-preview-msg[b-crbfs4o778] {
    margin: auto;
    padding: 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.dsp-att-preview-img[b-crbfs4o778] {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
}

.dsp-att-preview[b-crbfs4o778]  .dsp-att-preview-pdf {
    flex: 1;
    min-height: 420px;
}
/* /Components/Pages/Documents/Controls/DocumentPreview.razor.rz.scp.css */
.lf-dp-root[b-au1ba0pqbs] {
    display: flex;
    flex-direction: column;
    height: 100%;
    outline: none;
}

.lf-dp-msg[b-au1ba0pqbs] {
    padding: 16px;
    color: #4a5568;
    font-size: 13px;
}

.lf-dp-generating[b-au1ba0pqbs] {
    padding: 16px;
    color: #4a5568;
    font-size: 13px;
    font-style: italic;
}

.lf-dp-fallback[b-au1ba0pqbs] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.lf-dp-fallback-icon[b-au1ba0pqbs] {
    font-size: 48px;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 1px;
}

.lf-dp-toolbar[b-au1ba0pqbs] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.lf-dp-zoom-btn[b-au1ba0pqbs] {
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lf-dp-zoom-btn:hover[b-au1ba0pqbs] {
    background: #f7fafc;
}

.lf-dp-zoom-label[b-au1ba0pqbs] {
    font-size: 12px;
    color: #4a5568;
    min-width: 36px;
    text-align: center;
}

.lf-dp-loading-pages[b-au1ba0pqbs] {
    font-size: 12px;
    color: #718096;
    margin-left: 8px;
    font-style: italic;
}

.lf-dp-carousel-wrap[b-au1ba0pqbs] {
    flex: 1;
    overflow: hidden;
    transform-origin: top center;
    transition: transform 0.15s ease;
}

.lf-dp-page-nav[b-au1ba0pqbs] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.lf-dp-nav-btn[b-au1ba0pqbs] {
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.lf-dp-nav-btn:disabled[b-au1ba0pqbs] {
    opacity: 0.4;
    cursor: default;
}

.lf-dp-nav-btn:hover:not(:disabled)[b-au1ba0pqbs] {
    background: #f7fafc;
}

.lf-dp-page-input[b-au1ba0pqbs] {
    width: 48px;
    text-align: center;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 13px;
}

.lf-dp-footer[b-au1ba0pqbs] {
    margin-top: auto;
    padding: 8px 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
    color: #94a3b8;
}

.lf-dp-page-total[b-au1ba0pqbs] {
    font-size: 13px;
    color: #4a5568;
}
/* /Components/Pages/Documents/Controls/DocumentSelectorGrid.razor.rz.scp.css */
/* LF-07 (LW+CL:02/06/26): moved off an inline <style> block (leaked globally) into
   CSS isolation. ::deep reaches the DevExpress grid root (CssClass="templateGrid"),
   scoped by the .doc-selector-grid-host wrapper which carries the isolation attribute. */
[b-pclc80mq7i] .templateGrid {
    border-width: 0;
    width: 700px;
    height: 150px;
}
/* /Components/Pages/Documents/DocumentEditor.razor.rz.scp.css */
[b-14ahh1aebl] .my-style {
    color: red !important;
}

.permissions-grid-wrap[b-14ahh1aebl] {
    height: 420px;
}
/* /Components/Pages/Documents/DocumentsViewer.razor.rz.scp.css */
/* LiveFile / DocumentsViewer — UX-1 shell
   Scoped via Blazor CSS isolation. Selectors are intentionally simple — the
   .lf-* class names won't leak. Palette mirrors the baseline POC. */

/* Search bar — compact toolbar style */
.lf-search-form[b-ya5cd7gjqk] {
    display: block;
}

.lf-search-bar[b-ya5cd7gjqk] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lf-search-label[b-ya5cd7gjqk] {
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lf-search-entity[b-ya5cd7gjqk] {
    min-width: 200px;
    flex: 0 1 240px;
}

.lf-search-text[b-ya5cd7gjqk] {
    flex: 1 1 240px;
    min-width: 220px;
}

/* Advanced search — collapsible panel below the search bar */
.lf-adv-search[b-ya5cd7gjqk] {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

/* KPI strip — 6 cards in a responsive grid */
.lf-kpi-strip[b-ya5cd7gjqk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.lf-kpi-card[b-ya5cd7gjqk] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
}

.lf-kpi-card[b-ya5cd7gjqk]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.lf-kpi-navy[b-ya5cd7gjqk]::before  { background: #0a3d62; }
.lf-kpi-green[b-ya5cd7gjqk]::before { background: #1a8a3a; }
.lf-kpi-amber[b-ya5cd7gjqk]::before { background: #c97c00; }
.lf-kpi-blue[b-ya5cd7gjqk]::before  { background: #1a6fd4; }
.lf-kpi-teal[b-ya5cd7gjqk]::before  { background: #00a896; }
.lf-kpi-red[b-ya5cd7gjqk]::before   { background: #d93025; }

.lf-kpi-label[b-ya5cd7gjqk] {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.lf-kpi-value[b-ya5cd7gjqk] {
    font-size: 22px;
    font-weight: 800;
    color: #1a1d2e;
    line-height: 1.1;
}

.lf-kpi-sub[b-ya5cd7gjqk] {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
}

/* View toggle (Grid / Explorer / Dashboard) — segmented control at the end
   of the search bar. Connected segments share a single border (overflow:hidden
   so the corners clip), separated by an internal right-border. Active segment
   uses RenderStyle.Primary (blue); inactive uses Secondary (light grey). */
/* LW+CL:06/08/26 — "My Documents" popout only, left of .lf-toolbar-actions. Makes the
   always-on @bitOnlyMyFiles scope visible and links out to the real unscoped search. */
.lf-my-docs-scope-hint[b-ya5cd7gjqk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.lf-my-docs-scope-label[b-ya5cd7gjqk] {
    color: #94a3b8;
}

.lf-my-docs-scope-link[b-ya5cd7gjqk] {
    color: #1a6fd4;
    font-weight: 600;
    text-decoration: none;
}

.lf-my-docs-scope-link:hover[b-ya5cd7gjqk] {
    text-decoration: underline;
}

/* Right-aligned action cluster — keeps My Checked-Out + the view toggles grouped
   together, so the toolbar reads identically with or without the entity/search
   controls (full /documents screen vs. embedded "My Documents" modal). */
.lf-toolbar-actions[b-ya5cd7gjqk] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lf-view-toggle[b-ya5cd7gjqk] {
    display: inline-flex;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    height: fit-content;
}

.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn {
    border: none;
    border-radius: 0;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: none;
}

.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn:not(:last-child) {
    border-right: 1px solid #e2e8f0;
}

/* Inactive (RenderStyle.Secondary) — flat light background */
.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn.dxbl-btn-secondary {
    background: #f7f9fc;
    color: #4a5568;
}

.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn.dxbl-btn-secondary:hover {
    background: #e2e8f0;
    color: #1a1d2e;
}

/* Active (RenderStyle.Primary) — POC blue */
.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn.dxbl-btn-primary {
    background: #1a6fd4;
    color: #fff;
}

.lf-view-toggle[b-ya5cd7gjqk]  .dxbl-btn.dxbl-btn-primary:hover {
    background: #1560b8;
    color: #fff;
}

/* Tree pane — left-rail navigator for Explorer view.
   Lives inside a MyDxSplitterPane (which gives the draggable resize handle and
   handles its own width via the pane's Size parameter). This div just fills its
   slot and lays out the header + scrollable body. */
.lf-tree-pane[b-ya5cd7gjqk] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.lf-tree-header[b-ya5cd7gjqk] {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lf-tree-title[b-ya5cd7gjqk] {
    font-size: 12px;
    font-weight: 700;
    color: #1a1d2e;
    flex-shrink: 0;
}

.lf-tree-header-select[b-ya5cd7gjqk] {
    flex: 1;
    min-width: 0;
}

.lf-tree-body[b-ya5cd7gjqk] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Sticky "All" row above the DxTreeView — always visible, clears the filter. */
.lf-tree-all[b-ya5cd7gjqk] {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
    color: #4a5568;
    font-size: 12px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f0f4f8;
    transition: background .1s;
    user-select: none;
    flex-shrink: 0;
}

.lf-tree-all:hover[b-ya5cd7gjqk] {
    background: rgba(10, 61, 98, 0.06);
}

.lf-tree-all-selected[b-ya5cd7gjqk] {
    background: rgba(26, 111, 212, 0.08);
    border-left-color: #1a6fd4;
    color: #1a1d2e;
    font-weight: 600;
}

.lf-tree-all-selected .lf-tv-count[b-ya5cd7gjqk] {
    background: rgba(26, 111, 212, 0.12);
    color: #1a6fd4;
}

/* DxTreeView styling — mirror the POC look (compact rows, count pill on right,
   blue left-border on selected node, navy-tinted hover). We use ::deep to reach
   into DevExpress's internal markup since this is a scoped .razor.css. */
.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view {
    height: 100%;
    background: transparent;
    border: none;
    font-size: 12px;
}

/* Filter panel at the top of the tree */
.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-filter {
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-filter input {
    font-size: 11px;
}

/* Each node row */
.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-node {
    padding: 4px 10px;
    cursor: pointer;
    color: #4a5568;
    border-left: 3px solid transparent;
    transition: background .1s;
    user-select: none;
}

.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-node:hover {
    background: rgba(10, 61, 98, 0.06);
}

.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-node.dxbl-selected {
    background: rgba(26, 111, 212, 0.08);
    border-left-color: #1a6fd4;
    color: #1a1d2e;
    font-weight: 600;
}

/* Node template contents (icon + label + count pill) */
.lf-tv-icon[b-ya5cd7gjqk] {
    font-size: 14px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    margin-right: 4px;
    line-height: 1;
}

.lf-tv-label[b-ya5cd7gjqk] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 6px;
}

.lf-tv-count[b-ya5cd7gjqk] {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    background: #f7f9fc;
    padding: 1px 7px;
    border-radius: 8px;
    flex-shrink: 0;
}

.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-selected .lf-tv-count {
    background: rgba(26, 111, 212, 0.12);
    color: #1a6fd4;
}

/* Force the DxTreeView node text container into a flex row so label + count
   line up correctly with the count pill on the right edge. */
.lf-tree-body[b-ya5cd7gjqk]  .lf-tree-view .dxbl-treeview-node-text {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

/* Documents-pane wrapper — flex column so breadcrumb sits above the grid in
   Explorer mode, grid fills the rest. */
.lf-pane-content[b-ya5cd7gjqk] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lf-pane-grid[b-ya5cd7gjqk] {
    flex: 1;
    min-height: 0;
}

/* Breadcrumb — Explorer-mode strip above the grid showing the current filter path */
.lf-breadcrumb[b-ya5cd7gjqk] {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.lf-bc-item[b-ya5cd7gjqk] {
    color: #1a6fd4;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
}

.lf-bc-item:hover[b-ya5cd7gjqk] {
    text-decoration: underline;
}

.lf-bc-sep[b-ya5cd7gjqk] {
    color: #94a3b8;
    font-size: 10px;
}

.lf-bc-current[b-ya5cd7gjqk] {
    color: #1a1d2e;
    font-weight: 600;
    cursor: default;
}

.lf-bc-current:hover[b-ya5cd7gjqk] {
    text-decoration: none;
}

/* Dashboard view — 2-column grid of chart cards with horizontal bar lists.
   Bars are clickable and drill back to Explorer view with the matching tree
   filter applied. */
.lf-dashboard[b-ya5cd7gjqk] {
    flex: 1;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 0;
}

.lf-chart-card[b-ya5cd7gjqk] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.lf-chart-title[b-ya5cd7gjqk] {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    font-size: 13px;
    font-weight: 700;
    color: #1a1d2e;
    flex-shrink: 0;
}

.lf-chart-body[b-ya5cd7gjqk] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px;
}

.lf-chart-empty[b-ya5cd7gjqk] {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.lf-hbar-row[b-ya5cd7gjqk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    border-bottom: 1px solid #f0f4f8;
    cursor: pointer;
    transition: background .1s;
}

.lf-hbar-row:hover[b-ya5cd7gjqk] {
    background: rgba(26, 111, 212, 0.06);
}

.lf-hbar-row:last-child[b-ya5cd7gjqk] {
    border-bottom: none;
}

.lf-hbar-label[b-ya5cd7gjqk] {
    width: 160px;
    flex-shrink: 0;
    font-size: 12px;
    color: #1a1d2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lf-hbar-track[b-ya5cd7gjqk] {
    flex: 1;
    height: 14px;
    background: #f0f4f8;
    border-radius: 7px;
    overflow: hidden;
}

.lf-hbar-fill[b-ya5cd7gjqk] {
    height: 100%;
    border-radius: 7px;
    transition: width .25s ease;
}

.lf-hbar-teal[b-ya5cd7gjqk] { background: linear-gradient(90deg, #00a896, #00d9c9); }
.lf-hbar-navy[b-ya5cd7gjqk] { background: linear-gradient(90deg, #0a3d62, #1a6fd4); }

.lf-hbar-actual[b-ya5cd7gjqk] {
    width: 48px;
    flex-shrink: 0;
    font-size: 12px;
    color: #4a5568;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Preview pane (right side, inside the Details splitter pane) — UX-6
   POC-style enriched preview: header strip + scrollable body containing the
   thumbnail card (with file-type badge), metadata rows, and IQ Analysis card. */
.lf-preview[b-ya5cd7gjqk] {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.lf-preview-header[b-ya5cd7gjqk] {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.lf-preview-title[b-ya5cd7gjqk] {
    font-size: 13px;
    font-weight: 700;
    color: #1a1d2e;
}

.lf-preview-body[b-ya5cd7gjqk] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
}

.lf-preview-empty[b-ya5cd7gjqk] {
    text-align: center;
    padding: 40px 16px;
    color: #94a3b8;
    font-size: 12px;
}

/* Thumbnail card */
.lf-preview-thumb[b-ya5cd7gjqk] {
    width: 100%;
    height: 180px;
    background: #f7f9fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
}

.lf-preview-thumb-img[b-ya5cd7gjqk] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    border-radius: 8px;
}

.lf-preview-thumb-icon[b-ya5cd7gjqk] {
    font-size: 48px;
    opacity: 0.3;
}

.lf-preview-thumb-pending[b-ya5cd7gjqk] {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.lf-preview-thumb-type[b-ya5cd7gjqk] {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Clickable thumbnail — opens DocumentPreview modal (full DxPdfViewer for
   PDFs, DxCarousel for doc/xls/image previews). Same code path as the
   right-click Preview action; just a more obvious surface. */
.lf-preview-thumb-clickable[b-ya5cd7gjqk] {
    cursor: pointer;
}

.lf-preview-thumb-overlay[b-ya5cd7gjqk] {
    position: absolute;
    inset: 0;
    background: rgba(10, 61, 98, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transition: opacity .15s ease;
    border-radius: 8px;
    pointer-events: none;
}

.lf-preview-thumb-clickable:hover .lf-preview-thumb-overlay[b-ya5cd7gjqk] {
    opacity: 1;
}

/* Metadata rows */
.lf-preview-meta[b-ya5cd7gjqk] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.lf-preview-meta-row[b-ya5cd7gjqk] {
    display: flex;
    gap: 8px;
    font-size: 11px;
    align-items: flex-start;
    /* #828 -- below ~1150px the panel no longer has room for a fixed 100px label plus a
       readable value column; wrap so the value drops to its own line instead of collapsing
       word-break: break-word down to one character per line. */
    flex-wrap: wrap;
}

.lf-preview-meta-label[b-ya5cd7gjqk] {
    width: 100px;
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 10px;
    padding-top: 1px;
}

.lf-preview-meta-val[b-ya5cd7gjqk] {
    color: #1a1d2e;
    flex: 1 1 120px;
    min-width: 120px;
    word-break: break-word;
}

.lf-preview-meta-strong[b-ya5cd7gjqk] {
    font-weight: 600;
}

.lf-preview-verified-yes[b-ya5cd7gjqk] {
    color: #1a8a3a;
    font-weight: 600;
}

.lf-preview-verified-no[b-ya5cd7gjqk] {
    color: #94a3b8;
}

/* Finalised = a distinct locked/sign-off state (Status 6), separate from Verified.
   Rendered as its own slate "locked" badge so it's not confused with verification. */
.lf-preview-finalised-badge[b-ya5cd7gjqk] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 11px;
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
}

/* LW+CL:07.11.26 a document whose Expiry Date has passed */
.lf-preview-expired-badge[b-ya5cd7gjqk] {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 11px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 600;
}

.lf-preview-checkedout[b-ya5cd7gjqk] {
    color: #c97c00;
    font-weight: 600;
}

/* LW+CL:27.10.26 out for e-signature, same colour as the grid's Lock pill */
.lf-preview-signing[b-ya5cd7gjqk] {
    color: #5b21b6;
    font-weight: 600;
}

.lf-preview-divider[b-ya5cd7gjqk] {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

/* IQ Analysis / AI summary card */
.lf-preview-ai[b-ya5cd7gjqk] {
    background: linear-gradient(135deg, rgba(26, 111, 212, 0.05), rgba(0, 168, 150, 0.05));
    border: 1px solid rgba(26, 111, 212, 0.12);
    border-radius: 8px;
    padding: 14px;
    margin-top: 8px;
}

.lf-preview-ai-title[b-ya5cd7gjqk] {
    font-size: 11px;
    font-weight: 700;
    color: #1a6fd4;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lf-preview-ai-title[b-ya5cd7gjqk]::before {
    content: '✨';
    font-size: 13px;
}

.lf-preview-ai-text[b-ya5cd7gjqk] {
    font-size: 12px;
    line-height: 1.6;
    color: #4a5568;
    white-space: pre-wrap;
}

.lf-ai-summary-date[b-ya5cd7gjqk] {
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #718096;
    margin-left: 6px;
}

/* WebDAV editing session strip — shown in preview pane when the current user
   has the file checked out and it supports Office desktop editing. */
.lf-webdav-expiry[b-ya5cd7gjqk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    margin-top: 6px;
    font-size: 0.8rem;
}

.lf-webdav-expiry--active[b-ya5cd7gjqk] {
    background: #cff4fc;
    color: #055160;
    border: 1px solid #b6effb;
}

.lf-webdav-expiry-msg[b-ya5cd7gjqk] {
    flex: 1;
    min-width: 0;
}

.lf-webdav-reopen-btn[b-ya5cd7gjqk] {
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.lf-webdav-expiry-actions[b-ya5cd7gjqk] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Office lock held by another user — visible to everyone viewing the doc */
.lf-webdav-expiry--locked[b-ya5cd7gjqk] {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Static "Opening in Office…" message shown immediately after protocol handler fires */
.lf-webdav-expiry--pending[b-ya5cd7gjqk] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.lf-webdav-expiry--pending .lf-webdav-expiry-msg[b-ya5cd7gjqk]::after {
    /* Clip a static '...' by revealing it progressively — works in all browsers.
       Animating `content` in @keyframes only works in Chromium 87+. */
    content: '...';
    display: inline-block;
    overflow: hidden;
    width: 0;
    vertical-align: bottom;
    animation: lf-ellipsis-b-ya5cd7gjqk 1.2s steps(4, end) infinite;
}

@keyframes lf-ellipsis-b-ya5cd7gjqk {
    0%   { width: 0; }
    25%  { width: 0.5em; }
    50%  { width: 1em; }
    75%  { width: 1.5em; }
    100% { width: 0; }
}

/* Office didn't open — shown after 5s single check finds no lock */
.lf-webdav-expiry--warning[b-ya5cd7gjqk] {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffe69c;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.lf-webdav-setup-link[b-ya5cd7gjqk] {
    font-size: 0.75rem;
    color: #0d6efd;
    text-decoration: underline;
    white-space: nowrap;
    align-self: center;
}

/* Clickable KPI tiles — filter the grid by metric */
.lf-kpi-clickable[b-ya5cd7gjqk] {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.lf-kpi-clickable:hover[b-ya5cd7gjqk] {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.lf-kpi-active[b-ya5cd7gjqk] {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.38);
}

/* Active-filter chips */
.lf-filter-chips[b-ya5cd7gjqk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.25rem 0.1rem;
}

.lf-filter-chips-label[b-ya5cd7gjqk] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
}

.lf-filter-chip[b-ya5cd7gjqk] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eef2f7;
    border: 1px solid #d6dee8;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    font-size: 0.78rem;
    color: #0a3d62;
}

.lf-filter-chip-x[b-ya5cd7gjqk] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
    line-height: 1;
    color: #6b7280;
}

.lf-filter-chip-x:hover[b-ya5cd7gjqk] {
    color: #c0392b;
}

.lf-filter-clear-all[b-ya5cd7gjqk] {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 0.25rem;
    font-size: 0.76rem;
    color: #1565c0;
    text-decoration: underline;
}

/* Office-only format hint in the preview pane */
.lf-webdav-expiry--info[b-ya5cd7gjqk] {
    background: #eef4fb;
    color: #0a3d62;
    border: 1px solid #cfe0f3;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* Required for the splitter to fill its container in both full-page and embedded-modal contexts */
.fillscreen[b-ya5cd7gjqk] {
    height: 100%;
}

/* Dismiss ✕ on the "AI summary queued" notice */
.lf-summary-dismiss[b-ya5cd7gjqk] {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0 0.25rem;
}

.lf-summary-dismiss:hover[b-ya5cd7gjqk] {
    color: #c0392b;
}
/* /Components/Pages/Documents/DropDocs.razor.rz.scp.css */
.custom-drop-zone[b-vz573ehv01] {
	padding: 0 !important;
	border-style: dashed !important;
	border-width: 2px !important;
	height: 230px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

	.custom-drop-zone svg[b-vz573ehv01] {
		width: 42px;
		height: 42px;
	}

.drop-file-icon[b-vz573ehv01] {
	mask-repeat: no-repeat !important;
	-webkit-mask-repeat: no-repeat !important;
	height: 42px !important;
	width: 42px !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	margin: 3px 0 0 0 !important;
	display: inline-block;
	-webkit-mask-image: url("/images/menuicons/drag.svg");
	mask-image: url("/images/menuicons/drag.svg");
	mask-size: contain;
	background-color: currentColor;
	/*background-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	background-position: center center;
	background-color: currentColor;
	width: 42px;
	height: 42px;
	-webkit-mask-image: url("/images/menuicons/drag.svg");
	mask-image: url("/images/menuicons/drag.svg");*/
}
/* /Components/Pages/Documents/SendForSignatureDialog.razor.rz.scp.css */
/* LW+CL:27.10.26 Send for Signature dialog (features/corporate-signatory, Phase 2e) */
.sfs-loading[b-rn623uqum3] { display: flex; align-items: center; gap: 8px; padding: 16px; }
.sfs-document[b-rn623uqum3] { font-weight: 600; }
.sfs-muted[b-rn623uqum3] { color: var(--rs-text-mid, #64748b); font-weight: 400; }
.sfs-empty[b-rn623uqum3] { color: #92600a; background: #fef3c7; padding: 8px 10px; border-radius: 6px; }
.sfs-signers[b-rn623uqum3] { display: grid; gap: 4px; margin-bottom: 8px; }
.sfs-signer[b-rn623uqum3] {
    display: grid;
    /* text columns may shrink (to an ellipsis) so the Up and Down buttons always stay inside the dialog */
    grid-template-columns: auto 1.5rem minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.5fr) auto auto;
    min-width: 0;
    align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; background: #f8fafc;
}
.sfs-signer--out[b-rn623uqum3] { opacity: 0.6; }
.sfs-position[b-rn623uqum3] { font-weight: 600; text-align: center; }
.sfs-name[b-rn623uqum3] { font-weight: 600; }
.sfs-name[b-rn623uqum3], .sfs-role[b-rn623uqum3], .sfs-email[b-rn623uqum3] { min-width: 0; }
.sfs-name[b-rn623uqum3], .sfs-role[b-rn623uqum3], .sfs-email[b-rn623uqum3] { color: var(--rs-text-mid, #64748b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfs-email--missing[b-rn623uqum3] { color: #b91c1c; font-weight: 600; }
.sfs-problem[b-rn623uqum3] { color: #b91c1c; margin-bottom: 8px; }
/* /Components/Pages/Documents/VoidSignatureDialog.razor.rz.scp.css */
/* LW+CL:27.10.26 Void signature dialog (features/corporate-signatory, Phase 2e) */
.vsd-loading[b-u0gqn329mb] { display: flex; align-items: center; gap: 8px; padding: 16px; }
.vsd-document[b-u0gqn329mb] { font-weight: 600; }
.vsd-progress[b-u0gqn329mb] { color: #5b21b6; font-weight: 600; margin-top: 2px; }
.vsd-note[b-u0gqn329mb] { color: var(--rs-text-mid, #64748b); padding: 4px 0; }
.vsd-problem[b-u0gqn329mb] { color: #b91c1c; margin-bottom: 8px; }
/* /Components/Pages/Echelon/Compliance/EchelonCompliance.razor.rz.scp.css */
.ech-compliance-page[b-jo9tmiiqiq] {
    width: 100%;
}

/* ── Summary cards ────────────────────────────────────────────────── */
.ech-compliance-summary[b-jo9tmiiqiq] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ech-summary-card[b-jo9tmiiqiq] {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    padding: 1rem;
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.ech-summary-val[b-jo9tmiiqiq] {
    font-size: 1.5rem;
    font-weight: 700;
}

.ech-summary-label[b-jo9tmiiqiq] {
    font-size: .75rem;
    color: #9ca3af;
    margin-top: .15rem;
}

.ech-summary-green .ech-summary-val[b-jo9tmiiqiq] { color: var(--ech-accent,#11C683); }
.ech-summary-amber .ech-summary-val[b-jo9tmiiqiq] { color: #d97706; }
.ech-summary-blue  .ech-summary-val[b-jo9tmiiqiq] { color: #3b82f6; }

/* ── Table ────────────────────────────────────────────────────────── */
.ech-tbl[b-jo9tmiiqiq] {
    width: 100%;
    border-collapse: collapse;
}

.ech-tbl th[b-jo9tmiiqiq] {
    background: #f8f9fb;
    padding: .55rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.ech-tbl td[b-jo9tmiiqiq] {
    padding: .6rem .9rem;
    font-size: .8rem;
    color: #1a1a2e;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.ech-tbl tr:last-child td[b-jo9tmiiqiq] {
    border-bottom: none;
}

.ech-tbl-row[b-jo9tmiiqiq] {
    cursor: pointer;
    transition: background .15s;
}

.ech-tbl-row:hover td[b-jo9tmiiqiq] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent);
}

/* ── Loading / Empty ──────────────────────────────────────────────── */
.ech-compliance-loading[b-jo9tmiiqiq] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ech-compliance-skeleton[b-jo9tmiiqiq] {
    height: 36px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: echCompPulse-b-jo9tmiiqiq 1.5s ease-in-out infinite;
}

@keyframes echCompPulse-b-jo9tmiiqiq {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

.ech-compliance-empty[b-jo9tmiiqiq] {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.ech-compliance-empty p[b-jo9tmiiqiq] {
    font-size: .82rem;
    margin-top: .5rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ech-compliance-summary[b-jo9tmiiqiq] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ech-compliance-summary[b-jo9tmiiqiq] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Echelon/Dashboard/EchelonDashboard.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   echelon Client Portal — Dashboard
   Design tokens from Brett's echelon-portal.html POC.
   ═══════════════════════════════════════════════════════════════════ */

.ech-dash[b-ha4olqr7v7] {
    width: 100%;
    animation: echFadeIn 0.3s ease;
}

/* ─── Invite banner ─────────────────────────────────────────────── */

.ech-invite-banner[b-ha4olqr7v7] {
    background: linear-gradient(135deg, #0891b2, #0d9488);
    color: #fff;
    padding: 1rem 3rem 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    position: relative;
    box-shadow: 0 2px 12px rgba(8,145,178,.25);
    animation: ech-slide-down-b-ha4olqr7v7 .4s ease;
}

.ech-invite-close[b-ha4olqr7v7] {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
}

.ech-invite-close:hover[b-ha4olqr7v7] {
    opacity: 1;
}

@keyframes ech-slide-down-b-ha4olqr7v7 {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── ES pending questionnaire banner ───────────────────────────── */

.ech-es-banner[b-ha4olqr7v7] {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    padding: 1rem 3rem 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .9rem;
    position: relative;
    box-shadow: 0 2px 12px rgba(5,150,105,.25);
    animation: ech-slide-down-b-ha4olqr7v7 .4s ease;
}

.ech-es-banner-btn[b-ha4olqr7v7] {
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}

.ech-es-banner-btn:hover[b-ha4olqr7v7] {
    background: rgba(255,255,255,.35);
}

.ech-es-banner-btn--outline[b-ha4olqr7v7] {
    background: transparent;
    border-color: rgba(255,255,255,.4);
}

/* ─── Welcome hero ───────────────────────────────────────────────── */

.ech-hero[b-ha4olqr7v7] {
    background: linear-gradient(135deg, var(--ech-dark,#1A1A2E), var(--ech-dark2,#16213E));
    border-radius: 10px;
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ech-hero-right[b-ha4olqr7v7] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
}

.ech-hero-alerts[b-ha4olqr7v7] {
    display: flex;
    gap: .5rem;
}

.ech-hero-change-up[b-ha4olqr7v7] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 20px;
    background: color-mix(in srgb, var(--ech-accent,#11C683) 15%, transparent);
    color: var(--ech-accent,#11C683);
}

.ech-hero-change-down[b-ha4olqr7v7] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 20px;
    background: rgba(239, 68, 68, .15);
    color: #ef4444;
}

.ech-hero-greeting[b-ha4olqr7v7] {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.ech-hero-sub[b-ha4olqr7v7] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Primary KPI — the persona-driven big number (Portfolio Value / Net Worth /
   Trust Value). Suppressed when the value would be misleading (mixed CCY, no
   priced holdings) — see EchelonDashboard.BuildHeroKpi. */
.ech-hero-kpi[b-ha4olqr7v7] {
    margin-top: 0.9rem;
}

.ech-hero-kpi-val[b-ha4olqr7v7] {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.ech-hero-kpi .ech-hero-change[b-ha4olqr7v7] {
    margin-top: 0.4rem;
}

.ech-hero-kpi-label[b-ha4olqr7v7] {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
}

.ech-hero-stats[b-ha4olqr7v7] {
    display: flex;
    gap: 2rem;
}

.ech-hero-stat[b-ha4olqr7v7] {
    text-align: center;
}

.ech-hero-stat-val[b-ha4olqr7v7] {
    font-size: 1.6rem;
    font-weight: 700;
}

.ech-hero-stat-label[b-ha4olqr7v7] {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 0.1rem;
}

/* ─── Tile grid ──────────────────────────────────────────────────── */

.ech-grid[b-ha4olqr7v7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .ech-hero[b-ha4olqr7v7] { flex-direction: column; gap: 1rem; }
    .ech-hero-stats[b-ha4olqr7v7] { justify-content: space-around; width: 100%; }
}
/* /Components/Pages/Echelon/Dashboard/Tiles/EchelonOwnershipTile.razor.rz.scp.css */
/* LW+CL:11.11.26 (parity C29) "View Chart" is a button that reads as the tile's other footer links. */
.ech-ownership-tile-link[b-ll71uucaji] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.ech-ownership-loading[b-ll71uucaji],
.ech-ownership-empty[b-ll71uucaji] {
    padding: 1.5rem 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}
/* /Components/Pages/Echelon/Documents/EchelonDocuments.razor.rz.scp.css */
.ech-documents-page[b-3bz6cqish4] {
    width: 100%;
}

/* ── Filter bar ───────────────────────────────────────────────────── */
.ech-filter-bar[b-3bz6cqish4] {
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ech-filter-select[b-3bz6cqish4] {
    padding: .4rem .6rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: .78rem;
    color: #1a1a2e;
    background: white;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

.ech-filter-select:focus[b-3bz6cqish4] {
    border-color: var(--ech-accent,#11C683);
}

.ech-filter-search[b-3bz6cqish4] {
    padding: .4rem .8rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: .78rem;
    width: 200px;
    outline: none;
    font-family: inherit;
}

.ech-filter-search:focus[b-3bz6cqish4] {
    border-color: var(--ech-accent,#11C683);
}

/* ── Table ────────────────────────────────────────────────────────── */
.ech-tbl[b-3bz6cqish4] {
    width: 100%;
    border-collapse: collapse;
}

.ech-tbl th[b-3bz6cqish4] {
    background: #f8f9fb;
    padding: .55rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.ech-tbl td[b-3bz6cqish4] {
    padding: .6rem .9rem;
    font-size: .8rem;
    color: #1a1a2e;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.ech-tbl tr:last-child td[b-3bz6cqish4] {
    border-bottom: none;
}

.ech-tbl-row[b-3bz6cqish4] {
    cursor: pointer;
    transition: background .15s;
}

.ech-tbl-row:hover td[b-3bz6cqish4] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent);
}

.ech-tbl-row.selected td[b-3bz6cqish4] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 8%, transparent);
}

/* ── Loading / Empty ──────────────────────────────────────────────── */
.ech-doc-loading[b-3bz6cqish4] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ech-doc-skeleton[b-3bz6cqish4] {
    height: 36px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: echDocPulse-b-3bz6cqish4 1.5s ease-in-out infinite;
}

@keyframes echDocPulse-b-3bz6cqish4 {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

.ech-doc-empty[b-3bz6cqish4],
.ech-doc-empty-preview[b-3bz6cqish4] {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.ech-doc-empty p[b-3bz6cqish4],
.ech-doc-empty-preview p[b-3bz6cqish4] {
    font-size: .82rem;
    margin-top: .5rem;
}

/* LW+CL:11.11.26 (C92) thumbnail block at the top of the preview panel */
.ech-doc-thumb[b-3bz6cqish4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    width: 100%;
    height: 100px;
    margin-bottom: 1rem;
    border: 0;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
}

.ech-doc-thumb:hover[b-3bz6cqish4] { background: #e5e7eb; }
/* /Components/Pages/Echelon/Entities/EchelonEntities.razor.rz.scp.css */
.ech-entities-page[b-1eak68c5ng] {
    width: 100%;
}

/* ── Entity card grid ─────────────────────────────────────────────── */
.ech-entity-grid[b-1eak68c5ng] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ech-entity-card[b-1eak68c5ng] {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all .2s;
}

.ech-entity-card:hover[b-1eak68c5ng] {
    border-color: var(--ech-accent,#11C683);
    box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
}

.ech-entity-card.highlighted[b-1eak68c5ng] {
    border-color: var(--ech-accent,#11C683);
    background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent);
}

.ech-entity-card-name[b-1eak68c5ng] {
    font-size: .88rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: .25rem;
}

.ech-entity-card-meta[b-1eak68c5ng] {
    font-size: .72rem;
    color: #6b7280;
    margin-bottom: .35rem;
}

.ech-entity-card-badges[b-1eak68c5ng] {
    display: flex;
    gap: .3rem;
    flex-wrap: wrap;
}

/* ── Ownership structure card ─────────────────────────────────────── */
.ech-ownership-card[b-1eak68c5ng] {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    padding: 1.25rem;
    margin-top: 1rem;
}

.ech-ownership-header[b-1eak68c5ng] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .82rem;
    font-weight: 600;
    color: #1a1a2e;
}

.ech-ownership-list[b-1eak68c5ng] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ech-ownership-row[b-1eak68c5ng] {
    display: grid;
    grid-template-columns: 1fr auto 180px;
    gap: 1rem;
    align-items: center;
    padding: .5rem .75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.ech-ownership-name[b-1eak68c5ng] {
    font-size: .82rem;
    font-weight: 500;
    color: #1a1a2e;
}

.ech-ownership-type[b-1eak68c5ng] {
    font-size: .72rem;
    color: #6b7280;
    white-space: nowrap;
}

.ech-ownership-holding[b-1eak68c5ng] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.ech-ownership-bar-bg[b-1eak68c5ng] {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.ech-ownership-bar[b-1eak68c5ng] {
    height: 100%;
    background: var(--ech-accent,#11C683);
    border-radius: 3px;
    transition: width .3s ease;
}

.ech-ownership-pct[b-1eak68c5ng] {
    font-size: .75rem;
    font-weight: 600;
    color: var(--ech-accent,#11C683);
    white-space: nowrap;
    min-width: 40px;
    text-align: right;
}

.ech-ownership-footer[b-1eak68c5ng] {
    margin-top: 1rem;
    padding-top: .75rem;
    border-top: 1px solid #e5e7eb;
}

.ech-ownership-loading[b-1eak68c5ng],
.ech-ownership-empty[b-1eak68c5ng] {
    text-align: center;
    color: #9ca3af;
    padding: 1.5rem;
    font-size: .82rem;
}

/* ── Skeleton / Empty ─────────────────────────────────────────────── */
.ech-entity-skeleton[b-1eak68c5ng] {
    height: 80px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: echEntPulse-b-1eak68c5ng 1.5s ease-in-out infinite;
}

@keyframes echEntPulse-b-1eak68c5ng {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

.ech-entities-empty[b-1eak68c5ng] {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.ech-entities-empty p[b-1eak68c5ng] {
    font-size: .82rem;
    margin-top: .5rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ech-entity-grid[b-1eak68c5ng] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ech-entity-grid[b-1eak68c5ng] {
        grid-template-columns: 1fr;
    }

    .ech-ownership-row[b-1eak68c5ng] {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}
/* /Components/Pages/Echelon/Entities/EchelonEntityDetailModal.razor.rz.scp.css */
.ech-ent-detail[b-kaldhfozdm] {
    width: 640px;
    max-width: 96vw;
}

.ech-ent-detail-notice[b-kaldhfozdm] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: .6rem .75rem;
    font-size: .8rem;
    color: #92400e;
    margin-bottom: .75rem;
}

.ech-ent-detail-top[b-kaldhfozdm] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
}

.ech-ent-detail-status-line[b-kaldhfozdm] {
    font-size: .8rem;
    color: #6b7280;
    margin-bottom: .75rem;
}

.ech-ent-detail-row[b-kaldhfozdm] {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: .5rem;
    padding: .35rem 0;
    font-size: .82rem;
}

.ech-ent-detail-row > div:first-child[b-kaldhfozdm] {
    color: #9ca3af;
    font-weight: 500;
}

.ech-ent-detail-block[b-kaldhfozdm] {
    margin-top: 1rem;
}

.ech-ent-detail-label[b-kaldhfozdm] {
    font-size: .72rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .35rem;
}

.ech-ent-detail-item[b-kaldhfozdm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .3rem 0;
    font-size: .82rem;
}

.ech-ent-detail-muted[b-kaldhfozdm] {
    color: #9ca3af;
}

.ech-ent-detail-pct[b-kaldhfozdm] {
    font-weight: 600;
    white-space: nowrap;
}

.ech-ent-detail-none[b-kaldhfozdm],
.ech-ent-detail-empty[b-kaldhfozdm],
.ech-ent-detail-loading[b-kaldhfozdm] {
    color: #9ca3af;
    font-style: italic;
    font-size: .82rem;
}

.ech-ent-detail-doc[b-kaldhfozdm] {
    padding: .35rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.ech-ent-detail-doc:last-child[b-kaldhfozdm] {
    border-bottom: none;
}

.ech-ent-detail-actions[b-kaldhfozdm] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

@media (max-width: 480px) {
    .ech-ent-detail-row[b-kaldhfozdm] {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* /Components/Pages/Echelon/Messages/EchelonMessages.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════
   EchelonMessages — scoped styles matching POC msg-* classes
   ═══════════════════════════════════════════════════════════════════ */

.ech-messages-page[b-6hsqvwqbk4] {
    width: 100%;
}

/* ── Message list ─────────────────────────────────────────────────── */
.ech-msg-list[b-6hsqvwqbk4] {
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}

.ech-msg-item[b-6hsqvwqbk4] {
    display: flex;
    gap: .75rem;
    padding: .7rem .9rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s;
    align-items: flex-start;
}

.ech-msg-item:last-child[b-6hsqvwqbk4] {
    border-bottom: none;
}

.ech-msg-item:hover[b-6hsqvwqbk4] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent);
}

.ech-msg-item.selected[b-6hsqvwqbk4] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 8%, transparent);
    border-left: 3px solid var(--ech-accent,#11C683);
}

.ech-msg-item.unread[b-6hsqvwqbk4] {
    font-weight: 600;
}

.ech-msg-item.unread[b-6hsqvwqbk4]  .ech-msg-sender {
    font-weight: 700;
}

/* ── Avatar ───────────────────────────────────────────────────────── */
.ech-msg-avatar[b-6hsqvwqbk4] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

/* ── Content ──────────────────────────────────────────────────────── */
.ech-msg-content[b-6hsqvwqbk4] {
    flex: 1;
    min-width: 0;
}

.ech-msg-sender[b-6hsqvwqbk4] {
    font-size: .8rem;
    color: #1a1a2e;
    margin-bottom: .1rem;
}

.ech-msg-subject[b-6hsqvwqbk4] {
    font-size: .75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ech-msg-attach[b-6hsqvwqbk4] {
    color: #9ca3af;
    font-size: .7rem;
    margin-top: .15rem;
}

.ech-msg-date[b-6hsqvwqbk4] {
    font-size: .65rem;
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: .1rem;
    white-space: nowrap;
}

/* ── Message body in preview ──────────────────────────────────────── */
.ech-msg-body[b-6hsqvwqbk4] {
    font-size: .82rem;
    white-space: pre-line;
    line-height: 1.6;
    color: #1a1a2e;
}

/* ── Attachment pill ──────────────────────────────────────────────── */
.ech-attachment-pill[b-6hsqvwqbk4] {
    margin-top: .5rem;
    padding: .6rem;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    cursor: pointer;
    transition: background .15s;
}

.ech-attachment-pill:hover[b-6hsqvwqbk4] {
    background: #e5e7eb;
}

/* ── Empty states ─────────────────────────────────────────────────── */
.ech-msg-empty[b-6hsqvwqbk4] {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.ech-msg-empty p[b-6hsqvwqbk4] {
    font-size: .82rem;
    margin-top: .5rem;
}

.ech-msg-empty-preview[b-6hsqvwqbk4] {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 0;
}

.ech-msg-empty-preview p[b-6hsqvwqbk4] {
    font-size: .82rem;
    margin-top: .5rem;
}

/* ── Loading skeletons ────────────────────────────────────────────── */
.ech-msg-skeleton-avatar[b-6hsqvwqbk4] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    flex-shrink: 0;
    animation: echPulse-b-6hsqvwqbk4 1.5s ease-in-out infinite;
}

.ech-msg-skeleton-lines[b-6hsqvwqbk4] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding-top: .2rem;
}

.ech-msg-skeleton-line[b-6hsqvwqbk4] {
    height: 10px;
    border-radius: 4px;
    background: #e5e7eb;
    animation: echPulse-b-6hsqvwqbk4 1.5s ease-in-out infinite;
}

.ech-msg-skeleton-line.w60[b-6hsqvwqbk4] { width: 60%; }
.ech-msg-skeleton-line.w90[b-6hsqvwqbk4] { width: 90%; }

@keyframes echPulse-b-6hsqvwqbk4 {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

/* LW+CL:11.11.26 C63 the "Action Required" card under an Economic Substance questionnaire message */
.ech-msg-action-card[b-6hsqvwqbk4] {
    margin-top: 1.2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border: 1px solid #a7f3d0;
    border-radius: 8px;
}

.ech-msg-action-card-title[b-6hsqvwqbk4] {
    font-weight: 700;
    font-size: .85rem;
    color: #047857;
    margin-bottom: 6px;
}

.ech-msg-action-card-detail[b-6hsqvwqbk4] {
    font-size: .8rem;
    color: #065f46;
    margin-bottom: 10px;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ech-msg-list[b-6hsqvwqbk4] {
        max-height: 50vh;
    }
}
/* /Components/Pages/Echelon/Portfolio/EchelonPortfolio.razor.rz.scp.css */
.ech-portfolio-page[b-a4mctnk8d7] {
    width: 100%;
}

/* Hero shared styles live in echelon-pages.css (.ech-hero-banner*) */

/* LW+CL:11.11.26 (C97) YTD badge beside the value, same look as the Trust hero's */
.ech-portfolio-hero-change[b-a4mctnk8d7] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .85rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 20px;
}

.ech-portfolio-hero-change.up[b-a4mctnk8d7] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 15%, transparent);
    color: var(--ech-accent,#11C683);
}

.ech-portfolio-hero-change.down[b-a4mctnk8d7] {
    background: rgba(239,68,68,.15);
    color: #ef4444;
}

.ech-portfolio-footnote[b-a4mctnk8d7] {
    font-size: .72rem;
    color: #6b7280;
    margin: -.5rem 0 1rem;
}

/* ── Charts row ───────────────────────────────────────────────────── */
.ech-charts-row[b-a4mctnk8d7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ── Pie legend ───────────────────────────────────────────────────── */
.ech-pie-legend[b-a4mctnk8d7] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ech-pie-legend-item[b-a4mctnk8d7] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: #1a1a2e;
}

.ech-pie-legend-dot[b-a4mctnk8d7] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Bar chart ────────────────────────────────────────────────────── */
.ech-bar-chart[b-a4mctnk8d7] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 150px;
    padding-top: 10px;
}

.ech-bar-col[b-a4mctnk8d7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    min-width: 20px;
}

.ech-bar[b-a4mctnk8d7] {
    background: var(--ech-accent,#11C683);
    border-radius: 3px 3px 0 0;
    width: 100%;
    transition: height .5s;
    min-height: 4px;
}

.ech-bar:hover[b-a4mctnk8d7] {
    opacity: .85;
}

.ech-bar-label[b-a4mctnk8d7] {
    font-size: .6rem;
    color: #9ca3af;
    white-space: nowrap;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

.ech-bar-val[b-a4mctnk8d7] {
    font-size: .62rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 2px;
}

/* ── Filter bar ───────────────────────────────────────────────────── */
.ech-filter-bar[b-a4mctnk8d7] {
    display: flex;
    gap: .6rem;
    align-items: center;
    margin-bottom: 1rem;
}

.ech-filter-select[b-a4mctnk8d7] {
    padding: .4rem .6rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: .78rem;
    color: #1a1a2e;
    background: white;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

/* ── Table ────────────────────────────────────────────────────────── */
.ech-tbl[b-a4mctnk8d7] { width: 100%; border-collapse: collapse; }
.ech-tbl th[b-a4mctnk8d7] { background: #f8f9fb; padding: .55rem .9rem; text-align: left; font-size: .67rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.ech-tbl td[b-a4mctnk8d7] { padding: .6rem .9rem; font-size: .8rem; color: #1a1a2e; border-bottom: 1px solid #f3f4f6; }
.ech-tbl tr:last-child td[b-a4mctnk8d7] { border-bottom: none; }
.ech-tbl tr:hover td[b-a4mctnk8d7] { background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent); }

@keyframes echPulse-b-a4mctnk8d7 { 0%,100%{opacity:1} 50%{opacity:.4} }

@media (max-width: 1024px) {
    .ech-charts-row[b-a4mctnk8d7] {
        grid-template-columns: 1fr;
    }
}

/* /Components/Pages/Echelon/Profile/EchelonProfile.razor.rz.scp.css */
.ech-profile-page[b-dmetur5ec4] {
    max-width: 700px;
    margin: 0 auto;
}

.ech-profile-body[b-dmetur5ec4] {
    padding: 1.5rem;
}

.ech-profile-grid[b-dmetur5ec4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ech-profile-footer[b-dmetur5ec4] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.ech-profile-loading[b-dmetur5ec4] {
    text-align: center;
    color: #9ca3af;
    padding: 2rem;
    font-size: .85rem;
}

@media (max-width: 640px) {
    .ech-profile-grid[b-dmetur5ec4] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Echelon/Requests/EchelonPreRegApplicationPanel.razor.rz.scp.css */
.ech-prereg-document[b-5fy94cb8ip] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.ech-prereg-document-info[b-5fy94cb8ip] {
    min-width: 0;
    word-break: break-word;
}

.ech-prereg-timeline-entry[b-5fy94cb8ip] {
    padding: .35rem 0 .35rem 1rem;
    border-left: 2px solid color-mix(in srgb, var(--ech-accent,#11C683) 35%, transparent);
}

.ech-prereg-empty[b-5fy94cb8ip] {
    text-align: center;
    color: #9ca3af;
    padding: 1.25rem 1rem;
    font-size: .82rem;
}

.ech-prereg-meta[b-5fy94cb8ip] {
    font-size: .72rem;
    color: #6b7280;
}

.ech-prereg-stepper[b-5fy94cb8ip] {
    display: flex;
    align-items: flex-start;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ech-prereg-step[b-5fy94cb8ip] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}

.ech-prereg-step + .ech-prereg-step[b-5fy94cb8ip]::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #e5e7eb;
}

.ech-prereg-step.completed[b-5fy94cb8ip]::before,
.ech-prereg-step.active[b-5fy94cb8ip]::before {
    background: var(--ech-accent,#11C683);
}

.ech-prereg-step-circle[b-5fy94cb8ip] {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #6b7280;
}

.ech-prereg-step.completed .ech-prereg-step-circle[b-5fy94cb8ip] {
    background: var(--ech-accent,#11C683);
    color: #fff;
}

.ech-prereg-step.active .ech-prereg-step-circle[b-5fy94cb8ip] {
    background: var(--ech-accent,#11C683);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ech-accent,#11C683) 25%, transparent);
}

.ech-prereg-step-label[b-5fy94cb8ip] {
    margin-top: .3rem;
    font-size: .7rem;
    color: #6b7280;
    text-align: center;
}

.ech-prereg-step.active .ech-prereg-step-label[b-5fy94cb8ip] {
    color: #111827;
    font-weight: 600;
}

.ech-prereg-notice[b-5fy94cb8ip] {
    border: 1px solid #fcd34d;
    background: #fffbeb;
    border-radius: .5rem;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}

.ech-prereg-notice-title[b-5fy94cb8ip] {
    font-weight: 700;
    font-size: .85rem;
    color: #92400e;
}

.ech-prereg-notice-text[b-5fy94cb8ip] {
    margin: .35rem 0 .6rem;
    font-size: .85rem;
    color: #374151;
    white-space: pre-line;
    word-break: break-word;
}
/* /Components/Pages/Echelon/Requests/EchelonRequests.razor.rz.scp.css */
/* LW+CL:10.11.26 (A11): the Company Registered panel of a registered application. */
.ech-prereg-registered[b-qrl7fwxxgd] {
    margin-top: .5rem;
    padding: .6rem .8rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--ech-accent, #11C683) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--ech-accent, #11C683) 35%, transparent);
    font-size: .85rem;
}

.ech-prereg-registered-title[b-qrl7fwxxgd] {
    font-weight: 600;
}

/* LW+CL:10.11.26 (A9): the applications list's Grid Search box. */
.ech-card-header .ech-filter-search[b-qrl7fwxxgd] {
    margin-left: auto;
    padding: .35rem .6rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: .8rem;
    min-width: 0;
    width: 12rem;
}

.ech-requests-page[b-qrl7fwxxgd] {
    max-width: 800px;
    margin: 0 auto;
}

/* ── Request item (matches POC .request-item) ─────────────────────── */
.ech-req-item[b-qrl7fwxxgd] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s;
    cursor: pointer;
}

.ech-req-item:last-child[b-qrl7fwxxgd] {
    border-bottom: none;
}

.ech-req-item:hover[b-qrl7fwxxgd] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent);
}

.ech-req-item.selected[b-qrl7fwxxgd] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 6%, transparent);
    border-left: 3px solid var(--ech-accent,#11C683);
}

/* ── Inline detail panel ──────────────────────────────────────────── */
.ech-req-detail[b-qrl7fwxxgd] {
    padding: .75rem 1rem .75rem 3.25rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    animation: echReqSlide-b-qrl7fwxxgd .2s ease;
}

.ech-req-narrative[b-qrl7fwxxgd] {
    font-size: .82rem;
    white-space: pre-line;
    line-height: 1.6;
    color: #1a1a2e;
}

@keyframes echReqSlide-b-qrl7fwxxgd {
    from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
    to   { opacity: 1; max-height: 400px; }
}

.ech-req-icon[b-qrl7fwxxgd] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ech-req-info[b-qrl7fwxxgd] {
    flex: 1;
    min-width: 0;
}

.ech-req-title[b-qrl7fwxxgd] {
    font-size: .82rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ech-req-meta[b-qrl7fwxxgd] {
    font-size: .72rem;
    color: #6b7280;
}

/* ── Loading / Empty ──────────────────────────────────────────────── */
.ech-req-loading[b-qrl7fwxxgd] {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ech-req-skeleton[b-qrl7fwxxgd] {
    height: 52px;
    border-radius: 6px;
    background: #e5e7eb;
    animation: echReqPulse-b-qrl7fwxxgd 1.5s ease-in-out infinite;
}

@keyframes echReqPulse-b-qrl7fwxxgd {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

.ech-req-empty[b-qrl7fwxxgd] {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 1rem;
    font-size: .82rem;
}
/* /Components/Pages/Echelon/Services/EchelonESQuestionnaire.razor.rz.scp.css */
.ech-esq-modal[b-cc206zq6yb] {
    width: 780px;
    max-width: 95vw;
}

.ech-esq-header[b-cc206zq6yb] {
    background: linear-gradient(135deg, #059669, #0d9488);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.ech-esq-header .ech-modal-title[b-cc206zq6yb] { color: #fff; }

.ech-esq-subtitle[b-cc206zq6yb] {
    font-size: .8rem;
    opacity: .85;
    margin-top: 3px;
}

.ech-esq-body[b-cc206zq6yb] {
    max-height: 70vh;
    overflow-y: auto;
}

.ech-esq-intro[b-cc206zq6yb] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 1.25rem;
    font-size: .82rem;
    color: #166534;
    line-height: 1.5;
}

.ech-esq-readonly[b-cc206zq6yb] {
    background: #f8fafc;
}

.ech-esq-jurisdiction-info[b-cc206zq6yb] {
    font-size: .78rem;
    color: #0a3d62;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 9px 12px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ── Section ──────────────────────────────────────────────────────── */
.ech-esq-section[b-cc206zq6yb] {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.ech-esq-section:last-child[b-cc206zq6yb] {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ech-esq-section-title[b-cc206zq6yb] {
    font-weight: 700;
    font-size: .82rem;
    color: #0a3d62;
    margin-bottom: .75rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #059669;
    display: inline-block;
}

/* ── Hint text ────────────────────────────────────────────────────── */
.ech-esq-hint[b-cc206zq6yb] {
    font-size: .74rem;
    color: #64748b;
    margin-top: 5px;
    padding: 5px 10px;
    background: #f8fafc;
    border-left: 3px solid #0d9488;
    border-radius: 0 4px 4px 0;
    line-height: 1.45;
}

.ech-esq-field-hint[b-cc206zq6yb] {
    font-size: .72rem;
    color: #9ca3af;
    margin-top: 3px;
}

/* ── Foreign tax resident checkbox ───────────────────────────────── */
.ech-esq-check-row[b-cc206zq6yb] {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
    cursor: pointer;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: .5rem;
    transition: border-color .15s, background .15s;
}

.ech-esq-check-row:hover[b-cc206zq6yb] {
    border-color: #059669;
    background: #f0fdf4;
}

.ech-esq-check-row input[type="checkbox"][b-cc206zq6yb] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #059669;
}

/* ── Activity checkboxes ──────────────────────────────────────────── */
.ech-esq-activity-grid[b-cc206zq6yb] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
    margin-top: .25rem;
}

.ech-esq-activity-item[b-cc206zq6yb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 7px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: .8rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.ech-esq-activity-item:hover[b-cc206zq6yb],
.ech-esq-activity-item.selected[b-cc206zq6yb] {
    border-color: #059669;
    background: #f0fdf4;
}

.ech-esq-activity-item input[type="checkbox"][b-cc206zq6yb] {
    accent-color: #059669;
    flex-shrink: 0;
}

/* ── Narrow selects / number inputs ──────────────────────────────── */
.ech-esq-select-sm[b-cc206zq6yb] { max-width: 280px; }
.ech-esq-num[b-cc206zq6yb]       { max-width: 200px; }

/* ── Supporting documents ─────────────────────────────────────────── */
.ech-esq-optional[b-cc206zq6yb] {
    font-size: .72rem;
    font-weight: 400;
    color: #9ca3af;
    margin-left: .4rem;
}

.ech-esq-upload-zone[b-cc206zq6yb] {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 14px 16px;
    border: 1.5px dashed #d1d5db;
    border-radius: 6px;
    font-size: .8rem;
    color: #6b7280;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    margin-top: .5rem;
}

.ech-esq-upload-zone:hover[b-cc206zq6yb],
.ech-esq-upload-zone:focus-within[b-cc206zq6yb] {
    border-color: #059669;
    background: #f0fdf4;
    color: #059669;
}

.ech-esq-upload-zone--busy[b-cc206zq6yb] {
    opacity: .6;
    pointer-events: none;
}

.ech-esq-file-list[b-cc206zq6yb] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-top: .6rem;
}

.ech-esq-file-item[b-cc206zq6yb] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: 5px 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: .78rem;
    color: #374151;
}

.ech-esq-file-item span[b-cc206zq6yb] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ech-esq-file-remove[b-cc206zq6yb] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #9ca3af;
    padding: 0 2px;
    flex-shrink: 0;
    transition: color .1s;
}

.ech-esq-file-remove:hover[b-cc206zq6yb] { color: #dc2626; }

/* ── Declaration ──────────────────────────────────────────────────── */
.ech-esq-declaration[b-cc206zq6yb] {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .8rem;
    cursor: pointer;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    line-height: 1.5;
    transition: border-color .2s, background .2s;
}

.ech-esq-declaration:hover[b-cc206zq6yb] { border-color: #059669; }

.ech-esq-declaration input[type="checkbox"][b-cc206zq6yb] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #059669;
}

.ech-esq-declaration--pulse[b-cc206zq6yb] {
    border-color: #dc2626;
    background: #fef2f2;
    animation: esqPulse-b-cc206zq6yb .4s ease-in-out;
}

@keyframes esqPulse-b-cc206zq6yb {
    0%, 100% { transform: none; }
    25%       { transform: translateX(-3px); }
    75%       { transform: translateX(3px); }
}

/* ── Error ────────────────────────────────────────────────────────── */
.ech-esq-error[b-cc206zq6yb] {
    font-size: .78rem;
    color: #dc2626;
    padding: 6px 10px;
    background: #fef2f2;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .ech-esq-activity-grid[b-cc206zq6yb] { grid-template-columns: 1fr; }
    .ech-esq-select-sm[b-cc206zq6yb], .ech-esq-num[b-cc206zq6yb] { max-width: 100%; }
}

/* ── LW+CL:10.11.26 full questionnaire (parity rows C22 C24 C31 C33 C39 C40 C45 C48) ─────────────── */
.ech-esq-subpanel[b-cc206zq6yb] {
    margin-top: .75rem;
    padding: 12px 14px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 6px;
}

.ech-esq-guide[b-cc206zq6yb] {
    margin-top: .75rem;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: .74rem;
    line-height: 1.6;
    color: #475569;
}

.ech-esq-activity-desc[b-cc206zq6yb] {
    display: block;
    font-size: .7rem;
    color: #64748b;
    margin-top: 2px;
}

.ech-esq-empty[b-cc206zq6yb] {
    font-size: .78rem;
    font-style: italic;
    color: #9ca3af;
    margin-top: .5rem;
}

.ech-esq-examples[b-cc206zq6yb] {
    margin-top: .6rem;
    line-height: 1.55;
}

.ech-esq-required[b-cc206zq6yb] {
    color: #dc2626;
    margin-left: 2px;
}

.ech-esq-slot[b-cc206zq6yb] { margin-top: .15rem; }

.ech-esq-slot-file[b-cc206zq6yb] {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    color: #059669;
}

.ech-esq-slot-file span[b-cc206zq6yb] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ech-esq-replace[b-cc206zq6yb] {
    position: relative;
    display: inline-block;
    padding: 3px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: .74rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.ech-esq-replace:hover[b-cc206zq6yb],
.ech-esq-replace:focus-within[b-cc206zq6yb] {
    border-color: #059669;
    color: #059669;
}

.ech-esq-upload-icon[b-cc206zq6yb] { opacity: .45; flex-shrink: 0; }

/* The InputFile is a child component, so its input needs ::deep to take these. */
.ech-esq-upload-zone[b-cc206zq6yb]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ech-esq-replace[b-cc206zq6yb]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
}

/* LW+CL:10.11.26 C94 progress bar (POC q-progress) */
.ech-esq-progress[b-cc206zq6yb] { display: flex; gap: 4px; margin-bottom: 20px; }
.ech-esq-progress-step[b-cc206zq6yb] { flex: 1; height: 4px; border-radius: 2px; background: #e5e7eb; }
.ech-esq-progress-done[b-cc206zq6yb] { background: var(--ech-accent,#11C683); }
.ech-esq-progress-skipped[b-cc206zq6yb] { background: var(--ech-accent,#11C683); opacity: .4; }
.ech-esq-progress-active[b-cc206zq6yb] { background: #2563eb; }

/* LW+CL:11.11.26 C56: the draft indicator */
.ech-esq-draft-banner[b-cc206zq6yb] {
    margin-bottom: .75rem;
    padding: 8px 12px;
    font-size: .8rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
}
/* /Components/Pages/Echelon/Services/EchelonESStartModal.razor.rz.scp.css */
/* LW+CL:11.11.26 C54 C55 */
.ech-es-start-intro[b-ncj8ce4w7q] {
    font-size: .8rem;
    margin: 0 0 1rem;
}

.ech-es-start-error[b-ncj8ce4w7q] {
    color: #ef4444;
}
/* /Components/Pages/Echelon/Services/EchelonPreRegQuestionnaire.razor.rz.scp.css */
.ech-preg-modal[b-8c0gfwwtg6] {
    width: 780px;
    max-width: 95vw;
}

.ech-preg-header[b-8c0gfwwtg6] {
    background: linear-gradient(135deg, #0a3d62, #145374);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.ech-preg-header .ech-modal-title[b-8c0gfwwtg6] { color: #fff; }

.ech-preg-subtitle[b-8c0gfwwtg6] {
    font-size: .8rem;
    opacity: .85;
    margin-top: 3px;
}

.ech-preg-body[b-8c0gfwwtg6] {
    max-height: 70vh;
    overflow-y: auto;
}

.ech-preg-intro[b-8c0gfwwtg6] {
    background: #f0f7fb;
    border: 1px solid #bcdff0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 1.25rem;
    font-size: .82rem;
    color: #0a3d62;
    line-height: 1.5;
}

.ech-preg-error-banner[b-8c0gfwwtg6] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    font-size: .78rem;
    color: #c0392b;
}

.ech-preg-error-banner ul[b-8c0gfwwtg6] { margin: .4rem 0 0 1.1rem; padding: 0; }

.ech-preg-save-msg[b-8c0gfwwtg6] {
    background: #e8f5e9;
    color: #27ae60;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 1.25rem;
    font-size: .8rem;
}

.ech-preg-req[b-8c0gfwwtg6] { color: #e53e3e; margin-left: .1rem; }

/* ── Statutory reference beside a section title (row C42) ─────────── */
.ech-preg-ref[b-8c0gfwwtg6] {
    margin-left: .6rem;
    font-size: .72rem;
    font-weight: 600;
    color: #0d9488;
}

/* ── Review & Submit read-back (row C56) ──────────────────────────── */
.ech-preg-review[b-8c0gfwwtg6] {
    margin-top: .5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: .75rem 1rem;
    background: #fff;
}

.ech-preg-review-title[b-8c0gfwwtg6] {
    font-weight: 700;
    font-size: .9rem;
    color: #0a3d62;
    cursor: pointer;
    margin-bottom: .5rem;
}

.ech-preg-review-section[b-8c0gfwwtg6] {
    padding: .5rem 0;
    border-top: 1px solid #f3f4f6;
}

.ech-preg-review-head[b-8c0gfwwtg6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: .8rem;
    color: #0a3d62;
    margin-bottom: .25rem;
}

.ech-preg-review-edit[b-8c0gfwwtg6] {
    background: none;
    border: 0;
    padding: 0;
    color: #0d9488;
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
}

.ech-preg-review-line[b-8c0gfwwtg6] {
    display: flex;
    gap: .75rem;
    font-size: .78rem;
    line-height: 1.5;
}

.ech-preg-review-label[b-8c0gfwwtg6] { flex: 0 0 11rem; color: #64748b; }
.ech-preg-review-value[b-8c0gfwwtg6] { color: #111827; word-break: break-word; }
.ech-preg-review-value.missing[b-8c0gfwwtg6] { color: #9ca3af; font-style: italic; }

/* ── Section ──────────────────────────────────────────────────────── */
.ech-preg-section[b-8c0gfwwtg6] {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.ech-preg-section:last-child[b-8c0gfwwtg6] {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ech-preg-section-title[b-8c0gfwwtg6] {
    font-weight: 700;
    font-size: .82rem;
    color: #0a3d62;
    margin-bottom: .75rem;
    padding-bottom: 5px;
    border-bottom: 2px solid #0d9488;
    display: inline-block;
}

.ech-preg-subheading[b-8c0gfwwtg6] {
    font-weight: 600;
    font-size: .78rem;
    color: #374151;
    margin: 1rem 0 .5rem;
}

.ech-preg-hint[b-8c0gfwwtg6] {
    font-size: .74rem;
    color: #64748b;
    margin-bottom: .75rem;
    padding: 5px 10px;
    background: #f8fafc;
    border-left: 3px solid #0d9488;
    border-radius: 0 4px 4px 0;
    line-height: 1.45;
}

.ech-preg-field-hint[b-8c0gfwwtg6] {
    font-size: .72rem;
    color: #9ca3af;
    margin-top: 3px;
}

/* ── Two-up row layout ────────────────────────────────────────────── */
.ech-preg-row[b-8c0gfwwtg6] {
    display: flex;
    gap: .75rem;
}

.ech-preg-row > .ech-form-group[b-8c0gfwwtg6] { flex: 1; min-width: 0; }

.ech-preg-num[b-8c0gfwwtg6] { max-width: 220px; }

/* ── Radio groups ─────────────────────────────────────────────────── */
.ech-preg-radio-group[b-8c0gfwwtg6] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ech-preg-radio-option[b-8c0gfwwtg6] {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
    cursor: pointer;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color .15s, background .15s;
}

.ech-preg-radio-option:hover[b-8c0gfwwtg6],
.ech-preg-radio-option.selected[b-8c0gfwwtg6] {
    border-color: #0d9488;
    background: #f0fdfb;
}

.ech-preg-radio-option input[type="radio"][b-8c0gfwwtg6] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0d9488;
}

/* ── Upload zones ─────────────────────────────────────────────────── */
/* Upload-zone styling moved to EchelonDocumentUploadField.razor.css (shared component) — this
   page no longer renders its own upload zone markup. */

/* ── Repeating groups (share classes / subscribers / guarantors) ───── */
.ech-preg-repeat-card[b-8c0gfwwtg6] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: .9rem 1rem;
    margin-bottom: .75rem;
}

.ech-preg-repeat-header[b-8c0gfwwtg6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: .8rem;
    color: #0a3d62;
    margin-bottom: .6rem;
}

.ech-preg-remove-btn[b-8c0gfwwtg6] {
    background: none;
    border: none;
    color: #dc2626;
    font-size: .74rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
}

.ech-preg-remove-btn:hover[b-8c0gfwwtg6] { text-decoration: underline; }

.ech-preg-add-btn[b-8c0gfwwtg6] {
    background: #fff;
    border: 1.5px dashed #0d9488;
    color: #0d9488;
    border-radius: 6px;
    padding: .5rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
}

.ech-preg-add-btn:hover[b-8c0gfwwtg6] { background: #f0fdfb; }

.ech-preg-calc[b-8c0gfwwtg6] {
    font-size: .76rem;
    color: #374151;
    font-weight: 600;
    margin: -.3rem 0 .6rem;
}

@media (max-width: 600px) {
    .ech-preg-row[b-8c0gfwwtg6] { flex-direction: column; gap: 0; }
    .ech-preg-num[b-8c0gfwwtg6] { max-width: 100%; }
}

/* LW+CL:11.11.26 (C43, C69, C70): the required-fields line, the registered-agent helper bar, an empty repeating group. */
.ech-preg-required-line[b-8c0gfwwtg6] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 1.25rem;
    font-size: .82rem;
    color: #166534;
}

.ech-preg-agent-bar[b-8c0gfwwtg6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: #f0fdfa;
    border: 1px dashed #5eead4;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: .75rem;
    font-size: .82rem;
    color: #0f766e;
}

.ech-preg-agent-bar-text[b-8c0gfwwtg6] {
    flex: 1;
    min-width: 200px;
}

.ech-preg-empty[b-8c0gfwwtg6] {
    padding: 10px 12px;
    margin-bottom: .75rem;
    font-size: .8rem;
    color: #94a3b8;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}
/* /Components/Pages/Echelon/Services/EchelonRequestFiles.razor.rz.scp.css */
/* LW+CL:11.11.26 (parity C35) the supporting documents list on a service request */
.ech-req-files-hint[b-amcvqs3h31] {
    font-size: .8rem;
    color: #6b7280;
    margin-top: .25rem;
}

.ech-req-files-count[b-amcvqs3h31] {
    font-size: .8rem;
    font-weight: 600;
    color: #0a3d62;
    margin-top: .5rem;
}

.ech-req-files-row[b-amcvqs3h31] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .82rem;
    margin-top: .35rem;
}

.ech-req-files-problem[b-amcvqs3h31] {
    font-size: .8rem;
    color: #ef4444;
    margin-top: .35rem;
}
/* /Components/Pages/Echelon/Services/EchelonServices.razor.rz.scp.css */
.ech-services-page[b-b9px365d6e] {
    width: 100%;
}

.ech-services-intro[b-b9px365d6e] {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.ech-services-group-label[b-b9px365d6e] {
    font-size: .72rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .75rem;
}

/* ── Service cards ────────────────────────────────────────────────── */
.ech-service-grid[b-b9px365d6e] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ech-service-card[b-b9px365d6e] {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all .25s;
}

.ech-service-card:hover[b-b9px365d6e] {
    border-color: var(--ech-accent,#11C683);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.ech-service-icon[b-b9px365d6e] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}

.ech-service-title[b-b9px365d6e] {
    font-size: .88rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: .25rem;
}

.ech-service-desc[b-b9px365d6e] {
    font-size: .75rem;
    color: #6b7280;
    line-height: 1.4;
}

.ech-service-eta[b-b9px365d6e] {
    font-size: .68rem;
    color: #9ca3af;
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}

@media (max-width: 640px) {
    .ech-service-grid[b-b9px365d6e] {
        grid-template-columns: 1fr;
    }
}

/* ES card action state + pending badge */
.ech-service-card--action[b-b9px365d6e] {
    border-color: #059669;
    box-shadow: 0 0 0 1px rgba(5,150,105,.2);
}

.ech-service-badge[b-b9px365d6e] {
    display: inline-flex;
    align-items: center;
    background: #059669;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: .3px;
}

/* Questionnaire picker rows */
.ech-esq-picker-row[b-b9px365d6e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background .15s;
}

.ech-esq-picker-row:last-child[b-b9px365d6e] { border-bottom: none; }

.ech-esq-picker-row:hover[b-b9px365d6e] { background: #f0fdf4; }

.ech-services-unavailable[b-b9px365d6e] {
    border: 1px solid #fcd34d;
    background: #fffbeb;
    border-radius: .5rem;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    font-size: .85rem;
    color: #374151;
}

/* LW+CL:11.11.26 (parity C52, C73) the card form's error line, and the Trust & Planning card's icon */
.ech-services-error[b-b9px365d6e] {
    font-size: .8rem;
    color: #ef4444;
    margin-top: .5rem;
}

.ech-service-icon--trust[b-b9px365d6e] {
    background: rgba(13, 148, 136, .08);
    color: #0d9488;
}
/* /Components/Pages/Echelon/Shared/EchelonDocumentUploadField.razor.rz.scp.css */
.ech-doc-upload-zone[b-xuh8qbl7sr] {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 14px 16px;
    border: 1.5px dashed #d1d5db;
    border-radius: 6px;
    font-size: .8rem;
    color: #6b7280;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.ech-doc-upload-zone:hover[b-xuh8qbl7sr],
.ech-doc-upload-zone:focus-within[b-xuh8qbl7sr] {
    border-color: #0d9488;
    background: #f0fdfb;
    color: #0d9488;
}

.ech-doc-upload-zone--busy[b-xuh8qbl7sr] {
    opacity: .6;
    pointer-events: none;
}

.ech-doc-upload-req[b-xuh8qbl7sr] {
    color: #dc2626;
    margin-left: .2rem;
}

/* LW+CL:10.11.26 (Pre-Registration A15): 24px thumbnail of an attached image ID document */
.ech-doc-upload-thumb[b-xuh8qbl7sr] {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
}

.ech-doc-upload-actions[b-xuh8qbl7sr] {
    display: flex;
    gap: .5rem;
    margin-top: .4rem;
}
/* /Components/Pages/Echelon/Statements/EchelonStatements.razor.rz.scp.css */
.ech-statements-page[b-8wueaiemxh] {
    width: 100%;
}

.ech-tbl[b-8wueaiemxh] { width: 100%; border-collapse: collapse; }
.ech-tbl th[b-8wueaiemxh] { background: #f8f9fb; padding: .55rem .9rem; text-align: left; font-size: .67rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.ech-tbl td[b-8wueaiemxh] { padding: .6rem .9rem; font-size: .8rem; color: #1a1a2e; border-bottom: 1px solid #f3f4f6; }
.ech-tbl tr:last-child td[b-8wueaiemxh] { border-bottom: none; }
.ech-tbl tr:hover td[b-8wueaiemxh] { background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent); }

@keyframes echPulse-b-8wueaiemxh { 0%,100%{opacity:1} 50%{opacity:.4} }
/* /Components/Pages/Echelon/Trust/EchelonTrust.razor.rz.scp.css */
.ech-trust-page[b-7lpezh0v08] {
    width: 100%;
}

/* Hero shared styles live in echelon-pages.css (.ech-hero-banner*) */

.ech-trust-hero-change[b-7lpezh0v08] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .85rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 20px;
}

.ech-trust-hero-change.up[b-7lpezh0v08] {
    background: color-mix(in srgb, var(--ech-accent,#11C683) 15%, transparent);
    color: var(--ech-accent,#11C683);
}

.ech-trust-hero-change.down[b-7lpezh0v08] {
    background: rgba(239,68,68,.15);
    color: #ef4444;
}

.ech-trust-grid[b-7lpezh0v08] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.ech-tbl[b-7lpezh0v08] { width: 100%; border-collapse: collapse; }
.ech-tbl th[b-7lpezh0v08] { background: #f8f9fb; padding: .55rem .9rem; text-align: left; font-size: .67rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.ech-tbl td[b-7lpezh0v08] { padding: .6rem .9rem; font-size: .8rem; color: #1a1a2e; border-bottom: 1px solid #f3f4f6; }
.ech-tbl tr:last-child td[b-7lpezh0v08] { border-bottom: none; }
.ech-tbl tr:hover td[b-7lpezh0v08] { background: color-mix(in srgb, var(--ech-accent,#11C683) 4%, transparent); }

@media (max-width: 768px) {
    .ech-trust-grid[b-7lpezh0v08] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Entities/BankAccounts/BankAccountDetail.razor.rz.scp.css */
.signatories-grid-wrap[b-0w99c5hlo7] {
    height: 420px;
}

.group-mandate-note[b-0w99c5hlo7] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
    padding: 0.25rem 0;
}
/* /Components/Pages/Entities/BankAccounts/BankAccounts.razor.rz.scp.css */
[b-akkwpfr8nh] .my-tab {
	flex-grow: 1;
	flex-flow: column;
	height: 100%;
}

[b-akkwpfr8nh] .dxbl-tabs .dxbl-tabs-content-panel {
	flex-grow: 1;
	flex-flow: column;
	height: 97%;
}

.group-mandate-note[b-akkwpfr8nh] {
	color: var(--bs-secondary-color, #6c757d);
	font-size: 0.8rem;
	padding: 0.25rem 0.5rem;
}
/* /Components/Pages/Entities/BankAccounts/BankOnlineAdminEditor.razor.rz.scp.css */
.form-error[b-77vq0f7pg1] {
  color: var(--bs-danger, #dc3545);
}
/* /Components/Pages/Entities/CombinedPages/EntitiyDetails.razor.rz.scp.css */
/* Entity Details is a full PAGE that reuses class="editform-layout", which site.css styles for popup editors:
   `.editform-layout .razorpagemain { padding: 0 0 1.5rem 0 !important; overflow: hidden !important }`.
   With zero side padding the DevExpress form row (-4px gutters) overflows the body by 4px each side and the
   right-hand group is clipped by the hidden overflow (measured 06.09.26: row 1852px in an 1844px body, at
   1920 and 1366 wide). Give the gutters room. Scoped + !important so it wins over the popup rule. AM+CL:06.09.26 */
.razorpagemain[b-kobkcjv2on] {
    padding-left: 4px !important;
    padding-right: 4px !important;
}
/* /Components/Pages/Entities/CombinedPages/EntityCompliance.razor.rz.scp.css */
/* LW+CL 13.08.26 — the page-level provider tile bar. Visual language matches
   EntityServiceEnrolments.razor.css's teal accent (#3bb0a0) so this reads as the same
   "provider scope" concept on both screens, without literally sharing a stylesheet
   (CSS isolation scopes each .razor.css to its own component). */
.ecomp-tile-bar[b-kjqsnbsvlq] {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ecomp-tile[b-kjqsnbsvlq] {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 16px 8px;
	border-radius: 8px;
	background: #f7f9fc;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ecomp-tile:hover[b-kjqsnbsvlq] {
	border-color: #3bb0a0;
}

.ecomp-tile-active[b-kjqsnbsvlq] {
	background: #3bb0a0;
	border-color: #3bb0a0;
}

.ecomp-tile-kicker[b-kjqsnbsvlq] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.ecomp-tile-active .ecomp-tile-kicker[b-kjqsnbsvlq] {
	color: rgba(255, 255, 255, 0.75);
}

.ecomp-tile-name[b-kjqsnbsvlq] {
	font-size: 12px;
	font-weight: 700;
	color: #4a5568;
}

.ecomp-tile:hover .ecomp-tile-name[b-kjqsnbsvlq] {
	color: #1a1d2e;
}

.ecomp-tile-active .ecomp-tile-name[b-kjqsnbsvlq] {
	color: white;
}

.ecomp-tile-pill[b-kjqsnbsvlq] {
	align-self: flex-start;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 8px;
	border-radius: 10px;
	background: rgba(59, 176, 160, 0.10);
	color: #007a6b;
}

.ecomp-tile-active .ecomp-tile-pill[b-kjqsnbsvlq] {
	background: rgba(255, 255, 255, 0.22);
	color: white;
}

/* LW+CL 17.08.26 Jurisdiction-scoped compliance sharing addendum — distinct from the teal
   jurisdiction pill above (indigo, not the tile's own "provider scope" accent) so a shared
   record reads as a separate fact, not a second jurisdiction label. */
.ecomp-tile-shared[b-kjqsnbsvlq] {
	align-self: flex-start;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 8px;
	border-radius: 10px;
	background: rgba(99, 102, 241, 0.12);
	color: #4338ca;
}

.ecomp-tile-active .ecomp-tile-shared[b-kjqsnbsvlq] {
	background: rgba(255, 255, 255, 0.22);
	color: white;
}

/* A visible text label, matching every other fact on this tile bar (jurisdiction, Shared) —
   discoverable without hovering, including on touch. Only rendered for a provider with NO
   data yet — the common "has data" case stays unlabelled. */
.ecomp-tile-no-data[b-kjqsnbsvlq] {
	align-self: flex-start;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 600;
	padding: 1px 8px;
	border-radius: 10px;
	background: rgba(148, 163, 184, 0.18);
	color: #64748b;
}

.ecomp-tile-active .ecomp-tile-no-data[b-kjqsnbsvlq] {
	background: rgba(255, 255, 255, 0.22);
	color: white;
}
/* /Components/Pages/Entities/Compliance/ChangeRiskRatingModal.razor.rz.scp.css */
/* ChangeRiskRatingModal — Brett POC §3 Stage-1 capture (LW+CL 28.04.26) */

.risk-card-row[b-bonr43vr13] {
    display: grid;
    /* One row for any number of ratings, most severe first (LW+CL:02.10.26 HD #1305). */
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
}

.risk-card[b-bonr43vr13] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.risk-card--current[b-bonr43vr13] {
    border-color: #0a3d62;
    box-shadow: inset 0 0 0 1px #0a3d62;
}

.risk-card--current.risk-card--selected[b-bonr43vr13] {
    border-color: #00a896;
    box-shadow: inset 0 0 0 2px #00a896;
}

.risk-card__current-badge[b-bonr43vr13] {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0a3d62;
    background: rgba(10, 61, 98, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
    line-height: 1.4;
}

.risk-card:hover[b-bonr43vr13] {
    border-color: #0a3d62;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.risk-card--selected[b-bonr43vr13] {
    border-color: #00a896;
    background: rgba(0, 168, 150, 0.06);
    box-shadow: inset 0 0 0 1px #00a896;
}

.risk-card__dot[b-bonr43vr13] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9ca3af;
}


.risk-card__label[b-bonr43vr13] {
    font-size: 13px;
    font-weight: 600;
    color: #1a1d2e;
    text-align: center;
    overflow-wrap: anywhere; /* "Medium-High" may wrap in a five-card row */
}

/* LW+CL:06.11.26 what the firm says the rating means for monitoring (Settings, CRM, Rating Impacts). */
.risk-card__note[b-bonr43vr13] {
    font-size: 11px;
    color: #5b6b66;
    text-align: center;
    overflow-wrap: anywhere;
}

.crrm-actions[b-bonr43vr13] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

/* LW+CL:05.11.26 lifecycle routing: which route the change will take, under the buttons' row. */
.crrm-route[b-bonr43vr13] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    text-align: right;
}

.crrm-loading[b-bonr43vr13] {
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.crrm-existing-case p[b-bonr43vr13] {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1d2e;
}

[b-bonr43vr13] .validation-errors {
    font-size: 12px;
    margin-top: 8px;
    padding-left: 20px;
}

[b-bonr43vr13] .validation-errors li {
    color: #dc2626;
}

/* LW+CL:09.11.26 POC "Current rating ... Reviewed <date> by <person>" line */
.crrm-reviewed[b-bonr43vr13] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #64748b;
}

/* LW+CL:10.11.26 POC "Changed By / Date / Service Provider": read-only context lines above the form. */
.crrm-context[b-bonr43vr13] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 2px 12px;
    font-size: 12px;
}

.crrm-context-lbl[b-bonr43vr13] {
    color: #64748b;
    font-weight: 600;
}

/* LW+CL:11.11.26 Entity Dashboard C50: the licensed-Governance banner (the POC amber note). */
.crrm-governance[b-bonr43vr13] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    font-size: 12px;
    color: #4a5568;
    background: #fdf3e0;
    border: 1px solid rgba(201, 124, 0, .2);
    border-radius: 6px;
}

.crrm-governance-icon[b-bonr43vr13] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #c97c00;
}
/* /Components/Pages/Entities/Compliance/ComplianceDocuments.razor.rz.scp.css */
/* LW+CL:11.11.26 (Entity Dashboard parity C38) an expired document's whole row is red (class set in OnCustomizeRow). */
[b-fakq85hjqk] tr.doc-expired-row > td { background: rgba(217, 48, 37, 0.08); color: #d93025; }
/* /Components/Pages/Entities/Compliance/EntityRisk.razor.rz.scp.css */
/* Risk badge colours — moved from inline <style> in EntityRisk.razor (LW+CL 28.04.26) */
.high[b-8qy4ubj0o0] {
    background-color: red !important;
    color: white !important;
}

.medium[b-8qy4ubj0o0] {
    background-color: orange !important;
    color: black !important;
}

.low[b-8qy4ubj0o0] {
    background-color: green !important;
    color: white !important;
}

/* LW+CL:02.10.26 HD #1305 — the risk picker's colour is dbo.tbl_Risk.Colour, passed in as CSS
   variables on the wrapper (RiskColourVars), so a new rating needs no CSS. .high/.medium/.low
   above remain for the review-deadline colouring only. */
.risk-colour-scope[b-8qy4ubj0o0] {
    display: contents;
}

.risk-colour-scope[b-8qy4ubj0o0]  .risk-coloured {
    background-color: var(--risk-colour, transparent) !important;
    color: var(--risk-text, inherit) !important;
}

/* KPI strip — 3 tiles above the Compliance Details form
   Ports the header KPIs from Brett's POC §3 (features/entity-dashboard/HANDOVER.md). */
.kpi-strip[b-8qy4ubj0o0] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 4px 0 16px 0;
}

.kpi-tile[b-8qy4ubj0o0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border-left: 3px solid #0a3d62;
}

.kpi-tile--clickable[b-8qy4ubj0o0] {
    cursor: pointer;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.kpi-tile--clickable:hover[b-8qy4ubj0o0] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.kpi-tile--clickable:focus-visible[b-8qy4ubj0o0] {
    outline: 2px solid #1a4b8c;
    outline-offset: 2px;
}

.kpi-tile__label[b-8qy4ubj0o0] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.kpi-tile__value-row[b-8qy4ubj0o0] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kpi-tile__value[b-8qy4ubj0o0] {
    font-size: 18px;
    font-weight: 600;
    color: #0a3d62;
}

.kpi-tile__sub[b-8qy4ubj0o0] {
    font-size: 12px;
    color: #6b7280;
}

.kpi-tile__sub--warn[b-8qy4ubj0o0] {
    color: #b45309;
}

.kpi-dot[b-8qy4ubj0o0] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #9ca3af;
}

.kpi-dot--high[b-8qy4ubj0o0] { background: #dc2626; }
.kpi-dot--medium[b-8qy4ubj0o0] { background: #f59e0b; }
.kpi-dot--low[b-8qy4ubj0o0] { background: #16a34a; }
.kpi-dot--good[b-8qy4ubj0o0] { background: #16a34a; }
.kpi-dot--neutral[b-8qy4ubj0o0] { background: #9ca3af; }

/* Screening providers — SumSub + slot for additional providers */
.screening-row[b-8qy4ubj0o0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .screening-row[b-8qy4ubj0o0] {
        grid-template-columns: 1fr;
    }
}

.provider-slot[b-8qy4ubj0o0] {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #6b7280;
}

.provider-slot__title[b-8qy4ubj0o0] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.provider-slot__list[b-8qy4ubj0o0] {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

/* Compliance-detail panel — Brett POC §3 cd-section structure. Two-column
   panel with Risk on the left and Compliance Review + AML stacked on the
   right. Replaces the previous DxFormLayout/DxFormLayoutGroup nesting.
   (LW+CL 28.04.26) */
.cd-panel[b-8qy4ubj0o0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .cd-panel[b-8qy4ubj0o0] {
        grid-template-columns: 1fr;
    }
}

.cd-col-right[b-8qy4ubj0o0] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cd-col-left[b-8qy4ubj0o0] {
    min-width: 0;
}

.cd-section[b-8qy4ubj0o0] {
    padding: 12px 14px;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background 150ms ease, border-color 150ms ease;
}

.cd-section.section-editing[b-8qy4ubj0o0] {
    background: rgba(0, 168, 150, 0.04);
    border-color: rgba(0, 168, 150, 0.18);
}

.cd-section-hdr[b-8qy4ubj0o0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.cd-section-hdr h3[b-8qy4ubj0o0] {
    font-size: 12px;
    font-weight: 700;
    color: #0a3d62;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.cd-section-actions[b-8qy4ubj0o0] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cd-act-btn[b-8qy4ubj0o0] {
    background: transparent;
    border: 1px solid #d1dce8;
    color: #4a5568;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 150ms ease;
}

.cd-act-btn:hover[b-8qy4ubj0o0] {
    background: #f7f9fc;
    color: #1a1d2e;
    border-color: #0a3d62;
}

.cd-act-btn.primary[b-8qy4ubj0o0] {
    background: #00a896;
    border-color: #00a896;
    color: #fff;
}

.cd-act-btn.primary:hover[b-8qy4ubj0o0] {
    background: #00a896;
    filter: brightness(1.08);
}

.cd-rows[b-8qy4ubj0o0] {
    display: flex;
    flex-direction: column;
}

/* LW+CL 13.08.26 — replaces a section's field grid when the selected provider tile has no
   record of its own, rather than silently showing the inherited Entity-level record's values
   as if they belonged to that provider. */
.cd-detail-empty[b-8qy4ubj0o0] {
    padding: 5px 8px;
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

.cd-validation[b-8qy4ubj0o0] {
    margin-top: 12px;
}

/* Compliance-detail row — Brett POC inner-row markup. CSS grid gives a fixed
   label vs value proportion regardless of caption length. Brett's POC uses
   42% for the label column. (LW+CL 28.04.26) */
.cd-row[b-8qy4ubj0o0] {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 12px;
    padding: 5px 8px;
    align-items: center;
    min-height: 28px;
    position: relative;
    border-radius: 6px;
    transition: background 150ms ease, box-shadow 150ms ease;
}

.cd-row.row-editing[b-8qy4ubj0o0] {
    background: rgba(0, 168, 150, 0.06);
    box-shadow: inset 2px 0 0 rgba(0, 168, 150, 0.5);
}

.cd-label[b-8qy4ubj0o0] {
    font-size: 12px;
    color: #94a3b8;
}

.cd-value[b-8qy4ubj0o0] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cd-text[b-8qy4ubj0o0] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    color: #111827;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.cd-text--muted[b-8qy4ubj0o0] {
    color: #9ca3af;
    font-style: italic;
}

.cd-pencil[b-8qy4ubj0o0] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 12px;
    padding: 0 4px;
    margin-left: 4px;
    opacity: 0;
    transition: opacity 150ms ease, color 150ms ease;
    flex-shrink: 0;
}

.cd-row:hover .cd-pencil[b-8qy4ubj0o0] {
    opacity: 1;
}

.cd-pencil:hover[b-8qy4ubj0o0] {
    color: #0a3d62;
}

.cd-pencil:focus-visible[b-8qy4ubj0o0] {
    opacity: 1;
    outline: 2px solid #1a4b8c;
    outline-offset: 2px;
}

/* Hide pencil while the section is in edit mode — Brett POC §3. The inline
   editors replace the read-only spans, so the row-level pencil would just
   sit there clutter. */
.cd-section.section-editing .cd-pencil[b-8qy4ubj0o0] {
    display: none;
}

/* Action-button row inside Compliance Review (Start New / View / Revert) */
.cd-actions-row[b-8qy4ubj0o0] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 8px 0 0 0;
}

/* LW+CL:09.09.26 DevOps #158 — post-save provenance note on the ungoverned save paths.
   Deliberately quiet: this is information, not a warning. An ad hoc save is a legitimate,
   supported action, so it gets a neutral slate note rather than amber/red, which would read
   as "you did something wrong". */
.cd-ungoverned-note[b-8qy4ubj0o0] {
    margin: 8px 0 0 0;
    padding: 6px 10px;
    border-left: 3px solid #94a3b8;
    background: rgba(148, 163, 184, 0.10);
    border-radius: 3px;
    font-size: 12px;
    color: #64748b;
}

/* LW+CL:11.11.26 POC "Review cycle progress" bar */
.risk-cycle-head[b-8qy4ubj0o0] {
	font-size: 11px;
	color: #64748b;
	margin-bottom: 4px;
}

.risk-cycle-track[b-8qy4ubj0o0] {
	height: 7px;
	background: #e2e8f0;
	border-radius: 4px;
	overflow: hidden;
	max-width: 260px;
}

.risk-cycle-fill[b-8qy4ubj0o0] {
	height: 100%;
	border-radius: 4px;
	background: #1a8a3a;
}

.risk-cycle-soon[b-8qy4ubj0o0] { background: #c97c00; }
.risk-cycle-overdue[b-8qy4ubj0o0] { background: #d93025; }
/* /Components/Pages/Entities/Compliance/StartComplianceReviewModal.razor.rz.scp.css */
/* StartComplianceReviewModal — mirrors ChangeRiskRatingModal.razor.css's .risk-card,
   adjusted for a label + description sentence instead of a single short word.
   Fixes #606: this file was missing entirely, so .risk-card had no styling at all —
   the three review-type options rendered as unstyled buttons with no padding/spacing,
   causing their wrapped description text to run together. (LW+CL 14.08.26) */

.risk-card-row[b-3e4pys1m81] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.risk-card[b-3e4pys1m81] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e3e6eb;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.risk-card:hover[b-3e4pys1m81] {
    border-color: #0a3d62;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.risk-card--selected[b-3e4pys1m81] {
    border-color: #00a896;
    background: rgba(0, 168, 150, 0.06);
    box-shadow: inset 0 0 0 1px #00a896;
}

.risk-card__label[b-3e4pys1m81] {
    font-size: 13px;
    font-weight: 600;
    color: #1a1d2e;
}

.risk-card__desc[b-3e4pys1m81] {
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.crrm-actions[b-3e4pys1m81] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

/* LW+CL:05.11.26 lifecycle routing: which route the review will take, under the buttons' row. */
.crrm-route[b-3e4pys1m81] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    text-align: right;
}

/* LW+CL:11.11.26 C91 header strip and C26 stage strip. */
.scr-header[b-3e4pys1m81] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    padding: 10px 12px;
    border: 1px solid #e3e6eb;
    border-radius: 6px;
    background: #f7f8fa;
}

.scr-header__cell[b-3e4pys1m81] {
    display: flex;
    flex-direction: column;
}

.scr-header__label[b-3e4pys1m81] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.scr-header__value[b-3e4pys1m81] {
    font-size: 13px;
    font-weight: 600;
    color: #1a1d2e;
}

.scr-stages[b-3e4pys1m81] {
    display: flex;
    gap: 3px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.scr-stage[b-3e4pys1m81] {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
    border: 1px solid #e3e6eb;
    border-radius: 4px;
    background: #f7f8fa;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.scr-stage--current[b-3e4pys1m81] {
    border-color: #00a896;
    background: #00a896;
    color: #fff;
}

.scr-carry[b-3e4pys1m81] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Pages/Entities/Compliance/SumSubAML.razor.rz.scp.css */
.sumsub-connected-badge[b-qfo1ckxvmd] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid rgba(30, 126, 52, .25);
}

.sumsub-just-now[b-qfo1ckxvmd] {
    font-size: .8rem;
    font-weight: 600;
    color: #1e7e34;
    white-space: nowrap;
}
/* /Components/Pages/Entities/Dashboard/Blocks/AlertsDrawer.razor.rz.scp.css */
.ad-kpis[b-2ni4o0qo9k] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ad-kpi[b-2ni4o0qo9k] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.ad-kpi-label[b-2ni4o0qo9k] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.ad-kpi-val[b-2ni4o0qo9k] {
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.01em;
}

.ad-table[b-2ni4o0qo9k] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ad-table thead th[b-2ni4o0qo9k] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
    white-space: nowrap;
}

.ad-table tbody td[b-2ni4o0qo9k] {
    padding: 7px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.ad-table tbody tr:last-child td[b-2ni4o0qo9k] {
    border-bottom: none;
}

.ad-wrap[b-2ni4o0qo9k] {
    white-space: normal;
    color: #1a1d2e;
    line-height: 1.4;
}

.ad-badge[b-2ni4o0qo9k] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ad-empty[b-2ni4o0qo9k] {
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}
/* /Components/Pages/Entities/Dashboard/Blocks/AlertSummaryBlock.razor.rz.scp.css */
/* The severity tiles are real buttons (they open the Alerts drawer), so reset the button look and keep the .dash-kpi tile styling from site.css. */
.alert-tile[b-x6i3suqaos] {
    display: block;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
}

.alert-tile:focus-visible[b-x6i3suqaos] {
    outline: 2px solid #0a3d62;
    outline-offset: 2px;
}

.alert-tile-sub[b-x6i3suqaos] {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Entities/Dashboard/Blocks/AssetsBlock.razor.rz.scp.css */
.ab-aum[b-kij7sjfe53] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 15px 8px;
    border-bottom: 1px solid #e2e8f0;
}

.ab-aum-label[b-kij7sjfe53] {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.ab-aum-value[b-kij7sjfe53] {
    font-size: 20px;
    font-weight: 800;
    color: #1a1d2e;
    letter-spacing: -0.02em;
}

.ab-alloc[b-kij7sjfe53] {
    padding: 8px 15px 6px;
}

.ab-row[b-kij7sjfe53] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    margin: 0 -6px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.1s;
}

.ab-row:hover[b-kij7sjfe53] {
    background: #f1f5f9;
}

.ab-label[b-kij7sjfe53] {
    font-size: 11px;
    color: #475569;
    white-space: nowrap;
    min-width: 130px;
}

.ab-track[b-kij7sjfe53] {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    min-width: 30px;
}

.ab-fill[b-kij7sjfe53] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.ab-blue[b-kij7sjfe53]   { background: #3b82f6; }
.ab-purple[b-kij7sjfe53] { background: #8b5cf6; }
.ab-teal[b-kij7sjfe53]   { background: #14b8a6; }
.ab-amber[b-kij7sjfe53]  { background: #f59e0b; }

.ab-val[b-kij7sjfe53] {
    font-size: 11px;
    font-weight: 600;
    color: #1a1d2e;
    min-width: 68px;
    text-align: right;
    white-space: nowrap;
}

.ab-attention[b-kij7sjfe53] {
    border-top: 1px dashed #e2e8f0;
    padding: 8px 15px 6px;
}

.ab-attn-hdr[b-kij7sjfe53] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

.ab-attn-row[b-kij7sjfe53] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    font-size: 11px;
    color: #c97c00;
    cursor: pointer;
}

.ab-attn-row:hover[b-kij7sjfe53] {
    text-decoration: underline;
}

.ab-attn-icon[b-kij7sjfe53] {
    font-size: 13px;
    flex-shrink: 0;
}
/* /Components/Pages/Entities/Dashboard/Blocks/ComplianceBlock.razor.rz.scp.css */
.cr-head[b-ami3x83iai] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 15px 6px;
}

.cr-head-text[b-ami3x83iai] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cr-risk-band[b-ami3x83iai] {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.cr-risk-sub[b-ami3x83iai] {
    font-size: 11px;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cr-rows[b-ami3x83iai] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 18px;
    padding: 8px 15px 10px;
    margin-top: 2px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
}

.cr-row[b-ami3x83iai] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    font-size: 11px;
    border-bottom: 1px solid #eef2f6;
}

.cr-row:last-child[b-ami3x83iai],
.cr-row:nth-last-child(2)[b-ami3x83iai] {
    border-bottom: none;
}

.cr-key[b-ami3x83iai] {
    color: #64748b;
    white-space: nowrap;
}

.cr-val[b-ami3x83iai] {
    color: #1a1d2e;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* LW+CL:11.11.26 C24: CDD / ID / PEP chips, each from a real compliance check row */
.cr-chips[b-ami3x83iai] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 15px 4px;
    border-top: 1px solid #e2e8f0;
}

.cr-chip[b-ami3x83iai] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid;
}

.cr-chip-dot[b-ami3x83iai] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.cr-chip-ok[b-ami3x83iai] {
    background: #e6f4ea;
    border-color: rgba(26, 138, 58, 0.2);
    color: #1a8a3a;
}

.cr-chip-warn[b-ami3x83iai] {
    background: #fdf0d5;
    border-color: rgba(201, 124, 0, 0.2);
    color: #c97c00;
}

.cr-chip-bad[b-ami3x83iai] {
    background: #fde7e6;
    border-color: rgba(217, 48, 37, 0.2);
    color: #d93025;
}

.cr-chip-none[b-ami3x83iai] {
    background: #f1f5f9;
    border-color: rgba(100, 116, 139, 0.2);
    color: #64748b;
}
/* /Components/Pages/Entities/Dashboard/Blocks/ComplianceDetailDrawer.razor.rz.scp.css */
.cd-kpis[b-75exyd3asy] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.cd-kpi[b-75exyd3asy] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.cd-kpi-label[b-75exyd3asy] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.cd-kpi-val[b-75exyd3asy] {
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.01em;
}

.cd-kpi-muted[b-75exyd3asy] {
    color: #94a3b8;
}

.cd-section[b-75exyd3asy] {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 18px 0 8px;
}

.cd-table[b-75exyd3asy] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.cd-table td[b-75exyd3asy] {
    padding: 7px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.cd-table tr:last-child td[b-75exyd3asy] {
    border-bottom: none;
}

.cd-table .cd-k[b-75exyd3asy] {
    width: 40%;
    color: #64748b;
}

.cd-badge[b-75exyd3asy] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.cd-stub[b-75exyd3asy] {
    padding: 18px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* LW+CL:11.11.26 C08: Evidence and Flags table */
.cd-checks th[b-75exyd3asy] {
    padding: 6px 10px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.cd-checks .cd-k[b-75exyd3asy] {
    width: auto;
    color: #1a1d2e;
    font-weight: 600;
}

.cd-checks .cd-act[b-75exyd3asy] {
    width: 32px;
    text-align: right;
}

.cd-edit[b-75exyd3asy] {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    padding: 2px 4px;
}

.cd-edit:hover[b-75exyd3asy] {
    color: #1a1d2e;
}

.cd-muted[b-75exyd3asy] {
    color: #94a3b8;
}

.cd-checks .cd-note-row td[b-75exyd3asy] {
    padding: 0 10px 8px;
    color: #64748b;
    font-size: 11px;
    white-space: pre-wrap;
}
/* /Components/Pages/Entities/Dashboard/Blocks/CustomFieldsBlock.razor.rz.scp.css */
/* LW+CL:02.07.26 #421 — style the key/value list to match WS dashboard tile conventions */
.dash-kv-list[b-mfr9r4vwsl] {
    margin: 0;
    padding: 0;
}

.dash-kv-list dt[b-mfr9r4vwsl] {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 2px;
    line-height: 1.2;
}

.dash-kv-list dt:first-of-type[b-mfr9r4vwsl] {
    margin-top: 0;
}

.dash-kv-list dd[b-mfr9r4vwsl] {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: #212529;
    line-height: 1.3;
    word-break: break-word;
}
/* /Components/Pages/Entities/Dashboard/Blocks/DocumentsBlock.razor.rz.scp.css */
/* Styles in site.css — card-footer-bar, card-footer-link */
/* /Components/Pages/Entities/Dashboard/Blocks/EchelonInboxDrawer.razor.rz.scp.css */
.eb-kpis[b-k3yhvz5cz8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.eb-kpi[b-k3yhvz5cz8] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.eb-kpi-label[b-k3yhvz5cz8] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.eb-kpi-val[b-k3yhvz5cz8] {
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.01em;
}

.eb-table[b-k3yhvz5cz8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.eb-table thead th[b-k3yhvz5cz8] {
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
    white-space: nowrap;
}

.eb-table tbody td[b-k3yhvz5cz8] {
    padding: 7px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    color: #1a1d2e;
}

.eb-table tbody tr:last-child td[b-k3yhvz5cz8] {
    border-bottom: none;
}

.eb-wrap[b-k3yhvz5cz8] {
    white-space: normal;
    line-height: 1.4;
}

.eb-preview[b-k3yhvz5cz8] {
    color: #64748b;
    max-width: 380px;
}

.eb-badge[b-k3yhvz5cz8] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.eb-badge-unread[b-k3yhvz5cz8] {
    background: #e0f7f3;
    color: #0a8a80;
}

.eb-badge-read[b-k3yhvz5cz8] {
    background: #f1f5f9;
    color: #64748b;
}

.eb-empty[b-k3yhvz5cz8] {
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}
/* /Components/Pages/Entities/Dashboard/Blocks/EngagementNotesBlock.razor.rz.scp.css */
/* Styles in site.css — card-footer-bar, card-footer-link */
/* /Components/Pages/Entities/Dashboard/Blocks/KeyDatesBlock.razor.rz.scp.css */
/* Styles in site.css — card-footer-bar, card-footer-link */
/* /Components/Pages/Entities/Dashboard/Blocks/NotesBlock.razor.rz.scp.css */
.nb-body[b-p88vmdiax9] {
    overflow: hidden;
}

.nb-list[b-p88vmdiax9] {
    padding: 6px 12px 10px;
    overflow-y: auto;
}

.nb-note[b-p88vmdiax9] {
    padding: 6px 0;
    border-bottom: 1px solid #eef2f6;
    cursor: pointer;
}

.nb-note-readonly[b-p88vmdiax9] {
    cursor: default;
}

.nb-note:last-child[b-p88vmdiax9] {
    border-bottom: none;
}

.nb-note:hover[b-p88vmdiax9] {
    background: #f8fafc;
}

.nb-note-hdr[b-p88vmdiax9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.nb-note-type[b-p88vmdiax9] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0a3d62;
}

.nb-note-date[b-p88vmdiax9] {
    font-size: 10px;
    color: #64748b;
    margin-left: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nb-note-text[b-p88vmdiax9] {
    font-size: 11px;
    color: #334155;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nb-unread-dot[b-p88vmdiax9] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0a8a80;
    margin-left: 6px;
    vertical-align: middle;
}

.nb-empty[b-p88vmdiax9],
.nb-stub[b-p88vmdiax9] {
    padding: 20px 16px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    margin: 12px;
    line-height: 1.5;
}

.nb-note-sender[b-p88vmdiax9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* /Components/Pages/Entities/Dashboard/Blocks/NotesSenderAvatar.razor.rz.scp.css */
.nb-avatar[b-xerjjuzlk6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e0f4f2;
    color: #0a8a80;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
}
/* /Components/Pages/Entities/Dashboard/Blocks/RelationshipsBlock.razor.rz.scp.css */
/* Styles in site.css — card-footer-bar, card-footer-link */
/* /Components/Pages/Entities/Dashboard/Blocks/TaskSummaryBlock.razor.rz.scp.css */
/* Styles in site.css — card-footer-bar, card-footer-link */
/* /Components/Pages/Entities/Dashboard/Blocks/UBODashboardBlock.razor.rz.scp.css */
[b-7a932bddl0] .dash-kpi-label {
    white-space: nowrap;
}

.ubo-tile-error[b-7a932bddl0] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: rgba(201, 124, 0, 0.09);
    border: 1px solid rgba(201, 124, 0, 0.25);
    border-radius: 8px;
}

.ubo-tile-error-icon[b-7a932bddl0] {
    color: #c97c00;
    font-size: 18px;
    line-height: 1.2;
    flex-shrink: 0;
}

.ubo-tile-error-title[b-7a932bddl0] {
    font-weight: 700;
    color: #8a5a00;
    margin-bottom: 2px;
}

.ubo-tile-error-msg[b-7a932bddl0] {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
}
/* /Components/Pages/Entities/Dashboard/Blocks/UboOwnerBars.razor.rz.scp.css */
.ubo-owners[b-1z66ixyam2] {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ubo-owner[b-1z66ixyam2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 12px;
}

.ubo-owner-name[b-1z66ixyam2] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ubo-owner-bar[b-1z66ixyam2] {
    width: 70px;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ubo-owner-fill[b-1z66ixyam2] {
    height: 100%;
    border-radius: 3px;
    background: #00a896;
}

.ubo-owner-pct[b-1z66ixyam2] {
    width: 52px;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.ubo-owner-total[b-1z66ixyam2] {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 2px;
    padding-top: 5px;
    font-weight: 700;
}
/* /Components/Pages/Entities/Dashboard/EntityDashboard.razor.rz.scp.css */
.razorpagemain[b-ouzph1zl2r] {
    overflow-y: auto;
    background: #e8eaed !important;
    box-shadow: none !important;
    border: none !important;
    min-height: 400px;
}

/* LW+CL 30.04.26 — Brett POC `hdr-avatar`. Small entity image at the start
   of the header bar; image when EntityImageBytes is loaded, initials as
   fallback. The larger 70px avatar in EntityProfile is intentional repetition
   per the POC design. */
.dash-header-avatar[b-ouzph1zl2r] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #0a3d62;
    flex-shrink: 0;
    overflow: hidden;
    margin-right: 6px;
}

.dash-header-avatar img[b-ouzph1zl2r] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Echelon inbox bell — appears in the entity dashboard header when
   AppState.IsEchelon is true. Clicking opens EchelonInboxDrawer. */
.dash-echelon-bell[b-ouzph1zl2r] {
    position: relative;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0a3d62;
    margin-left: 6px;
    transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.dash-echelon-bell:hover[b-ouzph1zl2r] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.dash-echelon-bell:focus-visible[b-ouzph1zl2r] {
    outline: 2px solid #0a3d62;
    outline-offset: 2px;
}

.dash-echelon-bell .dx-icon-email[b-ouzph1zl2r] {
    font-size: 16px;
}

/* LW+CL 12.06.26 — Reg Deadlines chip: per-bucket coloured count spans */
.dash-pill-reg-count[b-ouzph1zl2r] { font-size: 10px; font-weight: 600; }
.dash-pill-reg-overdue[b-ouzph1zl2r] { color: #dc2626; }
.dash-pill-reg-urgent[b-ouzph1zl2r]  { color: #d97706; }
.dash-pill-reg-soon[b-ouzph1zl2r]    { color: #2563eb; }
.dash-pill-reg-later[b-ouzph1zl2r]   { color: #15803d; }

/* Dismiss button + morning briefing toast */
.dash-pill-dismiss[b-ouzph1zl2r] {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 13px;
	line-height: 1;
	color: #92400e;
	opacity: 0.6;
	cursor: pointer;
}

.dash-pill-dismiss:hover[b-ouzph1zl2r] {
	opacity: 1;
}

/* Top-right, just under the 50px navbar. Bottom-right (AM+CL:06.09.26) hid the fixed Ask IQ FAB, which
   owns that corner. Trade-off accepted per Brett 29.09.26: on narrow screens the toast can briefly sit over
   the right end of the dashboard header row — it is dismissible and auto-hides. LW+CL:29.09.26 */
.dash-reg-toast[b-ouzph1zl2r] {
	position: fixed;
	top: 62px;
	right: 24px;
	background: linear-gradient(135deg, #0a3d62, #0a8a80);
	color: #ffffff;
	padding: 14px 42px 14px 18px;
	border-radius: 10px;
	max-width: 300px;
	z-index: 5000;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	animation: dash-toast-in-b-ouzph1zl2r 0.3s ease forwards;
}

@keyframes dash-toast-in-b-ouzph1zl2r {
	from { transform: translateX(320px); opacity: 0; }
	to   { transform: translateX(0);     opacity: 1; }
}

.dash-reg-toast-close[b-ouzph1zl2r] {
	position: absolute;
	top: 8px;
	right: 10px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #ffffff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}

.dash-reg-toast-close:hover[b-ouzph1zl2r] {
	background: rgba(255, 255, 255, 0.3);
}

.dash-reg-toast-title[b-ouzph1zl2r] {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.8;
	margin-bottom: 4px;
}

.dash-reg-toast-body[b-ouzph1zl2r] {
	font-size: 13px;
	line-height: 1.45;
}

.dash-echelon-bell-badge[b-ouzph1zl2r] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #0a8a80;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    border-radius: 9px;
    text-align: center;
    letter-spacing: -0.02em;
}
/* /Components/Pages/Entities/Dashboard/EntityImage.razor.rz.scp.css */
.profile-image[b-k4nm83z3el] {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid grey;
}
/* /Components/Pages/Entities/Dashboard/EntityProfile.razor.rz.scp.css */
/* LW+CL:11.11.26 C45: the Governance History strip on the profile card (the POC's .gov-history), in the card's own colours. */
.dash-gov-history[b-88l66iej5a] {
	padding: 8px 14px 2px;
	border-top: 1px solid #e2e8f0;
}
.dash-gov-label[b-88l66iej5a] {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 6px;
}
.dash-gov-badges[b-88l66iej5a] {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dash-gov-badge[b-88l66iej5a] {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	background: #f7f9fc;
	color: #0a3d62;
	text-decoration: none;
}
.dash-gov-badge:hover[b-88l66iej5a] {
	background: rgba(10, 61, 98, 0.08);
	border-color: #0a3d62;
}
/* /Components/Pages/Entities/Dashboard/FundDashboard.razor.rz.scp.css */
/* LG+CL 06.07.26 — Scoped styles for FundDashboard.razor (fd-* prefix).
   Global dash-kpi-* and card chrome come from wwwroot/css/site.css.
   Bootstrap card/card-header/card-body used for card frame. */

/* ─── Loading placeholder ─────────────────────────────────────────────────── */

.fd-loading[b-b94o62dk6m] {
    padding: 32px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* ─── Type / status strip ─────────────────────────────────────────────────── */

.fd-type-strip[b-b94o62dk6m] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 12px;
}

.fd-badge[b-b94o62dk6m] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.fd-badge-open[b-b94o62dk6m] {
    background: rgba(26, 138, 58, 0.1);
    color: #15803d;
    border-color: rgba(26, 138, 58, 0.25);
}

.fd-badge-closed[b-b94o62dk6m] {
    background: rgba(10, 61, 98, 0.1);
    color: #0a3d62;
    border-color: rgba(10, 61, 98, 0.2);
}

.fd-badge-type[b-b94o62dk6m] {
    background: rgba(107, 114, 128, 0.1);
    color: #374151;
    border-color: rgba(107, 114, 128, 0.2);
}

.fd-badge-currency[b-b94o62dk6m] {
    background: rgba(0, 168, 150, 0.1);
    color: #00756b;
    border-color: rgba(0, 168, 150, 0.2);
}

.fd-badge-date[b-b94o62dk6m] {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.fd-badge-status-active[b-b94o62dk6m] {
    background: rgba(26, 138, 58, 0.1);
    color: #15803d;
    border-color: rgba(26, 138, 58, 0.25);
}

.fd-badge-status-liquidating[b-b94o62dk6m] {
    background: rgba(201, 124, 0, 0.1);
    color: #92400e;
    border-color: rgba(201, 124, 0, 0.2);
}

.fd-badge-status-closed[b-b94o62dk6m] {
    background: rgba(217, 48, 37, 0.09);
    color: #991b1b;
    border-color: rgba(217, 48, 37, 0.2);
}

/* ─── KPI strip modifiers ─────────────────────────────────────────────────── */

/* Narrows the grid slightly for the 6-tile fund strip */
.fd-kpi-grid[b-b94o62dk6m] {
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 14px;
}

.fd-kpi-muted[b-b94o62dk6m] {
    color: #9ca3af !important;
    font-size: 11px;
}

.fd-chg-pos[b-b94o62dk6m] {
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
}

.fd-chg-neg[b-b94o62dk6m] {
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
}

.fd-status-text[b-b94o62dk6m] {
    font-size: 18px !important;
    font-weight: 700;
}

/* ─── Content card grid ───────────────────────────────────────────────────── */

.fd-content-grid[b-b94o62dk6m] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fd-content-card[b-b94o62dk6m] {
    min-width: 0;
}

.fd-content-card-full[b-b94o62dk6m] {
    grid-column: 1 / -1;
}

.fd-content-body[b-b94o62dk6m] {
    padding: 14px 16px;
    min-height: 80px;
}

/* ─── Empty state ─────────────────────────────────────────────────────────── */

.fd-stub[b-b94o62dk6m] {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

.fd-stub-reason[b-b94o62dk6m] {
    font-size: 11px;
    color: #d1d5db;
    margin-top: 4px;
}

/* ─── Vertical bar chart (NAV history) ───────────────────────────────────── */

.fd-bar-chart[b-b94o62dk6m] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 110px;
    padding-bottom: 22px; /* room for labels */
    position: relative;
}

.fd-bar-col[b-b94o62dk6m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}

.fd-bar-fill[b-b94o62dk6m] {
    width: 100%;
    background: linear-gradient(180deg, #0a8a80 0%, #0a3d62 100%);
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height 0.25s ease;
}

.fd-bar-label[b-b94o62dk6m] {
    position: absolute;
    bottom: -20px;
    font-size: 9px;
    color: #9ca3af;
    white-space: nowrap;
}

.fd-chart-note[b-b94o62dk6m] {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 8px;
    font-style: italic;
}

/* ─── Horizontal bar chart (Sub/Red activity) ─────────────────────────────── */

.fd-hbar-list[b-b94o62dk6m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fd-hbar-row[b-b94o62dk6m] {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 8px;
}

.fd-hbar-label[b-b94o62dk6m] {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-align: right;
}

.fd-hbar-track[b-b94o62dk6m] {
    background: #f3f4f6;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.fd-hbar-fill[b-b94o62dk6m] {
    height: 100%;
    background: linear-gradient(90deg, #0a3d62, #0a8a80);
    border-radius: 999px;
    min-width: 4px;
    transition: width 0.25s ease;
}

.fd-hbar-actual[b-b94o62dk6m] {
    font-size: 10px;
    color: #6b7280;
    white-space: nowrap;
}

/* ─── Data table (Accruals / Closings) ────────────────────────────────────── */

.fd-data-table[b-b94o62dk6m] {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.fd-data-table th[b-b94o62dk6m] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    padding: 0 6px 6px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.fd-data-table td[b-b94o62dk6m] {
    padding: 5px 6px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.fd-data-table tbody tr:last-child td[b-b94o62dk6m] {
    border-bottom: none;
}

.fd-data-table tbody tr:hover td[b-b94o62dk6m] {
    background: #f9fafb;
}

.fd-money[b-b94o62dk6m] {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* ─── Key-value grid (Economics / Fund Details) ───────────────────────────── */

.fd-kv-grid[b-b94o62dk6m] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fd-kv-row[b-b94o62dk6m] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
}

.fd-kv-row:last-child[b-b94o62dk6m] {
    border-bottom: none;
}

.fd-kv-label[b-b94o62dk6m] {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.fd-kv-val[b-b94o62dk6m] {
    font-size: 12px;
    font-weight: 600;
    color: #0a3d62;
    text-align: right;
    word-break: break-word;
}

.fd-mono[b-b94o62dk6m] {
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    letter-spacing: 0.03em;
}

/* ─── Tab strip ───────────────────────────────────────────────────────────── */

.fd-tab-bar[b-b94o62dk6m] {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 14px;
}

.fd-tab[b-b94o62dk6m] {
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.fd-tab:hover[b-b94o62dk6m] {
    color: #0a3d62;
}

.fd-tab-act[b-b94o62dk6m] {
    color: #0a3d62;
    border-bottom-color: #0a8a80;
    font-weight: 600;
}

/* ─── Single-column content variant ──────────────────────────────────────── */

.fd-content-single[b-b94o62dk6m] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ─── Info / stub banner ──────────────────────────────────────────────────── */

.fd-stub-banner[b-b94o62dk6m] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12px;
    color: #15803d;
}

.fd-stub-icon[b-b94o62dk6m] {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.4;
}

/* ─── KV warning colour (unposted accruals) ──────────────────────────────── */

.fd-kv-warn[b-b94o62dk6m] {
    color: #b45309 !important;
}

/* ─── Deployment progress bar (CE Performance tab) ──────────────────────── */

.fd-deploy-bar-wrap[b-b94o62dk6m] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

.fd-deploy-bar-row[b-b94o62dk6m] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.fd-deploy-label[b-b94o62dk6m] {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
}

.fd-deploy-pct[b-b94o62dk6m] {
    font-size: 13px;
    font-weight: 700;
    color: #0a3d62;
}

.fd-deploy-track[b-b94o62dk6m] {
    background: #f3f4f6;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.fd-deploy-fill[b-b94o62dk6m] {
    height: 100%;
    border-radius: 999px;
    min-width: 4px;
    transition: width 0.3s ease;
}

.fd-deploy-called[b-b94o62dk6m] {
    background: linear-gradient(90deg, #0a3d62, #0a8a80);
}

.fd-deploy-dist[b-b94o62dk6m] {
    background: linear-gradient(90deg, #15803d, #22c55e);
}

.fd-deploy-legend[b-b94o62dk6m] {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
}

/* ─── Investor table extras ───────────────────────────────────────────────── */

.fd-pct-sub[b-b94o62dk6m] {
    font-size: 10px;
    font-weight: 400;
    color: #9ca3af;
    margin-left: 4px;
}

.fd-kv-muted[b-b94o62dk6m] {
    color: #9ca3af;
    font-weight: 400;
}

/* ─── Responsive — collapse to single column below 900 px ────────────────── */

@media (max-width: 900px) {
    .fd-content-grid[b-b94o62dk6m] {
        grid-template-columns: 1fr;
    }

    .fd-kpi-grid[b-b94o62dk6m] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .fd-kpi-grid[b-b94o62dk6m] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Valuation date + period filter bar (C28 / C29) ──────────────────────── */

.fd-period-bar[b-b94o62dk6m] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 10px;
    flex-wrap: wrap;
}

.fd-period-lbl[b-b94o62dk6m] {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.fd-period-date[b-b94o62dk6m] {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    background: #fff;
    height: 30px;
}

.fd-period-btn-group[b-b94o62dk6m] {
    display: flex;
    gap: 2px;
}

.fd-period-btn[b-b94o62dk6m] {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.fd-period-btn:hover[b-b94o62dk6m] {
    background: #e5e7eb;
    color: #374151;
}

.fd-period-btn.act[b-b94o62dk6m] {
    background: #0a3d62;
    border-color: #0a3d62;
    color: #fff;
}

.fd-tab-spacer[b-b94o62dk6m] {
    flex: 1;
}

.fd-export-btn[b-b94o62dk6m] {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s;
}

.fd-export-btn:hover[b-b94o62dk6m] {
    background: #f3f4f6;
}
/* /Components/Pages/Entities/Dashboard/HeaderWorkflowDropdown.razor.rz.scp.css */
/* LW+CL 28.04.26 — Workflow dropdown in entity dashboard header (Brett POC §3) */

.hdr-workflow-btn[b-3mgsp39fpy] {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid rgba(10, 61, 98, 0.4);
    background: rgba(10, 61, 98, 0.10);
    color: #0a3d62;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.15s;
}

.hdr-workflow-btn:hover[b-3mgsp39fpy] {
    background: rgba(10, 61, 98, 0.20);
}

.hdr-workflow-icon[b-3mgsp39fpy] {
    font-size: 12px;
    line-height: 1;
}

.hdr-workflow-chev[b-3mgsp39fpy] {
    font-size: 8px;
}

.hdr-workflow-menu[b-3mgsp39fpy] {
    min-width: 260px;
    padding: 6px 0;
}

.hdr-workflow-menu-title[b-3mgsp39fpy] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px 6px;
    color: #94a3b8;
}

.hdr-workflow-menu-item[b-3mgsp39fpy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.1s;
}

.hdr-workflow-menu-item:hover[b-3mgsp39fpy] {
    background: #f0f4f8;
}

/* LW+CL:11.11.26 one-line description under the workflow name (entity-dashboard C42) */
.hdr-workflow-menu-item[b-3mgsp39fpy] {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.hdr-workflow-item-desc[b-3mgsp39fpy] {
    max-width: 100%;
    font-size: 10px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hdr-workflow-item-lbl[b-3mgsp39fpy] {
    font-size: 12px;
    font-weight: 600;
    color: #1a1d2e;
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/FundAdminDashboard.razor.rz.scp.css */
/* LW+CL 21.04.26 — Master Entity Fund Admin dashboard variant.
   KPI tiles reuse .dash-kpi / .dash-kpi-* classes from wwwroot/css/site.css.
   Content cards reuse the .card / .card-header pattern shared with entity dashboard tiles
   (scoped globally under .grid-stack-item-content in site.css; we re-apply the same treatment
   without needing a GridStack wrapper). Keep this file scoped to layout + stub treatment only. */

.me-loading[b-f42x6jhzz2] {
    padding: 40px 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

/* Hero row — 6 KPI tiles; override the 3-col default on .dash-kpi-grid */
[b-f42x6jhzz2] .me-kpi-hero-grid {
    grid-template-columns: repeat(6, 1fr);
    padding: 16px;
}

@media (max-width: 1400px) {
    [b-f42x6jhzz2] .me-kpi-hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

[b-f42x6jhzz2] .dash-kpi-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

[b-f42x6jhzz2] .me-kpi-muted { color: #94a3b8; }

[b-f42x6jhzz2] .me-kpi-nodata {
    color: #c97c00;
    font-style: italic;
}

[b-f42x6jhzz2] .me-kpi-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    background: #f0f4f8;
    color: #64748b;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

/* Content cards — match the entity dashboard .card / .card-header treatment.
   site.css defines .grid-stack-item-content .card; duplicate the core rules here because
   we render outside GridStack. Stylistic parity with the rest of the dashboard is the goal. */
.me-content-grid[b-f42x6jhzz2] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

@media (max-width: 1200px) {
    .me-content-grid[b-f42x6jhzz2] { grid-template-columns: 1fr; }
}

.me-content-card[b-f42x6jhzz2] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.18s;
}

.me-content-card:hover[b-f42x6jhzz2] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.me-content-card-full[b-f42x6jhzz2] { grid-column: 1 / -1; }

[b-f42x6jhzz2] .me-content-card .card-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0a3d62;
    padding: 13px 16px 11px;
    background: #fff;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

[b-f42x6jhzz2] .me-content-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00a896;
}

[b-f42x6jhzz2] .me-content-card .card-header.hdr-risk::before { background: #00a896; }
[b-f42x6jhzz2] .me-content-card .card-header.hdr-tasks::before { background: #c97c00; }
[b-f42x6jhzz2] .me-content-card .card-header.hdr-alerts::before { background: #d93025; }
[b-f42x6jhzz2] .me-content-card .card-header.hdr-docs::before { background: #1a6fd4; }
[b-f42x6jhzz2] .me-content-card .card-header.hdr-rels::before { background: #0a3d62; }
[b-f42x6jhzz2] .me-content-card .card-header.hdr-finance::before { background: #1a8a3a; }

.me-content-body[b-f42x6jhzz2] {
    flex: 1;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

/* Data-bearing cards reset the centring; content flows from the top. */
.me-content-body-table[b-f42x6jhzz2],
.me-content-body-chart[b-f42x6jhzz2] {
    display: block;
    padding: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: stretch;
}

.me-content-stub[b-f42x6jhzz2] {
    font-size: 14px;
    color: #c8d4e0;
    font-weight: 500;
}

.me-content-stub-reason[b-f42x6jhzz2] {
    font-size: 11px;
    color: #c97c00;
    font-style: italic;
    max-width: 360px;
}

/* Table rendering inside content cards — used by Debtors Aged, Fee Income Pipeline, etc. */
.me-content-body-table[b-f42x6jhzz2] {
    display: block;
    padding: 0;
    text-align: left;
}

.me-data-table[b-f42x6jhzz2] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.me-data-table thead th[b-f42x6jhzz2] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    text-align: left;
}

.me-data-table tbody td[b-f42x6jhzz2] {
    padding: 8px 14px;
    border-bottom: 1px solid #f0f4f8;
    color: #1a1d2e;
}

.me-data-table tbody tr:last-child td[b-f42x6jhzz2] {
    border-bottom: none;
}

.me-data-table tbody tr:hover[b-f42x6jhzz2] {
    background: #f7f9fc;
}

.me-data-table .text-right[b-f42x6jhzz2] { text-align: right; }
.me-data-table .me-danger[b-f42x6jhzz2] { color: #d93025; font-weight: 600; }
.me-data-table .me-total[b-f42x6jhzz2] { font-weight: 700; color: #0a3d62; }

[b-f42x6jhzz2] .me-card-hdr-kpi {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 10px;
    font-style: normal;
}

.me-card-foot-note[b-f42x6jhzz2] {
    padding: 8px 14px 12px;
    font-size: 10px;
    color: #c97c00;
    font-style: italic;
    border-top: 1px solid #f0f4f8;
}

/* ═════════ Chart patterns ported from ws-fundadmin-dashboard-poc.html ═════════ */

/* Horizontal bar row — used by Jurisdiction, WiP, Portfolio, NAV Volume, Sub/Red */
.me-hbar-list[b-f42x6jhzz2] { padding: 4px 14px 10px; }
.me-hbar-row[b-f42x6jhzz2] { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.me-hbar-row:last-child[b-f42x6jhzz2] { border-bottom: none; }
.me-hbar-label[b-f42x6jhzz2] { width: 140px; font-size: 11px; color: #4a5568; font-weight: 500; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-hbar-track[b-f42x6jhzz2] { flex: 1; height: 16px; background: #f7f9fc; border-radius: 4px; overflow: hidden; position: relative; }
.me-hbar-fill[b-f42x6jhzz2] { height: 100%; border-radius: 4px; transition: width 0.4s ease; }
.me-hbar-actual[b-f42x6jhzz2] { width: 90px; font-size: 11px; font-weight: 600; color: #1a1d2e; text-align: right; font-family: monospace; flex-shrink: 0; }

/* Fill colours — align with existing dashboard accent system */
.me-hbar-fill.c-navy[b-f42x6jhzz2] { background: #0a3d62; }
.me-hbar-fill.c-green[b-f42x6jhzz2] { background: #1a8a3a; }
.me-hbar-fill.c-red[b-f42x6jhzz2] { background: #d93025; }
.me-hbar-fill.c-blue[b-f42x6jhzz2] { background: #1a6fd4; }
.me-hbar-fill.c-teal[b-f42x6jhzz2] { background: #00a896; }
.me-hbar-fill.c-purple[b-f42x6jhzz2] { background: #6b46c1; }
.me-hbar-fill.c-amber[b-f42x6jhzz2] { background: #c97c00; }

/* Vertical column bar chart — monthly actual vs budget */
.me-chart-bar-group[b-f42x6jhzz2] { display: flex; gap: 4px; align-items: flex-end; height: 140px; padding: 8px 14px 2px; }
.me-chart-col[b-f42x6jhzz2] { display: flex; flex-direction: column; align-items: center; align-self: stretch; flex: 1; gap: 4px; } /* LW+CL 21.10.26: align-self: stretch - the group aligns its columns to flex-end, so without it each column shrank to its label and the bars below resolved height:100% against nothing (zero-height bars) */
.me-chart-bars[b-f42x6jhzz2] { display: flex; gap: 2px; align-items: flex-end; flex: 1; min-height: 0; width: 100%; }
.me-chart-bar[b-f42x6jhzz2] { flex: 1; border-radius: 3px 3px 0 0; min-width: 6px; transition: opacity 0.2s; cursor: default; position: relative; }
.me-chart-bar:hover[b-f42x6jhzz2] { opacity: 0.8; }
.me-chart-bar.actual[b-f42x6jhzz2] { background: #0a3d62; }
.me-chart-bar.budget[b-f42x6jhzz2] { background: #d1dce8; }
.me-chart-bar.current-month[b-f42x6jhzz2] { background: #6b46c1; }
.me-chart-col-label[b-f42x6jhzz2] { font-size: 9px; color: #94a3b8; }

.me-chart-legend[b-f42x6jhzz2] { display: flex; gap: 14px; padding: 8px 14px 10px; border-top: 1px solid #f0f4f8; margin-top: 4px; }
.me-chart-legend-item[b-f42x6jhzz2] { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #94a3b8; }
.me-chart-legend-dot[b-f42x6jhzz2] { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }

/* Sub-KPI grid — used by NAV Performance */
.me-sub-kpi-grid[b-f42x6jhzz2] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 14px; }
.me-sub-kpi-card[b-f42x6jhzz2] { padding: 10px 12px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; }
.me-sub-kpi-card.alert[b-f42x6jhzz2] { background: rgba(217, 48, 37, 0.08); border-color: rgba(217, 48, 37, 0.2); }
.me-sub-kpi-label[b-f42x6jhzz2] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.06em; }
.me-sub-kpi-val[b-f42x6jhzz2] { font-size: 20px; font-weight: 800; margin-top: 3px; line-height: 1.1; }
.me-sub-kpi-val.c-navy[b-f42x6jhzz2] { color: #0a3d62; }
.me-sub-kpi-val.c-green[b-f42x6jhzz2] { color: #1a8a3a; }
.me-sub-kpi-val.c-red[b-f42x6jhzz2] { color: #d93025; }
.me-sub-kpi-val.c-blue[b-f42x6jhzz2] { color: #1a6fd4; }
.me-sub-kpi-val.c-purple[b-f42x6jhzz2] { color: #6b46c1; }
.me-sub-kpi-val.c-teal[b-f42x6jhzz2] { color: #00a896; }
.me-sub-kpi-val.c-muted[b-f42x6jhzz2] { color: #c8d4e0; font-weight: 300; }

/* Flow cards — used by Sub/Red (3 colourful cards at top) */
.me-flow-row[b-f42x6jhzz2] { display: flex; gap: 10px; padding: 10px 14px; }
.me-flow-card[b-f42x6jhzz2] { flex: 1; padding: 12px; border-radius: 8px; text-align: center; }
.me-flow-card.flow-in[b-f42x6jhzz2] { background: rgba(26, 138, 58, 0.09); border: 1px solid rgba(26, 138, 58, 0.15); }
.me-flow-card.flow-out[b-f42x6jhzz2] { background: rgba(217, 48, 37, 0.09); border: 1px solid rgba(217, 48, 37, 0.15); }
.me-flow-card.flow-net[b-f42x6jhzz2] { background: rgba(26, 111, 212, 0.09); border: 1px solid rgba(26, 111, 212, 0.15); }
.me-flow-label[b-f42x6jhzz2] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.me-flow-val[b-f42x6jhzz2] { font-size: 20px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.me-flow-sub[b-f42x6jhzz2] { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.me-flow-in .me-flow-label[b-f42x6jhzz2], .me-flow-in .me-flow-val[b-f42x6jhzz2] { color: #1a8a3a; }
.me-flow-out .me-flow-label[b-f42x6jhzz2], .me-flow-out .me-flow-val[b-f42x6jhzz2] { color: #d93025; }
.me-flow-net .me-flow-label[b-f42x6jhzz2], .me-flow-net .me-flow-val[b-f42x6jhzz2] { color: #1a6fd4; }

/* Section label inside a card body */
.me-section-label[b-f42x6jhzz2] {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #94a3b8;
    padding: 4px 14px 2px;
}

/* Fund status badge — used in Fund Portfolio table */
[b-f42x6jhzz2] .me-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
[b-f42x6jhzz2] .me-badge-active      { background: rgba(26,138,58,0.10); color: #1a8a3a; }
[b-f42x6jhzz2] .me-badge-closed      { background: rgba(100,116,139,0.12); color: #64748b; }
[b-f42x6jhzz2] .me-badge-liquidating { background: rgba(201,124,0,0.10); color: #c97c00; }
[b-f42x6jhzz2] .me-badge-terminated  { background: rgba(217,48,37,0.10); color: #d93025; }

/* ─── Clickable KPI tiles (C15) ─────────────────────────────────────────── */
/* LG+CL 09.11.26 — adds pointer cursor and hover/focus ring to any KPI tile
   that opens a drill drawer. .dash-kpi already handles all sizing and colour. */

[b-f42x6jhzz2] .me-kpi-clickable {
    cursor: pointer;
    border-radius: 10px;
    transition: box-shadow 0.15s, transform 0.12s;
    outline: none;
}

[b-f42x6jhzz2] .me-kpi-clickable:hover {
    box-shadow: 0 4px 14px rgba(0, 168, 150, 0.22);
    transform: translateY(-1px);
}

[b-f42x6jhzz2] .me-kpi-clickable:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.4);
}

/* ─── Card header action button (C16) ───────────────────────────────────── */
/* LG+CL 09.11.26 — the "View Detail →" pill rendered at the right of a card
   header when headerDrill != None. Card header already has display:flex /
   justify-content:space-between so it aligns automatically. */

[b-f42x6jhzz2] .me-card-action {
    background: none;
    border: 1px solid rgba(0, 168, 150, 0.35);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 600;
    color: #00756b;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    text-transform: none;
}

[b-f42x6jhzz2] .me-card-action:hover {
    background: rgba(0, 168, 150, 0.08);
    color: #005a52;
}

/* ─── Fund search row (C18) ─────────────────────────────────────────────── */
/* LG+CL 09.11.26 — the quick "Find a fund" filter bar above the content grid. */

.me-fund-search-row[b-f42x6jhzz2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 10px;
}

.me-fund-search-label[b-f42x6jhzz2] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.me-fund-search[b-f42x6jhzz2] {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    background: #fff;
    height: 28px;
    width: 220px;
    outline: none;
}

.me-fund-search:focus[b-f42x6jhzz2] {
    border-color: #00a896;
    box-shadow: 0 0 0 2px rgba(0, 168, 150, 0.2);
}

/* ─── Clickable fund name link in portfolio table (C17) ─────────────────── */

[b-f42x6jhzz2] .me-fund-link {
    color: #0a3d62;
    text-decoration: none;
    font-weight: 600;
}

[b-f42x6jhzz2] .me-fund-link:hover {
    color: #00756b;
    text-decoration: underline;
}

/* ─── Drill drawer stub body (C15) ──────────────────────────────────────── */

.me-drill-stub[b-f42x6jhzz2] {
    padding: 24px 20px;
    font-size: 13px;
    color: #64748b;
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/HeaderViewDropdown.razor.rz.scp.css */
/* LW+CL 21.04.26 — View-type dropdown in ME dashboard header */

.me-view-btn[b-0gmtp38kyy] {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid rgba(107, 70, 193, 0.4);
    background: rgba(107, 70, 193, 0.15);
    color: #6b46c1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.15s;
}

.me-view-btn.me-view-standard[b-0gmtp38kyy] { background: rgba(148, 163, 184, 0.15); border-color: rgba(148, 163, 184, 0.4); color: #64748b; }
.me-view-btn.me-view-tcspfirm[b-0gmtp38kyy] { background: rgba(0, 168, 150, 0.15); border-color: rgba(0, 168, 150, 0.4); color: #00a896; }
.me-view-btn.me-view-investmentfirm[b-0gmtp38kyy] { background: rgba(26, 111, 212, 0.15); border-color: rgba(26, 111, 212, 0.4); color: #1a6fd4; }
.me-view-btn.me-view-fundadmin[b-0gmtp38kyy] { background: rgba(107, 70, 193, 0.15); border-color: rgba(107, 70, 193, 0.4); color: #6b46c1; }

.me-view-chev[b-0gmtp38kyy] { font-size: 8px; }

.me-view-menu[b-0gmtp38kyy] {
    min-width: 220px;
    padding: 6px 0;
}

.me-view-menu-title[b-0gmtp38kyy] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px 6px;
    color: #94a3b8;
}

.me-view-menu-item[b-0gmtp38kyy] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.1s;
}

.me-view-menu-item:hover[b-0gmtp38kyy] { background: #f0f4f8; }

.me-view-menu-item.active[b-0gmtp38kyy] { background: #f0f4f8; }

.me-view-dot[b-0gmtp38kyy] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.me-view-item-text[b-0gmtp38kyy] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.me-view-item-lbl[b-0gmtp38kyy] {
    font-size: 12px;
    font-weight: 600;
    color: #1a1d2e;
}

.me-view-item-desc[b-0gmtp38kyy] {
    font-size: 10px;
    color: #94a3b8;
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/InvestmentFirmDashboard.razor.rz.scp.css */
/* LG+CL 13.10.26 — Investment Firm Master Entity dashboard variant.
   KPI tiles reuse .dash-kpi / .dash-kpi-* classes from wwwroot/css/site.css.
   Content cards reuse the .card / .card-header pattern shared across the dashboard.
   Keep this file scoped to layout + chart patterns. */

.me-loading[b-mtnt9u3sdc] {
    padding: 40px 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

/* Hero row — 5 KPI tiles */
[b-mtnt9u3sdc] .me-kpi-hero-grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 16px;
}

@media (max-width: 1400px) {
    [b-mtnt9u3sdc] .me-kpi-hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    [b-mtnt9u3sdc] .me-kpi-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

[b-mtnt9u3sdc] .dash-kpi-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

[b-mtnt9u3sdc] .me-kpi-muted { color: #94a3b8; }

[b-mtnt9u3sdc] .me-kpi-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    background: #f0f4f8;
    color: #64748b;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

/* Content grid — 2 columns */
.me-content-grid[b-mtnt9u3sdc] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

@media (max-width: 1200px) {
    .me-content-grid[b-mtnt9u3sdc] { grid-template-columns: 1fr; }
}

/* Content cards */
.me-content-card[b-mtnt9u3sdc] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s;
}

.me-content-card:hover[b-mtnt9u3sdc] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.me-content-card-full[b-mtnt9u3sdc] { grid-column: 1 / -1; }

[b-mtnt9u3sdc] .me-content-card .card-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0a3d62;
    padding: 13px 16px 11px;
    background: #fff;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[b-mtnt9u3sdc] .me-content-card .card-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #00a896;
}

[b-mtnt9u3sdc] .me-content-card .card-header.hdr-risk::before    { background: #00a896; }
[b-mtnt9u3sdc] .me-content-card .card-header.hdr-tasks::before   { background: #c97c00; }
[b-mtnt9u3sdc] .me-content-card .card-header.hdr-alerts::before  { background: #d93025; }
[b-mtnt9u3sdc] .me-content-card .card-header.hdr-docs::before    { background: #1a6fd4; }
[b-mtnt9u3sdc] .me-content-card .card-header.hdr-rels::before    { background: #0a3d62; }
[b-mtnt9u3sdc] .me-content-card .card-header.hdr-finance::before { background: #1a8a3a; }

.me-content-body[b-mtnt9u3sdc] {
    flex: 1;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.me-content-body-table[b-mtnt9u3sdc],
.me-content-body-chart[b-mtnt9u3sdc] {
    display: block;
    padding: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: stretch;
}

.me-content-stub[b-mtnt9u3sdc] {
    font-size: 14px;
    color: #c8d4e0;
    font-weight: 500;
}

.me-content-stub-reason[b-mtnt9u3sdc] {
    font-size: 11px;
    color: #c97c00;
    font-style: italic;
    max-width: 360px;
}

/* Data table inside content cards */
.me-data-table[b-mtnt9u3sdc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.me-data-table thead th[b-mtnt9u3sdc] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    text-align: left;
}

.me-data-table tbody td[b-mtnt9u3sdc] {
    padding: 8px 14px;
    border-bottom: 1px solid #f0f4f8;
    color: #1a1d2e;
    font-size: 12px;
}

.me-data-table tbody tr:last-child td[b-mtnt9u3sdc] { border-bottom: none; }
.me-data-table tbody tr:hover[b-mtnt9u3sdc] { background: #f7f9fc; }
.me-data-table .text-right[b-mtnt9u3sdc] { text-align: right; }
.me-data-table .me-danger[b-mtnt9u3sdc]  { color: #d93025; font-weight: 600; }
.me-data-table .me-gl-pos[b-mtnt9u3sdc]  { color: #1a8a3a; font-weight: 600; }
.me-data-table .me-total[b-mtnt9u3sdc]   { font-weight: 700; color: #0a3d62; }

[b-mtnt9u3sdc] .me-card-hdr-kpi {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    font-style: normal;
}

.me-card-foot-note[b-mtnt9u3sdc] {
    padding: 8px 14px 12px;
    font-size: 10px;
    color: #c97c00;
    font-style: italic;
    border-top: 1px solid #f0f4f8;
}

/* Horizontal bar rows */
.me-hbar-list[b-mtnt9u3sdc] { padding: 4px 14px 10px; }

.me-hbar-row[b-mtnt9u3sdc] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f4f8;
}

.me-hbar-row:last-child[b-mtnt9u3sdc] { border-bottom: none; }

.me-hbar-label[b-mtnt9u3sdc] {
    width: 140px;
    font-size: 11px;
    color: #4a5568;
    font-weight: 500;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.me-hbar-track[b-mtnt9u3sdc] {
    flex: 1;
    height: 16px;
    background: #f7f9fc;
    border-radius: 4px;
    overflow: hidden;
}

.me-hbar-fill[b-mtnt9u3sdc] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.me-hbar-actual[b-mtnt9u3sdc] {
    width: 90px;
    font-size: 11px;
    font-weight: 600;
    color: #1a1d2e;
    text-align: right;
    font-family: monospace;
    flex-shrink: 0;
}

.me-hbar-fill.c-navy[b-mtnt9u3sdc]   { background: #0a3d62; }
.me-hbar-fill.c-green[b-mtnt9u3sdc]  { background: #1a8a3a; }
.me-hbar-fill.c-red[b-mtnt9u3sdc]    { background: #d93025; }
.me-hbar-fill.c-blue[b-mtnt9u3sdc]   { background: #1a6fd4; }
.me-hbar-fill.c-teal[b-mtnt9u3sdc]   { background: #00a896; }
.me-hbar-fill.c-purple[b-mtnt9u3sdc] { background: #6b46c1; }
.me-hbar-fill.c-amber[b-mtnt9u3sdc]  { background: #c97c00; }

/* Flow cards — P/L summary */
.me-flow-row[b-mtnt9u3sdc] { display: flex; gap: 10px; padding: 10px 14px; }

.me-flow-card[b-mtnt9u3sdc] {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.me-flow-card.flow-in[b-mtnt9u3sdc]  { background: rgba(26, 138, 58, 0.09); border: 1px solid rgba(26, 138, 58, 0.15); }
.me-flow-card.flow-out[b-mtnt9u3sdc] { background: rgba(217, 48, 37, 0.09); border: 1px solid rgba(217, 48, 37, 0.15); }
.me-flow-card.flow-net[b-mtnt9u3sdc] { background: rgba(26, 111, 212, 0.09); border: 1px solid rgba(26, 111, 212, 0.15); }

.me-flow-label[b-mtnt9u3sdc] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.me-flow-val[b-mtnt9u3sdc]   { font-size: 18px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.me-flow-sub[b-mtnt9u3sdc]   { font-size: 10px; color: #94a3b8; margin-top: 2px; }

.me-flow-card.flow-in  .me-flow-label[b-mtnt9u3sdc],
.me-flow-card.flow-in  .me-flow-val[b-mtnt9u3sdc]  { color: #1a8a3a; }

.me-flow-card.flow-out .me-flow-label[b-mtnt9u3sdc],
.me-flow-card.flow-out .me-flow-val[b-mtnt9u3sdc]  { color: #d93025; }

.me-flow-card.flow-net .me-flow-label[b-mtnt9u3sdc],
.me-flow-card.flow-net .me-flow-val[b-mtnt9u3sdc]  { color: #1a6fd4; }

/* Section label */
.me-section-label[b-mtnt9u3sdc] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 4px 14px 2px;
}

/* Clickable KPI tiles */
[b-mtnt9u3sdc] .me-kpi-clickable {
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
}

[b-mtnt9u3sdc] .me-kpi-clickable:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Navigable allocation bar rows */
.me-hbar-row-nav[b-mtnt9u3sdc] {
    cursor: pointer;
    border-radius: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
}

.me-hbar-row-nav:hover[b-mtnt9u3sdc] {
    background: #eef3f9;
}

/* Warning colour — loans / items maturing soon */
.me-data-table .me-gl-warn[b-mtnt9u3sdc] { color: #c97c00; font-weight: 600; }

/* Section tabs — pill buttons styled to match the period bar's YTD/QTD/MTD group */
.me-section-tabs[b-mtnt9u3sdc] {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.me-section-tab-group[b-mtnt9u3sdc] {
    display: flex;
    gap: 4px;
    padding: 2px;
    background: #f0f4f8;
    border-radius: 6px;
}

.me-section-btn[b-mtnt9u3sdc] {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.me-section-btn:hover[b-mtnt9u3sdc] { color: #1a1d2e; }

.me-section-btn.act[b-mtnt9u3sdc] {
    background: #fff;
    color: #0a3d62;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/PeriodBar.razor.rz.scp.css */
/* LW+CL 21.04.26 — Period bar for Master Entity dashboards */

.me-period-bar[b-kamn0095lg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.me-period-lbl[b-kamn0095lg] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.me-period-select[b-kamn0095lg] {
    min-width: 220px;
}

/* LW+CL 23.10.26 #1551 */
.me-period-dates[b-kamn0095lg] {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 6px;
}

.me-period-warn[b-kamn0095lg] {
    font-size: 12px;
    color: #b45309;
}

.me-period-btn:disabled[b-kamn0095lg] {
    opacity: 0.4;
    cursor: not-allowed;
}

.me-period-right[b-kamn0095lg] {
    margin-left: auto;
    display: flex;
    gap: 4px;
    padding: 2px;
    background: #f0f4f8;
    border-radius: 6px;
}

.me-period-btn[b-kamn0095lg] {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.me-period-btn:hover[b-kamn0095lg] { color: #1a1d2e; }

.me-period-btn.act[b-kamn0095lg] {
    background: #fff;
    color: #0a3d62;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/TcspDashboard.razor.rz.scp.css */
/* LW+CL 21.10.26 — TCSP Firm variant. Base rules copied from FundAdminDashboard.razor.css (scoped CSS is per component, as
   InvestmentFirmDashboard.razor.css does too) so the three variants look identical; TCSP additions follow the copy.
   Original header: Master Entity Fund Admin dashboard variant.
   KPI tiles reuse .dash-kpi / .dash-kpi-* classes from wwwroot/css/site.css.
   Content cards reuse the .card / .card-header pattern shared with entity dashboard tiles
   (scoped globally under .grid-stack-item-content in site.css; we re-apply the same treatment
   without needing a GridStack wrapper). Keep this file scoped to layout + stub treatment only. */

.me-loading[b-edn2vquls9] {
    padding: 40px 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

/* Hero row — 5 KPI tiles for TCSP (the POC has five); override the 3-col default on .dash-kpi-grid */
[b-edn2vquls9] .me-kpi-hero-grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 16px;
}

@media (max-width: 1400px) {
    [b-edn2vquls9] .me-kpi-hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

[b-edn2vquls9] .dash-kpi-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

[b-edn2vquls9] .me-kpi-muted { color: #94a3b8; }

[b-edn2vquls9] .me-kpi-nodata {
    color: #c97c00;
    font-style: italic;
}

[b-edn2vquls9] .me-kpi-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    background: #f0f4f8;
    color: #64748b;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

/* Content cards — match the entity dashboard .card / .card-header treatment.
   site.css defines .grid-stack-item-content .card; duplicate the core rules here because
   we render outside GridStack. Stylistic parity with the rest of the dashboard is the goal. */
.me-content-grid[b-edn2vquls9] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

@media (max-width: 1200px) {
    .me-content-grid[b-edn2vquls9] { grid-template-columns: 1fr; }
}

.me-content-card[b-edn2vquls9] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.18s;
}

.me-content-card:hover[b-edn2vquls9] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.me-content-card-full[b-edn2vquls9] { grid-column: 1 / -1; }

[b-edn2vquls9] .me-content-card .card-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0a3d62;
    padding: 13px 16px 11px;
    background: #fff;
    border: none;
    position: relative;
}

[b-edn2vquls9] .me-content-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00a896;
}

[b-edn2vquls9] .me-content-card .card-header.hdr-risk::before { background: #00a896; }
[b-edn2vquls9] .me-content-card .card-header.hdr-tasks::before { background: #c97c00; }
[b-edn2vquls9] .me-content-card .card-header.hdr-alerts::before { background: #d93025; }
[b-edn2vquls9] .me-content-card .card-header.hdr-docs::before { background: #1a6fd4; }
[b-edn2vquls9] .me-content-card .card-header.hdr-rels::before { background: #0a3d62; }
[b-edn2vquls9] .me-content-card .card-header.hdr-finance::before { background: #1a8a3a; }

.me-content-body[b-edn2vquls9] {
    flex: 1;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

/* Data-bearing cards reset the centring; content flows from the top. */
.me-content-body-table[b-edn2vquls9],
.me-content-body-chart[b-edn2vquls9] {
    display: block;
    padding: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: stretch;
}

.me-content-stub[b-edn2vquls9] {
    font-size: 14px;
    color: #c8d4e0;
    font-weight: 500;
}

.me-content-stub-reason[b-edn2vquls9] {
    font-size: 11px;
    color: #c97c00;
    font-style: italic;
    max-width: 360px;
}

/* Table rendering inside content cards — used by Debtors Aged, Fee Income Pipeline, etc. */
.me-content-body-table[b-edn2vquls9] {
    display: block;
    padding: 0;
    text-align: left;
}

.me-data-table[b-edn2vquls9] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.me-data-table thead th[b-edn2vquls9] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    text-align: left;
}

.me-data-table tbody td[b-edn2vquls9] {
    padding: 8px 14px;
    border-bottom: 1px solid #f0f4f8;
    color: #1a1d2e;
}

.me-data-table tbody tr:last-child td[b-edn2vquls9] {
    border-bottom: none;
}

.me-data-table tbody tr:hover[b-edn2vquls9] {
    background: #f7f9fc;
}

.me-data-table .text-right[b-edn2vquls9] { text-align: right; }
.me-data-table .me-danger[b-edn2vquls9] { color: #d93025; font-weight: 600; }
.me-data-table .me-total[b-edn2vquls9] { font-weight: 700; color: #0a3d62; }

[b-edn2vquls9] .me-card-hdr-kpi {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 10px;
    font-style: normal;
}

.me-card-foot-note[b-edn2vquls9] {
    padding: 8px 14px 12px;
    font-size: 10px;
    color: #c97c00;
    font-style: italic;
    border-top: 1px solid #f0f4f8;
}

/* ═════════ Chart patterns ported from ws-fundadmin-dashboard-poc.html ═════════ */

/* Horizontal bar row — used by Jurisdiction, WiP, Portfolio, NAV Volume, Sub/Red */
.me-hbar-list[b-edn2vquls9] { padding: 4px 14px 10px; }
.me-hbar-row[b-edn2vquls9] { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.me-hbar-row:last-child[b-edn2vquls9] { border-bottom: none; }
.me-hbar-label[b-edn2vquls9] { width: 140px; font-size: 11px; color: #4a5568; font-weight: 500; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-hbar-track[b-edn2vquls9] { flex: 1; height: 16px; background: #f7f9fc; border-radius: 4px; overflow: hidden; position: relative; }
.me-hbar-fill[b-edn2vquls9] { height: 100%; border-radius: 4px; transition: width 0.4s ease; }
.me-hbar-actual[b-edn2vquls9] { width: 90px; font-size: 11px; font-weight: 600; color: #1a1d2e; text-align: right; font-family: monospace; flex-shrink: 0; }

/* Fill colours — align with existing dashboard accent system */
.me-hbar-fill.c-navy[b-edn2vquls9] { background: #0a3d62; }
.me-hbar-fill.c-green[b-edn2vquls9] { background: #1a8a3a; }
.me-hbar-fill.c-red[b-edn2vquls9] { background: #d93025; }
.me-hbar-fill.c-blue[b-edn2vquls9] { background: #1a6fd4; }
.me-hbar-fill.c-teal[b-edn2vquls9] { background: #00a896; }
.me-hbar-fill.c-purple[b-edn2vquls9] { background: #6b46c1; }
.me-hbar-fill.c-amber[b-edn2vquls9] { background: #c97c00; }

/* Vertical column bar chart — monthly actual vs budget */
.me-chart-bar-group[b-edn2vquls9] { display: flex; gap: 4px; align-items: flex-end; height: 140px; padding: 8px 14px 2px; }
.me-chart-col[b-edn2vquls9] { display: flex; flex-direction: column; align-items: center; align-self: stretch; flex: 1; gap: 4px; }
.me-chart-bars[b-edn2vquls9] { display: flex; gap: 2px; align-items: flex-end; flex: 1; min-height: 0; width: 100%; }
.me-chart-bar[b-edn2vquls9] { flex: 1; border-radius: 3px 3px 0 0; min-width: 6px; transition: opacity 0.2s; cursor: default; position: relative; }
.me-chart-bar:hover[b-edn2vquls9] { opacity: 0.8; }
.me-chart-bar.actual[b-edn2vquls9] { background: #0a3d62; }
.me-chart-bar.budget[b-edn2vquls9] { background: #d1dce8; }
.me-chart-bar.current-month[b-edn2vquls9] { background: #6b46c1; }
.me-chart-col-label[b-edn2vquls9] { font-size: 9px; color: #94a3b8; }

.me-chart-legend[b-edn2vquls9] { display: flex; gap: 14px; padding: 8px 14px 10px; border-top: 1px solid #f0f4f8; margin-top: 4px; }
.me-chart-legend-item[b-edn2vquls9] { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #94a3b8; }
.me-chart-legend-dot[b-edn2vquls9] { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }

/* Sub-KPI grid — used by NAV Performance */
.me-sub-kpi-grid[b-edn2vquls9] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 14px; }
.me-sub-kpi-card[b-edn2vquls9] { padding: 10px 12px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; }
.me-sub-kpi-card.alert[b-edn2vquls9] { background: rgba(217, 48, 37, 0.08); border-color: rgba(217, 48, 37, 0.2); }
.me-sub-kpi-label[b-edn2vquls9] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.06em; }
.me-sub-kpi-val[b-edn2vquls9] { font-size: 20px; font-weight: 800; margin-top: 3px; line-height: 1.1; }
.me-sub-kpi-val.c-navy[b-edn2vquls9] { color: #0a3d62; }
.me-sub-kpi-val.c-green[b-edn2vquls9] { color: #1a8a3a; }
.me-sub-kpi-val.c-red[b-edn2vquls9] { color: #d93025; }
.me-sub-kpi-val.c-blue[b-edn2vquls9] { color: #1a6fd4; }
.me-sub-kpi-val.c-purple[b-edn2vquls9] { color: #6b46c1; }
.me-sub-kpi-val.c-teal[b-edn2vquls9] { color: #00a896; }
.me-sub-kpi-val.c-muted[b-edn2vquls9] { color: #c8d4e0; font-weight: 300; }

/* Flow cards — used by Sub/Red (3 colourful cards at top) */
.me-flow-row[b-edn2vquls9] { display: flex; gap: 10px; padding: 10px 14px; }
.me-flow-card[b-edn2vquls9] { flex: 1; padding: 12px; border-radius: 8px; text-align: center; }
.me-flow-card.flow-in[b-edn2vquls9] { background: rgba(26, 138, 58, 0.09); border: 1px solid rgba(26, 138, 58, 0.15); }
.me-flow-card.flow-out[b-edn2vquls9] { background: rgba(217, 48, 37, 0.09); border: 1px solid rgba(217, 48, 37, 0.15); }
.me-flow-card.flow-net[b-edn2vquls9] { background: rgba(26, 111, 212, 0.09); border: 1px solid rgba(26, 111, 212, 0.15); }
.me-flow-label[b-edn2vquls9] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.me-flow-val[b-edn2vquls9] { font-size: 20px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.me-flow-sub[b-edn2vquls9] { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.me-flow-in .me-flow-label[b-edn2vquls9], .me-flow-in .me-flow-val[b-edn2vquls9] { color: #1a8a3a; }
.me-flow-out .me-flow-label[b-edn2vquls9], .me-flow-out .me-flow-val[b-edn2vquls9] { color: #d93025; }
.me-flow-net .me-flow-label[b-edn2vquls9], .me-flow-net .me-flow-val[b-edn2vquls9] { color: #1a6fd4; }

/* Section label inside a card body */
.me-section-label[b-edn2vquls9] {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #94a3b8;
    padding: 4px 14px 2px;
}

/* Fund status badge — used in Fund Portfolio table */
[b-edn2vquls9] .me-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
[b-edn2vquls9] .me-badge-active      { background: rgba(26,138,58,0.10); color: #1a8a3a; }
[b-edn2vquls9] .me-badge-closed      { background: rgba(100,116,139,0.12); color: #64748b; }
[b-edn2vquls9] .me-badge-liquidating { background: rgba(201,124,0,0.10); color: #c97c00; }
[b-edn2vquls9] .me-badge-terminated  { background: rgba(217,48,37,0.10); color: #d93025; }

/* ═════════ TCSP additions ═════════ */

[b-edn2vquls9] .me-kpi-clickable { cursor: pointer; transition: opacity 0.15s, transform 0.15s; }
[b-edn2vquls9] .me-kpi-clickable:hover { opacity: 0.88; transform: translateY(-1px); }
[b-edn2vquls9] .me-kpi-clickable:focus-visible { outline: 2px solid #00a896; outline-offset: 2px; }

.tcsp-pos[b-edn2vquls9] { color: #1a8a3a; font-weight: 700; }
.tcsp-neg[b-edn2vquls9] { color: #d93025; font-weight: 700; }

/* Card header: title left, the View Detail action right */
[b-edn2vquls9] .me-content-card .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[b-edn2vquls9] .me-card-action { border: none; background: transparent; color: #00a896; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; cursor: pointer; padding: 2px 4px; white-space: nowrap; }
[b-edn2vquls9] .me-card-action:hover { text-decoration: underline; }

/* Cards that must span both columns of the grid on their own row */
.tcsp-single[b-edn2vquls9] { padding-top: 0; }
@media (max-width: 1200px) { .tcsp-single[b-edn2vquls9] { grid-template-columns: 1fr; } }

.tcsp-income-head[b-edn2vquls9] { display: flex; justify-content: space-between; align-items: flex-end; padding: 12px 16px 4px; }
.tcsp-income-actual[b-edn2vquls9] { font-size: 20px; font-weight: 800; color: #0a3d62; }
.tcsp-income-budget[b-edn2vquls9] { font-size: 12px; color: #94a3b8; }
.tcsp-attain-track[b-edn2vquls9] { height: 6px; margin: 0 16px 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.tcsp-attain-fill[b-edn2vquls9] { height: 100%; background: linear-gradient(90deg, #0a3d62, #00a896); border-radius: 3px; }

/* Jurisdiction donut */
.tcsp-donut-wrap[b-edn2vquls9] { display: flex; align-items: center; gap: 18px; padding: 14px 16px 6px; flex-wrap: wrap; }
.tcsp-donut[b-edn2vquls9] { flex-shrink: 0; }
.tcsp-donut-legend[b-edn2vquls9] { flex: 1; min-width: 160px; }
.tcsp-donut-row[b-edn2vquls9] { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.tcsp-donut-dot[b-edn2vquls9] { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.tcsp-donut-label[b-edn2vquls9] { flex: 1; color: #4a5568; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcsp-donut-val[b-edn2vquls9] { font-weight: 700; color: #1a1d2e; font-variant-numeric: tabular-nums; }
.tcsp-donut-pct[b-edn2vquls9] { width: 36px; text-align: right; color: #94a3b8; font-size: 11px; }

/* Click-through entity table */
.tcsp-click-table tbody tr[b-edn2vquls9] { cursor: pointer; }
.tcsp-click-table tbody tr.tcsp-more-row td[b-edn2vquls9] { text-align: center; color: #94a3b8; font-style: italic; }

[b-edn2vquls9] .tcsp-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
[b-edn2vquls9] .tcsp-badge-green { background: rgba(26, 138, 58, 0.10); color: #1a8a3a; }
[b-edn2vquls9] .tcsp-badge-amber { background: rgba(201, 124, 0, 0.12); color: #c97c00; }
[b-edn2vquls9] .tcsp-badge-red   { background: rgba(217, 48, 37, 0.10); color: #d93025; }
[b-edn2vquls9] .tcsp-badge-blue  { background: rgba(26, 111, 212, 0.10); color: #1a6fd4; }
[b-edn2vquls9] .tcsp-badge-grey  { background: rgba(100, 116, 139, 0.12); color: #64748b; }

/* Two-up summary tiles (WiP, Compliance) */
.tcsp-tile-pair[b-edn2vquls9] { display: flex; gap: 12px; padding: 12px 14px 4px; }
.tcsp-tile[b-edn2vquls9] { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f7f9fc; }
.tcsp-tile-center[b-edn2vquls9] { text-align: center; }
.tcsp-tile-label[b-edn2vquls9] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.05em; }
.tcsp-tile-val[b-edn2vquls9] { font-size: 22px; font-weight: 800; margin-top: 3px; }
.tcsp-tile-big[b-edn2vquls9] { font-size: 28px; font-weight: 800; line-height: 1.1; }
.tcsp-tile-sub[b-edn2vquls9] { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.tcsp-tile-navy[b-edn2vquls9] { background: rgba(10, 61, 98, 0.06); border-color: rgba(10, 61, 98, 0.12); } .tcsp-tile-navy .tcsp-tile-val[b-edn2vquls9] { color: #0a3d62; }
.tcsp-tile-teal[b-edn2vquls9] { background: rgba(0, 168, 150, 0.07); border-color: rgba(0, 168, 150, 0.14); } .tcsp-tile-teal .tcsp-tile-val[b-edn2vquls9] { color: #00a896; }
.tcsp-tile-green[b-edn2vquls9] { background: rgba(26, 138, 58, 0.07); border-color: rgba(26, 138, 58, 0.15); } .tcsp-tile-green .tcsp-tile-big[b-edn2vquls9], .tcsp-tile-green .tcsp-tile-label[b-edn2vquls9] { color: #1a8a3a; }
.tcsp-tile-red[b-edn2vquls9] { background: rgba(217, 48, 37, 0.07); border-color: rgba(217, 48, 37, 0.15); } .tcsp-tile-red .tcsp-tile-big[b-edn2vquls9], .tcsp-tile-red .tcsp-tile-label[b-edn2vquls9] { color: #d93025; }

/* Debtors */
.tcsp-debtor-head[b-edn2vquls9] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 4px; }
.tcsp-debtor-total[b-edn2vquls9] { font-size: 26px; font-weight: 800; color: #0a3d62; line-height: 1.15; }
.tcsp-debtor-ring[b-edn2vquls9] { flex-shrink: 0; }

/* Take-on gauges */
.tcsp-gauges[b-edn2vquls9] { display: flex; justify-content: space-around; padding: 12px 8px 4px; gap: 8px; flex-wrap: wrap; }
.tcsp-gauge[b-edn2vquls9] { text-align: center; }
.tcsp-gauge-ring[b-edn2vquls9] { position: relative; width: 90px; height: 90px; margin: 0 auto 6px; }
.tcsp-gauge-center[b-edn2vquls9] { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tcsp-gauge-val[b-edn2vquls9] { font-size: 22px; font-weight: 800; line-height: 1; }
.tcsp-gauge-of[b-edn2vquls9] { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.tcsp-gauge-label[b-edn2vquls9] { font-size: 11px; font-weight: 700; color: #4a5568; }
.tcsp-gauge-sub[b-edn2vquls9] { font-size: 10px; color: #94a3b8; max-width: 110px; }

/* Compliance warning bar */
.tcsp-warn[b-edn2vquls9] { display: block; width: calc(100% - 28px); margin: 8px 14px 10px; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(217, 48, 37, 0.18); background: rgba(217, 48, 37, 0.07); color: #d93025; font-size: 11px; font-weight: 700; text-align: left; cursor: pointer; }
.tcsp-warn:hover[b-edn2vquls9] { background: rgba(217, 48, 37, 0.11); }

/* Pipeline month tiles */
.tcsp-month-tiles[b-edn2vquls9] { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 14px; }
@media (max-width: 1200px) { .tcsp-month-tiles[b-edn2vquls9] { grid-template-columns: repeat(3, 1fr); } }
.tcsp-month-tile[b-edn2vquls9] { text-align: center; padding: 10px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f7f9fc; }
.tcsp-month-tile-hot[b-edn2vquls9] { background: rgba(10, 61, 98, 0.06); border-color: rgba(10, 61, 98, 0.12); }
.tcsp-month-name[b-edn2vquls9] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; }
.tcsp-month-val[b-edn2vquls9] { font-size: 20px; font-weight: 800; color: #0a3d62; margin-top: 4px; }
.tcsp-month-tile:not(.tcsp-month-tile-hot) .tcsp-month-val[b-edn2vquls9] { color: #4a5568; }
.tcsp-month-sub[b-edn2vquls9] { font-size: 11px; color: #94a3b8; }


/* ═════════ Narrow screens ═════════ (the app shell keeps a fixed sidebar, so this is a safety net, not a mobile layout) */
.me-data-table .me-total[b-edn2vquls9] { white-space: nowrap; }
.me-content-body-table[b-edn2vquls9] { overflow-x: auto; }
.tcsp-donut[b-edn2vquls9] { max-width: 100%; height: auto; }
@media (max-width: 900px) {
    [b-edn2vquls9] .me-kpi-hero-grid { grid-template-columns: repeat(2, 1fr); }
    .tcsp-month-tiles[b-edn2vquls9] { grid-template-columns: repeat(2, 1fr); }
    .tcsp-tile-pair[b-edn2vquls9] { flex-wrap: wrap; }
}
@media (max-width: 560px) {
    [b-edn2vquls9] .me-kpi-hero-grid { grid-template-columns: 1fr; }
    .tcsp-month-tiles[b-edn2vquls9] { grid-template-columns: 1fr; }
    .tcsp-donut-wrap[b-edn2vquls9] { justify-content: center; }
    .tcsp-debtor-head[b-edn2vquls9] { flex-wrap: wrap; }
}
/* /Components/Pages/Entities/Dashboard/MasterEntity/TcspDrillDrawer.razor.rz.scp.css */
/* LW+CL 21.10.26 — TCSP Firm drill-down styling. Every drill renders inside .tcsp-drill-body, so ::deep here reaches the
   grids, badges and master/detail blocks the individual drills render. Palette is the dashboard's own (navy #0a3d62,
   teal #00a896, green #1a8a3a, amber #c97c00, red #d93025). */

.tcsp-drill-body[b-mmi2xa5tbr] { display: flex; flex-direction: column; gap: 12px; }

.tcsp-dk-row[b-mmi2xa5tbr] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .tcsp-dk-row[b-mmi2xa5tbr] { grid-template-columns: repeat(2, 1fr); } }

.tcsp-dk[b-mmi2xa5tbr] { padding: 10px 14px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 8px; border-top: 3px solid #0a3d62; }
.tcsp-dk-label[b-mmi2xa5tbr] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.tcsp-dk-val[b-mmi2xa5tbr] { font-size: 22px; font-weight: 800; margin-top: 3px; line-height: 1.1; color: #0a3d62; }
.tcsp-dk-sub[b-mmi2xa5tbr] { font-size: 11px; color: #64748b; margin-top: 3px; }
.tcsp-dk-green[b-mmi2xa5tbr] { border-top-color: #1a8a3a; } .tcsp-dk-green .tcsp-dk-val[b-mmi2xa5tbr] { color: #1a8a3a; }
.tcsp-dk-teal[b-mmi2xa5tbr]  { border-top-color: #00a896; } .tcsp-dk-teal  .tcsp-dk-val[b-mmi2xa5tbr] { color: #00a896; }
.tcsp-dk-amber[b-mmi2xa5tbr] { border-top-color: #c97c00; } .tcsp-dk-amber .tcsp-dk-val[b-mmi2xa5tbr] { color: #c97c00; }
.tcsp-dk-red[b-mmi2xa5tbr]   { border-top-color: #d93025; } .tcsp-dk-red   .tcsp-dk-val[b-mmi2xa5tbr] { color: #d93025; }
.tcsp-dk-blue[b-mmi2xa5tbr]  { border-top-color: #1a6fd4; } .tcsp-dk-blue  .tcsp-dk-val[b-mmi2xa5tbr] { color: #1a6fd4; }
.tcsp-dk-navy[b-mmi2xa5tbr]  { border-top-color: #0a3d62; } .tcsp-dk-navy  .tcsp-dk-val[b-mmi2xa5tbr] { color: #0a3d62; }

.tcsp-drill-note[b-mmi2xa5tbr] { font-size: 11px; color: #64748b; font-style: italic; }

/* The grid's bounding wrapper. Height is capped so a long drill scrolls inside itself. */
[b-mmi2xa5tbr] .tcsp-drill-grid-wrap { height: 52vh; min-height: 260px; }
[b-mmi2xa5tbr] .tcsp-drill-grid-wrap-short { height: 30vh; min-height: 200px; }

[b-mmi2xa5tbr] .tcsp-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin: 4px 0 -4px; }
[b-mmi2xa5tbr] .tcsp-drill-empty { padding: 28px; text-align: center; color: #94a3b8; font-size: 13px; }

[b-mmi2xa5tbr] .tcsp-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
[b-mmi2xa5tbr] .tcsp-badge-green { background: rgba(26, 138, 58, 0.10); color: #1a8a3a; }
[b-mmi2xa5tbr] .tcsp-badge-amber { background: rgba(201, 124, 0, 0.12); color: #c97c00; }
[b-mmi2xa5tbr] .tcsp-badge-red   { background: rgba(217, 48, 37, 0.10); color: #d93025; }
[b-mmi2xa5tbr] .tcsp-badge-blue  { background: rgba(26, 111, 212, 0.10); color: #1a6fd4; }
[b-mmi2xa5tbr] .tcsp-badge-grey  { background: rgba(100, 116, 139, 0.12); color: #64748b; }

[b-mmi2xa5tbr] .tcsp-pos { color: #1a8a3a; } [b-mmi2xa5tbr] .tcsp-neg { color: #d93025; }

/* Grid cell colouring (CellCssClassFunc). A plain coloured, bold label rather than a pill: a pill would need a cell template. */
[b-mmi2xa5tbr] .tcsp-cell-green { color: #1a8a3a; font-weight: 700; }
[b-mmi2xa5tbr] .tcsp-cell-amber { color: #c97c00; font-weight: 700; }
[b-mmi2xa5tbr] .tcsp-cell-red   { color: #d93025; font-weight: 700; }
[b-mmi2xa5tbr] .tcsp-cell-blue  { color: #1a6fd4; font-weight: 700; }
[b-mmi2xa5tbr] .tcsp-cell-grey  { color: #94a3b8; }

/* A take-on case whose SLA is breached: the whole row red (applied through the grid's CustomizeElement). */
[b-mmi2xa5tbr] tr.tcsp-row-red > td { background: rgba(217, 48, 37, 0.08); color: #d93025; }

/* The entities drill's dedicated filters. */
[b-mmi2xa5tbr] .tcsp-drill-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { [b-mmi2xa5tbr] .tcsp-drill-filters { grid-template-columns: repeat(2, 1fr); } }
/* /Components/Pages/Entities/Dashboard/MasterEntity/TcspEntityDetail.razor.rz.scp.css */
/* LW+CL 21.10.26 — TCSP Firm variant. Base rules copied from FundAdminDashboard.razor.css (scoped CSS is per component, as
   InvestmentFirmDashboard.razor.css does too) so the three variants look identical; TCSP additions follow the copy.
   Original header: Master Entity Fund Admin dashboard variant.
   KPI tiles reuse .dash-kpi / .dash-kpi-* classes from wwwroot/css/site.css.
   Content cards reuse the .card / .card-header pattern shared with entity dashboard tiles
   (scoped globally under .grid-stack-item-content in site.css; we re-apply the same treatment
   without needing a GridStack wrapper). Keep this file scoped to layout + stub treatment only. */

.me-loading[b-ikgu76zits] {
    padding: 40px 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

/* Hero row — 5 KPI tiles for TCSP (the POC has five); override the 3-col default on .dash-kpi-grid */
[b-ikgu76zits] .me-kpi-hero-grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 16px;
}

@media (max-width: 1400px) {
    [b-ikgu76zits] .me-kpi-hero-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

[b-ikgu76zits] .dash-kpi-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

[b-ikgu76zits] .me-kpi-muted { color: #94a3b8; }

[b-ikgu76zits] .me-kpi-nodata {
    color: #c97c00;
    font-style: italic;
}

[b-ikgu76zits] .me-kpi-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    background: #f0f4f8;
    color: #64748b;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

/* Content cards — match the entity dashboard .card / .card-header treatment.
   site.css defines .grid-stack-item-content .card; duplicate the core rules here because
   we render outside GridStack. Stylistic parity with the rest of the dashboard is the goal. */
.me-content-grid[b-ikgu76zits] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

@media (max-width: 1200px) {
    .me-content-grid[b-ikgu76zits] { grid-template-columns: 1fr; }
}

.me-content-card[b-ikgu76zits] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.18s;
}

.me-content-card:hover[b-ikgu76zits] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.me-content-card-full[b-ikgu76zits] { grid-column: 1 / -1; }

[b-ikgu76zits] .me-content-card .card-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #0a3d62;
    padding: 13px 16px 11px;
    background: #fff;
    border: none;
    position: relative;
}

[b-ikgu76zits] .me-content-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00a896;
}

[b-ikgu76zits] .me-content-card .card-header.hdr-risk::before { background: #00a896; }
[b-ikgu76zits] .me-content-card .card-header.hdr-tasks::before { background: #c97c00; }
[b-ikgu76zits] .me-content-card .card-header.hdr-alerts::before { background: #d93025; }
[b-ikgu76zits] .me-content-card .card-header.hdr-docs::before { background: #1a6fd4; }
[b-ikgu76zits] .me-content-card .card-header.hdr-rels::before { background: #0a3d62; }
[b-ikgu76zits] .me-content-card .card-header.hdr-finance::before { background: #1a8a3a; }

.me-content-body[b-ikgu76zits] {
    flex: 1;
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
}

/* Data-bearing cards reset the centring; content flows from the top. */
.me-content-body-table[b-ikgu76zits],
.me-content-body-chart[b-ikgu76zits] {
    display: block;
    padding: 0;
    text-align: left;
    justify-content: flex-start;
    align-items: stretch;
}

.me-content-stub[b-ikgu76zits] {
    font-size: 14px;
    color: #c8d4e0;
    font-weight: 500;
}

.me-content-stub-reason[b-ikgu76zits] {
    font-size: 11px;
    color: #c97c00;
    font-style: italic;
    max-width: 360px;
}

/* Table rendering inside content cards — used by Debtors Aged, Fee Income Pipeline, etc. */
.me-content-body-table[b-ikgu76zits] {
    display: block;
    padding: 0;
    text-align: left;
}

.me-data-table[b-ikgu76zits] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.me-data-table thead th[b-ikgu76zits] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f7f9fc;
    text-align: left;
}

.me-data-table tbody td[b-ikgu76zits] {
    padding: 8px 14px;
    border-bottom: 1px solid #f0f4f8;
    color: #1a1d2e;
}

.me-data-table tbody tr:last-child td[b-ikgu76zits] {
    border-bottom: none;
}

.me-data-table tbody tr:hover[b-ikgu76zits] {
    background: #f7f9fc;
}

.me-data-table .text-right[b-ikgu76zits] { text-align: right; }
.me-data-table .me-danger[b-ikgu76zits] { color: #d93025; font-weight: 600; }
.me-data-table .me-total[b-ikgu76zits] { font-weight: 700; color: #0a3d62; }

[b-ikgu76zits] .me-card-hdr-kpi {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 10px;
    font-style: normal;
}

.me-card-foot-note[b-ikgu76zits] {
    padding: 8px 14px 12px;
    font-size: 10px;
    color: #c97c00;
    font-style: italic;
    border-top: 1px solid #f0f4f8;
}

/* ═════════ Chart patterns ported from ws-fundadmin-dashboard-poc.html ═════════ */

/* Horizontal bar row — used by Jurisdiction, WiP, Portfolio, NAV Volume, Sub/Red */
.me-hbar-list[b-ikgu76zits] { padding: 4px 14px 10px; }
.me-hbar-row[b-ikgu76zits] { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.me-hbar-row:last-child[b-ikgu76zits] { border-bottom: none; }
.me-hbar-label[b-ikgu76zits] { width: 140px; font-size: 11px; color: #4a5568; font-weight: 500; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-hbar-track[b-ikgu76zits] { flex: 1; height: 16px; background: #f7f9fc; border-radius: 4px; overflow: hidden; position: relative; }
.me-hbar-fill[b-ikgu76zits] { height: 100%; border-radius: 4px; transition: width 0.4s ease; }
.me-hbar-actual[b-ikgu76zits] { width: 90px; font-size: 11px; font-weight: 600; color: #1a1d2e; text-align: right; font-family: monospace; flex-shrink: 0; }

/* Fill colours — align with existing dashboard accent system */
.me-hbar-fill.c-navy[b-ikgu76zits] { background: #0a3d62; }
.me-hbar-fill.c-green[b-ikgu76zits] { background: #1a8a3a; }
.me-hbar-fill.c-red[b-ikgu76zits] { background: #d93025; }
.me-hbar-fill.c-blue[b-ikgu76zits] { background: #1a6fd4; }
.me-hbar-fill.c-teal[b-ikgu76zits] { background: #00a896; }
.me-hbar-fill.c-purple[b-ikgu76zits] { background: #6b46c1; }
.me-hbar-fill.c-amber[b-ikgu76zits] { background: #c97c00; }

/* Vertical column bar chart — monthly actual vs budget */
.me-chart-bar-group[b-ikgu76zits] { display: flex; gap: 4px; align-items: flex-end; height: 140px; padding: 8px 14px 2px; }
.me-chart-col[b-ikgu76zits] { display: flex; flex-direction: column; align-items: center; align-self: stretch; flex: 1; gap: 4px; }
.me-chart-bars[b-ikgu76zits] { display: flex; gap: 2px; align-items: flex-end; flex: 1; min-height: 0; width: 100%; }
.me-chart-bar[b-ikgu76zits] { flex: 1; border-radius: 3px 3px 0 0; min-width: 6px; transition: opacity 0.2s; cursor: default; position: relative; }
.me-chart-bar:hover[b-ikgu76zits] { opacity: 0.8; }
.me-chart-bar.actual[b-ikgu76zits] { background: #0a3d62; }
.me-chart-bar.budget[b-ikgu76zits] { background: #d1dce8; }
.me-chart-bar.current-month[b-ikgu76zits] { background: #6b46c1; }
.me-chart-col-label[b-ikgu76zits] { font-size: 9px; color: #94a3b8; }

.me-chart-legend[b-ikgu76zits] { display: flex; gap: 14px; padding: 8px 14px 10px; border-top: 1px solid #f0f4f8; margin-top: 4px; }
.me-chart-legend-item[b-ikgu76zits] { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #94a3b8; }
.me-chart-legend-dot[b-ikgu76zits] { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }

/* Sub-KPI grid — used by NAV Performance */
.me-sub-kpi-grid[b-ikgu76zits] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 14px; }
.me-sub-kpi-card[b-ikgu76zits] { padding: 10px 12px; background: #f7f9fc; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; }
.me-sub-kpi-card.alert[b-ikgu76zits] { background: rgba(217, 48, 37, 0.08); border-color: rgba(217, 48, 37, 0.2); }
.me-sub-kpi-label[b-ikgu76zits] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.06em; }
.me-sub-kpi-val[b-ikgu76zits] { font-size: 20px; font-weight: 800; margin-top: 3px; line-height: 1.1; }
.me-sub-kpi-val.c-navy[b-ikgu76zits] { color: #0a3d62; }
.me-sub-kpi-val.c-green[b-ikgu76zits] { color: #1a8a3a; }
.me-sub-kpi-val.c-red[b-ikgu76zits] { color: #d93025; }
.me-sub-kpi-val.c-blue[b-ikgu76zits] { color: #1a6fd4; }
.me-sub-kpi-val.c-purple[b-ikgu76zits] { color: #6b46c1; }
.me-sub-kpi-val.c-teal[b-ikgu76zits] { color: #00a896; }
.me-sub-kpi-val.c-muted[b-ikgu76zits] { color: #c8d4e0; font-weight: 300; }

/* Flow cards — used by Sub/Red (3 colourful cards at top) */
.me-flow-row[b-ikgu76zits] { display: flex; gap: 10px; padding: 10px 14px; }
.me-flow-card[b-ikgu76zits] { flex: 1; padding: 12px; border-radius: 8px; text-align: center; }
.me-flow-card.flow-in[b-ikgu76zits] { background: rgba(26, 138, 58, 0.09); border: 1px solid rgba(26, 138, 58, 0.15); }
.me-flow-card.flow-out[b-ikgu76zits] { background: rgba(217, 48, 37, 0.09); border: 1px solid rgba(217, 48, 37, 0.15); }
.me-flow-card.flow-net[b-ikgu76zits] { background: rgba(26, 111, 212, 0.09); border: 1px solid rgba(26, 111, 212, 0.15); }
.me-flow-label[b-ikgu76zits] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.me-flow-val[b-ikgu76zits] { font-size: 20px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.me-flow-sub[b-ikgu76zits] { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.me-flow-in .me-flow-label[b-ikgu76zits], .me-flow-in .me-flow-val[b-ikgu76zits] { color: #1a8a3a; }
.me-flow-out .me-flow-label[b-ikgu76zits], .me-flow-out .me-flow-val[b-ikgu76zits] { color: #d93025; }
.me-flow-net .me-flow-label[b-ikgu76zits], .me-flow-net .me-flow-val[b-ikgu76zits] { color: #1a6fd4; }

/* Section label inside a card body */
.me-section-label[b-ikgu76zits] {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #94a3b8;
    padding: 4px 14px 2px;
}

/* Fund status badge — used in Fund Portfolio table */
[b-ikgu76zits] .me-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
[b-ikgu76zits] .me-badge-active      { background: rgba(26,138,58,0.10); color: #1a8a3a; }
[b-ikgu76zits] .me-badge-closed      { background: rgba(100,116,139,0.12); color: #64748b; }
[b-ikgu76zits] .me-badge-liquidating { background: rgba(201,124,0,0.10); color: #c97c00; }
[b-ikgu76zits] .me-badge-terminated  { background: rgba(217,48,37,0.10); color: #d93025; }

/* ═════════ TCSP additions ═════════ */

[b-ikgu76zits] .me-kpi-clickable { cursor: pointer; transition: opacity 0.15s, transform 0.15s; }
[b-ikgu76zits] .me-kpi-clickable:hover { opacity: 0.88; transform: translateY(-1px); }
[b-ikgu76zits] .me-kpi-clickable:focus-visible { outline: 2px solid #00a896; outline-offset: 2px; }

.tcsp-pos[b-ikgu76zits] { color: #1a8a3a; font-weight: 700; }
.tcsp-neg[b-ikgu76zits] { color: #d93025; font-weight: 700; }

/* Card header: title left, the View Detail action right */
[b-ikgu76zits] .me-content-card .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[b-ikgu76zits] .me-card-action { border: none; background: transparent; color: #00a896; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; cursor: pointer; padding: 2px 4px; white-space: nowrap; }
[b-ikgu76zits] .me-card-action:hover { text-decoration: underline; }

/* Cards that must span both columns of the grid on their own row */
.tcsp-single[b-ikgu76zits] { padding-top: 0; }
@media (max-width: 1200px) { .tcsp-single[b-ikgu76zits] { grid-template-columns: 1fr; } }

.tcsp-income-head[b-ikgu76zits] { display: flex; justify-content: space-between; align-items: flex-end; padding: 12px 16px 4px; }
.tcsp-income-actual[b-ikgu76zits] { font-size: 20px; font-weight: 800; color: #0a3d62; }
.tcsp-income-budget[b-ikgu76zits] { font-size: 12px; color: #94a3b8; }
.tcsp-attain-track[b-ikgu76zits] { height: 6px; margin: 0 16px 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.tcsp-attain-fill[b-ikgu76zits] { height: 100%; background: linear-gradient(90deg, #0a3d62, #00a896); border-radius: 3px; }

/* Jurisdiction donut */
.tcsp-donut-wrap[b-ikgu76zits] { display: flex; align-items: center; gap: 18px; padding: 14px 16px 6px; flex-wrap: wrap; }
.tcsp-donut[b-ikgu76zits] { flex-shrink: 0; }
.tcsp-donut-legend[b-ikgu76zits] { flex: 1; min-width: 160px; }
.tcsp-donut-row[b-ikgu76zits] { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.tcsp-donut-dot[b-ikgu76zits] { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.tcsp-donut-label[b-ikgu76zits] { flex: 1; color: #4a5568; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcsp-donut-val[b-ikgu76zits] { font-weight: 700; color: #1a1d2e; font-variant-numeric: tabular-nums; }
.tcsp-donut-pct[b-ikgu76zits] { width: 36px; text-align: right; color: #94a3b8; font-size: 11px; }

/* Click-through entity table */
.tcsp-click-table tbody tr[b-ikgu76zits] { cursor: pointer; }
.tcsp-click-table tbody tr.tcsp-more-row td[b-ikgu76zits] { text-align: center; color: #94a3b8; font-style: italic; }

[b-ikgu76zits] .tcsp-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
[b-ikgu76zits] .tcsp-badge-green { background: rgba(26, 138, 58, 0.10); color: #1a8a3a; }
[b-ikgu76zits] .tcsp-badge-amber { background: rgba(201, 124, 0, 0.12); color: #c97c00; }
[b-ikgu76zits] .tcsp-badge-red   { background: rgba(217, 48, 37, 0.10); color: #d93025; }
[b-ikgu76zits] .tcsp-badge-blue  { background: rgba(26, 111, 212, 0.10); color: #1a6fd4; }
[b-ikgu76zits] .tcsp-badge-grey  { background: rgba(100, 116, 139, 0.12); color: #64748b; }

/* Two-up summary tiles (WiP, Compliance) */
.tcsp-tile-pair[b-ikgu76zits] { display: flex; gap: 12px; padding: 12px 14px 4px; }
.tcsp-tile[b-ikgu76zits] { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f7f9fc; }
.tcsp-tile-center[b-ikgu76zits] { text-align: center; }
.tcsp-tile-label[b-ikgu76zits] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; letter-spacing: 0.05em; }
.tcsp-tile-val[b-ikgu76zits] { font-size: 22px; font-weight: 800; margin-top: 3px; }
.tcsp-tile-big[b-ikgu76zits] { font-size: 28px; font-weight: 800; line-height: 1.1; }
.tcsp-tile-sub[b-ikgu76zits] { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.tcsp-tile-navy[b-ikgu76zits] { background: rgba(10, 61, 98, 0.06); border-color: rgba(10, 61, 98, 0.12); } .tcsp-tile-navy .tcsp-tile-val[b-ikgu76zits] { color: #0a3d62; }
.tcsp-tile-teal[b-ikgu76zits] { background: rgba(0, 168, 150, 0.07); border-color: rgba(0, 168, 150, 0.14); } .tcsp-tile-teal .tcsp-tile-val[b-ikgu76zits] { color: #00a896; }
.tcsp-tile-green[b-ikgu76zits] { background: rgba(26, 138, 58, 0.07); border-color: rgba(26, 138, 58, 0.15); } .tcsp-tile-green .tcsp-tile-big[b-ikgu76zits], .tcsp-tile-green .tcsp-tile-label[b-ikgu76zits] { color: #1a8a3a; }
.tcsp-tile-red[b-ikgu76zits] { background: rgba(217, 48, 37, 0.07); border-color: rgba(217, 48, 37, 0.15); } .tcsp-tile-red .tcsp-tile-big[b-ikgu76zits], .tcsp-tile-red .tcsp-tile-label[b-ikgu76zits] { color: #d93025; }

/* Debtors */
.tcsp-debtor-head[b-ikgu76zits] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 4px; }
.tcsp-debtor-total[b-ikgu76zits] { font-size: 26px; font-weight: 800; color: #0a3d62; line-height: 1.15; }
.tcsp-debtor-ring[b-ikgu76zits] { flex-shrink: 0; }

/* Take-on gauges */
.tcsp-gauges[b-ikgu76zits] { display: flex; justify-content: space-around; padding: 12px 8px 4px; gap: 8px; flex-wrap: wrap; }
.tcsp-gauge[b-ikgu76zits] { text-align: center; }
.tcsp-gauge-ring[b-ikgu76zits] { position: relative; width: 90px; height: 90px; margin: 0 auto 6px; }
.tcsp-gauge-center[b-ikgu76zits] { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tcsp-gauge-val[b-ikgu76zits] { font-size: 22px; font-weight: 800; line-height: 1; }
.tcsp-gauge-of[b-ikgu76zits] { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.tcsp-gauge-label[b-ikgu76zits] { font-size: 11px; font-weight: 700; color: #4a5568; }
.tcsp-gauge-sub[b-ikgu76zits] { font-size: 10px; color: #94a3b8; max-width: 110px; }

/* Compliance warning bar */
.tcsp-warn[b-ikgu76zits] { display: block; width: calc(100% - 28px); margin: 8px 14px 10px; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(217, 48, 37, 0.18); background: rgba(217, 48, 37, 0.07); color: #d93025; font-size: 11px; font-weight: 700; text-align: left; cursor: pointer; }
.tcsp-warn:hover[b-ikgu76zits] { background: rgba(217, 48, 37, 0.11); }

/* Pipeline month tiles */
.tcsp-month-tiles[b-ikgu76zits] { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 14px; }
@media (max-width: 1200px) { .tcsp-month-tiles[b-ikgu76zits] { grid-template-columns: repeat(3, 1fr); } }
.tcsp-month-tile[b-ikgu76zits] { text-align: center; padding: 10px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f7f9fc; }
.tcsp-month-tile-hot[b-ikgu76zits] { background: rgba(10, 61, 98, 0.06); border-color: rgba(10, 61, 98, 0.12); }
.tcsp-month-name[b-ikgu76zits] { font-size: 10px; font-weight: 600; text-transform: uppercase; color: #94a3b8; }
.tcsp-month-val[b-ikgu76zits] { font-size: 20px; font-weight: 800; color: #0a3d62; margin-top: 4px; }
.tcsp-month-tile:not(.tcsp-month-tile-hot) .tcsp-month-val[b-ikgu76zits] { color: #4a5568; }
.tcsp-month-sub[b-ikgu76zits] { font-size: 11px; color: #94a3b8; }

/* ═════════ Entity detail ═════════ */
.tcsp-detail[b-ikgu76zits] { padding: 0 16px 16px; }
.tcsp-detail-nav[b-ikgu76zits] { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.tcsp-detail-crumb[b-ikgu76zits] { font-size: 12px; color: #94a3b8; }
.tcsp-detail-crumb strong[b-ikgu76zits] { color: #4a5568; font-weight: 600; }
.tcsp-detail-sep[b-ikgu76zits] { margin: 0 4px; }
.tcsp-detail-banner[b-ikgu76zits] { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; margin-bottom: 4px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; border-left: 4px solid #00a896; }
.tcsp-detail-name[b-ikgu76zits] { font-size: 18px; font-weight: 800; color: #0a3d62; }
.tcsp-detail-meta[b-ikgu76zits] { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.tcsp-detail-kpis[b-ikgu76zits] { padding-left: 0; padding-right: 0; grid-template-columns: repeat(4, 1fr); }
.tcsp-detail .me-content-grid[b-ikgu76zits] { padding-left: 0; padding-right: 0; }
.tcsp-profile[b-ikgu76zits] { padding: 6px 14px 12px; }
.tcsp-field[b-ikgu76zits] { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f0f4f8; }
.tcsp-field:last-child[b-ikgu76zits] { border-bottom: none; }
.tcsp-field-label[b-ikgu76zits] { width: 130px; flex-shrink: 0; font-size: 11px; color: #4a5568; font-weight: 500; }
.tcsp-field-val[b-ikgu76zits] { flex: 1; font-size: 12px; color: #1a1d2e; }
.tcsp-tile-button[b-ikgu76zits] { display: flex; flex-direction: column; align-items: flex-start; text-align: left; cursor: pointer; font: inherit; }
.tcsp-tile-button:hover[b-ikgu76zits] { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }

/* ═════════ Narrow screens ═════════ (the app shell keeps a fixed sidebar, so this is a safety net, not a mobile layout) */
.me-data-table .me-total[b-ikgu76zits] { white-space: nowrap; }
.me-content-body-table[b-ikgu76zits] { overflow-x: auto; }
.tcsp-donut[b-ikgu76zits] { max-width: 100%; height: auto; }
@media (max-width: 900px) {
    [b-ikgu76zits] .me-kpi-hero-grid { grid-template-columns: repeat(2, 1fr); }
    .tcsp-month-tiles[b-ikgu76zits] { grid-template-columns: repeat(2, 1fr); }
    .tcsp-tile-pair[b-ikgu76zits] { flex-wrap: wrap; }
}
@media (max-width: 560px) {
    [b-ikgu76zits] .me-kpi-hero-grid { grid-template-columns: 1fr; }
    .tcsp-month-tiles[b-ikgu76zits] { grid-template-columns: 1fr; }
    .tcsp-donut-wrap[b-ikgu76zits] { justify-content: center; }
    .tcsp-debtor-head[b-ikgu76zits] { flex-wrap: wrap; }
}
@media (max-width: 900px) { .tcsp-detail-kpis[b-ikgu76zits] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tcsp-detail-kpis[b-ikgu76zits] { grid-template-columns: 1fr; } }
/* /Components/Pages/Entities/EntitiesGes.razor.rz.scp.css */
/* LW+CL:29.10.26 above the grid when a search found more matches than it shows (EntitiesGes.SearchResultCap) */
.ges-search-capped[b-iy35hdjzww] {
    margin: 0 0 .4rem 0;
    padding: .35rem .6rem;
    font-size: .8rem;
    color: var(--bs-secondary-color, #6c757d);
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-left: 3px solid var(--bs-warning, #f0ad4e);
    border-radius: 3px;
}

/* LW+CL:29.10.26 the Entities pane: the capped line (when shown) on top, the grid filling the rest */
.ges-grid-wrap[b-iy35hdjzww] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ges-grid-wrap-body[b-iy35hdjzww] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* LW+CL:03.11.26 the help panel when the typed text matches no help page and it shows its whole list */
.ges-help-nomatch[b-iy35hdjzww] {
    margin: 0 0 .5rem 0;
    font-size: .8rem;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Pages/Entities/EntityWizard/EntityEditWizard.razor.rz.scp.css */
.entity-wizard-root[b-rlngcnug1b] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}


.entity-wizard-root[b-rlngcnug1b]  .popup-form-layout,
.entity-wizard-root[b-rlngcnug1b]  .my-grid,
.entity-wizard-root[b-rlngcnug1b]  .my-grid-item,
.entity-wizard-root[b-rlngcnug1b]  .my-grid-item .dxbl-fl-ctrl.dxbl-fl-ctrl-nc {
    height: 100%;
    width: 100%;
}

.entity-wizard-root[b-rlngcnug1b]  .popup-form-layout > .dxbl-row {
    height: calc(100% - 80px);
}
/* /Components/Pages/Entities/EntityWizard/WizardSteps/EntitySecurity.razor.rz.scp.css */
.egs-container[b-jon9dc1k39] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.egs-search[b-jon9dc1k39] {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.egs-list[b-jon9dc1k39] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.egs-header[b-jon9dc1k39],
.egs-row[b-jon9dc1k39] {
    display: grid;
    grid-template-columns: 32px 1fr 60px;
    align-items: center;
    padding: 3px 10px;
    gap: 4px;
}

.egs-header[b-jon9dc1k39] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
}

.egs-row[b-jon9dc1k39] {
    border-bottom: 1px solid #f0f0f0;
}

.egs-row:last-child[b-jon9dc1k39] {
    border-bottom: none;
}

.egs-row:hover[b-jon9dc1k39] {
    background-color: #f8f9fa;
}

.egs-check[b-jon9dc1k39] {
    flex-shrink: 0;
}

.egs-col-name[b-jon9dc1k39] {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.egs-col-count[b-jon9dc1k39] {
    font-size: 0.82rem;
    color: #6c757d;
    text-align: right;
}

.egs-empty[b-jon9dc1k39] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.egs-validation[b-jon9dc1k39] {
    color: #dc3545;
    font-size: 0.85rem;
    padding: 4px 0;
}
/* /Components/Pages/Entities/EntityWorkFlow.razor.rz.scp.css */
/* Shared styles (theme-agnostic) */
[b-lsm9fo6r0g] .workflow-accordion {
	width: 100% !important;
}

[b-lsm9fo6r0g] .workflow-accordion .Completed {
	background-color: white;
	color: green;
}

/* ===== Accordion header + active/hover styling ===== */
[b-lsm9fo6r0g] .workflow-fluent .dxbl-group > .dxbl-group-header::before {
	background-color: #00d9c5 !important;
	color: black;
	opacity: 1 !important;
}

[b-lsm9fo6r0g] .workflow-fluent .dxbl-group > .dxbl-group-header::after {
	background-color: darkblue !important;
	color: black;
	opacity: 1 !important;
}

[b-lsm9fo6r0g] .workflow-fluent .dxbl-accordion-group .dxbl-accordion-item:not(.dxbl-accordion-group):not(.dxbl-disabled):not(:disabled).dxbl-active, .dxbl-accordion .dxbl-accordion-group .dxbl-accordion-item:not(.dxbl-accordion-group):not(.dxbl-disabled):not(:disabled):active[b-lsm9fo6r0g], .dxbl-accordion .dxbl-accordion-group .dxbl-accordion-item:not(.dxbl-accordion-group):not(.dxbl-disabled):not(:disabled):hover[b-lsm9fo6r0g] {
	background-color: #00b894 !important;
	color: white;
	opacity: 1 !important;
}
/* /Components/Pages/Entities/KeyDates/EntityKeyDates.razor.rz.scp.css */
/* Drill-down KPI summary cards */
.drill-kpis[b-yh0a0cycu6] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 0 4px;
    flex-shrink: 0;
    background: #fff;
}

.dk[b-yh0a0cycu6] {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
}

.dk-label[b-yh0a0cycu6] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.dk-val[b-yh0a0cycu6] {
    font-size: 18px;
    font-weight: 800;
    margin-top: 2px;
}

.dk-navy[b-yh0a0cycu6]  { color: #0a3d62; }
.dk-red[b-yh0a0cycu6]   { color: #d93025; }
.dk-amber[b-yh0a0cycu6] { color: #c97c00; }
.dk-green[b-yh0a0cycu6] { color: #1a8a3a; }

/* /Components/Pages/Entities/Notes/Notes.razor.rz.scp.css */
/* Drill-down KPI styles are in site.css (scoped CSS can't reach DxPopup body) */
/* /Components/Pages/Entities/Relationships/EntityRelationshipEditor.razor.rz.scp.css */
/* Evidence tab (AM+CL 29.09.26): the section scrolls inside the popup rather than pushing it past the viewport. */
.rel-editor-evidence-wrap[b-rfzfp6h57e] {
    max-height: 60vh;
    min-height: 220px;
    overflow-y: auto;
    padding: 0.5rem 0.25rem;
}
/* /Components/Pages/Entities/Relationships/EntityRelationships.razor.rz.scp.css */

li.right[b-l5eb8zcfbl] {
	float: right;
}

/* Drill-down KPI styles are in site.css (scoped CSS can't reach DxPopup body) */

/* AM+CL 29.09.26: evidence paperclip column - a zero count reads muted so the missing ones stand out. */
.rel-ev-cell[b-l5eb8zcfbl]  .rel-ev-count {
	padding: 0 0.25rem;
	font-weight: 600;
}

.rel-ev-cell[b-l5eb8zcfbl]  .rel-ev-count-none {
	opacity: 0.55;
	font-weight: 400;
}

/* LW+CL:02.11.26 Officers Grid overlay: an officer's open Officer Change case, and the appointments waiting for approval. */
.rel-offchg-cell[b-l5eb8zcfbl]  .rel-offchg-open {
	padding: 0 0.25rem;
	font-weight: 600;
	white-space: nowrap;
}

.rel-offchg-cell[b-l5eb8zcfbl]  .rel-offchg-history {
	padding: 0 0.25rem;
	white-space: nowrap;
}

.rel-offchg-banner[b-l5eb8zcfbl] {
	margin: 0 0 0.5rem 0;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--bs-info-border-subtle, #9eeaf9);
	border-radius: 6px;
	background: var(--bs-info-bg-subtle, #cff4fc);
}

.rel-offchg-banner.rel-offchg-failed[b-l5eb8zcfbl] {
	border-color: var(--bs-warning-border-subtle, #ffe69c);
	background: var(--bs-warning-bg-subtle, #fff3cd);
}

.rel-offchg-head[b-l5eb8zcfbl] {
	font-weight: 600;
}

.rel-offchg-list[b-l5eb8zcfbl] {
	margin: 0.25rem 0 0 0;
	padding-left: 1.25rem;
}

/* LW+CL:06.11.26 Officers Grid parity: the bar over the grid once officers are ticked (how many, and the bulk actions). */
.rel-bulk-bar[b-l5eb8zcfbl] {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; padding: .45rem .75rem;
    background: #eef6ff; border: 1px solid #bcd9f7; border-radius: 6px;
}
.rel-bulk-count[b-l5eb8zcfbl] { font-size: .8rem; font-weight: 700; color: #1d4e89; margin-right: .25rem; }

/* LW+CL:06.11.26 Officers Grid second pass: the governance status line, the bulk-bar hint and the Status column. */
.rel-gov-status[b-l5eb8zcfbl] { font-size: .74rem; font-weight: 600; color: #475569; background: #f1f5f9; border-radius: 999px; padding: .2rem .7rem; display: inline-block; margin: 0 0 .5rem; }
.rel-bulk-hint[b-l5eb8zcfbl] { font-size: .74rem; color: #64748b; }
.rel-status[b-l5eb8zcfbl] { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; }
.rel-status-dot[b-l5eb8zcfbl] { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; background: #94a3b8; }
.rel-status-active[b-l5eb8zcfbl] { color: #166534; } .rel-status-active .rel-status-dot[b-l5eb8zcfbl] { background: #16a34a; }
.rel-status-ended[b-l5eb8zcfbl] { color: #64748b; }
/* LW+CL:11.11.26 Entity Dashboard C88: the relationship status badge (ACTIVE / CONCLUDED) */
.rel-status-badge[b-l5eb8zcfbl] { display: inline-block; padding: .05rem .5rem; border-radius: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; background: #f1f5f9; color: #64748b; }
.rel-status-badge-active[b-l5eb8zcfbl] { background: #d1fae5; color: #065f46; }
/* LW+CL:09.11.26 Entity Onboarding C175: the party's AML result badge on a Phase 7 register row */
.rel-aml[b-l5eb8zcfbl] { display: inline-block; padding: .05rem .5rem; border-radius: 10px; font-size: .72rem; font-weight: 600; background: #f1f5f9; color: #475569; }
.rel-aml-clear[b-l5eb8zcfbl] { background: #d1fae5; color: #065f46; }
.rel-aml-hit[b-l5eb8zcfbl] { background: #fee2e2; color: #991b1b; }
.rel-aml-pending[b-l5eb8zcfbl], .rel-aml-not-screened[b-l5eb8zcfbl] { background: #fef3c7; color: #92400e; }
/* /Components/Pages/Entities/Relationships/RelationshipDeleteReasonEditor.razor.rz.scp.css */
.rel-delete-reason-note[b-kwtp127dsg] {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #4a5560;
}
/* /Components/Pages/Entities/Relationships/RelationshipEvidencePopup.razor.rz.scp.css */
/* Relationships grid -> evidence popup (AM+CL 29.09.26). */
.rel-ev-pop-title[b-6aq45fh2ii] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f1b2a;
    margin-bottom: 0.5rem;
}

.rel-ev-pop-arrow[b-6aq45fh2ii] {
    margin: 0 0.3rem;
    color: #8a97a8;
}

.rel-ev-pop-type[b-6aq45fh2ii] {
    margin-left: 0.4rem;
    font-weight: 400;
    font-size: 0.82rem;
    color: #55647a;
}
/* /Components/Pages/Entities/Relationships/RelationshipEvidenceSection.razor.rz.scp.css */
/* Relationship evidence section - the one evidence UI (AM+CL 29.09.26). The status chips (.ubo-ev-chip-*) are global, in wwwroot/app.css. */
.rel-ev[b-de6pgxh3oc] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.1rem 0.2rem;
}

.rel-ev-head[b-de6pgxh3oc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 0.25rem;
}

.rel-ev-head-t[b-de6pgxh3oc] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f1b2a;
}

.rel-ev-note[b-de6pgxh3oc] {
    color: #8a97a8;
    font-size: 0.83rem;
}

.rel-ev-row[b-de6pgxh3oc] {
    padding: 0.4rem 0.5rem;
    border: 1px solid #eef2f6;
    border-radius: 8px;
}

.rel-ev-l1[b-de6pgxh3oc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

[b-de6pgxh3oc] .rel-ev-file {
    padding: 0;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
    overflow-wrap: anywhere;
}

.rel-ev-file-none[b-de6pgxh3oc] {
    font-weight: 600;
    font-size: 0.85rem;
    color: #55647a;
}

.rel-ev-l2[b-de6pgxh3oc],
.rel-ev-note-text[b-de6pgxh3oc] {
    font-size: 0.78rem;
    color: #55647a;
}

.rel-ev-actions[b-de6pgxh3oc],
.rel-ev-buttons[b-de6pgxh3oc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

.rel-ev-msg[b-de6pgxh3oc] {
    font-size: 0.8rem;
    color: #1f6b3d;
}

.rel-ev-msg-error[b-de6pgxh3oc] {
    color: #a12a2a;
}

.rel-ev-form[b-de6pgxh3oc] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.6rem;
    border: 1px dashed #c9d2dd;
    border-radius: 8px;
}

.rel-ev-form-row[b-de6pgxh3oc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rel-ev-dates[b-de6pgxh3oc] {
    flex-wrap: wrap;
}

.rel-ev-lbl[b-de6pgxh3oc] {
    flex: 0 0 8rem;
    font-size: 0.8rem;
    color: #55647a;
}

.rel-ev-picker[b-de6pgxh3oc],
.rel-ev-file-input[b-de6pgxh3oc] {
    flex: 1 1 auto;
    min-width: 0;
}

.rel-ev-hint[b-de6pgxh3oc] {
    font-size: 0.75rem;
    color: #8a97a8;
    margin-top: 0.2rem;
}

.rel-ev-also-row[b-de6pgxh3oc] {
    font-size: 0.82rem;
}

/* The "also link" list scrolls inside a fixed height (BLAZOR.md: a list box never grows its container). */
.rel-ev-also-wrap[b-de6pgxh3oc] {
    height: 180px;
    overflow: hidden;
}

.rel-ev-form-actions[b-de6pgxh3oc] {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

/* /Components/Pages/Entities/ServiceEnrolment/EntityServiceEnrolmentEditor.razor.rz.scp.css */
/* LW+CL 11.08.26 Service Enrolment item 6b — editor styles.
   CSS isolation per BLAZOR.md; inline <style> blocks leak globally and are forbidden. */

/* Derived, read-only values (ledger, jurisdiction). Deliberately quieter than an input so
   it reads as "resolved for you", not "you forgot to fill this in". */
.se-derived[b-ueqqdk2xsd] {
	color: #5a6b7b;
	font-style: italic;
}

.se-services[b-ueqqdk2xsd] {
	margin: 0;
	padding-left: 1.1rem;
	color: #2c3e50;
}

.se-services li[b-ueqqdk2xsd] {
	margin-bottom: 0.15rem;
}
/* /Components/Pages/Entities/ServiceEnrolment/EntityServiceEnrolments.razor.rz.scp.css */
/* Card-per-provider list — tokens lifted from MyDxGrid.razor.css's
   card-framed / card-accent-teal palette so this matches the rest of WS
   rather than the POC's own CSS variables. */

/* Entity header — same gradient hero the POC opens Scene 1 with, now backed by
   Company/Trust/Shares/Relationship queries (see the file-level comment) rather
   than the thinner esp_Get_EntityDetails alone. */
.svcenr-entity-hero[b-h7o5dohcry] {
	background: linear-gradient(135deg, #1e3a5f 0%, #15293f 100%);
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 16px;
	color: white;
}

.svcenr-entity-type[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #3bb0a0;
	margin-bottom: 6px;
}

.svcenr-entity-name[b-h7o5dohcry] {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.3px;
}

.svcenr-entity-meta[b-h7o5dohcry] {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 4px;
}

.svcenr-entity-fields[b-h7o5dohcry] {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 14px;
}

.svcenr-entity-field-label[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 3px;
}

.svcenr-entity-field-value[b-h7o5dohcry] {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}

.svcenr-section-hdr[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	margin-top: 20px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.svcenr-section-hdr[b-h7o5dohcry]::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

/* Unlike a grid, this list is almost always 1-3 cards (the reason it's a
   list, not a grid) — override the base .razorpagemain's flex:1 growth and
   card-panel chrome so it sizes to content instead of reserving the full
   remaining page height behind a second, redundant white panel. */
.razorpagemain.svcenr-list[b-h7o5dohcry] {
	flex: 0 0 auto;
	background: transparent;
	box-shadow: none;
	padding: 0;
	overflow: visible;
}

.svcenr-list[b-h7o5dohcry] {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* DxButton's rendered <button> is generated inside a third-party component, so it
   never receives this file's CSS-isolation scope attribute — ::deep is required to
   reach it at all (bare `.svcenr-add-btn { }` silently never matches, as MyDxGrid.razor.css
   does for the same reason when reaching into DxGrid's internals). */
.svcenr-list[b-h7o5dohcry]  .svcenr-add-btn {
	align-self: flex-start;
	margin-top: 4px;
}

.svcenr-empty[b-h7o5dohcry] {
	color: #94a3b8;
	font-size: 13px;
	padding: 24px 4px;
}

.svcenr-card[b-h7o5dohcry] {
	position: relative;
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
	padding: 16px 18px;
	transition: box-shadow 0.2s ease;
}

.svcenr-card:hover[b-h7o5dohcry] {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.svcenr-card-highlight[b-h7o5dohcry] {
	box-shadow: 0 0 0 2px rgba(59, 176, 160, 0.35), 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* LW+CL 13.08.26 — neutral (not teal) left accent so the Entity-Level Compliance card
   reads as "shared context above the list", not a 4th provider card. */
.svcenr-card-shared[b-h7o5dohcry] {
	border-left: 3px solid #94a3b8;
}

.svcenr-card-head[b-h7o5dohcry] {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.svcenr-card-titles[b-h7o5dohcry] {
	/* LW+CL 13.08.26: grows to soak up the row's free space so the pills sit directly
	   beside the edit/delete buttons instead of floating in .svcenr-card-head's
	   space-between gap (there are 3 flex children here, not 2, so space-between put
	   pills in the middle rather than against actions). */
	flex: 1 1 auto;
	min-width: 0;
}

.svcenr-provider[b-h7o5dohcry] {
	font-size: 14px;
	font-weight: 700;
	color: #1a1d2e;
}

.svcenr-enrolled[b-h7o5dohcry] {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 2px;
}

.svcenr-card-pills[b-h7o5dohcry] {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	flex-shrink: 0;
}

.svcenr-pill[b-h7o5dohcry] {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 2px 9px;
	border-radius: 10px;
	white-space: nowrap;
}

.svcenr-pill-green[b-h7o5dohcry]    { background: rgba(26, 138, 58, 0.10); color: #1a8a3a; }
.svcenr-pill-amber[b-h7o5dohcry]    { background: rgba(201, 124, 0, 0.10); color: #c97c00; }
.svcenr-pill-red[b-h7o5dohcry]      { background: rgba(217, 48, 37, 0.10); color: #d93025; }
.svcenr-pill-neutral[b-h7o5dohcry]  { background: rgba(10, 61, 98, 0.08);  color: #0a3d62; }
.svcenr-pill-jurisdiction[b-h7o5dohcry] { background: rgba(59, 176, 160, 0.10); color: #007a6b; }

.svcenr-card-actions[b-h7o5dohcry] {
	display: flex;
	gap: 2px;
	flex-shrink: 0;
}

/* Always exactly 3 tiles (Compliance/Billing/WiP each resolve to a real value or an
   explicit "Not linked"/"No matter" state, never blank) — equal thirds, matching the
   POC's own .svc-records grid exactly. */
.svcenr-tiles[b-h7o5dohcry] {
	display: grid;
	/* Was repeat(3, 1fr). The Supplier tile appears only for a provider that holds the entity as a supplier, so the row is
	   three tiles or four: auto-fit gives three equal columns as before when there is room, and wraps rather than squeezing when not. */
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
}

.svcenr-tile[b-h7o5dohcry] {
	background: #f7f9fc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 8px 10px;
}

.svcenr-tile-label[b-h7o5dohcry] {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	margin-bottom: 3px;
}

.svcenr-tile-value[b-h7o5dohcry] {
	font-size: 12px;
	font-weight: 600;
	color: #1a1d2e;
}

.svcenr-tile-value-muted[b-h7o5dohcry] {
	color: #94a3b8;
	font-weight: 500;
	font-style: italic;
}

.svcenr-tile-sub[b-h7o5dohcry] {
	font-size: 10px;
	color: #94a3b8;
	margin-top: 2px;
}

.svcenr-tile-clickable[b-h7o5dohcry] {
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.svcenr-tile-clickable:hover[b-h7o5dohcry] {
	border-color: #3bb0a0;
	background: #f0fdfb;
}

.svcenr-tile-chevron[b-h7o5dohcry] {
	display: inline-block;
	font-size: 9px;
	color: #3bb0a0;
	transition: transform 0.2s ease;
}

.svcenr-tile-chevron-open[b-h7o5dohcry] {
	transform: rotate(180deg);
}

/* Expand-in-card detail panel — matches the POC's svc-detail-panel/sdp-tabs exactly,
   using WS's own teal (#3bb0a0) instead of the POC's brighter accent. */
.svcenr-detail-panel[b-h7o5dohcry] {
	background: #f8fffe;
	border: 1px solid rgba(59, 176, 160, 0.25);
	border-radius: 8px;
	margin-top: 10px;
	overflow: hidden;
}

.svcenr-detail-tabs[b-h7o5dohcry] {
	display: flex;
	gap: 0;
	border-bottom: 1px solid rgba(59, 176, 160, 0.2);
	background: rgba(59, 176, 160, 0.04);
	padding: 0 12px;
	overflow-x: auto;
}

.svcenr-detail-tab[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	padding: 7px 11px;
	cursor: pointer;
	color: #94a3b8;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.svcenr-detail-tab:hover[b-h7o5dohcry] {
	color: #4a5568;
}

.svcenr-detail-tab-active[b-h7o5dohcry] {
	color: #3bb0a0;
	border-bottom-color: #3bb0a0;
}

.svcenr-detail-pane[b-h7o5dohcry] {
	padding: 12px 14px;
}

/* Same amber-for-attention convention the POC itself uses (badge-new/svc-warn) — flags
   when a tab's data is the entity-wide shared record, not specific to this provider. */
.svcenr-detail-scope-note[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 600;
	color: #92400e;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 4px;
	padding: 5px 8px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.svcenr-detail-grid[b-h7o5dohcry] {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 4px 12px;
	font-size: 11px;
}

.svcenr-detail-lbl[b-h7o5dohcry] {
	color: #94a3b8;
	font-weight: 600;
	padding: 2px 0;
	align-self: start;
}

.svcenr-detail-val[b-h7o5dohcry] {
	color: #1a1d2e;
	padding: 2px 0;
}

.svcenr-detail-empty[b-h7o5dohcry] {
	color: #94a3b8;
	font-size: 11px;
	font-style: italic;
}

/* LW+CL 13.08.26 — Change Risk Rating / Start New Review / View Historical / Revert Review,
   the real actions reused from /entity/risk's Risk Profile section. Sits BELOW the risk
   content/empty-state (not above) so buttons stay at the bottom of the section, consistent
   with where a user's eye expects actions after reading the data above them. */
.svcenr-detail-actions-row[b-h7o5dohcry] {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.svcenr-doc-table[b-h7o5dohcry] {
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
}

.svcenr-doc-table th[b-h7o5dohcry] {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	padding: 4px 6px;
	text-align: left;
	border-bottom: 1.5px solid #e2e8f0;
}

.svcenr-doc-table td[b-h7o5dohcry] {
	padding: 5px 6px;
	border-bottom: 1px solid #e2e8f0;
	color: #4a5568;
}

.svcenr-doc-table tr:last-child td[b-h7o5dohcry] {
	border-bottom: none;
}

.svcenr-doc-status-verified[b-h7o5dohcry]   { color: #1a8a3a; font-weight: 600; }
.svcenr-doc-status-expired[b-h7o5dohcry]    { color: #d93025; font-weight: 600; }
.svcenr-doc-status-unverified[b-h7o5dohcry] { color: #c97c00; font-weight: 600; }

.svcenr-pill-crossjuris[b-h7o5dohcry] { background: rgba(0, 217, 197, 0.18); color: #00d9c5; border: 1px solid rgba(0, 217, 197, 0.35); margin-left: 6px; vertical-align: middle; }

/* LW+CL:09.11.26 POC parity: back link, NEW marker, overdue note, document summary, entity-wide sub-heading */
.svcenr-back-row[b-h7o5dohcry] { margin-bottom: 8px; }

.svcenr-new-badge[b-h7o5dohcry] { display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: #fef3c7; color: #92400e; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 6px; vertical-align: middle; }

.svcenr-overdue[b-h7o5dohcry] { display: block; font-size: 10px; color: #d93025; margin-top: 2px; }

.svcenr-doc-summary[b-h7o5dohcry] { font-size: 11px; color: #5a6b7b; margin-bottom: 8px; }

.svcenr-detail-subhdr[b-h7o5dohcry] { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #5a6b7b; margin: 12px 0 6px; }

/* LW+CL:10.11.26 POC card parity: the service provided line, "Open full record", and the colours that carry meaning
   (severity, status, due dates, expired documents). Each class is chosen in code from the data (ServiceEnrolmentCardFacts), never typed. */
.svcenr-services[b-h7o5dohcry] { font-size: 11px; color: #5a6b7b; margin-top: 2px; }
.svcenr-full-record[b-h7o5dohcry] { align-self: center; font-size: 11px; font-weight: 600; color: #007a6b; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.svcenr-full-record:hover[b-h7o5dohcry] { text-decoration: underline; }
.svcenr-tone-high[b-h7o5dohcry]   { color: #d93025; font-weight: 700; }
.svcenr-tone-medium[b-h7o5dohcry] { color: #c97c00; font-weight: 700; }
.svcenr-tone-low[b-h7o5dohcry]    { color: #1a8a3a; font-weight: 700; }
.svcenr-next-soon[b-h7o5dohcry]    { color: #c97c00; }
.svcenr-next-overdue[b-h7o5dohcry] { color: #d93025; }
.svcenr-status-ok[b-h7o5dohcry]      { color: #1a8a3a; font-weight: 600; }
.svcenr-status-pending[b-h7o5dohcry] { color: #c97c00; font-weight: 600; }
.svcenr-status-overdue[b-h7o5dohcry] { color: #d93025; font-weight: 600; }
.svcenr-doc-row-expired[b-h7o5dohcry] { background: #fff8f8; }
.svcenr-doc-expiry-expired[b-h7o5dohcry] { color: #d93025; font-weight: 600; }
.svcenr-doc-footer[b-h7o5dohcry] { margin-top: 10px; font-size: 10px; color: #d93025; }

/* LW+CL:10.11.26 a card whose lookups failed says so, so a failed read is not mistaken for an empty record. */
.svcenr-load-failed[b-h7o5dohcry] { margin: 6px 0; padding: 6px 10px; font-size: 11px; color: #c97c00; background: rgba(201, 124, 0, 0.10); border-radius: 6px; }

/* LW+CL:11.11.26 cross-jurisdiction: overall line, responsible officer, review cycle bar, recent activity */
.svcenr-overall[b-h7o5dohcry] {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 8px 0 12px;
	font-size: 12px;
}

.svcenr-overall-label[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
}

.svcenr-officer[b-h7o5dohcry] {
	font-size: 11px;
	color: #475569;
	margin-top: 2px;
}

.svcenr-officer-label[b-h7o5dohcry] {
	color: #94a3b8;
	margin-right: 4px;
}

.svcenr-cycle[b-h7o5dohcry] {
	margin-top: 12px;
}

.svcenr-cycle-head[b-h7o5dohcry] {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: #94a3b8;
	margin-bottom: 5px;
}

.svcenr-cycle-track[b-h7o5dohcry] {
	height: 7px;
	background: #e2e8f0;
	border-radius: 4px;
	overflow: hidden;
}

.svcenr-cycle-fill[b-h7o5dohcry] {
	height: 100%;
	border-radius: 4px;
	background: #1a8a3a;
}

.svcenr-cycle-soon[b-h7o5dohcry] { background: #c97c00; }
.svcenr-cycle-overdue[b-h7o5dohcry] { background: #d93025; }

.svcenr-activity[b-h7o5dohcry] {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid #e2e8f0;
}

.svcenr-activity-hdr[b-h7o5dohcry] {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 6px;
}

.svcenr-activity-item[b-h7o5dohcry] {
	padding: 3px 0 3px 10px;
	border-left: 2px solid #11c683;
	margin-bottom: 4px;
}

.svcenr-activity-title[b-h7o5dohcry] {
	font-size: 12px;
	font-weight: 600;
	color: #0f172a;
}

.svcenr-activity-meta[b-h7o5dohcry] {
	font-size: 10px;
	color: #94a3b8;
}
/* /Components/Pages/Entities/ServiceEnrolment/ProviderComparison.razor.rz.scp.css */
.provcmp[b-8z1977k1qd] {
	display: grid;
	grid-template-columns: 150px repeat(var(--provcmp-cols), minmax(0, 1fr));
	gap: 1px;
	background: #e2e8f0;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	font-size: 12px;
}

.provcmp-corner[b-8z1977k1qd],
.provcmp-head[b-8z1977k1qd],
.provcmp-lbl[b-8z1977k1qd],
.provcmp-val[b-8z1977k1qd] {
	background: #fff;
	padding: 7px 10px;
}

.provcmp-head[b-8z1977k1qd] {
	font-weight: 700;
	color: #0f172a;
}

.provcmp-lbl[b-8z1977k1qd] {
	color: #64748b;
}

.provcmp-val[b-8z1977k1qd] {
	color: #0f172a;
	overflow-wrap: anywhere;
}
/* /Components/Pages/Entities/ServiceEnrolment/ServicingBookPage.razor.rz.scp.css */
/* Servicing Book — layout only. The tiles are KpiTile (global gtc-kpi-* styles), the grid is MyDxGrid.
   Tokens follow EntityServiceEnrolments.razor.css, not the POC's own CSS variables. */

.servicingbook[b-som846pc55] {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.servicingbook__intro[b-som846pc55] {
	font-size: 12.5px;
	color: #4a5a6a;
	line-height: 1.5;
}

.servicingbook__tiles[b-som846pc55] {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.servicingbook__filters[b-som846pc55] {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 10px;
}

.servicingbook__field[b-som846pc55] {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 200px;
}

.servicingbook__label[b-som846pc55] {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7a8794;
}

.servicingbook__count[b-som846pc55] {
	margin-left: auto;
	padding-bottom: 7px;
	font-size: 11px;
	color: #7a8794;
}

.servicingbook__count strong[b-som846pc55] {
	color: #1e3a5f;
}

@media (max-width: 900px) {
	.servicingbook__tiles[b-som846pc55] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* LW+CL:10.11.26 POC: the KYC status is a coloured pill (Pending amber). The class comes from ServicingBook.StatusTone. */
[b-som846pc55] .servicingbook__status {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
}

[b-som846pc55] .servicingbook__status--approved { background: rgba(26, 138, 58, 0.10); color: #1a8a3a; }
[b-som846pc55] .servicingbook__status--pending  { background: rgba(201, 124, 0, 0.10); color: #c97c00; }
[b-som846pc55] .servicingbook__status--rejected { background: rgba(217, 48, 37, 0.10); color: #d93025; }
/* /Components/Pages/Fiduciary/CorporateDocuments/CorporateEventDocumentsViewer.razor.rz.scp.css */
.cedv-progress[b-woejymzspk] {
    margin-bottom: 12px;
}

.cedv-actions[b-woejymzspk] {
    margin-bottom: 16px;
}

.cedv-notice[b-woejymzspk] {
    color: #8a5a00;
    background: #fff7e6;
    border: 1px solid #f0d9a8;
    border-radius: 4px;
    padding: 8px 12px;
}

.cedv-message[b-woejymzspk] {
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.cedv-message--ok[b-woejymzspk] {
    color: #0a5c2e;
    background: #e8f6ee;
}

.cedv-message--error[b-woejymzspk] {
    color: #8a1c1c;
    background: #fdecec;
}

.cedv-body[b-woejymzspk] {
    white-space: pre-wrap;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 4px;
}

/* LW+CL:08.11.26 ledger C07: preview with a DRAFT or FINAL bar; a field still to complete is highlighted */
.cedv-mode[b-woejymzspk] {
    margin-bottom: 6px;
}

.cedv-preview[b-woejymzspk] {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.cedv-preview .cedv-body[b-woejymzspk] {
    border: 0;
    border-radius: 0;
}

.cedv-bar[b-woejymzspk] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
}

.cedv-executed[b-woejymzspk] {
    font-weight: 400;
    letter-spacing: 0;
}

.cedv-bar--draft[b-woejymzspk] {
    color: #8a5a00;
    background: #fff7e6;
    border-bottom: 1px solid #f0d9a8;
}

.cedv-bar--void[b-woejymzspk] {
    color: #9b1c1c;
    background: #fdecec;
    border-bottom: 1px solid #f1b8b8;
}

.cedv-bar--final[b-woejymzspk] {
    color: #0a5c2e;
    background: #e8f6ee;
    border-bottom: 1px solid #b7e0c8;
}

[b-woejymzspk] .cedv-field {
    background: #fff3b0;
    color: #6b4e00;
    padding: 0 2px;
    border-radius: 2px;
}

.cedv-filed[b-woejymzspk] {
    color: #0a7a3c;
}

/* LW+CL:27.10.26 corporate-signatory 2g: the document's signing state */
.cedv-signing[b-woejymzspk] {
    color: #475467;
    margin: 4px 0;
}
/* /Components/Pages/Fiduciary/CorporateDocuments/CorporateEventWizard.razor.rz.scp.css */
.cev-group-heading[b-bhh8db938w] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
    margin: 0.5rem 0 0.25rem;
}
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingActionEditor.razor.rz.scp.css */
.mma-form[b-59ymgxxxv3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-top: 6px;
}

.mma-field label[b-59ymgxxxv3] {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text3, #64748b);
    margin-bottom: 3px;
}

.mma-field-wide[b-59ymgxxxv3] {
    grid-column: 1 / -1;
}

.mma-buttons[b-59ymgxxxv3] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.mma-warn[b-59ymgxxxv3] {
    font-size: 12px;
    color: #b45309;
}
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingActionLogDialog.razor.rz.scp.css */
.mal-loading[b-78m8rfdusd] {
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.mal-bar[b-78m8rfdusd] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.mal-spacer[b-78m8rfdusd] {
    flex: 1 1 auto;
}

.mal-chip[b-78m8rfdusd] {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    background: #e0efff;
    color: #1d4f91;
}

.mal-chip-warn[b-78m8rfdusd] {
    background: #fee2e2;
    color: #b91c1c;
}

.mal-count[b-78m8rfdusd] {
    font-size: 12px;
    color: #64748b;
}

.mal-warn[b-78m8rfdusd] {
    color: #b45309;
    font-size: 13px;
    margin-bottom: 8px;
}

.mal-empty[b-78m8rfdusd] {
    padding: 16px;
    color: #64748b;
    font-size: 13px;
}

.mal-row[b-78m8rfdusd] {
    padding: 10px 0;
    border-bottom: 1px solid #e5e9ee;
}

.mal-line[b-78m8rfdusd] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.mal-text[b-78m8rfdusd] {
    font-size: 14px;
    font-weight: 500;
    flex: 1 1 260px;
}

.mal-pill[b-78m8rfdusd] {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 8px;
    background: #eef2f6;
    color: #4a5568;
}

.mal-status-closed[b-78m8rfdusd] {
    background: #dcfce7;
    color: #166534;
}

.mal-status-dropped[b-78m8rfdusd] {
    background: #f1f5f9;
    color: #64748b;
}

.mal-meta[b-78m8rfdusd] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}

.mal-overdue[b-78m8rfdusd] {
    color: #b45309;
    font-weight: 700;
}

.mal-hist[b-78m8rfdusd] {
    margin-top: 2px;
    font-size: 12px;
    color: #4a5568;
}

.mal-buttons[b-78m8rfdusd] {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.mal-footer[b-78m8rfdusd] {
    margin-top: 12px;
    font-size: 11px;
    color: var(--bs-secondary-color, #6c757d);
}
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingCopyDialog.razor.rz.scp.css */
/* Copy to related entities: inline overlay styled as a modal (same look as the New Meeting dialog). */

.mcd-overlay[b-wp7je1ddxr] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(10, 25, 47, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mcd-modal[b-wp7je1ddxr] {
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
}

.mcd-header[b-wp7je1ddxr] { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #e8edf2; }
.mcd-header h2[b-wp7je1ddxr] { margin: 0; font-size: 17px; font-weight: 700; color: #0a3d62; }
.mcd-close[b-wp7je1ddxr] { background: none; border: none; cursor: pointer; font-size: 16px; color: #94a3b8; padding: 4px 8px; border-radius: 6px; }
.mcd-close:hover[b-wp7je1ddxr] { background: #f1f5f9; color: #475569; }

.mcd-body[b-wp7je1ddxr] { padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.mcd-lead[b-wp7je1ddxr] { margin: 0 0 6px 0; font-size: 13px; line-height: 1.5; color: #334155; }
.mcd-label[b-wp7je1ddxr] { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #55647a; }
.mcd-empty[b-wp7je1ddxr] { font-size: 12px; color: #8a97a8; padding: 6px 0; }
.mcd-row[b-wp7je1ddxr] { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid #f0f4f8; cursor: pointer; }
.mcd-row.disabled[b-wp7je1ddxr] { opacity: .6; cursor: default; }
.mcd-row.skipped[b-wp7je1ddxr] { cursor: default; }
.mcd-name[b-wp7je1ddxr] { font-size: 13px; font-weight: 600; }
.mcd-role[b-wp7je1ddxr] { flex: 1; font-size: 11px; color: #55647a; }
.mcd-flag[b-wp7je1ddxr] { font-size: 11px; color: #b45309; }
.mcd-note[b-wp7je1ddxr] { margin-top: 6px; font-size: 12px; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 8px 10px; }

.mcd-footer[b-wp7je1ddxr] { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid #e8edf2; }

.mcd-from[b-wp7je1ddxr] { padding: 8px 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; display: flex; flex-direction: column; gap: 2px; }
.mcd-jur[b-wp7je1ddxr] { font-size: 11px; color: #55647a; }
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingDraftFromDocuments.razor.rz.scp.css */
/* LW+CL:07.11.26 Minutes tile: Draft from documents */
.mdfd[b-honpyjic63] { border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: #f8fafc; }
.mdfd-title[b-honpyjic63] { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.mdfd-label[b-honpyjic63] { font-weight: 600; font-size: 12px; margin: 10px 0 4px; }
.mdfd-scope[b-honpyjic63] { font-weight: 400; color: #64748b; margin-left: 6px; }
.mdfd-loading[b-honpyjic63] { padding: 10px; display: flex; gap: 8px; align-items: center; }
.mdfd-empty[b-honpyjic63] { padding: 12px; }
.mdfd-list[b-honpyjic63] { max-height: 220px; overflow-y: auto; display: grid; gap: 2px; margin-top: 6px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 4px; background: #fff; }
.mdfd-row[b-honpyjic63] { display: grid; grid-template-columns: 24px minmax(120px, 1.6fr) minmax(80px, 1fr) minmax(70px, 0.8fr) minmax(70px, 0.6fr); gap: 8px; align-items: center; font-size: 12px; }
.mdfd-name[b-honpyjic63] { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdfd-meta[b-honpyjic63] { color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mdfd-guidebtns[b-honpyjic63] { margin-top: 4px; }
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingLinkedStrip.razor.rz.scp.css */
.mtg-ls[b-2lq06464ub] { margin: 0 0 8px 0; padding: 8px 12px; background: #fff; border: 1px solid var(--border, #d6dfe8); border-radius: 8px; }
.mtg-ls-hdr[b-2lq06464ub] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.mtg-ls-title[b-2lq06464ub] { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text2, #55647a); }
.mtg-ls-note[b-2lq06464ub] { font-size: 11px; color: var(--text3, #8a97a8); flex: 1 1 260px; }
.mtg-ls-list[b-2lq06464ub] { display: flex; flex-wrap: wrap; gap: 8px; }
.mtg-ls-item[b-2lq06464ub] { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border, #d6dfe8); border-radius: 6px; background: #f8fafc; }
.mtg-ls-item.current[b-2lq06464ub] { border-color: var(--accent, #00a896); background: #fff; }
.mtg-ls-entity[b-2lq06464ub] { font-size: 12px; font-weight: 600; }
.mtg-ls-meta[b-2lq06464ub] { font-size: 11px; color: var(--text2, #55647a); }
.mtg-ls-role[b-2lq06464ub] { display: inline-block; margin-left: 4px; padding: 0 6px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text2, #55647a); background: #eef2f7; border-radius: 8px; }
.mtg-ls-here[b-2lq06464ub] { font-size: 11px; font-weight: 600; color: var(--accent, #00a896); }
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingMattersGuidance.razor.rz.scp.css */
.mmg[b-psprdzydcu] {
    margin: 8px 0;
    padding: 8px 10px;
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-left: 3px solid #d97706;
    border-radius: 6px;
    background: #fffbeb;
    color: #78350f;
    font-size: 12px;
}

.mmg-title[b-psprdzydcu] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mmg-line[b-psprdzydcu] {
    margin: 2px 0;
    line-height: 1.4;
}

.mmg-foot[b-psprdzydcu] {
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.8;
}
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingMattersPanel.razor.rz.scp.css */
.mma-chips[b-l0bvsspc1v] {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.mma-chip[b-l0bvsspc1v] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text2, #4a5568);
}

.mma-chip-warn[b-l0bvsspc1v] {
    background: #fef3c7;
    color: #b45309;
}

.mma-sub[b-l0bvsspc1v] {
    margin: 12px 0 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text3, #64748b);
}

.mma-note[b-l0bvsspc1v] {
    margin: 6px 0;
    font-size: 12px;
    color: var(--text2, #4a5568);
}

.mma-row[b-l0bvsspc1v] {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mma-row:last-of-type[b-l0bvsspc1v] {
    border-bottom: none;
}

.mma-line[b-l0bvsspc1v] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.mma-text[b-l0bvsspc1v] {
    font-size: 13px;
    font-weight: 500;
    flex: 1 1 200px;
}

.mma-pill[b-l0bvsspc1v] {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 8px;
    background: #eef2f6;
    color: var(--text2, #4a5568);
}

.mma-pill-ok[b-l0bvsspc1v] {
    background: #dcfce7;
    color: #166534;
}

.mma-pill-warn[b-l0bvsspc1v] {
    background: #fef3c7;
    color: #b45309;
}

/* LW+CL:07.11.26 (G5) action status pills, coloured as the Action log colours them */
.mma-pill-open[b-l0bvsspc1v] {
    background: #e6f0ff;
    color: #1d4ed8;
}

.mma-pill-closed[b-l0bvsspc1v] {
    background: #dcfce7;
    color: #166534;
}

.mma-pill-dropped[b-l0bvsspc1v] {
    background: #f1f5f9;
    color: #64748b;
}

.mma-pill-overdue[b-l0bvsspc1v] {
    background: #fdecec;
    color: #b42318;
}

.mma-meta[b-l0bvsspc1v] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text3, #64748b);
}

.mma-overdue[b-l0bvsspc1v] {
    color: #b45309;
    font-weight: 700;
}

.mma-ctl[b-l0bvsspc1v] {
    display: grid;
    grid-template-columns: minmax(120px, 160px) 1fr;
    gap: 6px;
    margin-top: 6px;
}

.mma-form[b-l0bvsspc1v] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-top: 6px;
}

.mma-field label[b-l0bvsspc1v] {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text3, #64748b);
    margin-bottom: 3px;
}

.mma-field-wide[b-l0bvsspc1v] {
    grid-column: 1 / -1;
}

.mma-buttons[b-l0bvsspc1v] {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 6px;
}

.mma-iq[b-l0bvsspc1v] {
    margin-top: 10px;
}

.mma-suggestion[b-l0bvsspc1v] {
    background: #f8fafc;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
    margin-top: 6px;
}
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingNoticeSendDialog.razor.rz.scp.css */
/* LW+CL:04.11.26 pre-meeting pack send dialog */
.mnsd-loading[b-qrfxul3cqn] { padding: 12px; display: flex; gap: 8px; align-items: center; }
.mnsd-muted[b-qrfxul3cqn] { color: #64748b; font-size: 12px; }
.mnsd-list[b-qrfxul3cqn] { display: grid; gap: 4px; }
.mnsd-row[b-qrfxul3cqn] { display: grid; grid-template-columns: 24px minmax(140px, 1fr) minmax(90px, auto) minmax(160px, 1.2fr); gap: 8px; align-items: center; font-size: 13px; }
.mnsd-row--out[b-qrfxul3cqn] { color: #94a3b8; }
.mnsd-name[b-qrfxul3cqn] { font-weight: 600; }
.mnsd-role[b-qrfxul3cqn] { color: #64748b; }
.mnsd-email[b-qrfxul3cqn] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnsd-email--missing[b-qrfxul3cqn] { color: #b45309; }
.mnsd-problem[b-qrfxul3cqn] { color: #b45309; margin-bottom: 8px; font-size: 13px; }
.mnsd-selectbar[b-qrfxul3cqn] { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }   /* LW+CL:07.11.26 D12 */
.mnsd-link[b-qrfxul3cqn] { background: none; border: 0; padding: 0; color: #0b6bcb; font-size: 12px; cursor: pointer; text-decoration: underline; }
.mnsd-link:disabled[b-qrfxul3cqn] { color: #94a3b8; cursor: default; text-decoration: none; }
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingOtherAttendees.razor.rz.scp.css */
.mtg-oa[b-hyx5whcxek] { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--border, #d6dfe8); }
.mtg-oa-hdr[b-hyx5whcxek] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 6px; }
.mtg-oa-title[b-hyx5whcxek] { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text2, #55647a); }
.mtg-oa-note[b-hyx5whcxek] { flex: 1 1 160px; font-size: 11px; color: var(--text3, #8a97a8); }
.mtg-oa-empty[b-hyx5whcxek] { font-size: 12px; color: var(--text3, #8a97a8); padding: 4px 0; }
.mtg-oa-row[b-hyx5whcxek] { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f0f4f8; }
.mtg-oa-who[b-hyx5whcxek] { flex: 1; min-width: 0; }
.mtg-oa-name[b-hyx5whcxek] { font-size: 12px; font-weight: 600; }
.mtg-oa-sub[b-hyx5whcxek] { font-size: 11px; color: var(--text2, #55647a); overflow-wrap: anywhere; }
.mtg-oa-present[b-hyx5whcxek] { font-size: 11px; color: var(--text2, #55647a); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
/* /Components/Pages/Fiduciary/Meetings/Components/MeetingsDashboard.razor.rz.scp.css */
/* KPI tiles — horizontal responsive row (matches the GTC/CR/RRC dashboards). LW+CL 15.07.26 */
.rrc-kpi-bar[b-0a7o5dx0mt] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0;
}

/* Filter bar — inline, sized controls instead of full-width stacked. LW+CL 15.07.26 */
.rrc-filter-bar[b-0a7o5dx0mt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border: 1px solid var(--gt-border, #e2e8f0);
    border-radius: 10px;
}

/* Constrain the DevExpress combos so they sit as compact filters, not full-width. */
.rrc-filter-bar[b-0a7o5dx0mt]  dxbl-combo-box {
    width: 200px;
    flex: 0 0 auto;
}

.meet-count[b-0a7o5dx0mt] {
    text-align: center;
    font-size: 0.85rem;
    color: var(--bs-secondary);
}

.meet-clear-entity[b-0a7o5dx0mt] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bs-secondary);
    padding: 0 4px;
    margin-left: 4px;
    opacity: 0.7;
}

    .meet-clear-entity:hover[b-0a7o5dx0mt] { opacity: 1; }

/* ── Enquiry two-column body: grid (left) + Governance Health rail (right). LW+CL 15.07.26 ──
   .razorpagemain supplies the full-height flex context; keep min-height:0 down the chain so the
   DevExpress 26.1 loading-panel fill bridge (site.css) still resolves and the grid fills. */
.meet-main-split[b-0a7o5dx0mt] {
    display: flex;
    gap: 1rem;
    height: 100%;
    min-height: 0;
}

.meet-main-left[b-0a7o5dx0mt] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* min-height is the floor that stops "fill the space" becoming "collapse to nothing" on a short
   screen. The KPI tiles + Action Required band + filter row above are fixed-height and take ~345px,
   so at a 1366x768-class viewport .meet-main-left has ~398px to give and the grid was left with 53px
   — 9px once the toolbar took its share. That is a 295px scroll viewport rendering as a sliver: rows
   still exist and lay out, but outside the clipped viewer, so they look present while nothing under
   the pointer is actually the row (this is why 10 meetings-workbench E2E tests failed at
   openFirstMeeting with the click intercepted by the page container, 27.07.26).
   min-height:0 stays on the ancestors so the DX 26.1 loading-panel fill bridge in site.css still
   resolves on tall screens; .razorpagemain already scrolls, so on short screens the page scrolls
   instead of the grid vanishing. LW+CL:27.07.26 */
.meet-grid-wrap[b-0a7o5dx0mt] {
    flex: 1 1 auto;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}

.meet-rail[b-0a7o5dx0mt] {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    min-height: 0;
}

/* ── Action Required band ── */
.meet-action-band[b-0a7o5dx0mt] { flex: 0 0 auto; margin-bottom: 0.6rem; }

.meet-action-title[b-0a7o5dx0mt] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.meet-action-count[b-0a7o5dx0mt] {
    background: #dc2626;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0 0.35rem;
    border-radius: 9px;
    line-height: 1.4;
}

.meet-action-breakdown[b-0a7o5dx0mt] {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #94a3b8;
    margin-left: 0.25rem;
}

/* Single full-width column, matching the POC's Action Required list. Scrolls beyond ~5 cards
   so a long cross-entity list never pushes the grid down. */
.meet-action-cards[b-0a7o5dx0mt] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 292px;
    overflow-y: auto;
    padding-right: 2px;
}

.meet-action-card[b-0a7o5dx0mt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.85rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left-width: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.15s;
}

    .meet-action-card:hover[b-0a7o5dx0mt] { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

.meet-action-card--urgent[b-0a7o5dx0mt]  { border-left-color: #dc2626; background: #fff8f8; }
.meet-action-card--warning[b-0a7o5dx0mt] { border-left-color: #d97706; background: #fffdf6; }
.meet-action-card--info[b-0a7o5dx0mt]    { border-left-color: #2563eb; background: #f8faff; }

.meet-action-body[b-0a7o5dx0mt] { flex: 1 1 auto; min-width: 0; }

.meet-action-titlerow[b-0a7o5dx0mt] { display: flex; align-items: center; gap: 0.5rem; }

.meet-action-entity[b-0a7o5dx0mt] { font-size: 0.85rem; font-weight: 600; color: #1e293b; }

.meet-action-tag[b-0a7o5dx0mt] {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1px 7px;
    border-radius: 5px;
}

.meet-action-detailrow[b-0a7o5dx0mt] {
    font-size: 0.72rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meet-action-reason[b-0a7o5dx0mt] { font-weight: 600; }
.meet-action-reason--urgent[b-0a7o5dx0mt]  { color: #dc2626; }
.meet-action-reason--warning[b-0a7o5dx0mt] { color: #d97706; }
.meet-action-reason--info[b-0a7o5dx0mt]    { color: #2563eb; }

.meet-action-meta[b-0a7o5dx0mt] { color: #94a3b8; }

.meet-action-arrow[b-0a7o5dx0mt] {
    flex-shrink: 0;
    color: #cbd5e1;
    font-size: 1.1rem;
    transition: transform 0.15s, color 0.15s;
}

.meet-action-card:hover .meet-action-arrow[b-0a7o5dx0mt] { transform: translateX(2px); color: #2563eb; }

/* ── Governance Health rail ── */
.meet-health-card[b-0a7o5dx0mt] {
    background: #fff;
    border: 1px solid var(--gt-border, #e2e8f0);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.meet-health-header[b-0a7o5dx0mt] {
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #334155;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.meet-health-row[b-0a7o5dx0mt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.82rem;
}

    .meet-health-row:last-child[b-0a7o5dx0mt] { border-bottom: none; }

.meet-health-labelwrap[b-0a7o5dx0mt] { display: flex; align-items: center; gap: 0.5rem; }
.meet-health-label[b-0a7o5dx0mt] { color: #334155; font-weight: 500; }
.meet-health-val[b-0a7o5dx0mt]   { font-weight: 700; }

/* Value colour tracks the dot (POC): green when complete, amber when partial. */
.meet-health-val--ok[b-0a7o5dx0mt]   { color: #059669; }
.meet-health-val--warn[b-0a7o5dx0mt] { color: #d97706; }
.meet-health-val--none[b-0a7o5dx0mt] { color: #94a3b8; }

.meet-health-dot[b-0a7o5dx0mt] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.meet-health-dot--ok[b-0a7o5dx0mt]   { background: #059669; }
.meet-health-dot--warn[b-0a7o5dx0mt] { background: #d97706; }
.meet-health-dot--none[b-0a7o5dx0mt] { background: #cbd5e1; }

/* "All Meetings (N)" section header — separates the grid from Action Required (POC pattern). */
.meet-list-title[b-0a7o5dx0mt] {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0.85rem 0 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.meet-list-count[b-0a7o5dx0mt] {
    background: #94a3b8;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0 0.35rem;
    border-radius: 9px;
    line-height: 1.4;
}

.meet-health-empty[b-0a7o5dx0mt] {
    padding: 0.75rem 0.85rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
}

/* LW+CL:07.11.26 (F1) Compliance rows are click-through filters into the grid; (F6) entity-type badge on the Action Required cards */
.meet-health-row--click[b-0a7o5dx0mt] { cursor: pointer; }
    .meet-health-row--click:hover[b-0a7o5dx0mt] { background: #f1f5f9; }
    .meet-health-row--click:focus-visible[b-0a7o5dx0mt] { outline: 2px solid #2563eb; outline-offset: -2px; }
.meet-health-row--active[b-0a7o5dx0mt] { background: #e0f2fe; }
.meet-health-chip[b-0a7o5dx0mt] { margin-left: 0.6rem; padding: 0.1rem 0.55rem; border: 1px solid #7dd3fc; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.meet-etype-badge[b-0a7o5dx0mt] { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 10px; font-weight: 600; margin-left: 6px; background: #e2e8f0; color: #334155; }
.meet-etype-badge--company[b-0a7o5dx0mt] { background: #dbeafe; color: #1d4ed8; }
.meet-etype-badge--trust[b-0a7o5dx0mt] { background: #ede9fe; color: #6d28d9; }

/* LW+CL:08.11.26 (C111) days-until badge, the POC days-badge colours. */
.meet-days-badge[b-0a7o5dx0mt] { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; color: #fff; background: #94a3b8; }
.meet-days-badge--soon[b-0a7o5dx0mt] { background: #dc2626; }
.meet-days-badge--upcoming[b-0a7o5dx0mt] { background: #11a37f; }
.meet-days-badge--future[b-0a7o5dx0mt] { background: #94a3b8; }
.meet-days-badge--past[b-0a7o5dx0mt] { background: #cbd5e1; color: #475569; }

/* LW+CL:09/11/26 (C179) header actions sit at the right of the filter bar */
.meet-header-actions[b-0a7o5dx0mt] { margin-left: auto; display: flex; gap: 0.5rem; align-items: center; }

/* LW+CL:09/11/26 (C174) the empty Action Required message */
.meet-action-empty[b-0a7o5dx0mt] {
    margin-bottom: 0.6rem;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
/* /Components/Pages/Fiduciary/Meetings/Components/NewMeetingDialog.razor.rz.scp.css */
/* New Meeting dialog — inline overlay styled as a modal (POC parity). */

.nmd-overlay[b-14safys8vw] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(10, 25, 47, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nmd-modal[b-14safys8vw] {
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
}

.nmd-header[b-14safys8vw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e8edf2;
}
.nmd-header h2[b-14safys8vw] { margin: 0; font-size: 17px; font-weight: 700; color: #0a3d62; }
.nmd-close[b-14safys8vw] {
    background: none; border: none; cursor: pointer;
    font-size: 16px; color: #94a3b8; padding: 4px 8px; border-radius: 6px;
}
.nmd-close:hover[b-14safys8vw] { background: #f1f5f9; color: #475569; }

.nmd-body[b-14safys8vw] { padding: 20px 22px; display: flex; flex-direction: column; gap: 20px; }

.nmd-field[b-14safys8vw] { display: flex; flex-direction: column; gap: 8px; }
.nmd-label[b-14safys8vw] { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.nmd-req[b-14safys8vw] { color: #dc2626; }

/* Entity combo — stretch the MyComboBox to the dialog width */
.nmd-field[b-14safys8vw]  .dxbl-combobox { width: 100%; }

/* Meeting-type cards */
.nmd-type-grid[b-14safys8vw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.nmd-type-card[b-14safys8vw] {
    display: flex; flex-direction: column; gap: 3px; text-align: left;
    padding: 12px 14px; cursor: pointer;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    transition: border-color .12s, box-shadow .12s, background .12s;
}
.nmd-type-card:hover[b-14safys8vw] { border-color: #00a896; }
.nmd-type-card.selected[b-14safys8vw] {
    border-color: #00a896; background: rgba(0, 168, 150, 0.08);
    box-shadow: 0 0 0 2px rgba(0, 168, 150, 0.25);
}
.nmd-type-abbr[b-14safys8vw] {
    font-size: 10px; font-weight: 800; letter-spacing: 0.06em; color: #00a896;
}
.nmd-type-name[b-14safys8vw] { font-size: 13px; font-weight: 700; color: #0a3d62; }
.nmd-type-desc[b-14safys8vw] { font-size: 11px; color: #64748b; line-height: 1.35; }

.nmd-error[b-14safys8vw] { margin: 0; }

.nmd-footer[b-14safys8vw] {
    display: flex; align-items: center; justify-content: flex-end; gap: 10px;
    padding: 16px 22px; border-top: 1px solid #e8edf2;
}

/* Create with IQ (C45) */
.nmd-iq-btn[b-14safys8vw] { margin-right: auto; }
.nmd-iq-hint[b-14safys8vw] { font-size: 12px; color: #64748b; }
.nmd-iq-count[b-14safys8vw] { font-size: 11px; color: #64748b; }
.nmd-iq-confidence[b-14safys8vw] { display: inline-block; font-size: 11px; font-weight: 700; color: #0a3d62; background: #e8f4fd; border: 1px solid #bcdcf5; border-radius: 10px; padding: 3px 10px; }
.nmd-iq-plan[b-14safys8vw] { display: flex; flex-direction: column; gap: 10px; }
.nmd-iq-line[b-14safys8vw] { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: #0a3d62; }
.nmd-iq-line span[b-14safys8vw] { width: 110px; flex: none; font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.nmd-iq-res[b-14safys8vw] { border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; }
.nmd-iq-res-title[b-14safys8vw] { font-size: 13px; font-weight: 700; color: #0a3d62; margin-bottom: 4px; }
.nmd-iq-res-body[b-14safys8vw] { font-size: 12px; color: #334155; white-space: pre-wrap; }
.nmd-iq-miss[b-14safys8vw] { font-size: 12px; color: #9a5b00; }
/* /Components/Pages/Fiduciary/Meetings/Components/SealEntityPickerDialog.razor.rz.scp.css */
/* New Seal entity picker (All Seals): inline overlay styled as a modal, as the New Meeting dialog. */

.sep-overlay[b-zop42tlg4e] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(10, 25, 47, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.sep-modal[b-zop42tlg4e] {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
}

.sep-header[b-zop42tlg4e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e8edf2;
}
.sep-header h2[b-zop42tlg4e] { margin: 0; font-size: 17px; font-weight: 700; color: #0a3d62; }
.sep-close[b-zop42tlg4e] {
    background: none; border: none; cursor: pointer;
    font-size: 16px; color: #94a3b8; padding: 4px 8px; border-radius: 6px;
}
.sep-close:hover[b-zop42tlg4e] { background: #f1f5f9; color: #475569; }

.sep-body[b-zop42tlg4e] { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.sep-label[b-zop42tlg4e] { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.sep-req[b-zop42tlg4e] { color: #dc2626; }
.sep-hint[b-zop42tlg4e] { font-size: 11.5px; color: #64748b; }

.sep-footer[b-zop42tlg4e] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid #e8edf2;
}
/* /Components/Pages/Fiduciary/Meetings/CorporateRecordPage.razor.rz.scp.css */
.cr-empty[b-3gsz7rmz16] {
    padding: 2rem 0;
    color: var(--gt-text-secondary, #64748b);
    font-size: 14px;
}

.cr-table-wrap[b-3gsz7rmz16] {
    overflow-x: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
}

.cr-table[b-3gsz7rmz16] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.cr-table th[b-3gsz7rmz16] {
    background: var(--bs-secondary-bg, #f8f9fa);
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--gt-text-secondary, #64748b);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.cr-table td[b-3gsz7rmz16] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    vertical-align: middle;
}

.cr-table tbody tr:last-child td[b-3gsz7rmz16] {
    border-bottom: none;
}

.cr-table tbody tr:hover[b-3gsz7rmz16] {
    background: var(--bs-tertiary-bg, #f1f5f9);
}

.cr-date[b-3gsz7rmz16] {
    white-space: nowrap;
    color: var(--gt-text-secondary, #64748b);
    font-size: 13px;
}

.cr-actions[b-3gsz7rmz16] {
    text-align: right;
    white-space: nowrap;
}

.cr-link[b-3gsz7rmz16] {
    font-size: 12.5px;
    color: var(--gt-teal, #00a896);
    text-decoration: none;
}

.cr-link:hover[b-3gsz7rmz16] {
    text-decoration: underline;
}

/* LW+CL:07.11.26 (G2) Minute Book: type chips with counts, and the preview pane under the grid */
.cr-filter-row[b-3gsz7rmz16] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.cr-chip[b-3gsz7rmz16] {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 99px;
    border: 1.5px solid var(--bs-border-color, #dee2e6);
    background: #fff;
    color: var(--gt-text-secondary, #64748b);
    cursor: pointer;
}

.cr-chip:hover[b-3gsz7rmz16] {
    border-color: var(--gt-teal, #00a896);
    color: var(--gt-teal, #00a896);
}

.cr-chip.active[b-3gsz7rmz16] {
    background: var(--gt-teal, #00a896);
    border-color: var(--gt-teal, #00a896);
    color: #fff;
}

.cr-preview[b-3gsz7rmz16] {
    margin-top: 1rem;
    padding: 0.75rem 1rem 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: #f8fafc;
}

.cr-preview-bar[b-3gsz7rmz16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cr-preview-heading[b-3gsz7rmz16] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cr-preview-meta[b-3gsz7rmz16] {
    font-size: 11px;
    color: var(--gt-text-secondary, #64748b);
}

.cr-preview-kind[b-3gsz7rmz16] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gt-text-secondary, #64748b);
}

.cr-sheet[b-3gsz7rmz16] {
    background: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
}

.cr-field-hint[b-3gsz7rmz16] {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--gt-text-secondary, #64748b);
}

.cr-wording-preview[b-3gsz7rmz16] {
    padding: 0.6rem 0.8rem;
    background: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
}
/* /Components/Pages/Fiduciary/Meetings/GlobalSealRegisterPage.razor.rz.scp.css */
.seals-hint[b-cwumn16j6a] {
    padding: 12px 0 0;
    font-size: 0.8rem;
    color: var(--bs-secondary);
}
/* /Components/Pages/Fiduciary/Meetings/MeetingPage.razor.rz.scp.css */
.meet-detail[b-mthd80fd7h] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.meet-section[b-mthd80fd7h] {
    background: var(--bs-white);
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
}

.meet-section-header[b-mthd80fd7h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .meet-section-header h3[b-mthd80fd7h] {
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
    }

.meet-header-actions[b-mthd80fd7h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Info grid (read mode) ──────────────────────────────── */
.meet-info-grid[b-mthd80fd7h] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.6rem 1.5rem;
}

.meet-info-full[b-mthd80fd7h] {
    grid-column: 1 / -1;
}

.meet-info-label[b-mthd80fd7h] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bs-secondary);
    display: block;
    margin-bottom: 2px;
}

.meet-info-value[b-mthd80fd7h] {
    font-size: 0.9rem;
}

/* ── Edit grid ──────────────────────────────────────────── */
.meet-edit-grid[b-mthd80fd7h] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem 1.25rem;
}

.meet-edit-full[b-mthd80fd7h] {
    grid-column: 1 / -1;
}

.meet-notes-input[b-mthd80fd7h] {
    resize: vertical;
}

/* ── Status bar ─────────────────────────────────────────── */
.meet-status-bar[b-mthd80fd7h] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bs-border-color);
    flex-wrap: wrap;
}

.meet-status-btn[b-mthd80fd7h] {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
}

/* ── Status pills ───────────────────────────────────────── */
.meet-status-pill[b-mthd80fd7h] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.meet-status-draft[b-mthd80fd7h]       { background: #e9ecef; color: #495057; }
.meet-status-scheduled[b-mthd80fd7h]   { background: #e8d5f5; color: #6f42c1; }
.meet-status-in-progress[b-mthd80fd7h] { background: #fff3cd; color: #856404; }
.meet-status-ratified[b-mthd80fd7h]    { background: #d1e7dd; color: #0f5132; }
.meet-status-filed[b-mthd80fd7h]       { background: #cfe2ff; color: #084298; }
.meet-status-cancelled[b-mthd80fd7h]   { background: #f8d7da; color: #842029; }

/* ── Attendees ──────────────────────────────────────────── */
.meet-count-badge[b-mthd80fd7h] {
    display: inline-block;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary);
    border-radius: 10px;
    padding: 0 7px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
    vertical-align: middle;
}

.meet-chair-badge[b-mthd80fd7h] {
    display: inline-block;
    background: #cfe2ff;
    color: #084298;
    border-radius: 8px;
    padding: 1px 8px;
    font-size: 0.72rem;
    font-weight: 600;
}

.meet-set-chair-btn[b-mthd80fd7h] {
    background: none;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.72rem;
    cursor: pointer;
    color: var(--bs-secondary);
}

    .meet-set-chair-btn:hover[b-mthd80fd7h] { background: var(--bs-secondary-bg); }

.meet-attendance-select[b-mthd80fd7h] {
    font-size: 0.8rem;
    padding: 2px 4px;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    background: transparent;
}

.meet-remove-btn[b-mthd80fd7h] {
    background: none;
    border: none;
    color: var(--bs-danger);
    cursor: pointer;
    padding: 0 4px;
    font-size: 0.85rem;
    opacity: 0.6;
}

    .meet-remove-btn:hover[b-mthd80fd7h] { opacity: 1; }

.meet-quorum-line[b-mthd80fd7h] {
    margin-top: 0.6rem;
    font-size: 0.82rem;
}

.meet-quorum-met[b-mthd80fd7h]   { color: #0f5132; font-weight: 600; }
.meet-quorum-short[b-mthd80fd7h] { color: #842029; font-weight: 600; }

/* ── Agenda ─────────────────────────────────────────────── */
.meet-agenda-list[b-mthd80fd7h] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meet-agenda-item[b-mthd80fd7h] {
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
}

.meet-agenda-row[b-mthd80fd7h] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meet-agenda-title[b-mthd80fd7h] {
    font-weight: 500;
    flex: 1;
}

.meet-agenda-desc-text[b-mthd80fd7h] {
    font-size: 0.8rem;
    color: var(--bs-secondary);
    flex-basis: 100%;
    padding-left: 0.25rem;
}

.meet-agenda-type-pill[b-mthd80fd7h] {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    background: #e9ecef;
    color: #495057;
    text-transform: uppercase;
    white-space: nowrap;
}

    .meet-agenda-type-pill.resolution[b-mthd80fd7h]  { background: #d1e7dd; color: #0f5132; }
    .meet-agenda-type-pill.discussion[b-mthd80fd7h]  { background: #cfe2ff; color: #084298; }
    .meet-agenda-type-pill.information[b-mthd80fd7h] { background: #e8d5f5; color: #6f42c1; }
    .meet-agenda-type-pill.aob[b-mthd80fd7h]         { background: #fff3cd; color: #856404; }

.meet-agenda-actions[b-mthd80fd7h] {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.meet-agenda-edit[b-mthd80fd7h] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.meet-agenda-desc[b-mthd80fd7h] {
    resize: vertical;
}
/* /Components/Pages/Fiduciary/Meetings/MinutesPage.razor.rz.scp.css */
/* Minutes print page — toolbar hidden in @media print; document styled for A4 readability */

.minutes-toolbar[b-g6t3qr9vnb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.minutes-back-link[b-g6t3qr9vnb] {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.875rem;
}

.minutes-loading[b-g6t3qr9vnb] {
    padding: 2rem;
    color: #94a3b8;
}

/* Document */

.minutes-doc[b-g6t3qr9vnb] {
    max-width: 820px;
    margin: 2rem auto;
    padding: 0 2rem 3rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 11pt;
    line-height: 1.65;
    color: #111;
}

/* Header */

.minutes-header[b-g6t3qr9vnb] {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #111;
}

.minutes-entity[b-g6t3qr9vnb] {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: 0.02em;
}

.minutes-title[b-g6t3qr9vnb] {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    color: #555;
}

.minutes-meta-grid[b-g6t3qr9vnb] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 2rem;
    font-size: 0.9rem;
    font-family: Arial, sans-serif;
}

.minutes-meta-label[b-g6t3qr9vnb] {
    font-weight: 700;
    margin-right: 0.3rem;
}

/* Sections */

.minutes-section[b-g6t3qr9vnb] {
    margin-bottom: 2rem;
}

.minutes-section-title[b-g6t3qr9vnb] {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: Arial, sans-serif;
    border-bottom: 1px solid #111;
    padding-bottom: 0.2rem;
    margin: 0 0 0.85rem;
}

/* Tables */

.minutes-table[b-g6t3qr9vnb] {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
    font-family: Arial, sans-serif;
    margin-bottom: 0.5rem;
}

.minutes-table th[b-g6t3qr9vnb] {
    text-align: left;
    font-weight: 700;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    padding: 0.3rem 0.6rem;
}

.minutes-table td[b-g6t3qr9vnb] {
    padding: 0.3rem 0.6rem;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

/* Quorum */

.minutes-quorum[b-g6t3qr9vnb] {
    font-size: 0.875rem;
    font-family: Arial, sans-serif;
    margin: 0.5rem 0 0;
}

.minutes-quorum-met[b-g6t3qr9vnb]   { color: #166534; }
.minutes-quorum-short[b-g6t3qr9vnb] { color: #991b1b; }

/* Agenda */

.minutes-agenda-list[b-g6t3qr9vnb] {
    margin: 0;
    padding-left: 1.5rem;
    font-family: Arial, sans-serif;
}

.minutes-agenda-list li[b-g6t3qr9vnb] {
    margin-bottom: 0.4rem;
    font-size: 10pt;
}

.minutes-agenda-type[b-g6t3qr9vnb] {
    font-size: 0.8em;
    color: #666;
    margin-left: 0.4rem;
}

.minutes-agenda-desc[b-g6t3qr9vnb] {
    font-size: 0.875rem;
    color: #555;
    margin: 0.1rem 0 0 0.75rem;
}

/* Resolutions */

.minutes-resolution[b-g6t3qr9vnb] {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid #bbb;
    page-break-inside: avoid;
}

.minutes-resolution-header[b-g6t3qr9vnb] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.minutes-resolution-number[b-g6t3qr9vnb] {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}

.minutes-resolution-title[b-g6t3qr9vnb] {
    font-size: 1rem;
    font-weight: 700;
}

.minutes-resolution-status[b-g6t3qr9vnb] {
    font-size: 0.875rem;
    font-family: Arial, sans-serif;
    color: #444;
    margin-bottom: 0.75rem;
}

.minutes-resolution-body[b-g6t3qr9vnb] {
    margin-bottom: 0.75rem;
}

.minutes-resolution-body p[b-g6t3qr9vnb] {
    margin: 0.2rem 0;
}

/* LW+CL:03.11.26 written minutes: a blank line in the text stays a visible gap */
.minutes-written p[b-g6t3qr9vnb] {
    margin: 0.35rem 0;
    min-height: 1em;
}

.minutes-resolution-notes[b-g6t3qr9vnb] {
    font-size: 0.875rem;
    font-family: Arial, sans-serif;
    color: #555;
    margin-bottom: 0.75rem;
}

/* Vote summary line */

.minutes-vote-summary[b-g6t3qr9vnb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
}

.minutes-vote-label[b-g6t3qr9vnb]   { font-weight: 700; }
.minutes-vote-for[b-g6t3qr9vnb]     { color: #166534; }
.minutes-vote-against[b-g6t3qr9vnb] { color: #991b1b; }
.minutes-vote-abstain[b-g6t3qr9vnb] { color: #92400e; }
.minutes-vote-recused[b-g6t3qr9vnb] { color: #6b7280; }

/* Footer */

.minutes-footer[b-g6t3qr9vnb] {
    margin-top: 3rem;
    padding-top: 0.75rem;
    border-top: 1px solid #ccc;
    font-size: 0.8rem;
    font-family: Arial, sans-serif;
    color: #888;
    text-align: right;
}

/* Print overrides */

@media print {
    .minutes-toolbar[b-g6t3qr9vnb] {
        display: none !important;
    }

    .minutes-doc[b-g6t3qr9vnb] {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .minutes-resolution[b-g6t3qr9vnb] {
        border: 1px solid #999;
        break-inside: avoid;
    }

    .minutes-section[b-g6t3qr9vnb] {
        break-inside: avoid;
    }

    .minutes-quorum-met[b-g6t3qr9vnb]   { color: #166534 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .minutes-quorum-short[b-g6t3qr9vnb] { color: #991b1b !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .minutes-vote-for[b-g6t3qr9vnb]     { color: #166534 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .minutes-vote-against[b-g6t3qr9vnb] { color: #991b1b !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* LW+CL:07.11.26 (G5) the entry for a declared conflict: amber edge, and that the person withdrew */
.minutes-conflict-block[b-g6t3qr9vnb] {
    margin: 8px 0;
    padding: 8px 12px;
    background: #fffbeb;
    border-left: 3px solid #d97706;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
}

.minutes-conflict-name[b-g6t3qr9vnb] {
    font-weight: 700;
}

.minutes-conflict-note[b-g6t3qr9vnb] {
    margin-top: 4px;
    color: #78350f;
    font-style: italic;
}
/* /Components/Pages/Fiduciary/Meetings/SealRegisterPage.razor.rz.scp.css */
.cr-empty[b-ibmew56ge5] {
    padding: 2rem 0;
    color: var(--gt-text-secondary, #64748b);
    font-size: 14px;
}

.cr-table-wrap[b-ibmew56ge5] {
    overflow-x: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
}

.cr-table[b-ibmew56ge5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.cr-table th[b-ibmew56ge5] {
    background: var(--bs-secondary-bg, #f8f9fa);
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
    color: var(--gt-text-secondary, #64748b);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.cr-table td[b-ibmew56ge5] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    vertical-align: middle;
}

.cr-table tbody tr:last-child td[b-ibmew56ge5] {
    border-bottom: none;
}

.cr-table tbody tr:hover[b-ibmew56ge5] {
    background: var(--bs-tertiary-bg, #f1f5f9);
}

.cr-date[b-ibmew56ge5] {
    white-space: nowrap;
    color: var(--gt-text-secondary, #64748b);
    font-size: 13px;
}

.cr-actions[b-ibmew56ge5] {
    text-align: right;
    white-space: nowrap;
    min-width: 160px;
}

/* Form panel */
.sr-form-panel[b-ibmew56ge5] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    background: var(--bs-secondary-bg, #f8f9fa);
}

/* Witness fields */
.sr-witness-selected[b-ibmew56ge5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13.5px;
}

.sr-witness-search[b-ibmew56ge5] {
    display: flex;
    gap: 0.5rem;
}

.sr-search-results[b-ibmew56ge5] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 4px;
    margin-top: 0.25rem;
    background: #fff;
    max-height: 180px;
    overflow-y: auto;
}

.sr-result-row[b-ibmew56ge5] {
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    font-size: 13px;
}

.sr-result-row:hover[b-ibmew56ge5] {
    background: var(--bs-tertiary-bg, #f1f5f9);
}

/* Remove button (witness clear) */
.meet-remove-btn[b-ibmew56ge5] {
    background: none;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 4px;
    cursor: pointer;
    padding: 1px 6px;
    font-size: 12px;
    color: var(--gt-text-secondary, #64748b);
    line-height: 1.4;
}

.meet-remove-btn:hover[b-ibmew56ge5] {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrAddScreeningPartyForm.razor.rz.scp.css */
.cr-add-party-form[b-mbytaiin78] {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    background: #fafafa;
    margin-top: 1rem;
}

.cr-add-party-form h6[b-mbytaiin78] {
    margin-top: 0;
}

/* LW+CL:23.10.26 company tick / entity-under-review note */
.cr-add-party-form__note[b-mbytaiin78] {
    font-size: 0.8rem;
    color: #555;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrBreadcrumb.razor.rz.scp.css */
.cr-breadcrumb[b-ssk5p6nb4h] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1.25rem 0;
    background: #f5f6f8;
    font-size: .78rem;
    color: #666;
}

.cr-breadcrumb a[b-ssk5p6nb4h] {
    color: #666;
    text-decoration: none;
}

.cr-breadcrumb a:hover[b-ssk5p6nb4h] {
    text-decoration: underline;
}

.cr-breadcrumb__current[b-ssk5p6nb4h] {
    font-weight: 600;
    color: #333;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrClosedStage.razor.rz.scp.css */
.cr-audit-pack[b-jc0nooki6s] {
    padding: 1rem;
}

.cr-audit-pack__header[b-jc0nooki6s] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cr-audit-section[b-jc0nooki6s] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* LW+CL:09.11.26 C121: a section is coloured by its outcome, with the CR palette (ok / warn / danger banners) and the POC's purple for waivers */
.cr-audit-section--green[b-jc0nooki6s] { border-left: 4px solid #2e7d32; background: #e8f5e9; }
.cr-audit-section--amber[b-jc0nooki6s] { border-left: 4px solid #8a5300; background: #fff8e1; }
.cr-audit-section--red[b-jc0nooki6s] { border-left: 4px solid #b71c1c; background: #fdecea; }
.cr-audit-section--purple[b-jc0nooki6s] { border-left: 4px solid #7c3aed; background: #faf5ff; }

.cr-audit-section h6[b-jc0nooki6s] {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.cr-audit-party[b-jc0nooki6s] {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cr-audit-hit[b-jc0nooki6s] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-left: 1rem;
    padding: 0.25rem 0;
}

.cr-audit-more[b-jc0nooki6s] {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.cr-sla-bar[b-jc0nooki6s] {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.cr-sla-fill--ok[b-jc0nooki6s] {
    height: 100%;
    background: #28a745;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: var(--sla-pct);
}

.cr-sla-fill--over[b-jc0nooki6s] {
    height: 100%;
    background: #dc3545;
    border-radius: 4px;
    width: var(--sla-pct);
}

.cr-sla-result--ok[b-jc0nooki6s] {
    color: #28a745;
    font-weight: 600;
}

.cr-sla-result--breach[b-jc0nooki6s] {
    color: #dc3545;
    font-weight: 600;
}

.cr-rating-badge--low[b-jc0nooki6s]    { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 4px; }
.cr-rating-badge--medium[b-jc0nooki6s] { background: #fff3cd; color: #856404; padding: 2px 8px; border-radius: 4px; }
.cr-rating-badge--high[b-jc0nooki6s]   { background: #f8d7da; color: #721c24; padding: 2px 8px; border-radius: 4px; }
.cr-rating-badge--none[b-jc0nooki6s]   { background: #e9ecef; color: #6c757d; padding: 2px 8px; border-radius: 4px; }

.cr-info-row[b-jc0nooki6s] {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: start;
}

.cr-info-row:last-child[b-jc0nooki6s] {
    border-bottom: none;
}

.cr-info-row > span:first-child[b-jc0nooki6s] {
    font-weight: 500;
    color: #666;
}

.cr-info-row > span:last-child[b-jc0nooki6s] {
    color: #333;
    justify-self: start;
    align-self: center;
}

.cr-badge--locked[b-jc0nooki6s] {
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.cr-badge[b-jc0nooki6s] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.cr-badge--reconfirm[b-jc0nooki6s] {
    background: #fff3e0;
    color: #e65100;
}

.cr-badge--rescinded[b-jc0nooki6s] {
    background: #e9ecef;
    color: #6c757d;
}

.cr-badge--ok[b-jc0nooki6s] {
    background: #d4edda;
    color: #155724;
}

/* LW+CL:23.10.26 Print Audit Pack */
.cr-audit-pack__print[b-jc0nooki6s] {
    margin-left: auto;
}

.cr-audit-pack__printed[b-jc0nooki6s] {
    display: none;
    font-size: 0.8rem;
    color: #6c757d;
    margin: -1rem 0 1rem;
}

.cr-audit-more--link[b-jc0nooki6s] {
    background: none;
    border: none;
    padding: 0;
    color: #0d6efd;
    cursor: pointer;
    text-decoration: underline;
}

.cr-audit-trail-row[b-jc0nooki6s] {
    display: grid;
    grid-template-columns: 9.5rem 9rem 1fr;
    gap: 0.5rem;
    font-size: 0.82rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cr-audit-trail-row__time[b-jc0nooki6s],
.cr-audit-trail-row__who[b-jc0nooki6s] {
    color: #6c757d;
}

@media print {
    @page { size: A4 portrait; margin: 16mm 14mm; }
    .cr-audit-pack__print[b-jc0nooki6s],
    .cr-audit-pack__screen-only[b-jc0nooki6s] { display: none !important; }
    .cr-audit-pack__printed[b-jc0nooki6s] { display: block; }
    .cr-audit-pack[b-jc0nooki6s] { padding: 0; font-family: Arial, sans-serif; }
    .cr-audit-section[b-jc0nooki6s] { background: #fff; page-break-inside: avoid; }
    .cr-audit-trail-row[b-jc0nooki6s] { page-break-inside: avoid; }
    .cr-sla-fill[b-jc0nooki6s] { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.cr-badge-cf[b-jc0nooki6s] {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.63rem;
    font-weight: 700;
    padding: 0.13rem 0.45rem;
    border-radius: 8px;
    margin-left: 0.3rem;
}

.cr-audit-hit__detail[b-jc0nooki6s] {
    font-size: 0.78rem;
    color: #495057;
}

.cr-audit-hit__detail span[b-jc0nooki6s] {
    font-weight: 600;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrCreateForm.razor.rz.scp.css */
/* ── RRC Create Form — entity search dropdown & selection styles ── */
.rrc-entity-results[b-n4tiub0bcj] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    border: 1px solid var(--gtc-border);
    border-radius: 0 0 var(--gt-radius-sm) var(--gt-radius-sm);
    background: var(--gtc-card, #fff);
    max-height: 200px;
    overflow-y: auto;
    margin-top: -1px;
    box-shadow: var(--gt-shadow-lg, 0 4px 12px rgba(0,0,0,.15));
}

.rrc-entity-result[b-n4tiub0bcj] {
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: .8rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
}

.rrc-entity-result:hover[b-n4tiub0bcj] { background: #f0fdfb; }
.rrc-entity-code[b-n4tiub0bcj] { color: #aaa; font-size: .72rem; }

.rrc-selected-entity[b-n4tiub0bcj] {
    margin-top: .25rem;
    padding: .3rem .5rem;
    background: #f0fdf4;
    border-radius: 4px;
    font-size: .78rem;
    color: var(--gt-green);
}

.rrc-current-rating-preview[b-n4tiub0bcj] {
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrDashboard.razor.rz.scp.css */
/* ── RRC Dashboard — aligned with GTC/TM shared tokens ── */
.rrc-dashboard[b-7jkdotem79] { padding: 1rem 1.25rem; }

.rrc-header[b-7jkdotem79] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.rrc-header h1[b-7jkdotem79] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin-bottom: .25rem;
}

.rrc-header-sub[b-7jkdotem79] {
    font-size: .75rem;
    color: var(--gtc-text-light);
}

/* ── KPI Bar — matches GTC grid layout ── */
.rrc-kpi-bar[b-7jkdotem79] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .9rem;
    margin: 1rem 0;
}

/* ── Filter Bar ── */
.rrc-filter-bar[b-7jkdotem79] {
    background: var(--gtc-card);
    padding: .65rem 1rem;
    border-radius: var(--gt-radius);
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: .76rem;
    margin-bottom: 1rem;
    box-shadow: var(--gt-shadow);
}

.rrc-filter-bar label[b-7jkdotem79] {
    font-weight: 600;
    color: #666;
}

.rrc-filter-bar select[b-7jkdotem79] {
    padding: .28rem .5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .75rem;
    color: var(--gtc-text);
    background: #f8f9fa;
    cursor: pointer;
}

.rrc-show-completed[b-7jkdotem79] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
}

.rrc-show-completed input[type="checkbox"][b-7jkdotem79] {
    cursor: pointer;
}

/* ── Data Table ── */
.rrc-table-wrap[b-7jkdotem79] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.rrc-table[b-7jkdotem79] {
    width: 100%;
    border-collapse: collapse;
}

.rrc-table thead th[b-7jkdotem79] {
    background: #f8f9fa;
    padding: .5rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.rrc-table tbody td[b-7jkdotem79] {
    padding: .62rem .9rem;
    font-size: .78rem;
    color: var(--gtc-text);
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.rrc-table tr:last-child td[b-7jkdotem79] { border-bottom: none; }

.rrc-table-row[b-7jkdotem79] { cursor: pointer; transition: background .15s; }
.rrc-table-row:hover td[b-7jkdotem79] { background: #f0fdfb; }

.rrc-ref[b-7jkdotem79] { font-weight: 600; color: var(--gt-navy); }

.rrc-empty[b-7jkdotem79] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint);
    font-size: .82rem;
}

/* ── Rating Pills ── */
.rrc-rating-pill[b-7jkdotem79] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.rrc-rating-low[b-7jkdotem79] { background: #e8f5e9; color: var(--gt-green); }
.rrc-rating-medium[b-7jkdotem79] { background: #fff8e1; color: var(--gt-amber); }
.rrc-rating-high[b-7jkdotem79] { background: #ffebee; color: var(--gt-red); }
.rrc-rating-tbd[b-7jkdotem79] { color: var(--gt-text-faint); }

/* ── Stage Pill ── */
.rrc-stage-pill[b-7jkdotem79] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    background: #e8f4fd;
    color: #1565c0;
    white-space: nowrap;
}

/* ── Status ── */
.rrc-status-open[b-7jkdotem79] { color: var(--gt-navy); font-weight: 600; }
.rrc-status-completed[b-7jkdotem79] { color: var(--gt-green); font-weight: 600; }
.rrc-status-rejected[b-7jkdotem79] { color: var(--gt-red); font-weight: 600; }
.rrc-status-on-hold[b-7jkdotem79] { color: var(--gt-amber); font-weight: 600; }
.rrc-status-cancelled[b-7jkdotem79] { color: #999; font-weight: 600; }

/* ── Buttons — matches GTC shared button styles ── */
.rrc-btn[b-7jkdotem79] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.rrc-btn-primary[b-7jkdotem79] { background: var(--gt-teal); color: white; }
.rrc-btn-primary:hover:not(:disabled)[b-7jkdotem79] { background: #00c0ad; transform: translateY(-1px); }
.rrc-btn-secondary[b-7jkdotem79] { background: white; color: #555; border: 1px solid var(--gtc-border); }
.rrc-btn-secondary:hover:not(:disabled)[b-7jkdotem79] { background: #f8f9fa; }
.rrc-btn:disabled[b-7jkdotem79] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrDetailView.razor.rz.scp.css */
/* ── RRC Detail View — scoped layout styles ──
   Shared utility classes (buttons, alerts, pills, forms, evidence)
   are in /wwwroot/css/gtc.css alongside GTC/TM shared styles.
   Progress bar and action bar styles are in their own .razor.css files.
   ── */

/* ── Tabs — matches GTC tab pattern ── */
.rrc-tabs[b-l6bl3a6z3z] {
    display: flex;
    background: var(--gtc-card);
    border-radius: var(--gt-radius) var(--gt-radius) 0 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    border-bottom: 2px solid #eee;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.rrc-tab[b-l6bl3a6z3z] {
    flex: 1;
    padding: .85rem .6rem;
    text-align: center;
    background: white;
    border: none;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 500;
    color: #888;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    font-family: inherit;
}

.rrc-tab:hover[b-l6bl3a6z3z] { background: #f8f9fa; }
.rrc-tab.active[b-l6bl3a6z3z] { color: var(--gtc-teal) !important; border-bottom-color: var(--gtc-teal) !important; background: #f8fffe !important; font-weight: 600 !important; }

.rrc-tab-content[b-l6bl3a6z3z] {
    background: var(--gtc-card);
    border-radius: 0 0 var(--gt-radius) var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1.25rem;
    margin-bottom: .9rem;
    position: relative;
    z-index: 1;
}

/* ── Stage Content ── */
.rrc-stage-content[b-l6bl3a6z3z] { }

/* ── Audit Trail — matches GTC audit trail ── */
.rrc-audit-entry[b-l6bl3a6z3z] {
    display: flex;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
}

.rrc-audit-entry:last-child[b-l6bl3a6z3z] { border-bottom: none; }
.rrc-audit-time[b-l6bl3a6z3z] { color: var(--gtc-text-light); min-width: 110px; flex-shrink: 0; font-size: .72rem; }
.rrc-audit-action[b-l6bl3a6z3z] { flex: 1; color: var(--gtc-text); }
.rrc-audit-user[b-l6bl3a6z3z] { color: var(--gtc-teal); font-weight: 600; font-size: .74rem; }
.rrc-audit-as[b-l6bl3a6z3z] { margin-left: .4rem; padding: 0 .45rem; border-radius: 999px; background: #e0f5f1; color: #007d72; font-weight: 600; font-size: .68rem; }

/* LW+CL:09.11.26 C131: severity dot, the POC's audit-dot colours (green progress, amber needs attention, red rejected or stopped) */
.rrc-audit-dot[b-l6bl3a6z3z] { width: 8px; height: 8px; border-radius: 50%; margin-top: .3rem; flex-shrink: 0; background: #00b894; }
.rrc-audit-dot--green[b-l6bl3a6z3z] { background: #00b894; }
.rrc-audit-dot--amber[b-l6bl3a6z3z] { background: #ffc107; }
.rrc-audit-dot--red[b-l6bl3a6z3z] { background: #e17055; }
/* LW+CL:09.11.26 C157: the POC's blue (system and launch lines) and purple (carried-forward value confirmed afresh) */
.rrc-audit-dot--blue[b-l6bl3a6z3z] { background: #1a73e8; }
.rrc-audit-dot--purple[b-l6bl3a6z3z] { background: #7c3aed; }

/* ── Summary Table ── */
.rrc-summary-table[b-l6bl3a6z3z] { width: 100%; border-collapse: collapse; }
.rrc-summary-table th[b-l6bl3a6z3z] {
    text-align: left;
    font-size: .67rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: .5rem .9rem;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 700;
}

.rrc-summary-table td[b-l6bl3a6z3z] {
    padding: .62rem .9rem;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
    color: var(--gtc-text);
}

.rrc-empty[b-l6bl3a6z3z] { padding: 3rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

/* ── Read-only Stage Review Panel ── */
.rrc-review-panel[b-l6bl3a6z3z] {
    background: #f8fffe;
    border: 2px solid var(--gtc-teal);
    border-radius: var(--gt-radius);
    margin-bottom: .9rem;
    overflow: hidden;
    flex-shrink: 0;
}

.rrc-review-header[b-l6bl3a6z3z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    background: linear-gradient(135deg, rgba(0,217,197,.08), rgba(0,217,197,.02));
    border-bottom: 1px solid rgba(0,217,197,.2);
    font-size: .78rem;
    color: var(--gtc-text);
}

.rrc-review-body[b-l6bl3a6z3z] {
    padding: 1rem;
    pointer-events: none;
    opacity: .85;
}

}

/* ── Saved Assessment Summary ── */
[b-l6bl3a6z3z] .rrc-saved-summary {
    background: #f8fffe;
    border: 1px solid rgba(0,217,197,.2);
    border-radius: var(--gt-radius);
    padding: .75rem 1rem;
    margin-bottom: .75rem;
}

[b-l6bl3a6z3z] .rrc-saved-row {
    display: flex;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .8rem;
}

[b-l6bl3a6z3z] .rrc-saved-row:last-child { border-bottom: none; }

[b-l6bl3a6z3z] .rrc-saved-row--subheading {
    padding-top: .85rem;
    border-bottom: none;
}

[b-l6bl3a6z3z] .rrc-saved-row--subheading .rrc-saved-label {
    font-size: .72rem;
    color: #555;
}

[b-l6bl3a6z3z] .rrc-saved-label {
    min-width: 120px;
    font-size: .7rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .3px;
    flex-shrink: 0;
}

/* ── Evidence Descriptions ── */
[b-l6bl3a6z3z] .rrc-evidence-desc {
    font-size: .72rem;
    color: #999;
    margin-top: .1rem;
    line-height: 1.3;
}

/* ── File Upload ── */
[b-l6bl3a6z3z] .rrc-file-upload {
    border: 2px dashed #ddd;
    border-radius: var(--gt-radius);
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
}

[b-l6bl3a6z3z] .rrc-file-upload:hover {
    border-color: var(--gtc-teal);
    background: #f8fffe;
}

[b-l6bl3a6z3z] .rrc-file-upload-icon { font-size: 1.5rem; margin-bottom: .25rem; }
[b-l6bl3a6z3z] .rrc-file-upload-text { font-size: .8rem; color: #888; }

[b-l6bl3a6z3z] .rrc-file-attached {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    background: #e6f7f0;
    border: 1px solid #b2dfdb;
    border-radius: var(--gt-radius);
    font-size: .82rem;
    color: var(--gtc-text);
}

/* ── Notifications tab ── */
[b-l6bl3a6z3z] .rrc-tab-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    padding: .1rem .45rem;
    border-radius: 8px;
    margin-left: .35rem;
    background: #e0e0e0;
    color: #666;
}

[b-l6bl3a6z3z] .rrc-btn-sm {
    padding: .25rem .6rem;
    font-size: .75rem;
}

/* ── Delta item type tags ── */
.cr-delta-tag[b-l6bl3a6z3z] {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    padding: .1rem .4rem;
    border-radius: 8px;
    margin-right: .4rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.cr-delta-tag--new[b-l6bl3a6z3z]     { background: #d4edda; color: #155724; }
.cr-delta-tag--changed[b-l6bl3a6z3z] { background: #fff3cd; color: #856404; }
.cr-delta-tag--expired[b-l6bl3a6z3z] { background: #f8d7da; color: #721c24; }
.cr-delta-tag--removed[b-l6bl3a6z3z] { background: #e2e3e5; color: #383d41; }
.cr-delta-tag--flagged[b-l6bl3a6z3z] { background: #fce4ec; color: #c2185b; }

/* ── Form checkbox label ── */
[b-l6bl3a6z3z] .rrc-form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
}
[b-l6bl3a6z3z] .rrc-form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gtc-teal, #00d9c5);
    cursor: pointer;
}

/* LW+CL:23.10.26 stage review panel: Copy link beside Close, and the look-ahead note. */
.cr-review-header-actions[b-l6bl3a6z3z] {
    display: flex;
    gap: .4rem;
}

.cr-look-ahead-note[b-l6bl3a6z3z] {
    margin: .6rem 1rem 0;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrEvidenceCollectionStage.razor.rz.scp.css */
.cr-ec-shortcuts[b-vkrv276e5i] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrPostActionsStage.razor.rz.scp.css */
.cr-post-actions[b-v0qn4sdejd] {
    padding: 1rem;
}

.cr-post-actions h5[b-v0qn4sdejd] {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cr-post-actions > p[b-v0qn4sdejd] {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.cr-post-action[b-v0qn4sdejd] {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.cr-post-action--done[b-v0qn4sdejd] {
    background: #f0f8f5;
    border-color: #c8e6c9;
}

.cr-post-action--optional[b-v0qn4sdejd] {
    border-color: #e0e0e0;
    background: #f9f9f9;
}

.cr-post-action__check[b-v0qn4sdejd] {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-check-icon[b-v0qn4sdejd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4caf50;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.cr-post-action__body[b-v0qn4sdejd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cr-post-action__desc[b-v0qn4sdejd] {
    display: block;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.cr-post-action__due[b-v0qn4sdejd] {
    display: block;
    color: #d32f2f;
    font-size: 0.85rem;
    font-weight: 500;
}

.cr-post-action__meta[b-v0qn4sdejd] {
    display: block;
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.cr-post-action--done .cr-post-action__desc[b-v0qn4sdejd] {
    color: #666;
    text-decoration: line-through;
}

.cr-post-action--done .cr-post-action__due[b-v0qn4sdejd] {
    color: #999;
}

.cr-badge[b-v0qn4sdejd] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.cr-badge--optional[b-v0qn4sdejd] {
    background: #fff3cd;
    color: #856404;
}

.btn-sm[b-v0qn4sdejd] {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrReviewDecisionStage.razor.rz.scp.css */
.cr-decision-context[b-fym0x1w01f] {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.cr-decision-context h6[b-fym0x1w01f] {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.cr-info-row[b-fym0x1w01f] {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: start;
}

.cr-info-row:last-child[b-fym0x1w01f] {
    border-bottom: none;
}

.cr-info-row > span:first-child[b-fym0x1w01f] {
    font-weight: 500;
    color: #666;
}

.cr-info-row > span:last-child[b-fym0x1w01f] {
    color: #333;
    justify-self: start;
    align-self: center;
}

.cr-rating-badge[b-fym0x1w01f] {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

.cr-rating-badge--low[b-fym0x1w01f]    { background: #d4edda; color: #155724; }
.cr-rating-badge--medium[b-fym0x1w01f] { background: #fff3cd; color: #856404; }
.cr-rating-badge--high[b-fym0x1w01f]   { background: #f8d7da; color: #721c24; }

.cr-warning-banner[b-fym0x1w01f] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cr-form-field[b-fym0x1w01f] {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cr-form-field label[b-fym0x1w01f] {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.required[b-fym0x1w01f] {
    color: #c00;
    margin-left: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.cr-form-textarea[b-fym0x1w01f] {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.cr-outcome-options[b-fym0x1w01f] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.cr-outcome-opt[b-fym0x1w01f] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    background: #fff;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}

.cr-outcome-opt:hover[b-fym0x1w01f] {
    border-color: #00695c;
}

.cr-outcome-opt.selected[b-fym0x1w01f] {
    border-color: #00695c;
    background: #e0f2f1;
    color: #00695c;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrRiskReviewStage.razor.rz.scp.css */
.cr-risk-form[b-mu7g9vt1kx] {
    padding: 2rem 0;
}

.cr-risk-form h5[b-mu7g9vt1kx] {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cr-form-field[b-mu7g9vt1kx] {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cr-form-field label[b-mu7g9vt1kx] {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.required[b-mu7g9vt1kx] {
    color: #c00;
    margin-left: 0.25rem;
}

.cr-warning-banner[b-mu7g9vt1kx] {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cr-validation-msg[b-mu7g9vt1kx] {
    color: #c00;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.cr-risk-summary[b-mu7g9vt1kx] {
    padding: 1.5rem 0;
}

.cr-info-row[b-mu7g9vt1kx] {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    align-items: start;
}

.cr-info-row:last-child[b-mu7g9vt1kx] {
    border-bottom: none;
}

.cr-info-row > span:first-child[b-mu7g9vt1kx] {
    font-weight: 500;
    color: #666;
}

.cr-info-row > span:last-child[b-mu7g9vt1kx] {
    color: #333;
}

.cr-rating-badge[b-mu7g9vt1kx] {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cr-rating-badge--low[b-mu7g9vt1kx] {
    background-color: #d4edda;
    color: #155724;
}

.cr-rating-badge--medium[b-mu7g9vt1kx] {
    background-color: #fff3cd;
    color: #856404;
}

.cr-rating-badge--high[b-mu7g9vt1kx] {
    background-color: #f8d7da;
    color: #721c24;
}

.cr-info-alert[b-mu7g9vt1kx] {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cr-info-alert--success[b-mu7g9vt1kx] {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.cr-info-alert--warning[b-mu7g9vt1kx] {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.cr-info-alert--error[b-mu7g9vt1kx] {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.cr-info-alert--context[b-mu7g9vt1kx] {
    background-color: #e3f2fd;
    border-left-color: #1976d2;
    color: #333;
}

.cr-carry-forward-row[b-mu7g9vt1kx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cr-badge-cf[b-mu7g9vt1kx] {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.63rem;
    font-weight: 700;
    padding: 0.13rem 0.45rem;
    border-radius: 8px;
}

.cr-refreshed-badge[b-mu7g9vt1kx] {
    background: #dcfce7;
    color: #166534;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    border: 1px solid #86efac;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrScreeningStage.razor.rz.scp.css */
.cr-screening-empty[b-e99vmgntqa] {
    padding: 2rem;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 1rem 0;
}

.cr-party[b-e99vmgntqa] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.cr-party--pending[b-e99vmgntqa] {
    border-left: 4px solid #ff9800;
}

.cr-party--clean[b-e99vmgntqa] {
    border-left: 4px solid #4caf50;
}

.cr-party--hit[b-e99vmgntqa] {
    border-left: 4px solid #f44336;
}

.cr-party__header[b-e99vmgntqa] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cr-party__name[b-e99vmgntqa] {
    font-weight: 600;
    flex: 1;
}

.cr-party__status[b-e99vmgntqa] {
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 500;
}

.cr-party__status--pending[b-e99vmgntqa] {
    background: #fff3e0;
    color: #e65100;
}

.cr-party__status--clean[b-e99vmgntqa] {
    background: #e8f5e9;
    color: #2e7d32;
}

.cr-party__status--hit[b-e99vmgntqa] {
    background: #ffebee;
    color: #c62828;
}

.cr-party__actions[b-e99vmgntqa] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cr-badge[b-e99vmgntqa] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cr-badge--role[b-e99vmgntqa] {
    background: #e3f2fd;
    color: #1976d2;
}

.cr-badge--hit-type[b-e99vmgntqa] {
    background: #fce4ec;
    color: #c2185b;
}

.cr-badge--sev-high[b-e99vmgntqa] {
    background: #ffebee;
    color: #d32f2f;
}

.cr-badge--sev-medium[b-e99vmgntqa] {
    background: #fff3e0;
    color: #e65100;
}

.cr-badge--sev-low[b-e99vmgntqa] {
    background: #e8f5e9;
    color: #388e3c;
}

.cr-badge--acked[b-e99vmgntqa] {
    background: #c8e6c9;
    color: #1b5e20;
}

.cr-hit[b-e99vmgntqa] {
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    background: #fafafa;
}

.cr-hit--high[b-e99vmgntqa] {
    border-left: 3px solid #d32f2f;
}

.cr-hit--medium[b-e99vmgntqa] {
    border-left: 3px solid #ff9800;
}

.cr-hit--low[b-e99vmgntqa] {
    border-left: 3px solid #4caf50;
}

.cr-hit__detail[b-e99vmgntqa] {
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    color: #555;
}

.cr-hit__mlro-req[b-e99vmgntqa] {
    display: inline-block;
    color: #e65100;
    font-weight: 500;
    margin-left: 0.5rem;
}

.cr-modal-overlay[b-e99vmgntqa] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cr-modal[b-e99vmgntqa] {
    background: white;
    border-radius: 4px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cr-modal h5[b-e99vmgntqa] {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cr-modal p[b-e99vmgntqa] {
    margin: 1rem 0;
    color: #666;
}

.cr-mlro-notes-label[b-e99vmgntqa] {
    display: block;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.required[b-e99vmgntqa] {
    color: #d32f2f;
    font-weight: 500;
}

.cr-validation-msg[b-e99vmgntqa] {
    display: block;
    color: #d32f2f;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* LW+CL:23.10.26 AML scan */
.cr-aml-scan[b-e99vmgntqa] {
    border: 1px solid #cfe2ff;
    background: #f5f9ff;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cr-aml-scan__intro[b-e99vmgntqa] {
    flex: 1;
    font-size: 0.85rem;
    color: #333;
}

.cr-aml-scan__progress[b-e99vmgntqa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #1565c0;
}

.cr-aml-scan__summary[b-e99vmgntqa] {
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.cr-aml-scan__summary--ok[b-e99vmgntqa] { background: #e8f5e9; color: #2e7d32; }
.cr-aml-scan__summary--warn[b-e99vmgntqa] { background: #fff8e1; color: #8a5300; }
.cr-aml-scan__summary--danger[b-e99vmgntqa] { background: #fdecea; color: #b71c1c; }

.cr-screening-count[b-e99vmgntqa] { margin: 0 0 0.5rem; font-weight: 600; }

.cr-aml-row-state[b-e99vmgntqa] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.cr-aml-row-state--queued[b-e99vmgntqa] { background: #f0f0f0; color: #777; }
.cr-aml-row-state--scanning[b-e99vmgntqa] { background: #e3f2fd; color: #1565c0; }

.cr-aml-spinner[b-e99vmgntqa] {
    width: 12px;
    height: 12px;
    border: 2px solid #90caf9;
    border-top-color: #1565c0;
    border-radius: 50%;
    display: inline-block;
    animation: cr-aml-spin-b-e99vmgntqa 0.8s linear infinite;
}

@keyframes cr-aml-spin-b-e99vmgntqa {
    to { transform: rotate(360deg); }
}

.cr-aml-result[b-e99vmgntqa] {
    font-size: 0.82rem;
    padding: 0.35rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.cr-aml-result--clear[b-e99vmgntqa] { background: #f0fdf4; color: #1b5e20; }
.cr-aml-result--match[b-e99vmgntqa] { background: #fff2f2; color: #b71c1c; }
.cr-aml-result--pending[b-e99vmgntqa] { background: #f0f8ff; color: #1565c0; }
.cr-aml-result--error[b-e99vmgntqa] { background: #fffbf2; color: #8a5300; }

.cr-aml-result__detail[b-e99vmgntqa] {
    display: block;
    color: #555;
    margin-top: 0.15rem;
}

.cr-badge--simulated[b-e99vmgntqa] { background: #ede7f6; color: #4527a0; margin-left: 0.35rem; }
.cr-badge--source[b-e99vmgntqa] { background: #eceff1; color: #37474f; }

.cr-aml-result__by-hand[b-e99vmgntqa] { margin-left: 0.35rem; color: #555; }
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrUboRegisterDialog.razor.rz.scp.css */
/* LW+CL:23.10.26 the case's beneficial ownership register (read-only) */
.cr-ubo-overlay[b-fqbaeya3ot] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6vh;
    z-index: 1050;
}

.cr-ubo-dialog[b-fqbaeya3ot] {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: min(720px, 94vw);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
}

.cr-ubo-dialog__header[b-fqbaeya3ot],
.cr-ubo-dialog__footer[b-fqbaeya3ot] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.cr-ubo-dialog__header[b-fqbaeya3ot] {
    border-bottom: 1px solid #dee2e6;
}

.cr-ubo-dialog__header h5[b-fqbaeya3ot] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cr-ubo-dialog__footer[b-fqbaeya3ot] {
    border-top: 1px solid #dee2e6;
}

.cr-ubo-dialog__body[b-fqbaeya3ot] {
    padding: 0.75rem 1rem;
    overflow-y: auto;
}

.cr-ubo-dialog__headline[b-fqbaeya3ot] {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cr-ubo-dialog__muted[b-fqbaeya3ot] {
    font-size: 0.8rem;
    color: #6c757d;
}

.cr-ubo-row[b-fqbaeya3ot] {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

.cr-ubo-row__main[b-fqbaeya3ot] {
    display: grid;
    grid-template-columns: 1fr 14rem 5rem auto;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}

.cr-ubo-row__name[b-fqbaeya3ot] {
    font-weight: 600;
}

.cr-ubo-row__basis[b-fqbaeya3ot] {
    justify-self: start;
    padding: .1rem .5rem;
    border-radius: 10px;
    font-size: .75rem;
    font-weight: 600;
}

.cr-ubo-row__basis--economic[b-fqbaeya3ot] {
    background: #d4edda;
    color: #1e6b34;
}

.cr-ubo-row__basis--lookthrough[b-fqbaeya3ot] {
    background: #fff3cd;
    color: #8a6100;
}

.cr-ubo-row__basis--other[b-fqbaeya3ot] {
    background: #d0f5ed;
    color: #006c56;
}

.cr-ubo-row__pct[b-fqbaeya3ot] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/Components/CrWaiverPanel.razor.rz.scp.css */
.cr-empty-state[b-yaptk0l49r] {
    padding: 2rem;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 1rem 0;
}

.cr-waiver[b-yaptk0l49r] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.cr-waiver--reconfirm[b-yaptk0l49r] {
    border-left: 4px solid #ff9800;
}

.cr-waiver--rescinded[b-yaptk0l49r] {
    border-left: 4px solid #9e9e9e;
    opacity: 0.85;
}

.cr-waiver__header[b-yaptk0l49r] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.cr-waiver__desc[b-yaptk0l49r] {
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.cr-waiver__meta[b-yaptk0l49r] {
    font-size: 0.8rem;
    color: #666;
}

.cr-badge[b-yaptk0l49r] {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cr-badge--reconfirm[b-yaptk0l49r] {
    background: #fff3e0;
    color: #e65100;
}

.cr-waiver__actions[b-yaptk0l49r] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cr-waiver__party[b-yaptk0l49r] {
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.4rem;
}

.cr-waiver__rescinded-detail[b-yaptk0l49r] {
    font-size: 0.875rem;
    color: #555;
    text-decoration: line-through;
}

.cr-waiver__reconfirmed-detail[b-yaptk0l49r] {
    font-size: 0.875rem;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 3px;
    padding: 0.4rem 0.6rem;
    display: inline-block;
}

.cr-waiver-add-form[b-yaptk0l49r] {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    background: #fafafa;
    margin-top: 1rem;
}

.cr-waiver-add-form h6[b-yaptk0l49r] {
    margin-top: 0;
}

.cr-waiver-add-form__checkbox[b-yaptk0l49r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.cr-waiver-add-form__checkbox label[b-yaptk0l49r] {
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
}

.cr-field-label[b-yaptk0l49r] {
    display: block;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.cr-field-label:first-child[b-yaptk0l49r] {
    margin-top: 0;
}

.required[b-yaptk0l49r] {
    color: #d32f2f;
    font-weight: 500;
}

.cr-modal-overlay[b-yaptk0l49r] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.cr-modal[b-yaptk0l49r] {
    background: white;
    border-radius: 4px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cr-modal h5[b-yaptk0l49r] {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cr-modal p[b-yaptk0l49r] {
    margin: 1rem 0;
    color: #666;
}

.cr-waiver-id[b-yaptk0l49r] {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ede9fe;
    color: #5b21b6;
}

.cr-waiver-id--ok[b-yaptk0l49r] {
    background: #e8f5e9;
    color: #2e7d32;
}

.cr-waiver-id--rescinded[b-yaptk0l49r] {
    background: #e5e7eb;
    color: #6b7280;
}
/* /Components/Pages/GovernedTransactions/ComplianceReview/CrPage.razor.rz.scp.css */
.gov-ai-trigger-btn[b-adfs2zdyn7] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.gov-ai-trigger-btn:hover[b-adfs2zdyn7] { opacity: 0.9; }
.gov-ai-head-icon[b-adfs2zdyn7] { width: 22px; height: 22px; object-fit: contain; }

/* ── CR Page Layout — mirrors RrcPage.razor.css ── */

/* Dashboard / loading / error mode */
.rrc-page-scroll[b-adfs2zdyn7] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* ── Fixed sticky header ── */
.cr-sticky-header[b-adfs2zdyn7] { flex-shrink: 0; }

.cr-back-role-bar[b-adfs2zdyn7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}

.cr-bar-right[b-adfs2zdyn7] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rrc-back-link[b-adfs2zdyn7] {
    font-size: .78rem;
    color: #666;
    cursor: pointer;
    padding: .4rem .85rem;
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}

.rrc-back-link:hover[b-adfs2zdyn7] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

.rrc-collapse-btn[b-adfs2zdyn7] {
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s;
    font-family: inherit;
    line-height: 1;
}

.rrc-collapse-btn:hover[b-adfs2zdyn7] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

/* ── Slim one-line summary (collapsed state) ── */
.rrc-header-slim[b-adfs2zdyn7] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem 1.25rem .6rem;
    font-size: .8rem;
    flex-wrap: wrap;
}

.rrc-slim-ref[b-adfs2zdyn7]    { font-weight: 700; color: #1e3a5f; }
.rrc-slim-entity[b-adfs2zdyn7] { color: var(--gtc-text); }
.rrc-slim-stage[b-adfs2zdyn7]  { color: var(--gtc-teal); font-weight: 600; }
.rrc-slim-sep[b-adfs2zdyn7]    { color: #ccc; }

/* ── Case header card (moved from CrDetailView) ── */
.rrc-case-header[b-adfs2zdyn7] {
    background: var(--gtc-card);
    padding: 1.1rem;
    box-shadow: var(--gt-shadow);
    margin: 0 0 .9rem;
}

.rrc-case-header-top[b-adfs2zdyn7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rrc-case-header h2[b-adfs2zdyn7] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 .15rem;
}

.rrc-case-meta[b-adfs2zdyn7] { font-size: .76rem; color: var(--gtc-text-light); }


.rrc-info-grid[b-adfs2zdyn7] { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; }
.rrc-info-label[b-adfs2zdyn7] { font-size: .65rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; margin-bottom: .15rem; }
.rrc-info-value[b-adfs2zdyn7] { font-size: .82rem; color: var(--gtc-text); }

/* ── Pinned footer ── */
.cr-footer-bar[b-adfs2zdyn7] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}

/* ── Action message (success / error) ── */
.rrc-action-message[b-adfs2zdyn7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    margin: .5rem 0;
}

.rrc-msg-success[b-adfs2zdyn7] { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.rrc-msg-error[b-adfs2zdyn7]   { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

.rrc-msg-dismiss[b-adfs2zdyn7] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .9rem;
    color: inherit;
    opacity: .6;
    padding: 0 .25rem;
    line-height: 1;
}
.rrc-msg-dismiss:hover[b-adfs2zdyn7] { opacity: 1; }

.rrc-loading[b-adfs2zdyn7] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-muted);
    font-size: .82rem;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobCaseLinks.razor.rz.scp.css */
.eob-case-links[b-w2khjx1w74] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: .75rem;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobCreateForm.razor.rz.scp.css */
.eob-create-form[b-a9ievag6uk] {
    background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: .75rem 1.25rem 1rem;
    max-width: 640px;
}

.eob-create-title[b-a9ievag6uk] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gt-navy, #0a3d62);
    margin: 0 0 1.1rem;
}

.eob-form-group[b-a9ievag6uk] {
    margin-bottom: .85rem;
}

.eob-form-group-inline[b-a9ievag6uk] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.eob-form-label[b-a9ievag6uk] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin-bottom: .3rem;
}

.eob-label-inline[b-a9ievag6uk] {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
}

.eob-form-hint[b-a9ievag6uk] {
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
}

.eob-target-status[b-a9ievag6uk] {
    font-size: .8rem;
    color: var(--gt-text, #2d3748);
    background: var(--gt-surface-alt, #f7fafc);
    border-left: 3px solid var(--gt-accent, #3182ce);
    border-radius: 4px;
    padding: .5rem .75rem;
    margin-bottom: .75rem;
}

.eob-required[b-a9ievag6uk] {
    color: #e53e3e;
    margin-left: .1rem;
}

.eob-form-input[b-a9ievag6uk],
.eob-form-select[b-a9ievag6uk] {
    width: 100%;
    padding: .4rem .65rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--gtc-text, #4a5568);
    background: #fff;
    transition: border-color .15s;
    box-sizing: border-box;
}

.eob-form-input:focus[b-a9ievag6uk],
.eob-form-select:focus[b-a9ievag6uk] {
    outline: none;
    border-color: var(--gtc-teal, #00a896);
}

.eob-form-date[b-a9ievag6uk] {
    width: auto;
    min-width: 180px;
}

.eob-form-textarea[b-a9ievag6uk] {
    resize: vertical;
    font-family: inherit;
    min-height: 3.4rem;
}

.eob-upload-btn[b-a9ievag6uk] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border: 1px dashed var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .8rem;
    color: var(--gt-navy, #0a3d62);
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.eob-upload-btn:hover[b-a9ievag6uk] {
    border-color: var(--gtc-teal, #00a896);
    background: #f0fdfb;
}

.eob-upload-error[b-a9ievag6uk] {
    margin-top: .3rem;
    font-size: .75rem;
    color: #c0392b;
}

.eob-entity-results[b-a9ievag6uk] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 50;
    max-height: 240px;
    overflow-y: auto;
}

.eob-entity-result[b-a9ievag6uk] {
    padding: .5rem .75rem;
    font-size: .82rem;
    cursor: pointer;
    transition: background .12s;
}

.eob-entity-result:hover[b-a9ievag6uk] {
    background: #f0fdfb;
    color: var(--gt-navy, #0a3d62);
}

.eob-selected-entity[b-a9ievag6uk] {
    margin-top: .35rem;
    font-size: .8rem;
    color: var(--gt-navy, #0a3d62);
    background: #f0fdfb;
    border: 1px solid rgba(0,168,150,.2);
    border-radius: 5px;
    padding: .35rem .65rem;
}

.eob-entity-meta[b-a9ievag6uk] {
    color: var(--gt-text-muted, #718096);
    font-size: .78rem;
    margin-left: .25rem;
}

.eob-create-error[b-a9ievag6uk] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .45rem .75rem;
    font-size: .78rem;
    margin-bottom: .75rem;
}

.eob-mode-toggle[b-a9ievag6uk] {
    display: flex;
    gap: .4rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--gtc-border, #e2e8f0);
}

.eob-mode-btn[b-a9ievag6uk] {
    background: none;
    border: none;
    padding: .5rem .1rem .6rem;
    margin-right: 1rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gt-text-muted, #718096);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.eob-mode-btn:hover[b-a9ievag6uk] {
    color: var(--gt-navy, #0a3d62);
}

.eob-mode-btn.active[b-a9ievag6uk] {
    color: var(--gtc-teal, #00a896);
    border-bottom-color: var(--gtc-teal, #00a896);
}

.eob-create-actions[b-a9ievag6uk] {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}

.eob-btn[b-a9ievag6uk] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.eob-btn-primary[b-a9ievag6uk]   { background: var(--gt-teal); color: white; }
.eob-btn-secondary[b-a9ievag6uk] { background: white; color: #555; border: 1px solid var(--gtc-border, #e2e8f0); }
.eob-btn-primary:hover:not(:disabled)[b-a9ievag6uk]   { background: #00c0ad; transform: translateY(-1px); }
.eob-btn-secondary:hover:not(:disabled)[b-a9ievag6uk] { background: #f0fdfb; border-color: var(--gtc-teal); }
.eob-btn:disabled[b-a9ievag6uk] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobDashboard.razor.rz.scp.css */
/* ── EOB Dashboard — aligned with GTC/RRC shared tokens ── */
.eob-dashboard[b-qxkk9pn6y8] { padding: 1rem 1.25rem; }

.eob-header[b-qxkk9pn6y8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.eob-header h1[b-qxkk9pn6y8] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin-bottom: .25rem;
}

.eob-header-sub[b-qxkk9pn6y8] { font-size: .75rem; color: var(--gtc-text-light); }

/* ── KPI Bar ── */
.eob-kpi-bar[b-qxkk9pn6y8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .9rem;
    margin: 1rem 0;
}

/* ── Filter Bar ── */
.eob-filter-bar[b-qxkk9pn6y8] {
    background: var(--gtc-card);
    padding: .65rem 1rem;
    border-radius: var(--gt-radius);
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: .76rem;
    margin-bottom: 1rem;
    box-shadow: var(--gt-shadow);
}

.eob-filter-bar label[b-qxkk9pn6y8] { font-weight: 600; color: #666; }

.eob-filter-bar select[b-qxkk9pn6y8] {
    padding: .28rem .5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .75rem;
    color: var(--gtc-text);
    background: #f8f9fa;
    cursor: pointer;
}

.eob-show-completed[b-qxkk9pn6y8] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
}

.eob-show-completed input[type="checkbox"][b-qxkk9pn6y8] { cursor: pointer; }

/* ── Data Table ── */
.eob-table-wrap[b-qxkk9pn6y8] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.eob-table[b-qxkk9pn6y8] { width: 100%; border-collapse: collapse; }

.eob-table thead th[b-qxkk9pn6y8] {
    background: #f8f9fa;
    padding: .5rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.eob-table tbody td[b-qxkk9pn6y8] {
    padding: .62rem .9rem;
    font-size: .78rem;
    color: var(--gtc-text);
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.eob-table tr:last-child td[b-qxkk9pn6y8] { border-bottom: none; }
.eob-table-row[b-qxkk9pn6y8] { cursor: pointer; transition: background .15s; }
.eob-table-row:hover td[b-qxkk9pn6y8] { background: #f0fdfb; }
.eob-ref[b-qxkk9pn6y8] { font-weight: 600; color: var(--gt-navy); }

.eob-empty[b-qxkk9pn6y8] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint);
    font-size: .82rem;
}

/* ── Pills ── */
.eob-type-pill[b-qxkk9pn6y8] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 600;
    background: #e8f4fd;
    color: #1565c0;
    white-space: nowrap;
}

.eob-phase-pill[b-qxkk9pn6y8] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 600;
    background: #f0fdfb;
    color: var(--gtc-teal);
    white-space: nowrap;
}

/* ── Status text ── */
.eob-status-open[b-qxkk9pn6y8] { color: var(--gt-navy); font-weight: 600; }
.eob-status-on-hold[b-qxkk9pn6y8] { color: var(--gt-amber); font-weight: 600; }
.eob-status-completed[b-qxkk9pn6y8] { color: var(--gt-green); font-weight: 600; }
.eob-status-rejected[b-qxkk9pn6y8] { color: var(--gt-red); font-weight: 600; }
.eob-status-cancelled[b-qxkk9pn6y8] { color: #999; font-weight: 600; }
.eob-status-escalated[b-qxkk9pn6y8] { color: #e65100; font-weight: 600; }

/* ── Buttons ── */
.eob-btn[b-qxkk9pn6y8] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.eob-btn-primary[b-qxkk9pn6y8] { background: var(--gt-teal); color: white; }
.eob-btn-primary:hover:not(:disabled)[b-qxkk9pn6y8] { background: #00c0ad; transform: translateY(-1px); }
.eob-btn:disabled[b-qxkk9pn6y8] { opacity: .5; cursor: not-allowed; }

/* ── Risk badges ── */
.eob-risk-pill[b-qxkk9pn6y8] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 700;
    white-space: nowrap;
}
.eob-risk-low[b-qxkk9pn6y8]    { background: #e8f5e9; color: #27ae60; }
.eob-risk-medium[b-qxkk9pn6y8] { background: #fff8e1; color: #f39c12; }
.eob-risk-high[b-qxkk9pn6y8]   { background: #ffebee; color: #e74c3c; }

/* ── Age badges ── */
.eob-age-pill[b-qxkk9pn6y8] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 600;
    white-space: nowrap;
}
.eob-age-ok[b-qxkk9pn6y8]      { background: #f5f5f5; color: #888; }
.eob-age-warn[b-qxkk9pn6y8]    { background: #fff8e1; color: #f39c12; }
.eob-age-overdue[b-qxkk9pn6y8] { background: #ffebee; color: #e74c3c; }
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobDetailView.razor.rz.scp.css */
/* ── EOB Detail View ── */

/* ── Review Panel ── */
.eob-review-panel[b-fw5aa5sc1y] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    margin-bottom: .9rem;
    overflow: hidden;
}

.eob-review-header[b-fw5aa5sc1y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--gtc-border);
    font-size: .78rem;
}

.eob-review-body[b-fw5aa5sc1y] { padding: .75rem 1rem; }

.eob-saved-row[b-fw5aa5sc1y] {
    display: flex;
    gap: 1rem;
    padding: .3rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
}

.eob-saved-label[b-fw5aa5sc1y] { font-weight: 600; color: #888; min-width: 110px; flex-shrink: 0; }

/* ── Completion banner (LW+CL:09.11.26 C172, the POC's green panel) ── */
.eob-completion-banner[b-fw5aa5sc1y] {
    background: linear-gradient(135deg, #00b894, #00d9c5);
    color: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: .5rem 0 .75rem;
}

.eob-completion-banner-title[b-fw5aa5sc1y] {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.eob-completion-banner-sub[b-fw5aa5sc1y] {
    font-size: .85rem;
    opacity: .9;
    margin: .35rem 0 0;
}

/* ── Hold Banner ── */
.eob-hold-banner[b-fw5aa5sc1y] {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1.1rem;
    border-radius: var(--gt-radius);
    background: #fff5f0;
    border: 1px solid #e17055;
    margin-bottom: .9rem;
    font-size: .82rem;
}

/* ── Pending Formation Banner (Gap D) ── */
.eob-pending-formation-banner[b-fw5aa5sc1y] {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1.1rem;
    border-radius: var(--gt-radius);
    background: #fffaf0;
    border: 1px solid #dda94a;
    margin-bottom: .9rem;
    font-size: .82rem;
}

/* ── Formation Detail (from Pre-Registration) ── */
.eob-formation-detail[b-fw5aa5sc1y] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    margin-bottom: .9rem;
    overflow: hidden;
}

.eob-formation-detail-header[b-fw5aa5sc1y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--gtc-border);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}

.eob-formation-detail-body[b-fw5aa5sc1y] { padding: .75rem 1rem; }

.eob-formation-detail-body h4[b-fw5aa5sc1y] {
    font-size: .78rem;
    font-weight: 600;
    color: #888;
    margin: .75rem 0 .3rem;
}

.eob-formation-detail-body h4:first-child[b-fw5aa5sc1y] { margin-top: 0; }

.eob-formation-table[b-fw5aa5sc1y] {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
}

.eob-formation-table th[b-fw5aa5sc1y] {
    text-align: left;
    font-weight: 600;
    color: #888;
    padding: .3rem .5rem;
    border-bottom: 1px solid var(--gtc-border);
}

.eob-formation-table td[b-fw5aa5sc1y] {
    padding: .3rem .5rem;
    border-bottom: 1px solid #f5f5f5;
}

.eob-muted[b-fw5aa5sc1y] {
    color: #aaa;
    font-size: .75rem;
    font-style: italic;
}

/* ── SoD Banner (Phase 10) ── */
.eob-sod-banner[b-fw5aa5sc1y] {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1.1rem;
    border-radius: var(--gt-radius);
    background: #fffaf0;
    border: 1px solid #f39c12;
    margin-bottom: .9rem;
    font-size: .82rem;
}

/* ── Tabs ── */
.eob-tabs[b-fw5aa5sc1y] {
    display: flex;
    border-bottom: 2px solid #e8e8e8;
}

.eob-tab[b-fw5aa5sc1y] {
    padding: .85rem 1.1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 500;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    font-family: inherit;
}

.eob-tab.active[b-fw5aa5sc1y] { color: var(--gtc-teal); border-bottom-color: var(--gtc-teal); font-weight: 700; }
.eob-tab:hover:not(.active)[b-fw5aa5sc1y] { color: #555; background: #f8f9fa; }

.eob-tab-content[b-fw5aa5sc1y] {
    background: var(--gtc-card);
    border-radius: 0 0 var(--gt-radius) var(--gt-radius);
    padding: 1rem;
    margin-bottom: .9rem;
    box-shadow: var(--gt-shadow);
}

.eob-section-title[b-fw5aa5sc1y] { font-size: .88rem; font-weight: 700; color: var(--gtc-text); margin-bottom: .75rem; }
.eob-stage-content[b-fw5aa5sc1y] { padding: .25rem 0; }

/* ── Documents ── */
.eob-doc-item[b-fw5aa5sc1y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .8rem;
}

.eob-doc-verified[b-fw5aa5sc1y] { background: #f6fef8; border-left: 2px solid var(--gt-green); padding-left: .5rem; }

.eob-doc-type[b-fw5aa5sc1y] { font-weight: 600; color: var(--gtc-text); }

.eob-doc-preview-btn[b-fw5aa5sc1y] {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: .4rem;
    font-size: .85rem;
    opacity: .65;
}
.eob-doc-preview-btn:hover[b-fw5aa5sc1y] { opacity: 1; }

.eob-doc-badge[b-fw5aa5sc1y] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 600;
}

.eob-doc-badge-ok[b-fw5aa5sc1y] { background: #e8f5e9; color: var(--gt-green); }
.eob-doc-badge-pending[b-fw5aa5sc1y] { background: #fff8e1; color: var(--gt-amber); }

/* ── Phase 5: Service Enrollments (read-only, ADO #97) ── */
.eob-svcenr-section[b-fw5aa5sc1y] { margin-top: 1.5rem; }

.eob-svcenr-empty[b-fw5aa5sc1y] { padding: .5rem 0; color: var(--gt-text-faint); font-size: .8rem; }

.eob-svcenr-row[b-fw5aa5sc1y] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .8rem;
}

.eob-svcenr-icon[b-fw5aa5sc1y] { flex-shrink: 0; font-size: .95rem; }
.eob-svcenr-main[b-fw5aa5sc1y] { flex: 1; }
.eob-svcenr-name[b-fw5aa5sc1y] { font-weight: 600; color: var(--gtc-text); }
.eob-svcenr-sub[b-fw5aa5sc1y] { font-size: .72rem; color: #888; margin-top: .1rem; }

.eob-svcenr-note[b-fw5aa5sc1y] {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: .75rem;
    padding: .65rem .85rem;
    border-radius: 6px;
    background: #f0fdfb;
    border: 1px solid #b2ece3;
    font-size: .75rem;
    color: #555;
}

/* ── Audit ── */
.eob-audit-entry[b-fw5aa5sc1y] {
    display: flex;
    gap: 1rem;
    padding: .45rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
}

.eob-audit-time[b-fw5aa5sc1y] { color: #999; min-width: 130px; flex-shrink: 0; }
.eob-audit-action[b-fw5aa5sc1y] { flex: 1; color: var(--gtc-text); }
.eob-audit-user[b-fw5aa5sc1y] { color: #888; min-width: 100px; text-align: right; }

.eob-empty-tab[b-fw5aa5sc1y] { padding: 2rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

.eob-btn-primary[b-fw5aa5sc1y] { background: var(--gt-teal); color: white; }
.eob-btn-primary:hover:not(:disabled)[b-fw5aa5sc1y] { background: #00c0ad; transform: translateY(-1px); }

.eob-btn-sm[b-fw5aa5sc1y] {
    padding: .3rem .7rem;
    border: 1px solid var(--gtc-border);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: .73rem;
    color: #555;
    font-family: inherit;
}
.eob-btn-warn[b-fw5aa5sc1y] { color: #e65100; border-color: #ffcc80; }
.eob-btn-warn:hover:not(:disabled)[b-fw5aa5sc1y] { background: #fff3e0; }

.eob-review-actions[b-fw5aa5sc1y] {
    padding: .5rem 0 .25rem;
    border-top: 1px solid var(--gtc-border);
    margin-top: .5rem;
    display: flex;
    gap: .5rem;
}

.eob-correction-form[b-fw5aa5sc1y] {
    margin-top: .5rem;
}

/* ── Phase Guidance Panels (phases 1–7) ── */
.eob-phase-guide[b-fw5aa5sc1y] { padding: .1rem 0; }

.eob-phase-guide-desc[b-fw5aa5sc1y] {
    font-size: .82rem;
    color: var(--gtc-text-light, #636e72);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.eob-phase-summary[b-fw5aa5sc1y] {
    background: #f8f9fa;
    border-radius: 6px;
    padding: .4rem .75rem;
    margin-bottom: 1rem;
}

.eob-phase-row[b-fw5aa5sc1y] {
    display: flex;
    gap: 1rem;
    padding: .3rem 0;
    border-bottom: 1px solid #efefef;
    font-size: .8rem;
}

.eob-phase-row:last-child[b-fw5aa5sc1y] { border-bottom: none; }

.eob-phase-row span:first-child[b-fw5aa5sc1y] {
    font-weight: 600;
    color: #888;
    min-width: 140px;
    flex-shrink: 0;
}

.eob-phase-open-btn[b-fw5aa5sc1y] {
    padding: .45rem 1.1rem;
    background: white;
    border: 1.5px solid var(--gtc-teal, #00a896);
    color: var(--gtc-teal, #00a896);
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}

.eob-phase-open-btn:hover[b-fw5aa5sc1y] { background: #f0fdfb; }

/* ── Phase 8 Compliance Forms ── */
.eob-compliance-section[b-fw5aa5sc1y] {
    padding: .65rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: .65rem;
}

.eob-compliance-section:last-of-type[b-fw5aa5sc1y] { border-bottom: none; margin-bottom: 0; }

.eob-compliance-section-title[b-fw5aa5sc1y] {
    font-size: .72rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 .5rem;
}

.eob-compliance-saved[b-fw5aa5sc1y] {
    font-size: .8rem;
    color: var(--gtc-text);
    margin-bottom: .55rem;
}

.eob-compliance-check[b-fw5aa5sc1y] { color: #27ae60; margin-right: .3rem; }

.eob-compliance-form[b-fw5aa5sc1y] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.eob-cf-row[b-fw5aa5sc1y] { display: flex; align-items: center; gap: .4rem; }

.eob-cf-label[b-fw5aa5sc1y] {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
}

.eob-cf-input[b-fw5aa5sc1y],
.eob-cf-select[b-fw5aa5sc1y] {
    padding: .35rem .6rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 5px;
    font-size: .8rem;
    font-family: inherit;
    color: var(--gtc-text);
    background: #fff;
    transition: border-color .15s;
}

.eob-cf-input:focus[b-fw5aa5sc1y],
.eob-cf-select:focus[b-fw5aa5sc1y] { outline: none; border-color: var(--gtc-teal, #00a896); }

.eob-aml-clear[b-fw5aa5sc1y]  { color: #27ae60; font-weight: 700; }
.eob-aml-refer[b-fw5aa5sc1y]  { color: #f39c12; font-weight: 700; }
.eob-aml-flagged[b-fw5aa5sc1y] { color: #e74c3c; font-weight: 700; }

.eob-phase8-error[b-fw5aa5sc1y] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .4rem .7rem;
    font-size: .78rem;
    margin-top: .6rem;
}

/* ── Documents Tab ── */
.eob-doc-progress[b-fw5aa5sc1y] {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .78rem;
    padding-bottom: .6rem;
    margin-bottom: .6rem;
    border-bottom: 1px solid #f0f0f0;
}

.eob-doc-progress-ok[b-fw5aa5sc1y]   { color: #27ae60; font-weight: 600; }
.eob-doc-progress-warn[b-fw5aa5sc1y] { color: #f39c12; font-weight: 600; }

.eob-doc-add-form[b-fw5aa5sc1y] {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
}

.eob-doc-date-input[b-fw5aa5sc1y] {
    padding: .3rem .5rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 5px;
    font-size: .78rem;
    color: var(--gtc-text, #4a5568);
}

.eob-doc-dates[b-fw5aa5sc1y] {
    display: flex;
    gap: .6rem;
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
    margin-top: .15rem;
}

.eob-doc-expired[b-fw5aa5sc1y] {
    color: #c0392b;
    font-weight: 600;
}

.eob-doc-verify-btn[b-fw5aa5sc1y] {
    padding: .2rem .65rem;
    background: white;
    border: 1px solid var(--gtc-teal, #00a896);
    color: var(--gtc-teal, #00a896);
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .12s;
}

.eob-doc-verify-btn:hover:not(:disabled)[b-fw5aa5sc1y] { background: #f0fdfb; }
.eob-doc-verify-btn:disabled[b-fw5aa5sc1y] { opacity: .5; cursor: not-allowed; }

/* ── Phase 10 Final Review ── */
.eob-final-review[b-fw5aa5sc1y] {
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 7px;
    overflow: hidden;
}

.eob-final-section[b-fw5aa5sc1y] {
    padding: .65rem .9rem;
    border-bottom: 1px solid #f0f0f0;
}

.eob-final-section:last-child[b-fw5aa5sc1y] { border-bottom: none; }

.eob-final-section-title[b-fw5aa5sc1y] {
    font-size: .68rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .4rem;
}

.eob-final-row[b-fw5aa5sc1y] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: .8rem;
    padding: .2rem 0;
    color: var(--gtc-text);
}

.eob-final-row span:first-child[b-fw5aa5sc1y] { color: #888; font-weight: 500; flex-shrink: 0; }

.eob-final-meta[b-fw5aa5sc1y] { color: #aaa; font-size: .75rem; }

.eob-final-phases[b-fw5aa5sc1y] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding-top: .2rem;
}

.eob-final-phase-pill[b-fw5aa5sc1y] {
    display: inline-block;
    padding: .15rem .55rem;
    background: #e8f5e9;
    color: #27ae60;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 600;
}

/* ── Risk badges (case header) ── */
.eob-risk-pill[b-fw5aa5sc1y] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 700;
    white-space: nowrap;
}
.eob-risk-low[b-fw5aa5sc1y]    { background: #e8f5e9; color: #27ae60; }
.eob-risk-medium[b-fw5aa5sc1y] { background: #fff8e1; color: #f39c12; }
.eob-risk-high[b-fw5aa5sc1y]   { background: #ffebee; color: #e74c3c; }

/* ── Age badges (case header) ── */
.eob-age-pill[b-fw5aa5sc1y] {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 10px;
    font-size: .67rem;
    font-weight: 600;
    white-space: nowrap;
}
.eob-age-ok[b-fw5aa5sc1y]      { background: #f5f5f5; color: #888; }
.eob-age-warn[b-fw5aa5sc1y]    { background: #fff8e1; color: #f39c12; }
.eob-age-overdue[b-fw5aa5sc1y] { background: #ffebee; color: #e74c3c; }

/* ── Embedded CRM component frame (phases 3–7) ── */
.eob-step-workspace[b-fw5aa5sc1y] {
    border-top: 3px solid var(--gtc-teal);
    border-radius: var(--gt-radius);
    background: rgba(0, 217, 197, 0.02);
    margin-top: .75rem;
    padding: .25rem .25rem .5rem;
    /* Bound the embedded grid so it scrolls within the frame instead of running
       full-length and disappearing behind the sticky action bar. */
    max-height: 62vh;
    overflow: auto;
}

/* Embedded components (entity detail forms, CRM grids) fill the frame width so a
   narrow form card (e.g. Company Details) doesn't float left inside the frame. */
.eob-step-workspace > *[b-fw5aa5sc1y] {
    width: 100%;
    box-sizing: border-box;
}

/* ── Phase 1 owner assignment editor ── */
.eob-owner-editor[b-fw5aa5sc1y] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gtc-border);
}

.eob-owner-field[b-fw5aa5sc1y] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 220px;
}

.eob-owner-field label[b-fw5aa5sc1y] {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gtc-text-light, #636e72);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.eob-owner-field select[b-fw5aa5sc1y] {
    padding: .4rem .5rem;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    font-size: .82rem;
}

.eob-owner-field[b-fw5aa5sc1y]  .myComboBoxInput {
    font-size: .82rem;
}

.eob-owner-error[b-fw5aa5sc1y] {
    color: var(--gt-red, #d63031);
    font-size: .78rem;
    align-self: center;
}

/* ── Phase requirement hint (inline in scroll content, phases 1–6) ── */
.eob-phase-requirement[b-fw5aa5sc1y] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border-radius: 5px;
    font-size: .78rem;
    font-weight: 500;
    margin-bottom: .25rem;
}

.eob-phase-requirement--ready[b-fw5aa5sc1y] {
    background: #e8f8f5;
    color: #0e8c6f;
    border: 1px solid rgba(17, 198, 131, .35);
}

.eob-phase-requirement--waiting[b-fw5aa5sc1y] {
    background: #fafafa;
    color: #888;
    border: 1px solid #e0e0e0;
}

.eob-phase-requirement--inline[b-fw5aa5sc1y] {
    margin-bottom: .75rem;
}

.eob-req-icon[b-fw5aa5sc1y] {
    font-weight: 700;
    font-size: .82rem;
    line-height: 1;
}

/* ── Phase data snapshot divider (review panel) ── */
.eob-summary-divider[b-fw5aa5sc1y] {
    border-top: 1px solid #e0e0e0;
    margin: .6rem 0 .4rem;
}

.eob-corrections-open[b-fw5aa5sc1y] {
    background: #fff7e6;
    border: 1px solid #f0d9a8;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.eob-review-header-actions[b-fw5aa5sc1y] {
    display: flex;
    gap: .4rem;
}

.eob-target-status[b-fw5aa5sc1y] {
    font-size: .8rem;
    color: var(--gt-text, #2d3748);
    background: var(--gt-surface-alt, #f7fafc);
    border-left: 3px solid var(--gt-accent, #3182ce);
    border-radius: 4px;
    padding: .5rem .75rem;
    margin-bottom: .75rem;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobExpectedHoldingsPanel.razor.rz.scp.css */
.eob-holdings[b-al2u8mjyg2] {
    margin-top: 1rem;
}

.eob-holdings-title[b-al2u8mjyg2] {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .25rem;
}

.eob-holdings-note[b-al2u8mjyg2] {
    font-size: .8rem;
    color: #64748b;
    margin-bottom: .5rem;
}

.eob-holdings-form[b-al2u8mjyg2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .5rem;
    margin-top: .75rem;
}

.eob-holdings-actions[b-al2u8mjyg2] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.eob-holdings-message[b-al2u8mjyg2] {
    grid-column: 1 / -1;
    font-size: .8rem;
    color: #991b1b;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobManagedBadge.razor.rz.scp.css */
.eob-managed-badge[b-cals6a3yw6] {
    display: inline-block;
    padding: .05rem .5rem;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 600;
}

.eob-managed-badge-managed[b-cals6a3yw6] {
    background: #d1fae5;
    color: #065f46;
}

.eob-managed-badge-unmanaged[b-cals6a3yw6] {
    background: #f1f5f9;
    color: #475569;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobMatters.razor.rz.scp.css */
.eob-matters[b-xni1qml348] {
    margin-top: 1rem;
}

.eob-matters-title[b-xni1qml348] {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.eob-matters-note[b-xni1qml348] {
    font-size: .8rem;
    color: #64748b;
}

.eob-matters-actions[b-xni1qml348] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobPartyScansPanel.razor.rz.scp.css */
.eob-partyscans[b-b9fz1bec33] {
    margin: .75rem 0 1rem;
}

.eob-partyscans-banner[b-b9fz1bec33] {
    border-radius: 6px;
    padding: .45rem .8rem;
    font-size: .8rem;
    margin-bottom: .5rem;
    background: #f1f5f9;
    color: #334155;
}

.eob-partyscans-banner-hit[b-b9fz1bec33] {
    background: #fee2e2;
    color: #991b1b;
}

.eob-partyscans-banner-outstanding[b-b9fz1bec33] {
    background: #fef3c7;
    color: #92400e;
}

.eob-partyscans-banner-clear[b-b9fz1bec33] {
    background: #d1fae5;
    color: #065f46;
}

.eob-partyscans-toggle[b-b9fz1bec33] {
    margin-bottom: .5rem;
    font-size: .8rem;
}

.eob-partyscans-title[b-b9fz1bec33] {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.eob-partyscans-actions[b-b9fz1bec33] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-top: .5rem;
}

.eob-partyscans-spinner[b-b9fz1bec33] {
    display: inline-flex;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
}

.eob-partyscans-note[b-b9fz1bec33] {
    font-size: .8rem;
    color: #64748b;
}

.eob-partyscans-message[b-b9fz1bec33] {
    margin-top: .5rem;
    font-size: .8rem;
    color: #334155;
}

/* LW+CL:09.11.26 Entity Onboarding C189: the result of a party (and of each check) as a coloured badge, as the POC's rr-badge */
.eob-scan-badge[b-b9fz1bec33] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .05rem .5rem;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

.eob-scan-tick[b-b9fz1bec33] {
    font-size: .7rem;
}

.eob-scan-clear[b-b9fz1bec33] {
    background: #d1fae5;
    color: #065f46;
}

.eob-scan-hit[b-b9fz1bec33] {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
}

.eob-scan-none[b-b9fz1bec33] {
    background: #f0f2f5;
    color: #6b7280;
    border: 1px dashed #cbd5e1;
}

.eob-scan-warn[b-b9fz1bec33] {
    background: #fef3c7;
    color: #92400e;
}

/* LW+CL:09.11.26 B7: Scanned (what a reader without the AML full-view right is told of a finished screen) is neutral, a screen done and nothing more */
.eob-scan-scanned[b-b9fz1bec33] {
    background: #e2e8f0;
    color: #334155;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobRegimeStripView.razor.rz.scp.css */
.eob-regime-strip[b-z9e8l7wcnc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .6rem;
    flex: 1 1 auto;
    border-radius: 6px;
    padding: .45rem .8rem;
    font-size: .8rem;
    background: #f1f5f9;
    color: #334155;
}

.eob-regime-label[b-z9e8l7wcnc] {
    font-weight: 600;
}

.eob-regime-pill[b-z9e8l7wcnc] {
    border-radius: 999px;
    padding: .05rem .6rem;
    font-weight: 600;
    background: #e2e8f0;
}

.eob-regime-open .eob-regime-pill[b-z9e8l7wcnc] {
    background: #dbeafe;
    color: #1e40af;
}

.eob-regime-duesoon[b-z9e8l7wcnc] {
    background: #fef3c7;
    color: #92400e;
}

.eob-regime-duesoon .eob-regime-pill[b-z9e8l7wcnc] {
    background: #fde68a;
    color: #92400e;
}

.eob-regime-duetoday[b-z9e8l7wcnc],
.eob-regime-overdue[b-z9e8l7wcnc] {
    background: #fee2e2;
    color: #991b1b;
}

.eob-regime-duetoday .eob-regime-pill[b-z9e8l7wcnc],
.eob-regime-overdue .eob-regime-pill[b-z9e8l7wcnc] {
    background: #fecaca;
    color: #991b1b;
}

.eob-regime-filed[b-z9e8l7wcnc] {
    background: #d1fae5;
    color: #065f46;
}

.eob-regime-filed .eob-regime-pill[b-z9e8l7wcnc] {
    background: #a7f3d0;
    color: #065f46;
}

.eob-regime-filing[b-z9e8l7wcnc] {
    margin: -.25rem 0 .5rem;
    font-size: .78rem;
    color: #64748b;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobRegistryLookup.razor.rz.scp.css */
.eob-reg[b-gp88gr6hoq] {
    margin: 0 0 .85rem;
    padding-top: .75rem;
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}

.eob-reg-label[b-gp88gr6hoq] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin-bottom: .3rem;
}

.eob-reg-hint[b-gp88gr6hoq] {
    display: block;
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
}

.eob-reg-fields[b-gp88gr6hoq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: .5rem 0;
}

.eob-reg-input[b-gp88gr6hoq] {
    width: 100%;
    padding: .4rem .65rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .82rem;
}

.eob-reg-actions[b-gp88gr6hoq] {
    margin-bottom: .5rem;
}

.eob-reg-btn[b-gp88gr6hoq] {
    padding: .4rem 1rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    background: white;
    color: #555;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}

.eob-reg-btn:hover:not(:disabled)[b-gp88gr6hoq] { background: #f0fdfb; border-color: var(--gtc-teal); }
.eob-reg-btn:disabled[b-gp88gr6hoq] { opacity: .5; cursor: not-allowed; }

.eob-reg-error[b-gp88gr6hoq] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .45rem .75rem;
    font-size: .78rem;
    margin-bottom: .75rem;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobRegistryResult.razor.rz.scp.css */
.eob-registry-result[b-huxyb1brgi] {
    border-radius: 6px;
    padding: .55rem .8rem;
    font-size: .8rem;
    background: #f1f5f9;
    color: #334155;
}

.eob-registry-found[b-huxyb1brgi] {
    background: #d1fae5;
    color: #065f46;
}

.eob-registry-notchecked[b-huxyb1brgi] {
    background: #fef3c7;
    color: #92400e;
}

.eob-registry-details[b-huxyb1brgi] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .15rem .75rem;
    margin: .4rem 0 0;
}

.eob-registry-details dt[b-huxyb1brgi] {
    font-weight: 600;
}

.eob-registry-details dd[b-huxyb1brgi] {
    margin: 0;
}

.eob-registry-note[b-huxyb1brgi] {
    margin-top: .4rem;
    font-size: .72rem;
    font-style: italic;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/Components/EobRelatedEntities.razor.rz.scp.css */
.eob-related[b-kf05k1a1dl] {
    margin-top: 1rem;
}

.eob-related-title[b-kf05k1a1dl] {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.eob-related-list[b-kf05k1a1dl] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .35rem;
}

.eob-related-list li[b-kf05k1a1dl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    font-size: .85rem;
}

.eob-related-code[b-kf05k1a1dl] {
    color: #64748b;
}
/* /Components/Pages/GovernedTransactions/EntityOnboarding/EobPage.razor.rz.scp.css */
/* ── EOB Page Layout ── */

/* Dashboard / loading / error mode */
.eob-page-scroll[b-jef3xhzym2] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* ── Fixed sticky header ── */
.eob-sticky-header[b-jef3xhzym2] { flex-shrink: 0; }

.eob-back-role-bar[b-jef3xhzym2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}

.eob-bar-right[b-jef3xhzym2] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.eob-back-link[b-jef3xhzym2] {
    font-size: .78rem;
    color: #666;
    cursor: pointer;
    padding: .4rem .85rem;
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}

.eob-back-link:hover[b-jef3xhzym2] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

.eob-collapse-btn[b-jef3xhzym2] {
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s;
    font-family: inherit;
    line-height: 1;
}

.eob-collapse-btn:hover[b-jef3xhzym2] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

/* ── Slim one-line summary (collapsed state) ── */
.eob-header-slim[b-jef3xhzym2] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem 1.25rem .6rem;
    font-size: .8rem;
    flex-wrap: wrap;
}

.eob-slim-ref[b-jef3xhzym2]    { font-weight: 700; color: #1e3a5f; }
.eob-slim-entity[b-jef3xhzym2] { color: var(--gtc-text); }
.eob-slim-sep[b-jef3xhzym2]    { color: #ccc; }

/* ── Case header card (moved from EobDetailView) ── */
.eob-case-header[b-jef3xhzym2] {
    background: var(--gtc-card);
    padding: 1.1rem;
    box-shadow: var(--gt-shadow);
    margin: 0 0 .9rem;
}

.eob-case-header-top[b-jef3xhzym2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.eob-case-header-top h2[b-jef3xhzym2] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 .15rem;
}

.eob-case-meta[b-jef3xhzym2] { font-size: .76rem; color: var(--gtc-text-light); }


.eob-info-grid[b-jef3xhzym2] { display: flex; flex-wrap: wrap; gap: 1.25rem; padding-top: .5rem; border-top: 1px solid var(--gtc-border); }
.eob-info-label[b-jef3xhzym2] { font-size: .68rem; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: .15rem; }
.eob-info-value[b-jef3xhzym2] { font-size: .82rem; color: var(--gtc-text); font-weight: 500; }

/* ── Pinned footer ── */
.eob-footer-bar[b-jef3xhzym2] {
    background: var(--gtc-card);
    border-top: 1px solid var(--gtc-border);
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: .75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

/* ── Action message ── */
.eob-action-message[b-jef3xhzym2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
}

.eob-msg-error[b-jef3xhzym2]   { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

.eob-loading[b-jef3xhzym2] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-muted);
    font-size: .82rem;
}

/* Ask IQ (engine review 02.10.26): the button ERA, GTC and CR draw. */
.gov-ai-trigger-btn[b-jef3xhzym2] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.gov-ai-trigger-btn:hover[b-jef3xhzym2] { opacity: 0.9; }
.gov-ai-head-icon[b-jef3xhzym2] { width: 22px; height: 22px; object-fit: contain; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraAmlScan.razor.rz.scp.css */
/* ── ERA AML Scan Panel ── */
.era-aml-panel[b-hmayvup2lw] { }

/* Role requirement banner */
.era-role-banner[b-hmayvup2lw] { font-size: .72rem; padding: .45rem .75rem; border-radius: 6px; margin-bottom: .75rem; }
.era-role-banner-ok[b-hmayvup2lw] { background: #e8f5e9; color: var(--gt-green); border-left: 3px solid var(--gt-green); }
.era-role-banner-info[b-hmayvup2lw] { background: #fff3e0; color: #e65100; border-left: 3px solid #ff9800; }
.era-load-error[b-hmayvup2lw] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; border-radius: 5px; padding: .4rem .7rem; font-size: .78rem; margin-bottom: .75rem; }

/* Restricted results (standard user) */
.era-scan-results-restricted[b-hmayvup2lw] { font-size: .75rem; color: #999; }

.era-scan-summary[b-hmayvup2lw] { font-size: .78rem; color: #666; margin-bottom: .5rem; padding: .4rem .75rem; background: #f8f9fa; border-radius: 6px; }
.era-aml-panel h4[b-hmayvup2lw] { font-size: .9rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .75rem; }
.era-party-list[b-hmayvup2lw] { display: flex; flex-direction: column; gap: .5rem; }
.era-party-row[b-hmayvup2lw] { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; background: #f8f9fa; border-radius: 6px; border: 1px solid #eee; flex-wrap: wrap; }
.era-party-scanned[b-hmayvup2lw] { background: #f0fdf4; border-color: #c8e6c9; }
.era-party-match[b-hmayvup2lw] { background: #ffebee; border-color: #ef9a9a; }
.era-party-info[b-hmayvup2lw] { min-width: 160px; font-size: .82rem; }
.era-party-info strong[b-hmayvup2lw] { color: var(--gtc-text); }
.era-party-role[b-hmayvup2lw] { display: block; font-size: .68rem; color: #999; }
.era-scan-results[b-hmayvup2lw] { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.era-scan-chip[b-hmayvup2lw] { display: inline-block; padding: .12rem .45rem; border-radius: 8px; font-size: .62rem; font-weight: 700; white-space: nowrap; }
.era-chip-clear[b-hmayvup2lw] { background: #e8f5e9; color: var(--gt-green); }
.era-chip-match[b-hmayvup2lw] { background: #ffebee; color: var(--gt-red); }
.era-chip-pending[b-hmayvup2lw] { background: #f5f5f5; color: #999; }
.era-scan-date[b-hmayvup2lw] { font-size: .65rem; color: #999; margin-left: .25rem; }
.era-aml-note[b-hmayvup2lw] { margin-bottom: .75rem; padding: .5rem .75rem; background: #f8f9fa; border-left: 3px solid var(--gt-teal); border-radius: 4px; font-size: .78rem; }
.era-aml-note-label[b-hmayvup2lw] { font-size: .68rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; }
.era-scan-detail[b-hmayvup2lw] { flex-basis: 100%; font-size: .75rem; color: #666; }
.era-scan-pending[b-hmayvup2lw] { font-size: .75rem; color: #bbb; font-style: italic; }
.era-btn-sm[b-hmayvup2lw] { padding: .3rem .7rem; font-size: .72rem; }
.era-aml-summary[b-hmayvup2lw] { margin-top: .75rem; padding: .5rem .75rem; background: #f8f9fa; border-radius: 6px; }
.era-aml-status[b-hmayvup2lw] { font-size: .82rem; font-weight: 700; }
.era-aml-clear[b-hmayvup2lw] { color: var(--gt-green); }
.era-aml-match[b-hmayvup2lw] { color: var(--gt-red); }
.era-aml-pending[b-hmayvup2lw] { color: #999; }

/* Scan progress animation */
.era-scan-progress[b-hmayvup2lw] { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.era-scan-step[b-hmayvup2lw] { font-size: .65rem; padding: .15rem .4rem; border-radius: 6px; background: #f5f5f5; color: #bbb; transition: all .3s ease; white-space: nowrap; }
.era-scan-step-active[b-hmayvup2lw] { background: #e8f5e9; color: var(--gt-green); font-weight: 700; }

/* Re-scan button */
.era-btn-rescan[b-hmayvup2lw] { background: #f8f9fa; color: #888; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: .65rem; font-weight: 600; font-family: inherit; padding: .2rem .5rem; transition: all .15s; }
.era-btn-rescan:hover:not(:disabled)[b-hmayvup2lw] { background: #eee; color: var(--gt-navy); border-color: #aaa; }
.era-btn-rescan:disabled[b-hmayvup2lw] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraConfiguration.razor.rz.scp.css */
/* ── ERA Configuration ── */
.era-config[b-qjw3fwe7r1] { padding: 1rem 1.25rem; }
.era-config-header[b-qjw3fwe7r1] { margin-bottom: 1rem; }
.era-config-header h1[b-qjw3fwe7r1] { font-size: 1.1rem; font-weight: 600; color: var(--gtc-text); margin-bottom: .25rem; }
.era-config-sub[b-qjw3fwe7r1] { font-size: .75rem; color: var(--gtc-text-light); }
.era-config-card[b-qjw3fwe7r1] { background: var(--gtc-card); padding: 1.1rem; border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); margin-bottom: 1rem; }
.era-config-card h3[b-qjw3fwe7r1] { font-size: .95rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .5rem; }
.era-config-hint[b-qjw3fwe7r1] { font-size: .75rem; color: #888; margin-bottom: .75rem; }
.era-config-input[b-qjw3fwe7r1] { padding: .3rem .5rem; border: 1px solid #ddd; border-radius: 4px; font-size: .78rem; font-family: inherit; color: var(--gtc-text); background: #f8f9fa; }
.era-config-input:focus[b-qjw3fwe7r1] { outline: none; border-color: var(--gt-teal); }
.era-config-narrow[b-qjw3fwe7r1] { width: 70px; }

/* ── Risk Bands ── */
.era-band-preview[b-qjw3fwe7r1] { position: relative; height: 28px; background: #eee; border-radius: 14px; overflow: hidden; }
.era-band-preview-seg[b-qjw3fwe7r1] { position: absolute; top: 0; height: 100%; border-radius: 14px; opacity: .8; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.era-band-preview-label[b-qjw3fwe7r1] { font-size: .6rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.era-band-scale[b-qjw3fwe7r1] { display: flex; justify-content: space-between; font-size: .6rem; color: #999; padding: 0 2px; margin-top: .2rem; margin-bottom: .5rem; }

.era-band-rows[b-qjw3fwe7r1] { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.era-band-row[b-qjw3fwe7r1] { border-left: 4px solid #ccc; border-radius: var(--gt-radius); background: #f8f9fa; padding: .65rem .85rem; display: flex; flex-direction: column; gap: .4rem; }
.era-band-row-header[b-qjw3fwe7r1] { display: flex; align-items: center; gap: .5rem; }
.era-band-label-input[b-qjw3fwe7r1] { width: 120px; }
.era-band-row-fields[b-qjw3fwe7r1] { display: flex; align-items: flex-end; gap: .75rem; flex-wrap: wrap; }
.era-band-field[b-qjw3fwe7r1] { display: flex; flex-direction: column; gap: .15rem; }
.era-band-field label[b-qjw3fwe7r1] { font-size: .6rem; font-weight: 600; color: #999; text-transform: uppercase; }
.era-band-field-range[b-qjw3fwe7r1] { flex: 1; min-width: 120px; }
.era-band-range[b-qjw3fwe7r1] { width: 100%; accent-color: var(--gt-teal); cursor: pointer; }
.era-band-review-wrap[b-qjw3fwe7r1] { display: flex; align-items: center; gap: .3rem; }
.era-band-review-suffix[b-qjw3fwe7r1] { font-size: .68rem; color: #999; }
.era-band-save-row[b-qjw3fwe7r1] { display: flex; justify-content: flex-end; margin-top: .25rem; }

/* ── Sections ── */
.era-sections-header[b-qjw3fwe7r1] { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.era-sections-header h3[b-qjw3fwe7r1] { margin-bottom: 0; }
.era-sections-header-actions[b-qjw3fwe7r1] { display: flex; gap: .4rem; }

.era-weight-bar[b-qjw3fwe7r1] { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: .75rem; gap: 1px; }
.era-weight-bar-seg[b-qjw3fwe7r1] { display: flex; align-items: center; justify-content: center; transition: width .3s; }
.era-weight-bar-seg span[b-qjw3fwe7r1] { font-size: .5rem; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.3); }

.era-q-count[b-qjw3fwe7r1] { font-size: .65rem; color: #999; font-weight: 500; white-space: nowrap; background: #eee; padding: .1rem .4rem; border-radius: 8px; }

.era-config-section[b-qjw3fwe7r1] { border: 1px solid #eee; border-radius: var(--gt-radius); padding: .75rem; margin-bottom: .75rem; background: #fafafa; }
.era-config-section-header[b-qjw3fwe7r1] { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-bottom: .5rem; }
.era-config-collapse-btn[b-qjw3fwe7r1] { background: none; border: none; cursor: pointer; font-size: .72rem; color: #888; padding: .1rem .3rem; line-height: 1; }
.era-config-weight-label[b-qjw3fwe7r1] { font-size: .72rem; color: #666; display: flex; align-items: center; gap: .2rem; white-space: nowrap; }
.era-config-questions[b-qjw3fwe7r1] { margin-left: .5rem; padding-left: .75rem; border-left: 2px solid #e0e0e0; }
.era-config-q-hint[b-qjw3fwe7r1] { font-size: .68rem; color: #999; margin-bottom: .4rem; }
.era-config-question[b-qjw3fwe7r1] { padding: .4rem 0; border-bottom: 1px solid #f0f0f0; }
.era-config-question:last-child[b-qjw3fwe7r1] { border-bottom: none; }
.era-config-q-row[b-qjw3fwe7r1] { display: flex; gap: .4rem; align-items: center; margin-bottom: .3rem; }
.era-config-answers[b-qjw3fwe7r1] { display: flex; flex-direction: column; gap: .2rem; margin-left: 1rem; margin-bottom: .3rem; }
.era-config-answer[b-qjw3fwe7r1] { display: flex; gap: .3rem; align-items: center; }
.era-config-btn-x[b-qjw3fwe7r1] { background: none; border: none; color: #c0392b; cursor: pointer; font-size: .8rem; padding: 0 .2rem; }
.era-weight-ok[b-qjw3fwe7r1] { color: var(--gt-green); }
.era-weight-bad[b-qjw3fwe7r1] { color: var(--gt-red); }
.era-config-msg[b-qjw3fwe7r1] { padding: .65rem 1rem; border-radius: 6px; font-size: .78rem; font-weight: 500; margin-bottom: .75rem; display: flex; align-items: center; justify-content: space-between; }

.era-loading-msg[b-qjw3fwe7r1] { padding: 2rem; text-align: center; color: #999; font-size: .82rem; }

/* Modal overlay */
.era-modal-overlay[b-qjw3fwe7r1] { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.era-modal[b-qjw3fwe7r1] { background: #fff; border-radius: var(--gt-radius); box-shadow: 0 8px 32px rgba(0,0,0,.18); padding: 1.25rem 1.5rem; min-width: 340px; max-width: 460px; }
.era-modal h4[b-qjw3fwe7r1] { font-size: .92rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .75rem; }
.era-modal-field[b-qjw3fwe7r1] { margin-bottom: .6rem; }
.era-modal-field label[b-qjw3fwe7r1] { display: block; font-size: .7rem; font-weight: 600; color: #666; margin-bottom: .2rem; }
.era-modal-actions[b-qjw3fwe7r1] { display: flex; gap: .5rem; margin-top: .75rem; }

/* Danger button for delete actions */
.era-btn-danger[b-qjw3fwe7r1] { background: var(--gt-red, #d33); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-family: inherit; transition: all .15s; }
.era-btn-danger:hover:not(:disabled)[b-qjw3fwe7r1] { opacity: .85; }

/* Read-only section header display */
.era-section-name[b-qjw3fwe7r1] { flex: 1; font-size: .82rem; font-weight: 600; color: var(--gtc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.era-section-code[b-qjw3fwe7r1] { font-size: .7rem; color: #999; font-weight: 600; background: #eee; padding: .1rem .4rem; border-radius: 4px; }
.era-q-text[b-qjw3fwe7r1] { flex: 1; font-size: .78rem; color: var(--gtc-text); }
.era-q-weight[b-qjw3fwe7r1] { font-size: .72rem; font-weight: 600; color: var(--gt-teal); min-width: 35px; text-align: center; }

/* Pass 5 (08.11.26): way back to the dashboard, answer count per question, empty section message */
.era-config-header .era-back-link[b-qjw3fwe7r1] { display: inline-block; margin-bottom: .5rem; font-size: .78rem; color: #666; padding: .4rem .85rem; background: #fff; border: 1px solid var(--gtc-border); border-radius: 6px; text-decoration: none; transition: all .2s; }
.era-config-header .era-back-link:hover[b-qjw3fwe7r1] { background: #e8faf8; color: #007b70; border-color: var(--gtc-teal); }
.era-q-answer-count[b-qjw3fwe7r1] { font-size: .7rem; color: #888; white-space: nowrap; }
.era-config-empty[b-qjw3fwe7r1] { font-size: .78rem; color: #888; font-style: italic; padding: .4rem 0; }

/* Edit icon button */
.era-edit-icon[b-qjw3fwe7r1] { background: none; border: none; cursor: pointer; font-size: .78rem; padding: .1rem .2rem; opacity: .4; transition: opacity .15s; line-height: 1; }
.era-edit-icon:hover[b-qjw3fwe7r1] { opacity: .9; }

/* Modal wide variant */
.era-modal-wide[b-qjw3fwe7r1] { min-width: 420px; max-width: 560px; }
.era-modal-row[b-qjw3fwe7r1] { display: flex; gap: .75rem; flex-wrap: wrap; }
.era-modal-divider[b-qjw3fwe7r1] { border-top: 1px solid #eee; margin: .75rem 0; }
.era-modal-sub-label[b-qjw3fwe7r1] { display: block; font-size: .7rem; font-weight: 600; color: #666; margin-bottom: .4rem; }
.era-modal-answers[b-qjw3fwe7r1] { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .5rem; }
.era-btn-outline[b-qjw3fwe7r1] { background: #fff; border: 1px solid var(--gt-teal); color: var(--gt-teal); border-radius: 6px; cursor: pointer; font-weight: 600; font-family: inherit; transition: all .15s; }
.era-btn-outline:hover[b-qjw3fwe7r1] { background: var(--gt-teal); color: #fff; }

/* Delete icon button */
.era-delete-icon[b-qjw3fwe7r1] { background: none; border: none; cursor: pointer; font-size: .85rem; padding: .15rem .25rem; opacity: .35; transition: opacity .15s; line-height: 1; }
.era-delete-icon:hover[b-qjw3fwe7r1] { opacity: .8; }

/* Role chips */
.era-roles-panel[b-qjw3fwe7r1] { margin-bottom: .6rem; padding: .5rem .6rem; background: #f0f4ff; border-radius: 6px; }
.era-roles-row[b-qjw3fwe7r1] { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; margin-bottom: .3rem; }
.era-roles-row:last-child[b-qjw3fwe7r1] { margin-bottom: 0; }
.era-roles-label[b-qjw3fwe7r1] { font-size: .65rem; font-weight: 700; color: var(--gt-navy); min-width: 55px; text-transform: uppercase; }
.era-role-chip[b-qjw3fwe7r1] { padding: .15rem .5rem; border-radius: 12px; font-size: .62rem; font-weight: 600; border: 1px solid #ccc; background: #fff; color: #666; cursor: pointer; transition: all .15s; font-family: inherit; }
.era-role-chip:hover[b-qjw3fwe7r1] { border-color: var(--gt-teal); color: var(--gt-teal); }
.era-role-active[b-qjw3fwe7r1] { background: var(--gt-teal); color: #fff; border-color: var(--gt-teal); }
.era-role-active:hover[b-qjw3fwe7r1] { opacity: .85; }
.era-role-inherited[b-qjw3fwe7r1] { background: #e0f2f1; color: var(--gt-teal); border-color: #b2dfdb; opacity: .7; }
.era-role-inherited:hover[b-qjw3fwe7r1] { opacity: 1; }
.era-roles-inherit-notice[b-qjw3fwe7r1] { font-size: .68rem; color: #999; font-style: italic; margin-bottom: .4rem; padding: .3rem .5rem; background: #f9f9f9; border-radius: 4px; border-left: 3px solid var(--gt-teal); }
.era-roles-override-notice[b-qjw3fwe7r1] { font-size: .68rem; color: var(--gt-navy); margin-bottom: .4rem; display: flex; align-items: center; gap: .4rem; }
.era-roles-reset-btn[b-qjw3fwe7r1] { background: none; border: none; color: var(--gt-teal); cursor: pointer; font-size: .65rem; font-weight: 600; text-decoration: underline; font-family: inherit; }

/* Entity type chips */
.era-entity-type-chips[b-qjw3fwe7r1] { display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; margin-bottom: .3rem; }
.era-entity-all-notice[b-qjw3fwe7r1] { font-size: .65rem; color: #999; font-style: italic; margin-right: .3rem; }
.era-entity-badge[b-qjw3fwe7r1] { font-size: .58rem; color: #666; background: #e8eaf6; padding: .1rem .4rem; border-radius: 4px; white-space: nowrap; }

/* Weight summary pills */
.era-weight-summary[b-qjw3fwe7r1] { margin-bottom: .75rem; }
.era-weight-pills[b-qjw3fwe7r1] { display: flex; gap: .3rem; flex-wrap: wrap; }
.era-weight-pill[b-qjw3fwe7r1] { font-size: .62rem; padding: .15rem .5rem; border-radius: 10px; background: #f0f0f0; color: #666; }
.era-weight-pill-ok[b-qjw3fwe7r1] { background: #e8f5e9; color: var(--gt-green); }
.era-weight-pill-bad[b-qjw3fwe7r1] { background: #ffebee; color: var(--gt-red); }

/* Notification table */
.era-notif-table[b-qjw3fwe7r1] { width: 100%; border-collapse: collapse; font-size: .75rem; }
.era-notif-table th[b-qjw3fwe7r1] { background: #f8f9fa; padding: .4rem .6rem; text-align: left; font-size: .62rem; font-weight: 700; color: #888; text-transform: uppercase; border-bottom: 2px solid #e8e8e8; }
.era-notif-table td[b-qjw3fwe7r1] { padding: .35rem .6rem; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.era-notif-table tr:hover[b-qjw3fwe7r1] { background: #fafafa; }
.era-notif-roles[b-qjw3fwe7r1] { font-size: .68rem; color: #666; max-width: 200px; }
.era-notif-template[b-qjw3fwe7r1] { font-size: .7rem; color: var(--gtc-text); font-family: monospace; }
.era-empty-notice[b-qjw3fwe7r1] { padding: 1.5rem; text-align: center; color: #bbb; font-size: .78rem; font-style: italic; }
.era-notif-extra[b-qjw3fwe7r1] { font-size: .62rem; color: var(--gt-teal); font-weight: 600; }
.era-modal-field-check[b-qjw3fwe7r1] { display: flex; align-items: center; }
.era-modal-field-check label[b-qjw3fwe7r1] { display: flex; align-items: center; gap: .3rem; font-size: .75rem; color: #666; cursor: pointer; }

/* Inline delete confirmation */
.era-confirm-delete[b-qjw3fwe7r1] { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 600; color: var(--gt-red, #d33); white-space: nowrap; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraCreateForm.razor.rz.scp.css */
/* ── ERA Create Form ── */
.era-create-form[b-w6wvsmmavs] { padding: .25rem 0; }
.era-form-group[b-w6wvsmmavs] { margin-bottom: .9rem; }
.era-form-label[b-w6wvsmmavs] { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #666; margin-bottom: .3rem; }
.era-required[b-w6wvsmmavs] { color: var(--gt-red); }
.era-form-input[b-w6wvsmmavs], .era-form-select[b-w6wvsmmavs], .era-form-textarea[b-w6wvsmmavs] { width: 100%; padding: .55rem .7rem; border: 1.5px solid #ddd; border-radius: 7px; font-size: .82rem; font-family: inherit; color: var(--gtc-text); background: #f8f9fa; }
.era-form-input:focus[b-w6wvsmmavs], .era-form-select:focus[b-w6wvsmmavs], .era-form-textarea:focus[b-w6wvsmmavs] { outline: none; border-color: var(--gt-teal); box-shadow: 0 0 0 2px rgba(0,217,197,.15); }
.era-form-textarea[b-w6wvsmmavs] { resize: vertical; min-height: 50px; }
.era-entity-results[b-w6wvsmmavs] { position: absolute; z-index: 20; width: 100%; background: white; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.1); max-height: 200px; overflow-y: auto; }
.era-entity-result[b-w6wvsmmavs] { padding: .5rem .7rem; font-size: .82rem; cursor: pointer; transition: background .15s; }
.era-entity-result:hover[b-w6wvsmmavs] { background: #f0fdfb; }
.era-entity-code[b-w6wvsmmavs] { color: #999; font-size: .75rem; }
.era-selected-entity[b-w6wvsmmavs] { margin-top: .5rem; padding: .45rem .7rem; background: #e6f7f0; border: 1px solid #b2dfdb; border-radius: 6px; font-size: .8rem; }
.era-risk-model-info[b-w6wvsmmavs] { padding: .55rem .7rem; background: #f8f9fa; border: 1px solid #ddd; border-radius: 7px; font-size: .78rem; color: #666; }
.era-btn-group[b-w6wvsmmavs] { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1.25rem; }
.era-btn-secondary[b-w6wvsmmavs] { background: #f8f9fa; color: #666; padding: .5rem 1.1rem; border: 1px solid #ddd; border-radius: 7px; cursor: pointer; font-size: .82rem; font-weight: 600; transition: all .15s; font-family: inherit; }
.era-btn-secondary:hover[b-w6wvsmmavs] { border-color: var(--gt-teal); color: var(--gtc-text); }
.era-alert-warning[b-w6wvsmmavs] { padding: .5rem .75rem; background: #fff8e1; color: #f57f17; border: 1px solid #fff176; border-radius: 6px; font-size: .78rem; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraDashboard.razor.rz.scp.css */
/* ── ERA Dashboard — aligned with RRC/GTC shared tokens ── */
.era-dashboard[b-zl0367xrf6] { padding: 1rem 1.25rem; }
.era-header[b-zl0367xrf6] { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .5rem; }
.era-header h1[b-zl0367xrf6] { font-size: 1.1rem; font-weight: 600; color: var(--gtc-text); margin-bottom: .25rem; }
.era-header-sub[b-zl0367xrf6] { font-size: .75rem; color: var(--gtc-text-light); }
.era-load-error[b-zl0367xrf6] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; border-radius: 5px; padding: .4rem .7rem; font-size: .78rem; margin-bottom: .75rem; }
.era-kpi-bar[b-zl0367xrf6] { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .9rem; margin: 1rem 0; }
.era-filter-bar[b-zl0367xrf6] { background: var(--gtc-card); padding: .65rem 1rem; border-radius: var(--gt-radius); display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .76rem; margin-bottom: 1rem; box-shadow: var(--gt-shadow); }
.era-filter-bar label[b-zl0367xrf6] { font-weight: 600; color: #666; }
.era-filter-bar select[b-zl0367xrf6] { padding: .28rem .5rem; border: 1px solid #ddd; border-radius: 4px; font-size: .75rem; color: var(--gtc-text); background: #f8f9fa; cursor: pointer; }
.era-filter-input[b-zl0367xrf6] { padding: .28rem .5rem; border: 1px solid #ddd; border-radius: 4px; font-size: .75rem; color: var(--gtc-text); background: #f8f9fa; width: 140px; }
.era-show-completed[b-zl0367xrf6] { margin-left: auto; display: flex; align-items: center; gap: .35rem; cursor: pointer; user-select: none; }
.era-table-wrap[b-zl0367xrf6] { background: var(--gtc-card); border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); overflow: hidden; }
.era-table[b-zl0367xrf6] { width: 100%; border-collapse: collapse; }
.era-table thead th[b-zl0367xrf6] { background: #f8f9fa; padding: .5rem .9rem; text-align: left; font-size: .67rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid #e8e8e8; white-space: nowrap; }
.era-table tbody td[b-zl0367xrf6] { padding: .62rem .9rem; font-size: .78rem; color: var(--gtc-text); border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.era-table tr:last-child td[b-zl0367xrf6] { border-bottom: none; }
.era-table-row[b-zl0367xrf6] { cursor: pointer; transition: background .15s; }
.era-table-row:hover td[b-zl0367xrf6] { background: #f0fdfb; }
.era-ref[b-zl0367xrf6] { font-weight: 600; color: var(--gt-navy); }
.era-empty[b-zl0367xrf6] { padding: 3rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

/* Rating pills */
.era-rating-pill[b-zl0367xrf6] { display: inline-block; padding: .15rem .55rem; border-radius: 10px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.era-rating-low[b-zl0367xrf6] { background: #e8f5e9; color: var(--gt-green); }
.era-rating-medium[b-zl0367xrf6] { background: #fff8e1; color: var(--gt-amber); }
.era-rating-high[b-zl0367xrf6] { background: #ffebee; color: var(--gt-red); }

/* Risk Movement Summary */
.era-movement-section[b-zl0367xrf6] { margin-bottom: 1rem; }
.era-movement-title[b-zl0367xrf6] { font-size: .82rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .5rem; }
.era-movement-cards[b-zl0367xrf6] { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.era-movement-card[b-zl0367xrf6] { background: var(--gtc-card); border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); padding: .65rem .8rem; cursor: pointer; transition: all .15s; }
.era-movement-card:hover[b-zl0367xrf6] { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.era-movement-entity[b-zl0367xrf6] { font-size: .78rem; font-weight: 600; color: var(--gtc-text); margin-bottom: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.era-movement-flow[b-zl0367xrf6] { display: flex; align-items: center; gap: .35rem; margin-bottom: .25rem; }
.era-movement-arrow[b-zl0367xrf6] { font-size: .82rem; color: #999; font-weight: 700; }
.era-movement-ref[b-zl0367xrf6] { font-size: .62rem; color: #999; }
.era-rating-none[b-zl0367xrf6] { background: #f5f5f5; color: #999; }

/* Stage status badges */
.era-status-badge[b-zl0367xrf6] { display: inline-block; padding: .15rem .55rem; border-radius: 10px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.era-status-in-progress[b-zl0367xrf6] { background: #e8f4fd; color: #1565c0; }
.era-status-aml-scan[b-zl0367xrf6] { background: #e8f4fd; color: #1565c0; }
.era-status-under-review[b-zl0367xrf6] { background: #e3f2fd; color: #1976d2; }
.era-status-write-back[b-zl0367xrf6] { background: #e8f4fd; color: #1565c0; }
.era-status-completed[b-zl0367xrf6] { background: #e8f5e9; color: #2e7d32; }
.era-status-cancelled[b-zl0367xrf6] { background: #f5f5f5; color: #999; }
.era-status-override[b-zl0367xrf6] { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }

/* Create assessment modal */
.era-modal-overlay[b-zl0367xrf6] { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.era-modal-panel[b-zl0367xrf6] { background: #fff; border-radius: 12px; padding: 1.75rem; width: 560px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.era-modal-title[b-zl0367xrf6] { font-size: 1rem; font-weight: 700; color: var(--gtc-text); margin-bottom: .25rem; }
.era-modal-sub[b-zl0367xrf6] { font-size: .78rem; color: #888; margin-bottom: 1.25rem; }

/* % Complete bar */
.era-pct-bar[b-zl0367xrf6] { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; width: 60px; display: inline-block; vertical-align: middle; }
.era-pct-fill[b-zl0367xrf6] { height: 100%; border-radius: 3px; transition: width .3s; }
.era-pct-complete[b-zl0367xrf6] { background: var(--gt-green); }
.era-pct-mid[b-zl0367xrf6] { background: var(--gt-amber); }
.era-pct-low[b-zl0367xrf6] { background: var(--gt-red); }
.era-pct-label[b-zl0367xrf6] { font-size: .68rem; font-weight: 600; margin-left: .3rem; vertical-align: middle; }

/* Buttons */
.era-btn[b-zl0367xrf6] { padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer; font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit; display: inline-flex; align-items: center; gap: .35rem; }
.era-btn-primary[b-zl0367xrf6] { background: var(--gt-teal); color: white; }
.era-btn-primary:hover:not(:disabled)[b-zl0367xrf6] { background: #00c0ad; transform: translateY(-1px); }
.era-btn:disabled[b-zl0367xrf6] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraDetailView.razor.rz.scp.css */
/* ── ERA Detail View — scoped layout styles ── */

/* AML match banner */
.era-aml-match-banner[b-m6iori6oyo] { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem 1rem; margin: 0 1.25rem .75rem; background: #ffebee; border: 1px solid #ef9a9a; border-radius: var(--gt-radius); font-size: .82rem; color: #c62828; }

/* Override banners */
.era-override-go[b-m6iori6oyo] { margin-top: .4rem; padding: .25rem .7rem; font-size: .75rem; font-weight: 600; font-family: inherit; background: #fff; border: 1px solid var(--gt-teal); color: var(--gt-teal); border-radius: 6px; cursor: pointer; transition: all .15s; }
.era-override-go:hover[b-m6iori6oyo] { background: var(--gt-teal); color: #fff; }
.era-tab-unavailable[b-m6iori6oyo] { padding: 1.25rem; font-size: .82rem; color: #888; font-style: italic; }
.era-override-banner[b-m6iori6oyo] { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem 1rem; margin: 0 1.25rem .75rem; background: #fff8e1; border: 1px solid #fff176; border-radius: var(--gt-radius); font-size: .82rem; color: #f57f17; }
.era-override-icon[b-m6iori6oyo] { font-size: 1.1rem; }
.era-override-approved-banner[b-m6iori6oyo] { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; margin: 0 1.25rem .75rem; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: var(--gt-radius); font-size: .82rem; color: #2e7d32; font-weight: 600; }
.era-cancelled-panel[b-m6iori6oyo] { padding: .75rem 1rem; margin: 0 1.25rem .75rem; background: #f1f3f5; border: 1px solid #ced4da; border-radius: var(--gt-radius); font-size: .82rem; color: #495057; }
.era-tab-dot[b-m6iori6oyo] { display: inline-block; width: .45rem; height: .45rem; margin-left: .3rem; border-radius: 50%; background: var(--gt-red); vertical-align: middle; }
.era-override-rejected-banner[b-m6iori6oyo] { padding: .75rem 1rem; margin: 0 1.25rem .75rem; background: #ffebee; border: 1px solid #ef9a9a; border-radius: var(--gt-radius); font-size: .82rem; color: #c62828; }

/* Tabs */
/* flex-shrink: 0 — this strip is a flex item of the flex-column .razorpagemain, and `overflow: hidden` (kept
   for the rounded corners) drops a flex item's automatic minimum size to 0, so whenever the tab content was
   taller than the pane the strip shrank to its 2px border and every tab became unclickable (ERA detail at
   1920x950 and 1280x720, 06.09.26 — the ERA smoke tests had been skipping past it). AM+CL:06.09.26 */
.era-tabs[b-m6iori6oyo] { display: flex; flex-shrink: 0; background: var(--gtc-card); border-radius: var(--gt-radius) var(--gt-radius) 0 0; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.05); border-bottom: 2px solid #eee; margin: 0 1.25rem; position: relative; z-index: 2; }
.era-tab[b-m6iori6oyo] { flex: 1; padding: .85rem .6rem; text-align: center; background: white; border: none; cursor: pointer; font-size: .8rem; font-weight: 500; color: #888; border-bottom: 3px solid transparent; transition: all .2s; font-family: inherit; }
.era-tab:hover[b-m6iori6oyo] { background: #f8f9fa; }
.era-tab.active[b-m6iori6oyo] { color: var(--gt-teal) !important; border-bottom-color: var(--gt-teal) !important; background: #f8fffe !important; font-weight: 600 !important; }

.era-tab-content[b-m6iori6oyo] { background: var(--gtc-card); border-radius: 0 0 var(--gt-radius) var(--gt-radius); box-shadow: var(--gt-shadow); padding: 1.25rem; margin: 0 1.25rem .9rem; position: relative; z-index: 1; }

/* Audit trail */
.era-audit-entry[b-m6iori6oyo] { display: flex; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid #f5f5f5; font-size: .78rem; }
.era-audit-entry:last-child[b-m6iori6oyo] { border-bottom: none; }
.era-audit-time[b-m6iori6oyo] { color: var(--gtc-text-light); min-width: 110px; flex-shrink: 0; font-size: .72rem; }
.era-audit-action[b-m6iori6oyo] { flex: 1; color: var(--gtc-text); }
.era-audit-user[b-m6iori6oyo] { color: var(--gt-teal); font-weight: 600; font-size: .74rem; }
.era-audit-notes[b-m6iori6oyo] { font-size: .72rem; color: #999; flex-basis: 100%; margin-top: .15rem; }
/* Audit immutable notice */
.era-audit-immutable[b-m6iori6oyo] { text-align: center; font-size: .72rem; color: #999; font-style: italic; padding: .5rem; margin-bottom: .5rem; }

.era-empty[b-m6iori6oyo] { padding: 3rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

/* % Complete colours */
.era-pct-complete[b-m6iori6oyo] { color: var(--gt-green); }
.era-pct-mid[b-m6iori6oyo] { color: var(--gt-amber); }
.era-pct-low[b-m6iori6oyo] { color: var(--gt-red); }

@media print {
    .era-tabs[b-m6iori6oyo] { display: none !important; }
}

/* Stage hint strip — sits under the progress bar, gives role-aware "what to do now" guidance */
.era-stage-hint[b-m6iori6oyo] { display: flex; align-items: center; gap: .5rem; padding: .5rem .9rem; margin: 0 1.25rem .75rem; background: #f0f7fa; border: 1px solid #d0e7ee; border-left: 3px solid var(--gt-teal); border-radius: 6px; font-size: .78rem; color: #406070; }
.era-stage-hint-icon[b-m6iori6oyo] { font-size: 1rem; flex-shrink: 0; }


/* Banner detail line, moved out of an inline style attribute (HD #1118 step 6), values unchanged. */
.era-override-reason[b-m6iori6oyo] { font-size: .75rem; color: #666; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraOverrideModal.razor.rz.scp.css */
/* ── ERA Override Panel ── */
.era-override-panel[b-uqfwgus2ga] { background: var(--gtc-card); padding: 1.25rem; border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); margin: .75rem 0; border-left: 4px solid var(--gt-amber); }
.era-override-panel h4[b-uqfwgus2ga] { font-size: .9rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .75rem; }
.era-override-info[b-uqfwgus2ga] { font-size: .82rem; color: #666; margin-bottom: .75rem; }
.era-override-review[b-uqfwgus2ga] { border-left-color: var(--gt-teal); }
.era-override-summary[b-uqfwgus2ga] { background: #f8f9fa; border-radius: 6px; padding: .75rem; margin-bottom: .75rem; }
.era-override-row[b-uqfwgus2ga] { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; border-bottom: 1px solid #f0f0f0; font-size: .8rem; }
.era-override-row:last-child[b-uqfwgus2ga] { border-bottom: none; }
.era-override-label[b-uqfwgus2ga] { min-width: 120px; font-size: .7rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; }
.era-btn-danger[b-uqfwgus2ga] { background: var(--gt-red); color: white; padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer; font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit; }
.era-btn-danger:hover:not(:disabled)[b-uqfwgus2ga] { background: #e74c3c; transform: translateY(-1px); }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraProviderCompare.razor.rz.scp.css */
/* ── ERA Providers tab: one entity's assessments side by side (ledger C20, C21) ── */
.era-cmp-diverge[b-ukxqq7l5lj] { display: flex; align-items: flex-start; gap: .6rem; padding: .75rem 1rem; margin-bottom: .75rem; background: #fff8e1; border: 1px solid #fff176; border-radius: var(--gt-radius); font-size: .82rem; color: #f57f17; }
.era-cmp-diverge-detail[b-ukxqq7l5lj] { font-size: .75rem; margin-top: .15rem; }
.era-cmp-note[b-ukxqq7l5lj] { font-size: .75rem; color: #666; background: #f8f9fa; border-radius: 6px; padding: .5rem .75rem; margin-bottom: .75rem; }
.era-cmp-table[b-ukxqq7l5lj] { width: 100%; border-collapse: collapse; border: 1px solid #eee; }
.era-cmp-table th[b-ukxqq7l5lj], .era-cmp-table td[b-ukxqq7l5lj] { padding: .4rem .75rem; font-size: .78rem; border-bottom: 1px solid #f5f5f5; text-align: left; vertical-align: top; }
.era-cmp-table th[b-ukxqq7l5lj] { background: #f8f9fa; font-size: .72rem; font-weight: 700; color: var(--gt-navy); border-bottom: 2px solid #e8e8e8; }
.era-cmp-current[b-ukxqq7l5lj] { box-shadow: inset 0 -3px 0 var(--gt-teal); }
.era-cmp-ref[b-ukxqq7l5lj] { font-size: .65rem; font-weight: 400; color: #999; }
.era-cmp-label[b-ukxqq7l5lj] { font-size: .68rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; min-width: 140px; }
.era-cmp-section td[b-ukxqq7l5lj] { background: #fafbfc; font-weight: 700; }
.era-cmp-question[b-ukxqq7l5lj] { color: #444; padding-left: 1.5rem !important; }
.era-cmp-differs[b-ukxqq7l5lj] { background: #fff8e1 !important; }
.era-cmp-none[b-ukxqq7l5lj] { font-size: .7rem; color: #999; font-style: italic; }
.era-cmp-legend[b-ukxqq7l5lj] { font-size: .68rem; color: #999; margin-top: .5rem; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraQuestionnaire.razor.rz.scp.css */
/* ── ERA Questionnaire ── */
.era-questionnaire[b-fbfckymkes] { }
.era-lock-banner[b-fbfckymkes] { padding: .6rem 1rem; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: var(--gt-radius); font-size: .78rem; color: #666; margin-bottom: .75rem; }
.era-loading-msg[b-fbfckymkes] { padding: 2rem; text-align: center; color: #999; font-size: .82rem; }
.era-load-error[b-fbfckymkes] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; border-radius: 5px; padding: .4rem .7rem; font-size: .78rem; margin-bottom: .75rem; }

/* Score bar — lighter than a card so it reads as a header strip, not a footer */
.era-score-bar[b-fbfckymkes] { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; background: #f8fafb; border: 1px solid #e8e8e8; border-radius: var(--gt-radius); margin-bottom: .55rem; }
.era-score-bar.era-score-bar-attached[b-fbfckymkes] { border-radius: var(--gt-radius) var(--gt-radius) 0 0; border-bottom: none; margin-bottom: 0; }

/* Jump-to-first-unanswered banner — sits flush under the score bar */
.era-jump-banner[b-fbfckymkes] { display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem; background: #fff8e1; border: 1px solid #ffe082; border-radius: 0 0 var(--gt-radius) var(--gt-radius); font-size: .78rem; color: #8a6d3b; margin-bottom: .9rem; }
.era-jump-banner span[b-fbfckymkes] { flex: 1; }
.era-jump-btn[b-fbfckymkes] { background: var(--gt-teal); color: #fff; padding: .35rem .75rem; border: none; border-radius: 6px; cursor: pointer; font-size: .75rem; font-weight: 600; font-family: inherit; }
.era-jump-btn:hover[b-fbfckymkes] { opacity: .9; }
.era-score-value[b-fbfckymkes] { font-size: 1.5rem; font-weight: 800; }
.era-score-label[b-fbfckymkes] { font-size: .75rem; color: #999; margin-left: .25rem; }
.era-score-not-calculated[b-fbfckymkes] { font-size: .72rem; color: #bbb; font-style: italic; }
/* Score track bar */
.era-score-track[b-fbfckymkes] { flex: 1; height: 10px; background: #e8e8e8; border-radius: 5px; overflow: hidden; min-width: 80px; }
.era-score-track-fill[b-fbfckymkes] { height: 100%; border-radius: 5px; transition: width .4s ease; }
.era-answered-counter[b-fbfckymkes] { font-size: .72rem; font-weight: 700; color: #999; background: #f0f0f0; padding: .15rem .5rem; border-radius: 10px; }
.era-counter-complete[b-fbfckymkes] { color: var(--gt-green); background: #e8f5e9; }
.era-btn-sm[b-fbfckymkes] { padding: .3rem .7rem; font-size: .72rem; }
.era-btn-override[b-fbfckymkes] { background: #fff8e1; color: var(--gt-amber); border: 1px solid var(--gt-amber); border-radius: 6px; cursor: pointer; font-weight: 600; font-family: inherit; margin-left: auto; }
.era-btn-override:hover[b-fbfckymkes] { background: #fff3cd; }

/* Override banner */
.era-override-banner[b-fbfckymkes] { display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; background: #fff8e1; border: 1px solid #fff176; border-radius: var(--gt-radius); font-size: .8rem; color: #f57f17; margin-bottom: .75rem; flex-wrap: wrap; }

/* Section cards */
.era-section-card[b-fbfckymkes] { background: var(--gtc-card); border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); margin-bottom: .75rem; overflow: hidden; }
.era-section-header[b-fbfckymkes] { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: #f8f9fa; border-bottom: 2px solid #e8e8e8; }
.era-section-header h4[b-fbfckymkes] { font-size: .85rem; font-weight: 700; color: var(--gt-navy); margin: 0; flex: 1; }
.era-section-weight[b-fbfckymkes] { font-size: .68rem; font-weight: 600; color: #999; background: #eee; padding: .15rem .45rem; border-radius: 8px; }
.era-section-score[b-fbfckymkes] { font-size: .82rem; font-weight: 800; color: var(--gt-teal); }

/* Questions */
.era-question[b-fbfckymkes] { padding: .75rem 1rem; border-bottom: 1px solid #f5f5f5; }
.era-question:last-child[b-fbfckymkes] { border-bottom: none; }
.era-question-answered[b-fbfckymkes] { background: #f8fffe; }
.era-question-text[b-fbfckymkes] { font-size: .82rem; color: var(--gtc-text); margin-bottom: .5rem; }
.era-question-weight[b-fbfckymkes] { font-size: .65rem; color: #bbb; margin-left: .3rem; }

/* Answer buttons */
.era-answer-options[b-fbfckymkes] { display: flex; gap: .4rem; flex-wrap: wrap; }
.era-answer-btn[b-fbfckymkes] { padding: .3rem .65rem; border: 1px solid #ddd; border-radius: 6px; background: #f8f9fa; font-size: .72rem; font-family: inherit; cursor: pointer; transition: all .15s; color: var(--gtc-text); display: inline-flex; align-items: center; gap: .3rem; }
.era-answer-btn:hover:not(:disabled)[b-fbfckymkes] { border-color: #aaa; }
.era-answer-btn:disabled[b-fbfckymkes] { opacity: .6; cursor: not-allowed; }

/* Score-based answer colouring */
.era-answer-low[b-fbfckymkes] { border-color: #c8e6c9; background: #f1f8e9; }
.era-answer-low:hover:not(:disabled)[b-fbfckymkes] { background: #e8f5e9; border-color: var(--gt-green); }
.era-answer-medium[b-fbfckymkes] { border-color: #ffe082; background: #fffde7; }
.era-answer-medium:hover:not(:disabled)[b-fbfckymkes] { background: #fff8e1; border-color: var(--gt-amber); }
.era-answer-high[b-fbfckymkes] { border-color: #ef9a9a; background: #fff3e0; }
.era-answer-high:hover:not(:disabled)[b-fbfckymkes] { background: #ffebee; border-color: var(--gt-red); }

/* Selected state overrides */
.era-answer-selected.era-answer-low[b-fbfckymkes] { background: var(--gt-green); color: white; border-color: var(--gt-green); }
.era-answer-selected.era-answer-medium[b-fbfckymkes] { background: var(--gt-amber); color: white; border-color: var(--gt-amber); }
.era-answer-selected.era-answer-high[b-fbfckymkes] { background: var(--gt-red); color: white; border-color: var(--gt-red); }
.era-answer-score[b-fbfckymkes] { font-size: .6rem; opacity: .7; }

/* Questionnaire note (LW+CL:23.10.26) */
.era-notes-card[b-fbfckymkes] { margin-top: .9rem; }
.era-notes-hint[b-fbfckymkes] { font-size: .72rem; color: #888; margin-left: auto; }
.era-notes-card[b-fbfckymkes]  .era-notes-input { width: 100%; font-size: .82rem; }
.era-notes-readonly[b-fbfckymkes] { padding: .55rem .7rem; background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 7px; font-size: .82rem; white-space: pre-wrap; }
.era-notes-footer[b-fbfckymkes] { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.era-notes-count[b-fbfckymkes] { font-size: .72rem; color: #999; }
.era-notes-error[b-fbfckymkes] { font-size: .78rem; color: #c0392b; flex: 1; }
.era-notes-saved[b-fbfckymkes] { font-size: .78rem; color: var(--gt-green); flex: 1; }
.era-notes-unsaved[b-fbfckymkes] { font-size: .78rem; color: #8a6d3b; flex: 1; }
.era-notes-footer .era-btn[b-fbfckymkes] { margin-left: auto; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraReportPanel.razor.rz.scp.css */
/* ── ERA Report Panel — printable ── */
.era-report[b-2ygqiq0bk7] { }
.era-report-actions[b-2ygqiq0bk7] { display: flex; gap: .5rem; }
.era-report-header[b-2ygqiq0bk7] { margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gt-navy); }
.era-report-header h3[b-2ygqiq0bk7] { font-size: 1rem; font-weight: 700; color: var(--gt-navy); margin: 0 0 .25rem; }
.era-report-meta[b-2ygqiq0bk7] { font-size: .72rem; color: #999; display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.era-report-section[b-2ygqiq0bk7] { margin-bottom: 1rem; }
.era-report-section h4[b-2ygqiq0bk7] { font-size: .85rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .5rem; padding-bottom: .25rem; border-bottom: 1px solid #e8e8e8; }
.era-report-table[b-2ygqiq0bk7] { width: 100%; border-collapse: collapse; }
.era-report-table td[b-2ygqiq0bk7], .era-report-table th[b-2ygqiq0bk7] { padding: .4rem .75rem; font-size: .78rem; border-bottom: 1px solid #f5f5f5; text-align: left; }
.era-report-table th[b-2ygqiq0bk7] { background: #f8f9fa; font-size: .65rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid #e8e8e8; }
.era-report-label[b-2ygqiq0bk7] { font-size: .68rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; min-width: 120px; }
.era-report-table-full[b-2ygqiq0bk7] { border: 1px solid #eee; border-radius: 6px; overflow: hidden; }
.era-report-empty[b-2ygqiq0bk7] { font-size: .78rem; color: #999; font-style: italic; }
.era-load-error[b-2ygqiq0bk7] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; border-radius: 5px; padding: .4rem .7rem; font-size: .78rem; margin-bottom: .75rem; }
.era-report-footer[b-2ygqiq0bk7] { margin-top: 1.5rem; padding-top: .75rem; border-top: 1px solid #e0e0e0; font-size: .68rem; color: #999; text-align: center; }

/* Score bar visual */
.era-score-bar-bg[b-2ygqiq0bk7] { width: 100%; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.era-score-bar-fill[b-2ygqiq0bk7] { height: 100%; border-radius: 4px; transition: width .3s; }

/* Response coloured by its score (pass 5): low 1-2, medium 3, high 4-5; unanswered is muted */
.era-resp-low[b-2ygqiq0bk7] { color: var(--gt-green); font-weight: 600; }
.era-resp-medium[b-2ygqiq0bk7] { color: var(--gt-amber); font-weight: 600; }
.era-resp-high[b-2ygqiq0bk7] { color: var(--gt-red); font-weight: 600; }
.era-report-unanswered[b-2ygqiq0bk7] { color: #999; font-style: italic; }

/* Elevated risk factors */
.era-report-elevated td[b-2ygqiq0bk7] { background: #fff8e1 !important; }
.era-report-elevated-section[b-2ygqiq0bk7] { border-left: 4px solid var(--gt-red); padding-left: .75rem; }
.era-report-elevated-note[b-2ygqiq0bk7] { font-size: .75rem; color: #c62828; margin-bottom: .5rem; }

@media print {
    @page { size: A4 portrait; margin: 18mm 16mm; }
    .era-report-actions[b-2ygqiq0bk7] { display: none !important; }
    /* The report is lifted into the page flow by the `body.era-printing`
       isolation rules in css/gtc.css so it paginates across pages. Keep only
       typography here — no positioning (a `position: fixed` overlay clips the
       report to a single page and drops later sections — ticket #102). */
    .era-report-printable[b-2ygqiq0bk7] {
        background: #fff; border: none; box-shadow: none;
        font-family: Arial, sans-serif;
    }
    .era-report-section[b-2ygqiq0bk7] { page-break-inside: avoid; }
    .era-report-header h3[b-2ygqiq0bk7] { font-size: 18px; }
    .era-score-bar-fill[b-2ygqiq0bk7] { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .era-rating-pill[b-2ygqiq0bk7] { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .era-report-elevated td[b-2ygqiq0bk7] { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/Components/EraReviewPanel.razor.rz.scp.css */
/* ── ERA Review Panel ── */
.era-review-panel[b-2gis6jupz9] { }
.era-review-panel h4[b-2gis6jupz9] { font-size: .9rem; font-weight: 700; color: var(--gt-navy); margin-bottom: .75rem; }
.era-review-grid[b-2gis6jupz9] { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; margin-bottom: 1rem; }
.era-review-item[b-2gis6jupz9] { display: flex; align-items: center; gap: .75rem; padding: .45rem .75rem; border-bottom: 1px solid #f5f5f5; font-size: .82rem; }
.era-review-label[b-2gis6jupz9] { min-width: 120px; font-size: .68rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; flex-shrink: 0; }
.era-review-highlight[b-2gis6jupz9] { background: #fff8e1; }
.era-review-pending[b-2gis6jupz9] { background: #fff8e1; border-left: 3px solid #f57f17; }
.era-override-tag[b-2gis6jupz9] { display: inline-block; padding: .1rem .4rem; border-radius: 6px; font-size: .62rem; font-weight: 700; background: #fff8e1; color: var(--gt-amber); margin-left: .3rem; }
.era-review-sub[b-2gis6jupz9] { font-size: .82rem; font-weight: 600; color: #666; margin: .75rem 0 .5rem; }
.era-review-table[b-2gis6jupz9] { width: 100%; border-collapse: collapse; }
.era-review-table thead th[b-2gis6jupz9] { background: #f8f9fa; padding: .4rem .75rem; text-align: left; font-size: .65rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid #e8e8e8; }
.era-review-table tbody td[b-2gis6jupz9] { padding: .4rem .75rem; font-size: .78rem; color: var(--gtc-text); border-bottom: 1px solid #f5f5f5; }
.era-load-error[b-2gis6jupz9] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; border-radius: 5px; padding: .4rem .7rem; font-size: .78rem; margin-bottom: .75rem; }

.era-muted-strong[b-2gis6jupz9] { color: #999; }
/* /Components/Pages/GovernedTransactions/EntityRiskAssessment/EraPage.razor.rz.scp.css */
/* ── ERA Page Layout ── */

.gov-ai-trigger-btn[b-l1vcimy4ud] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.gov-ai-trigger-btn:hover[b-l1vcimy4ud] { opacity: 0.9; }
.gov-ai-head-icon[b-l1vcimy4ud] { width: 22px; height: 22px; object-fit: contain; }

/* Dashboard / loading / error mode */
.era-page-scroll[b-l1vcimy4ud] { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 1rem; }

/* ── Fixed sticky header — override razorpageheader card defaults ── */
.era-sticky-header[b-l1vcimy4ud] { flex-shrink: 0; margin-bottom: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }

.era-back-role-bar[b-l1vcimy4ud] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}

.era-bar-right[b-l1vcimy4ud] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.era-back-link[b-l1vcimy4ud] { font-size: .78rem; color: #666; cursor: pointer; padding: .4rem .85rem; background: #fff; border: 1px solid var(--gtc-border); border-radius: 6px; text-decoration: none; transition: all .2s; }
.era-back-link:hover[b-l1vcimy4ud] { background: #e8faf8; color: #007b70; border-color: var(--gtc-teal); }

.era-collapse-btn[b-l1vcimy4ud] {
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s;
    font-family: inherit;
    line-height: 1;
}
.era-collapse-btn:hover[b-l1vcimy4ud] { background: #e8faf8; color: #007b70; border-color: var(--gtc-teal); }

/* ── Slim one-line summary (collapsed state) ── */
.era-header-slim[b-l1vcimy4ud] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem 1.25rem .6rem;
    font-size: .8rem;
    flex-wrap: wrap;
}

.era-slim-ref[b-l1vcimy4ud]    { font-weight: 700; color: #1e3a5f; }
.era-slim-entity[b-l1vcimy4ud] { color: var(--gtc-text); }
.era-slim-stage[b-l1vcimy4ud]  { color: var(--gtc-teal); font-weight: 600; }
.era-slim-sep[b-l1vcimy4ud]    { color: #ccc; }

/* ── Case header card (moved from EraDetailView) ── */
.era-case-header[b-l1vcimy4ud] { background: var(--gtc-card); padding: 1.1rem; box-shadow: var(--gt-shadow); margin: 0 0 .9rem; }
.era-case-header-top[b-l1vcimy4ud] { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.era-case-header h2[b-l1vcimy4ud] { font-size: 1rem; font-weight: 700; color: var(--gt-navy); margin: 0 0 .15rem; }
.era-case-meta[b-l1vcimy4ud] { font-size: .76rem; color: var(--gtc-text-light); }
.era-info-grid[b-l1vcimy4ud] { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; }
.era-info-label[b-l1vcimy4ud] { font-size: .65rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: .3px; margin-bottom: .15rem; }
.era-info-value[b-l1vcimy4ud] { font-size: .82rem; color: var(--gtc-text); }
.era-aml-clear[b-l1vcimy4ud] { color: var(--gt-green); font-weight: 700; }
.era-aml-match[b-l1vcimy4ud] { color: var(--gt-red); font-weight: 700; }
.era-aml-pending[b-l1vcimy4ud] { color: #999; }
.era-pct-complete[b-l1vcimy4ud] { color: var(--gt-green); }
.era-pct-mid[b-l1vcimy4ud] { color: var(--gt-amber); }
.era-pct-low[b-l1vcimy4ud] { color: var(--gt-red); }

/* ── Pinned footer ── */
.era-footer-bar[b-l1vcimy4ud] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: .5rem 1.1rem;
}

/* ── Action message ── */
.era-action-message[b-l1vcimy4ud] { padding: .65rem 1rem; border-radius: 6px; font-size: .78rem; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.era-msg-success[b-l1vcimy4ud] { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.era-msg-error[b-l1vcimy4ud] { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }
.era-msg-dismiss[b-l1vcimy4ud] { background: none; border: none; cursor: pointer; font-size: .9rem; color: inherit; opacity: .6; padding: 0 .25rem; line-height: 1; }
.era-msg-dismiss:hover[b-l1vcimy4ud] { opacity: 1; }

.era-loading[b-l1vcimy4ud] { padding: 3rem; text-align: center; color: var(--gt-text-muted); font-size: .82rem; }

/* Role-required empty state */
.era-role-required[b-l1vcimy4ud] { background: var(--gtc-card); border-radius: var(--gt-radius); box-shadow: var(--gt-shadow); padding: 2.5rem 2rem; margin: .5rem 1.25rem; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.era-role-required-icon[b-l1vcimy4ud] { font-size: 2.5rem; margin-bottom: .75rem; }
.era-role-required h3[b-l1vcimy4ud] { font-size: 1.1rem; font-weight: 700; color: var(--gt-navy); margin: 0 0 .75rem; }
.era-role-required p[b-l1vcimy4ud] { font-size: .82rem; color: var(--gtc-text); margin: 0 0 .75rem; line-height: 1.5; }
.era-role-required-msg[b-l1vcimy4ud] { color: var(--gtc-text-light) !important; }
.era-role-required-hint[b-l1vcimy4ud] { font-size: .76rem !important; color: #999 !important; padding: .75rem 1rem; background: #f8f9fa; border-radius: 6px; border-left: 3px solid var(--gt-amber); text-align: left; }
.era-role-required-hint em[b-l1vcimy4ud] { font-style: italic; color: var(--gt-navy); font-weight: 600; }

/* Case-header values, moved out of inline style attributes (HD #1118 step 6) with the values unchanged. */
.era-prior-score[b-l1vcimy4ud] { font-size: .72rem; color: #999; font-weight: 600; margin-left: .2rem; }
.era-calc-score[b-l1vcimy4ud] { font-weight: 700; font-size: .82rem; margin-left: .3rem; }
.era-muted[b-l1vcimy4ud] { color: #bbb; }
.era-muted-strong[b-l1vcimy4ud] { color: #999; }
.era-pct-value[b-l1vcimy4ud] { font-weight: 700; font-size: .92rem; }
.era-pct-count[b-l1vcimy4ud] { font-size: .68rem; color: #999; margin-left: .3rem; }
/* /Components/Pages/GovernedTransactions/GovernanceAuditLog.razor.rz.scp.css */
/* LW+CL:23.10.26 Governance Audit Log. Shell from the shared .gtc-* classes (wwwroot/css/gtc.css), bounded like the Governance
   Manager's .gm-page so the grid scrolls inside the page. Only this page's own elements are styled here; MyDxGrid, MyComboBox and
   MyDxDateEdit roots are child components that isolation does not reach. */
.ga-page[b-8vkgt9bz4r] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.ga-page > .razorpageheader[b-8vkgt9bz4r] {
    padding: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
}

.ga-page > .razorpagemain[b-8vkgt9bz4r] {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* One row of labelled fields that wraps on a narrow screen; each field's width is its wrapper's, so the editors (child components
   isolation cannot reach) simply fill it. */
.ga-filters[b-8vkgt9bz4r] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem 0.75rem;
    background: #fff;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.75rem;
}

.ga-field[b-8vkgt9bz4r] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 170px;
}

.ga-field-kind[b-8vkgt9bz4r] {
    width: 260px;
}

.ga-field-entity[b-8vkgt9bz4r] {
    width: 210px;
}

/* The shared entity picker draws an (empty) header line above its box when it has no label; here the field's own label is the caption,
   so the header (and the picker's own bottom margin) is dropped to keep this label level with the others. */
.ga-field-entity[b-8vkgt9bz4r]  .picker-head {
    display: none;
}

.ga-field-entity[b-8vkgt9bz4r]  .picker {
    margin-bottom: 0;
}

.ga-field-date[b-8vkgt9bz4r] {
    width: 140px;
}

.ga-field label[b-8vkgt9bz4r] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #55647a;
}

.ga-banner[b-8vkgt9bz4r] {
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    color: #856404;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.ga-case[b-8vkgt9bz4r] {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-left: 4px solid var(--gt-teal, #00a896);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    display: grid;
    gap: 0.4rem;
}

.ga-case-title[b-8vkgt9bz4r] {
    font-size: 1rem;
}

.ga-case-facts[b-8vkgt9bz4r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    color: #55647a;
    font-size: 0.85rem;
}

.ga-case-actions[b-8vkgt9bz4r] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ga-split[b-8vkgt9bz4r] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    height: 100%;
    min-height: 0;
}

.ga-split-open[b-8vkgt9bz4r] {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.ga-grid[b-8vkgt9bz4r] {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ga-detail[b-8vkgt9bz4r] {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    overflow-y: auto;
    min-height: 0;
}

.ga-detail-head[b-8vkgt9bz4r] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.ga-detail-head h2[b-8vkgt9bz4r] {
    font-size: 1rem;
    margin: 0;
}

.ga-lines[b-8vkgt9bz4r] {
    margin: 0.5rem 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
}

.ga-facts[b-8vkgt9bz4r] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.ga-facts dt[b-8vkgt9bz4r] {
    color: #55647a;
    font-weight: 600;
}

.ga-facts dd[b-8vkgt9bz4r] {
    margin: 0;
    overflow-wrap: anywhere;
}

.ga-tab-note[b-8vkgt9bz4r] {
    color: #55647a;
    font-size: 0.85rem;
    margin: 0.25rem 0 0.5rem;
}

.ga-detail h3[b-8vkgt9bz4r] {
    font-size: 0.9rem;
    margin: 0.75rem 0 0.25rem;
}
/* /Components/Pages/GovernedTransactions/GovernanceManager.razor.rz.scp.css */
/* Page shell, header, KPI bar, and filter-bar container all come from the shared
   .gtc-dashboard / .gtc-header / .gtc-kpi-bar / .gtc-filter-bar classes (wwwroot/css/gtc.css)
   — the same ones GTC/RRC/ERA/CR already use — so this page reads as part of the same
   governance suite instead of inventing its own look.

   Only rules for elements THIS page's markup owns live here. Anything targeting a span or
   root div rendered by MyDxGrid / KpiTile / a DevExpress editor must go in the global
   wwwroot/css/gtc.css instead — CSS isolation rewrites these selectors to `[b-xxxxx]`, and a
   child component's own elements never carry the parent page's scope attribute, so such a rule
   would silently do nothing. That is exactly why the old `.gm-filter-select { min-width }` and
   `.gm-search-input { min-width }` here had no effect and the filter comboboxes stretched to
   fill the row — they're MyComboBox/MyTextBox roots, not this page's elements. Both now live in
   gtc.css. */

/* Bounded flex column so .razorpagemain can resolve its flex:1 and MyDxGrid's .grid-flex-root
   (flex:1; min-height:0; height:100%) fills the remaining space and scrolls internally.
   Applied via the page-specific .gm-page modifier rather than to .gtc-dashboard itself: the
   other four governance dashboards share that class, render plain .gtc-table markup, and
   genuinely want to grow to content height and page-scroll. */
.gm-page[b-05b9fpxodr] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* .razorpageheader's own padding/margin would double up on .gtc-dashboard's padding, and its
   card chrome comes from `.razorpage > .razorpageheader` (a child selector) which doesn't reach
   it inside this wrapper anyway. The gap before the grid comes from .gtc-filter-bar's existing
   margin-bottom. flex-shrink:0 keeps the KPI + filter block at its natural height so the grid,
   not the header, absorbs the space. */
.gm-page > .razorpageheader[b-05b9fpxodr] {
    padding: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
}

/* .gtc-dashboard's own bottom padding provides the gap below the grid. */
.gm-page > .razorpagemain[b-05b9fpxodr] {
    margin-bottom: 0;
}

.gm-error-banner[b-05b9fpxodr] {
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    color: #856404;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* LW+CL:04.11.26 the grid and the case panel side by side (the POC's drill-down). The splitter fills .razorpagemain. */
.gm-page > .razorpagemain[b-05b9fpxodr] {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gm-panel[b-05b9fpxodr] {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #fff;
}

.gm-panel-head[b-05b9fpxodr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.gm-panel-title[b-05b9fpxodr] {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
}

.gm-panel-sub[b-05b9fpxodr] {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.gm-panel-actions[b-05b9fpxodr] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gm-panel-body[b-05b9fpxodr] {
    flex: 1;
    overflow: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gm-info-grid[b-05b9fpxodr] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 16px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.gm-info-label[b-05b9fpxodr] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
}

.gm-info-value[b-05b9fpxodr] {
    font-size: 13px;
    color: #1e293b;
    overflow-wrap: anywhere;
}

.gm-info-overdue[b-05b9fpxodr] {
    color: #c0281e;
    font-weight: 600;
}

.gm-panel-section-title[b-05b9fpxodr] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* LW+CL:07.11.26 the shared stage bar keeps a minimum width per step (72px); a ten stage workflow (Entity Onboarding) is wider than
   this 360px+ panel, so the bar scrolls sideways inside the panel instead of spilling out of it (the POC's overflow-x: auto). */
.gm-panel-section[b-05b9fpxodr]  .wf-progress {
    overflow-x: auto;
}

/* Filtered-count emphasis in the header sub-line — page markup, so isolation reaches it. */
.gm-shown-count[b-05b9fpxodr] {
    color: var(--gt-teal, #00a896);
    font-weight: 600;
}
/* /Components/Pages/GovernedTransactions/Gtc/GtcDashboard.razor.rz.scp.css */
.gtc-type-tabs[b-rgekmxvsh5] {
    display: flex;
    gap: 0;
    margin: 0 16px;
    border-bottom: 2px solid var(--gt-border);
}

.gtc-type-tab[b-rgekmxvsh5] {
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--gt-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
}

.gtc-type-tab--active[b-rgekmxvsh5] {
    font-weight: 700;
    color: var(--gt-navy);
    border-bottom-color: var(--gt-teal);
}

.gtc-import-btn[b-rgekmxvsh5] { font-size: .75rem; }

.gtc-load-failed[b-rgekmxvsh5] { margin: 1rem 0; }

.gtc-workload-row--link[b-rgekmxvsh5] { cursor: pointer; }
.gtc-workload-row--link:hover .gtc-workload-role[b-rgekmxvsh5] { color: var(--gt-teal); }

/* LW+CL:07.11.26 C32 the Hide / Show KPI Tiles toggle, C34 Quick Filters, C33 Pending Approver, C04 a third (Approver Workload) panel. */
.gtc-kpi-toolbar[b-rgekmxvsh5] { display: flex; gap: .5rem; align-items: center; margin: .75rem 0 0; }
.gtc-quick-filters[b-rgekmxvsh5] { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: -.25rem 0 1rem; font-size: .76rem; }
.gtc-quick-filters label[b-rgekmxvsh5] { font-weight: 600; color: #666; }
.gtc-pending-approver[b-rgekmxvsh5] { font-size: .75rem; }
.gtc-bottom-panels[b-rgekmxvsh5] { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* LW+CL:07.11.26 fresh-pass items: the hint beside the tile toggle, and the empty-grid line */
.gtc-kpi-hint[b-rgekmxvsh5] { font-size: .72rem; color: #888; }
.gtc-empty-row[b-rgekmxvsh5] { text-align: center; color: #aaa; padding: 2rem; }

/* LW+CL:10.11.26 (C79) the red count of pending items on the Triage tab. */
.gtc-triage-badge[b-rgekmxvsh5] {
    display: inline-block;
    margin-left: 6px;
    min-width: 16px;
    padding: 1px 6px;
    border-radius: 8px;
    background: var(--gt-red, #e74c3c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* LW+CL:10.11.26 (C104) the entity name in the grid opens that entity's transactions. */
.gtc-entity-link[b-rgekmxvsh5] { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.gtc-entity-link:hover[b-rgekmxvsh5] { color: var(--gt-teal); text-decoration: underline; }

/* LW+CL:10.11.26 (C105) the search box in the filter bar. */
.gtc-search-input[b-rgekmxvsh5] { min-width: 220px; }
/* /Components/Pages/GovernedTransactions/Gtc/GtcPage.razor.rz.scp.css */
.gov-ai-trigger-btn[b-0ku5ha2emv] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.gov-ai-trigger-btn:hover[b-0ku5ha2emv] { opacity: 0.9; }

.gov-ai-head-icon[b-0ku5ha2emv] { width: 22px; height: 22px; object-fit: contain; }

.gtc-sticky-header[b-0ku5ha2emv] { flex-shrink: 0; }

.gtc-page-role[b-0ku5ha2emv] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gtc-footer-bar[b-0ku5ha2emv] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}
/* /Components/Pages/GovernedTransactions/Gtc/TransactionDetailView.razor.rz.scp.css */
.gtc-detail-stage[b-a5wdymeqj2] { font-weight: 600; color: var(--gtc-text); margin-right: .4rem; }

/* --- Evidence: the case's engine requirements --- */
.gtc-evidence-empty[b-a5wdymeqj2] { font-size: .78rem; color: var(--gtc-text-light); padding: .5rem 0; }

.gtc-ev-item[b-a5wdymeqj2] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: .65rem .85rem;
    margin-bottom: .45rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--gtc-teal);
}
.gtc-ev-item--required[b-a5wdymeqj2] { border-left-color: var(--gtc-red); background: #fff8f8; }
.gtc-ev-item--done[b-a5wdymeqj2] { border-left-color: var(--gtc-green); background: #f0fdf4; }

.gtc-ev-text[b-a5wdymeqj2] { flex: 1; min-width: 0; }
.gtc-ev-heading[b-a5wdymeqj2] { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.gtc-ev-name[b-a5wdymeqj2] { font-size: .82rem; font-weight: 600; color: var(--gtc-text); }
.gtc-ev-tag[b-a5wdymeqj2] { font-size: .63rem; font-weight: 700; padding: .08rem .4rem; border-radius: 6px; color: #666; background: #eef0f3; }
.gtc-ev-tag--required[b-a5wdymeqj2] { color: #c62828; background: #ffebee; }
.gtc-ev-tag--done[b-a5wdymeqj2] { color: #2e7d32; background: #e8f5e9; }
.gtc-ev-desc[b-a5wdymeqj2] { font-size: .76rem; color: var(--gtc-text-light); margin-top: .25rem; }
.gtc-ev-meta[b-a5wdymeqj2] { font-size: .72rem; color: var(--gtc-text-light); margin-top: .25rem; }
.gtc-ev-managed[b-a5wdymeqj2] { font-size: .74rem; color: #718096; margin-top: .3rem; font-style: italic; }
.gtc-ev-doc[b-a5wdymeqj2] { margin-top: .45rem; }

.gtc-ev-confirm[b-a5wdymeqj2] { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.gtc-ev-confirm[b-a5wdymeqj2]  .gtc-ev-note { width: 220px; }

/* --- Triggers tab --- */
.gtc-trigger-detail[b-a5wdymeqj2] { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid #f5f5f5; font-size: .78rem; }
.gtc-trigger-detail--inactive[b-a5wdymeqj2] { opacity: .6; }
.gtc-trigger-detail-state[b-a5wdymeqj2] { font-size: .68rem; color: var(--gtc-text-light); font-weight: 600; }

/* --- Screening without a provider --- */
.gtc-screening-manual h3[b-a5wdymeqj2] { font-size: .85rem; font-weight: 600; color: var(--gtc-text); margin-bottom: .4rem; }
.gtc-screening-hint[b-a5wdymeqj2] { font-size: .76rem; color: var(--gtc-text-light); margin-bottom: .75rem; }
.gtc-screening-row[b-a5wdymeqj2] { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.gtc-screening-row label[b-a5wdymeqj2] { font-size: .72rem; font-weight: 600; color: #718096; }

/* --- Audit --- */
.gtc-audit-notes[b-a5wdymeqj2] { color: var(--gtc-text-light); margin-left: .25rem; }
.gtc-audit-stage[b-a5wdymeqj2] { margin-left: auto; font-size: .68rem; color: var(--gtc-text-light); white-space: nowrap; }

/* LW+CL:07.11.26 why a role cannot confirm evidence here */
.gtc-evidence-role-note[b-a5wdymeqj2] { font-size: .78rem; color: var(--gtc-text-light); background: #f8f9fa; border: 1px solid #e5e7eb; border-radius: 6px; padding: .5rem .75rem; margin-bottom: .6rem; }

/* LW+CL:10.11.26 (C67, C103, C76, C75, C70) entity flag lines and review link, the Dispatch source line, the no-trigger notice, the Screening tab tests */
.gtc-entity-alert-flag[b-a5wdymeqj2] { margin-top: .3rem; }
.gtc-entity-alert-link[b-a5wdymeqj2] { display: inline-block; margin-top: .4rem; font-size: .78rem; font-weight: 600; color: #c0392b; text-decoration: none; }
.gtc-entity-alert-link:hover[b-a5wdymeqj2] { text-decoration: underline; }
.gtc-source-line[b-a5wdymeqj2] { font-size: .78rem; color: #4a5563; background: #f4f7fb; border: 1px solid #dfe6ee; border-radius: 6px; padding: .45rem .75rem; margin-bottom: .75rem; }
.gtc-source-link[b-a5wdymeqj2] { margin-left: .6rem; font-weight: 600; color: var(--gtc-teal, #00a896); text-decoration: none; }
.gtc-no-triggers[b-a5wdymeqj2] { font-size: .8rem; color: #1a7a4a; background: #eef9f3; border: 1px solid #bfe6d0; border-radius: 6px; padding: .5rem .75rem; margin-bottom: .75rem; }
.gtc-screening-tests[b-a5wdymeqj2] { margin-bottom: 1rem; }
.gtc-test-title[b-a5wdymeqj2] { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #4a5563; margin: .9rem 0 .35rem; }
.gtc-test-row[b-a5wdymeqj2] { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; padding: .35rem .6rem; border-bottom: 1px solid #f0f4f8; }
.gtc-test-result[b-a5wdymeqj2] { font-weight: 700; }
.gtc-test-note[b-a5wdymeqj2] { font-size: .74rem; color: #c0392b; padding: .15rem .6rem .35rem 1.2rem; border-bottom: 1px solid #f0f4f8; }
.gtc-screening-readonly[b-a5wdymeqj2] { font-size: .76rem; color: #718096; margin: .5rem 0; }
.gtc-test-pass .gtc-test-result[b-a5wdymeqj2] { color: #1a7a4a; }
.gtc-test-fail .gtc-test-result[b-a5wdymeqj2] { color: #c0392b; }
.gtc-test-pending .gtc-test-result[b-a5wdymeqj2] { color: #8a6d00; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgAmlBadge.razor.rz.scp.css */
/* LW+CL:09.11.26 (parity C98) the POC's .aml-badge colours. */
.offchg-aml-badge[b-oloolilaxr] { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; background: #f1f5f9; color: #64748b; }
.offchg-aml-badge-clear[b-oloolilaxr] { background: #e6f7ef; color: #1e7e4b; }
.offchg-aml-badge-match[b-oloolilaxr] { background: #fdecea; color: #b42318; }
.offchg-aml-badge-na[b-oloolilaxr] { background: #f8fafc; color: #64748b; border: 1px dashed #cbd5e1; }
.offchg-aml-badge-pending[b-oloolilaxr] { background: #f1f5f9; color: #64748b; }
/* LW+CL:10.11.26 (parity C178, POC "✓ Clear" and "⚠ Match") the glyph says the result as well as the colour. */
.offchg-aml-badge-clear[b-oloolilaxr]::before { content: "✓ "; }
.offchg-aml-badge-match[b-oloolilaxr]::before { content: "⚠ "; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgBulkDialog.razor.rz.scp.css */
/* LW+CL:05.11.26 Bulk Resign / Bulk Rotate: shared date and reason, then one row per officer. Scrolls inside the popup (convention R3). */
.offchg-bulk[b-uyis5888x8] { max-height: 65vh; overflow-y: auto; }
.offchg-bulk-hint[b-uyis5888x8] { font-size: .75rem; color: var(--gt-text-muted, #718096); margin: 0 0 .5rem; }
.offchg-bulk-label[b-uyis5888x8] { display: block; font-size: .75rem; font-weight: 600; color: var(--gtc-text, #4a5568); margin-bottom: .2rem; }
.offchg-bulk-shared[b-uyis5888x8] { display: flex; gap: .75rem; align-items: flex-end; padding-bottom: .75rem; border-bottom: 1px solid #e2e8f0; margin-bottom: .5rem; flex-wrap: wrap; }
.offchg-bulk-grow[b-uyis5888x8] { flex: 1 1 220px; }
.offchg-bulk-row[b-uyis5888x8] { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid #f1f5f9; flex-wrap: wrap; }
.offchg-bulk-unavailable[b-uyis5888x8] { opacity: .7; }
.offchg-bulk-who[b-uyis5888x8] { display: flex; gap: .5rem; align-items: flex-start; min-width: 220px; }
.offchg-bulk-name[b-uyis5888x8] { font-size: .82rem; font-weight: 600; color: var(--gtc-text, #4a5568); }
.offchg-bulk-fields[b-uyis5888x8] { display: flex; gap: .5rem; flex: 1 1 360px; flex-wrap: wrap; align-items: flex-start; }
.offchg-bulk-why[b-uyis5888x8] { font-size: .75rem; color: #b45309; }
.offchg-bulk-error[b-uyis5888x8] { font-size: .8rem; color: #b42318; margin: .5rem 0; }
.offchg-bulk-ok[b-uyis5888x8] { font-size: .82rem; color: #1e7e4b; font-weight: 600; margin-bottom: .5rem; }
.offchg-bulk-line[b-uyis5888x8] { display: flex; gap: .75rem; font-size: .8rem; padding: .25rem 0; }
.offchg-bulk-sub[b-uyis5888x8] { font-size: .8rem; margin: .75rem 0 .25rem; color: var(--gt-navy); }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgCaseContextPanel.razor.rz.scp.css */
/* LW+CL:06.11.26 Officer parity pass: the badges, the regulatory obligation, the cards' row, the register and the resolution. */
.offchg-context[b-mgsaacjuhv] { margin-bottom: 1rem; }

.offchg-ctx-badges[b-mgsaacjuhv] { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.offchg-ctx-badge[b-mgsaacjuhv] {
    font-size: .74rem; font-weight: 600; padding: .22rem .65rem; border-radius: 999px; background: #eef2f7; color: var(--gtc-text, #4a5568);
}
.offchg-ctx-badge.offchg-aml-clear[b-mgsaacjuhv] { background: #e6f7ef; color: #1e7e4b; }
.offchg-ctx-badge.offchg-aml-match[b-mgsaacjuhv] { background: #fdecea; color: #b42318; }
.offchg-ctx-badge.offchg-aml-pending[b-mgsaacjuhv], .offchg-ctx-badge.offchg-aml-error[b-mgsaacjuhv] { background: #fff3e0; color: #b45309; }

/* The regulatory obligation: a band by days left, the same words on every case. */
.offchg-obligation[b-mgsaacjuhv] {
    background: #fff; border: 1px solid var(--gtc-border, #e2e8f0); border-radius: var(--gt-radius, 8px); padding: .8rem 1rem; margin-bottom: 1rem;
}
.offchg-obligation h4[b-mgsaacjuhv] { font-size: .85rem; color: var(--gt-navy); margin: 0 0 .5rem; }
.offchg-obligation-row[b-mgsaacjuhv] { border-left: 4px solid #94a3b8; padding: .35rem .75rem; margin-bottom: .5rem; font-size: .78rem; background: #f8fafc; }
.offchg-obligation-row:last-child[b-mgsaacjuhv] { margin-bottom: 0; }
.offchg-obligation-main[b-mgsaacjuhv] { display: flex; gap: .75rem; align-items: baseline; }
.offchg-obligation-heading[b-mgsaacjuhv] { font-weight: 700; color: var(--gt-navy); }
.offchg-obligation-form[b-mgsaacjuhv] { font-weight: 600; }
.offchg-obligation-law[b-mgsaacjuhv], .offchg-obligation-authority[b-mgsaacjuhv], .offchg-obligation-window[b-mgsaacjuhv], .offchg-obligation-note[b-mgsaacjuhv] { color: var(--gt-text-muted, #718096); }
.offchg-obligation-deadline[b-mgsaacjuhv] { margin-top: .2rem; font-weight: 600; }
.offchg-obligation-count[b-mgsaacjuhv] { margin-left: .5rem; padding: .05rem .5rem; border-radius: 999px; background: #e2e8f0; }
.offchg-band-on-track[b-mgsaacjuhv] { border-left-color: #16a34a; }
.offchg-band-due-this-week[b-mgsaacjuhv] { border-left-color: #f59e0b; }
.offchg-band-due-this-week .offchg-obligation-count[b-mgsaacjuhv] { background: #fef3c7; color: #92400e; }
.offchg-band-due-soon[b-mgsaacjuhv] { border-left-color: #ea580c; }
.offchg-band-due-soon .offchg-obligation-count[b-mgsaacjuhv] { background: #ffedd5; color: #9a3412; }
.offchg-band-overdue[b-mgsaacjuhv] { border-left-color: #dc2626; background: #fef2f2; }
.offchg-band-overdue .offchg-obligation-count[b-mgsaacjuhv] { background: #fee2e2; color: #b91c1c; }

.offchg-cards[b-mgsaacjuhv] { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }

/* Sections and hints repeat the detail view's own, since CSS isolation scopes to the declaring component. */
.offchg-section[b-mgsaacjuhv] {
    background: #fff; border: 1px solid var(--gtc-border, #e2e8f0); border-radius: var(--gt-radius, 8px); padding: .85rem 1rem; margin-bottom: 1rem;
}
.offchg-section h4[b-mgsaacjuhv] { font-size: .85rem; color: var(--gt-navy); margin: 0 0 .6rem; }
.offchg-section-actions[b-mgsaacjuhv] { display: flex; gap: .5rem; margin-top: .5rem; }
.offchg-form-hint[b-mgsaacjuhv] { display: block; margin-top: .3rem; font-size: .72rem; color: var(--gt-text-muted, #718096); }
.offchg-aml-check[b-mgsaacjuhv] { font-size: .72rem; padding: .15rem .5rem; border-radius: 999px; background: #f1f5f9; color: var(--gtc-text, #4a5568); }
.offchg-aml-check.offchg-aml-clear[b-mgsaacjuhv] { background: #e6f7ef; color: #1e7e4b; }
.offchg-aml-check.offchg-aml-match[b-mgsaacjuhv] { background: #fdecea; color: #b42318; }
.offchg-aml-check.offchg-aml-pending[b-mgsaacjuhv], .offchg-aml-check.offchg-aml-error[b-mgsaacjuhv] { background: #fff3e0; color: #b45309; }

/* The company's register: the departing officer is highlighted. */
.offchg-register-row[b-mgsaacjuhv] {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .45rem .6rem; border-bottom: 1px solid #eef2f7; font-size: .78rem;
}
.offchg-register-row:last-of-type[b-mgsaacjuhv] { border-bottom: none; }
.offchg-register-leaving[b-mgsaacjuhv] { background: #fff7ed; border-left: 4px solid #ea580c; }
.offchg-register-who[b-mgsaacjuhv] { display: flex; flex-direction: column; min-width: 200px; flex: 1 1 220px; }
.offchg-register-name[b-mgsaacjuhv] { font-weight: 600; color: var(--gt-navy); }
.offchg-register-type[b-mgsaacjuhv] { color: var(--gt-text-muted, #718096); }
.offchg-register-flag[b-mgsaacjuhv] { align-self: flex-start; margin-top: .15rem; font-size: .68rem; font-weight: 700; color: #9a3412; text-transform: uppercase; letter-spacing: .05em; }
.offchg-register-aml[b-mgsaacjuhv] { display: flex; flex-direction: column; gap: .2rem; flex: 1 1 220px; }

/* The board resolution: a DRAFT stamp until Meetings holds it. */
.offchg-draft-stamp[b-mgsaacjuhv] {
    display: inline-block; margin-left: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: #b45309;
    border: 2px solid #b45309; border-radius: 4px; padding: 0 .4rem;
}
.offchg-resolution-title[b-mgsaacjuhv] { font-size: .95rem; font-weight: 700; color: var(--gt-navy); margin: 0 0 .35rem; }
.offchg-resolution-body[b-mgsaacjuhv] { white-space: pre-wrap; font-family: inherit; font-size: .8rem; color: var(--gtc-text, #4a5568); margin: 0 0 .75rem; }
.print-draft[b-mgsaacjuhv] { display: none; }

/* LW+CL:09.11.26 parity C101: the Filing Submitted banner (the POC's .filing-confirmed). */
.offchg-filing-confirmed[b-mgsaacjuhv] { background: #e6f7ef; border: 1px solid #a7e0c2; border-radius: 6px; color: #1e7e4b; padding: .5rem .75rem; margin-bottom: .5rem; font-size: .78rem; }
.offchg-filing-confirmed-title[b-mgsaacjuhv] { font-weight: 700; }

/* LW+CL:10.11.26 (parity C117) the POC's .rotation-pair: leaving officer, an arrow, incoming officer, on a purple band. */
.offchg-rotation-pair[b-mgsaacjuhv] { display: grid; grid-template-columns: 1fr auto 1fr; gap: .9rem; align-items: center; background: #f1ebfb; border: 1px solid rgba(107, 70, 193, .25); border-left: 4px solid #6b46c1; border-radius: 8px; padding: .9rem 1rem; }
.offchg-rotation-arrow[b-mgsaacjuhv] { font-size: 1.4rem; font-weight: 700; color: #6b46c1; }

/* LW+CL:10.11.26 (parity C144) the POC's green FINAL pill, where the DRAFT stamp was. */
.offchg-final-stamp[b-mgsaacjuhv] {
    display: inline-block; margin-left: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; color: #1e7e4b;
    background: #e6f7ef; border: 2px solid #1e7e4b; border-radius: 4px; padding: 0 .4rem;
}
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgCreateForm.razor.rz.scp.css */
.offchg-create-form[b-45ce6gzdn2] {
    background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: .75rem 0 1rem;
}

.offchg-create-title[b-45ce6gzdn2] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gt-navy, #0a3d62);
    margin: 0 0 1.1rem;
}

.offchg-form-group[b-45ce6gzdn2] { margin-bottom: 1rem; }

.offchg-form-label[b-45ce6gzdn2] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin-bottom: .4rem;
}

.offchg-required[b-45ce6gzdn2] { color: #e53e3e; margin-left: .1rem; }

.offchg-form-input[b-45ce6gzdn2] {
    width: 100%;
    padding: .4rem .65rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--gtc-text, #4a5568);
    background: #fff;
    box-sizing: border-box;
}

.offchg-form-input:focus[b-45ce6gzdn2] {
    outline: none;
    border-color: var(--gtc-teal, #00a896);
}

.offchg-form-hint[b-45ce6gzdn2] {
    display: block;
    margin-top: .3rem;
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
}

.offchg-jurisdiction-cards[b-45ce6gzdn2] {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.offchg-jur-card[b-45ce6gzdn2] {
    width: 150px;
    padding: .8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
}

.offchg-jur-card:hover:not(.disabled)[b-45ce6gzdn2] {
    border-color: var(--gtc-teal, #00d9c5);
    transform: translateY(-1px);
}

.offchg-jur-card.active[b-45ce6gzdn2] {
    border-color: var(--gtc-teal, #00d9c5);
    background: #e8faf8;
}

.offchg-jur-card.disabled[b-45ce6gzdn2] { opacity: .5; cursor: not-allowed; }

.offchg-jur-name[b-45ce6gzdn2] { font-weight: 600; font-size: .8rem; color: var(--gt-navy, #0a3d62); }
.offchg-jur-status[b-45ce6gzdn2] { font-size: .68rem; margin-top: .3rem; color: var(--gt-text-muted, #718096); }

.offchg-create-error[b-45ce6gzdn2] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .45rem .75rem;
    font-size: .78rem;
    margin-bottom: .75rem;
}

.offchg-btn[b-45ce6gzdn2] {
    padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer;
    font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit;
    display: inline-flex; align-items: center; gap: .35rem;
}
.offchg-btn-primary[b-45ce6gzdn2] { background: var(--gt-teal); color: white; }
.offchg-btn-primary:hover:not(:disabled)[b-45ce6gzdn2] { background: #00c0ad; transform: translateY(-1px); }
.offchg-btn-secondary[b-45ce6gzdn2] { background: #eee; color: #555; }
.offchg-btn-secondary:hover:not(:disabled)[b-45ce6gzdn2] { background: #e0e0e0; }
.offchg-btn:disabled[b-45ce6gzdn2] { opacity: .5; cursor: not-allowed; }

.offchg-create-actions[b-45ce6gzdn2] {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}

/* LW+CL:06.11.26 (Officers Grid parity C17) the green banner when a case is started from the Officers screen. */
.offchg-routed-banner[b-45ce6gzdn2] {
    background: #e6f7ef; border: 1px solid #a7e3c4; color: #1e7e4b; border-radius: var(--gt-radius, 8px);
    padding: .6rem 1rem; margin-bottom: 1rem; font-size: .8rem; font-weight: 600;
}

.offchg-field-error[b-45ce6gzdn2] {
    margin-top: .3rem;
    font-size: .74rem;
    color: #c0392b;
}
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgDashboard.razor.rz.scp.css */
/* ── Pre-Registration Dashboard — aligned with GTC/EOB shared tokens ── */
.offchg-dashboard[b-3a1d05pilb] { padding: 1rem 1.25rem; }

.offchg-header[b-3a1d05pilb] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.offchg-header h1[b-3a1d05pilb] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin-bottom: .25rem;
}

.offchg-header-sub[b-3a1d05pilb] { font-size: .75rem; color: var(--gtc-text-light); }

.offchg-kpi-bar[b-3a1d05pilb] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .9rem;
    margin: 1rem 0;
}

.offchg-filter-bar[b-3a1d05pilb] {
    background: var(--gtc-card);
    padding: .65rem 1rem;
    border-radius: var(--gt-radius);
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: .76rem;
    margin-bottom: 1rem;
    box-shadow: var(--gt-shadow);
}

.offchg-filter-bar label[b-3a1d05pilb] { font-weight: 600; color: #666; }

/* The filters are MyComboBoxes, which fill their container: give each a width so the bar stays one row. */
.offchg-filter-bar[b-3a1d05pilb]  .offchg-filter-combo {
    width: 12rem;
    font-size: .75rem;
}

.offchg-show-closed[b-3a1d05pilb] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
}

.offchg-table-wrap[b-3a1d05pilb] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.offchg-table[b-3a1d05pilb] { width: 100%; border-collapse: collapse; }

.offchg-table thead th[b-3a1d05pilb] {
    background: #f8f9fa;
    padding: .5rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.offchg-table tbody td[b-3a1d05pilb] {
    padding: .62rem .9rem;
    font-size: .78rem;
    color: var(--gtc-text);
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.offchg-table tr:last-child td[b-3a1d05pilb] { border-bottom: none; }
.offchg-table-row[b-3a1d05pilb] { cursor: pointer; transition: background .15s; }
.offchg-table-row:hover td[b-3a1d05pilb] { background: #f0fdfb; }
.offchg-ref[b-3a1d05pilb] { font-weight: 600; color: var(--gt-navy); }

.offchg-empty[b-3a1d05pilb] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint);
    font-size: .82rem;
}

/* ── Status text ── */
.offchg-status[b-3a1d05pilb] { font-weight: 600; }
.offchg-status-draft[b-3a1d05pilb] { color: #888; }
.offchg-status-submitted[b-3a1d05pilb],
.offchg-status-underreview[b-3a1d05pilb] { color: var(--gt-navy); }
.offchg-status-amendmentsrequested[b-3a1d05pilb],
.offchg-status-pendingapproval[b-3a1d05pilb] { color: var(--gt-amber); }
.offchg-status-approvedforsubmission[b-3a1d05pilb],
.offchg-status-senttoregulator[b-3a1d05pilb] { color: #7b1fa2; }
.offchg-status-regulatorapproved[b-3a1d05pilb] { color: var(--gt-green); }
.offchg-status-regulatorrejected[b-3a1d05pilb] { color: var(--gt-red); }
.offchg-status-cancelled[b-3a1d05pilb] { color: #999; }

/* ── Buttons (also used by PreRegCreateForm / PreRegDetailView — Blazor CSS isolation
     scope attributes apply to child-component output, same pattern EobDashboard.razor.css
     already relies on for EobCreateForm's buttons) ── */
.offchg-btn[b-3a1d05pilb] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.offchg-btn-primary[b-3a1d05pilb] { background: var(--gt-teal); color: white; }
.offchg-btn-primary:hover:not(:disabled)[b-3a1d05pilb] { background: #00c0ad; transform: translateY(-1px); }
.offchg-btn-secondary[b-3a1d05pilb] { background: #eee; color: #555; }
.offchg-btn-secondary:hover:not(:disabled)[b-3a1d05pilb] { background: #e0e0e0; }
.offchg-btn-warn[b-3a1d05pilb] { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.offchg-btn-danger[b-3a1d05pilb] { background: #ffebee; color: #c0392b; border: 1px solid #ef9a9a; }
.offchg-btn:disabled[b-3a1d05pilb] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgDetailView.razor.rz.scp.css */
.offchg-detail[b-pu1ya8572n] { padding: 1rem 1.25rem; }

.offchg-detail-header[b-pu1ya8572n] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .75rem;
}

.offchg-detail-header h2[b-pu1ya8572n] { font-size: 1.05rem; color: var(--gt-navy); margin-bottom: .2rem; }
.offchg-detail-meta[b-pu1ya8572n] { font-size: .75rem; color: var(--gtc-text-light); }

/* Form primitives — duplicated from PreRegCreateForm.razor.css rather than assumed shared,
   since Blazor CSS isolation scopes to the declaring component only. */
.offchg-form-group[b-pu1ya8572n] { margin-bottom: 1rem; }
.offchg-form-label[b-pu1ya8572n] { display: block; font-size: .78rem; font-weight: 600; color: var(--gtc-text, #4a5568); margin-bottom: .4rem; }
.offchg-required[b-pu1ya8572n] { color: #e53e3e; margin-left: .1rem; }
.offchg-form-input[b-pu1ya8572n] {
    width: 100%; padding: .4rem .65rem; border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px; font-size: .82rem; color: var(--gtc-text, #4a5568); background: #fff; box-sizing: border-box;
}
.offchg-form-input:focus[b-pu1ya8572n] { outline: none; border-color: var(--gtc-teal, #00a896); }
.offchg-form-hint[b-pu1ya8572n] { display: block; margin-top: .3rem; font-size: .72rem; color: var(--gt-text-muted, #718096); }
.offchg-form-hint-error[b-pu1ya8572n] { display: block; margin-top: .3rem; font-size: .72rem; color: #c0392b; }

/* LW+CL:29.10.26 Officer Change's own sections: the proposal, the screening and the register note. */
.offchg-section[b-pu1ya8572n] {
    background: #fff; border: 1px solid var(--gtc-border, #e2e8f0); border-radius: var(--gt-radius, 8px);
    padding: .85rem 1rem; margin-bottom: 1rem;
}
.offchg-section h4[b-pu1ya8572n] { font-size: .85rem; color: var(--gt-navy); margin: 0 0 .6rem; }
.offchg-section-actions[b-pu1ya8572n] { display: flex; gap: .5rem; margin-top: .5rem; }
.offchg-aml-status[b-pu1ya8572n] { display: inline-block; font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem; }
.offchg-aml-clear[b-pu1ya8572n] { background: #e6f7ef; color: #1e7e4b; }
.offchg-aml-match[b-pu1ya8572n] { background: #fdecea; color: #b42318; }
.offchg-aml-pending[b-pu1ya8572n], .offchg-aml-error[b-pu1ya8572n] { background: #fff3e0; color: #b45309; }
.offchg-aml-checks[b-pu1ya8572n] { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .4rem; }
.offchg-aml-check[b-pu1ya8572n] { font-size: .72rem; padding: .15rem .5rem; border-radius: 999px; background: #f1f5f9; color: var(--gtc-text, #4a5568); }
.offchg-by-hand[b-pu1ya8572n] { margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed #e2e8f0; }
.offchg-register-note[b-pu1ya8572n] {
    background: #e6f7ef; border: 1px solid #a7e3c4; color: #1e7e4b; border-radius: var(--gt-radius, 8px);
    padding: .6rem 1rem; margin-bottom: 1rem; font-size: .8rem; font-weight: 600;
}

.offchg-duplicate-banner[b-pu1ya8572n] {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #e65100;
    border-radius: var(--gt-radius);
    padding: .7rem 1rem;
    margin-bottom: 1rem;
    font-size: .8rem;
    font-weight: 600;
}

.offchg-portal-results[b-pu1ya8572n] {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0); border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 50; max-height: 220px; overflow-y: auto;
}
.offchg-portal-result[b-pu1ya8572n] { padding: .5rem .75rem; font-size: .82rem; cursor: pointer; }
.offchg-portal-result:hover[b-pu1ya8572n] { background: #f0fdfb; color: var(--gt-navy, #0a3d62); }

/* Buttons — duplicated from PreRegDashboard.razor.css; Blazor CSS isolation scopes to the
   declaring component only, so a button-heavy detail view needs its own copy. */
.offchg-btn[b-pu1ya8572n] {
    padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer;
    font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit;
    display: inline-flex; align-items: center; gap: .35rem;
}
.offchg-btn-primary[b-pu1ya8572n] { background: var(--gt-teal); color: white; }
.offchg-btn-primary:hover:not(:disabled)[b-pu1ya8572n] { background: #00c0ad; transform: translateY(-1px); }
.offchg-btn-secondary[b-pu1ya8572n] { background: #eee; color: #555; }
.offchg-btn-secondary:hover:not(:disabled)[b-pu1ya8572n] { background: #e0e0e0; }
.offchg-btn-warn[b-pu1ya8572n] { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.offchg-btn-danger[b-pu1ya8572n] { background: #ffebee; color: #c0392b; border: 1px solid #ef9a9a; }
.offchg-btn:disabled[b-pu1ya8572n] { opacity: .5; cursor: not-allowed; }

.offchg-info-grid[b-pu1ya8572n] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .9rem;
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: .9rem 1.1rem;
    margin-bottom: 1rem;
}

.offchg-info-label[b-pu1ya8572n] { font-size: .67rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; }
.offchg-info-value[b-pu1ya8572n] { font-size: .85rem; color: var(--gtc-text); margin-top: .15rem; }

.offchg-section-summary[b-pu1ya8572n] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.offchg-section-summary h4[b-pu1ya8572n] { font-size: .82rem; color: var(--gt-navy); margin-bottom: .6rem; }

.offchg-summary-grid[b-pu1ya8572n] { display: flex; flex-direction: column; gap: .5rem; }
.offchg-summary-label[b-pu1ya8572n] { font-weight: 600; color: #666; font-size: .75rem; margin-right: .5rem; }
.offchg-summary-value[b-pu1ya8572n] { font-size: .8rem; color: var(--gtc-text); }

.offchg-action-bar[b-pu1ya8572n] {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.offchg-reason-box[b-pu1ya8572n] {
    background: #fffbea;
    border: 1px solid #ffe58f;
    border-radius: var(--gt-radius);
    padding: .9rem 1.1rem;
    margin-bottom: 1rem;
}

.offchg-reason-actions[b-pu1ya8572n] { display: flex; gap: .5rem; margin-top: .6rem; }

.offchg-action-message[b-pu1ya8572n] {
    padding: .6rem .9rem;
    border-radius: 6px;
    font-size: .8rem;
    margin-bottom: 1rem;
}
.offchg-msg-success[b-pu1ya8572n] { background: #e8f5e9; color: #27ae60; }
.offchg-msg-error[b-pu1ya8572n] { background: #ffebee; color: #c0392b; }

.offchg-history[b-pu1ya8572n] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1rem 1.1rem;
}

.offchg-history h4[b-pu1ya8572n] { font-size: .82rem; color: var(--gt-navy); margin-bottom: .6rem; }

.offchg-history-entry[b-pu1ya8572n] {
    display: flex;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .76rem;
}
.offchg-history-entry:last-child[b-pu1ya8572n] { border-bottom: none; }
.offchg-history-date[b-pu1ya8572n] { color: #999; min-width: 120px; }
.offchg-history-actor[b-pu1ya8572n] { color: var(--gtc-teal); font-weight: 600; min-width: 130px; }
.offchg-history-action[b-pu1ya8572n] { font-weight: 600; color: var(--gtc-text); }
.offchg-history-detail[b-pu1ya8572n] { color: #777; }

/* LW+CL:06.11.26 second pass: the stage-purpose strip. */
.offchg-purpose[b-pu1ya8572n] { background: #f1f5f9; border-left: 4px solid var(--gtc-teal, #00a896); border-radius: 6px; padding: .5rem .85rem; margin-bottom: .85rem; font-size: .78rem; color: var(--gtc-text, #4a5568); }
.offchg-purpose-tag[b-pu1ya8572n] { font-weight: 700; color: var(--gt-navy); margin-right: .5rem; }
.offchg-purpose-who[b-pu1ya8572n] { float: right; margin-left: .75rem; font-weight: 600; color: var(--gt-text-muted, #718096); }   /* LW+CL:09.11.26 parity C85 */

/* LW+CL:09.11.26 parity C102: the stage-purpose strip's heading (the POC's .stage-purpose-head). */
.offchg-purpose-head[b-pu1ya8572n] { font-weight: 700; margin-bottom: .2rem; }

/* LW+CL:10.11.26 (parity C134) the officer type change on a replacement's header. */
.offchg-type-change[b-pu1ya8572n] { display: inline-block; margin-left: .4rem; padding: 0 .45rem; border-radius: 4px; background: #f1ebfb; color: #6b46c1; font-weight: 600; }

/* LW+CL:10.11.26 (parity C161) the POC's purple REPLACEMENT chip beside the person screened. */
.offchg-screen-party[b-pu1ya8572n] { font-weight: 700; margin-bottom: .35rem; }
.offchg-replacement-chip[b-pu1ya8572n] { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 8px; background: #f1ebfb; color: #6b46c1; font-size: .66rem; font-weight: 600; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgGateStatus.razor.rz.scp.css */
/* LW+CL:09.11.26 (parity C99) the POC's .gate-ready and .gate-blocked. */
.offchg-gate[b-myd5e31zr1] { margin: 0 0 .85rem; padding: .5rem .85rem; border-radius: 6px; font-size: .78rem; font-weight: 600; }
.offchg-gate-ready[b-myd5e31zr1] { background: #e6f7ef; color: #1e7e4b; border: 1px solid #a7e0c2; }
.offchg-gate-blocked[b-myd5e31zr1] { background: #fdecea; color: #b42318; border: 1px solid #f5b5ad; }
.offchg-gate-title[b-myd5e31zr1] { font-weight: 700; }
.offchg-gate-list[b-myd5e31zr1] { margin: .25rem 0 0; padding-left: 1.2rem; font-weight: 500; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgGovernanceBadge.razor.rz.scp.css */
/* LW+CL:09.11.26 (parity C96) the POC's .header-badge. */
.offchg-gov-badge[b-he4osdyw2c] {
    display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .18rem .6rem; border-radius: 999px; background: #e6f7ef; color: #1e7e4b; white-space: nowrap;
}
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgKindPill.razor.rz.scp.css */
/* LW+CL:10.11.26 (parity C114) the POC's .case-type-pill. */
.offchg-kind-pill[b-snerdovez2] { display: inline-block; padding: .1rem .55rem; border-radius: 10px; font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.offchg-kind-resignation[b-snerdovez2] { background: #e0ecff; color: #1d4ed8; border: 1px solid rgba(29, 78, 216, .3); }
.offchg-kind-rotation[b-snerdovez2] { background: #f1ebfb; color: #6b46c1; border: 1px solid rgba(107, 70, 193, .3); }
.offchg-kind-appointment[b-snerdovez2] { background: #e6f7ef; color: #1e7e4b; border: 1px solid rgba(30, 126, 75, .3); }
.offchg-kind-other[b-snerdovez2] { background: #eef2f7; color: #475569; border: 1px solid #cbd5e1; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgNoticesPanel.razor.rz.scp.css */
/* LW+CL:05.11.26 the case's generated documents: one row per document, its signing state and its buttons. */
.offchg-notices[b-tpnbtnuotk] {
    background: #fff; border: 1px solid var(--gtc-border, #e2e8f0); border-radius: var(--gt-radius, 8px);
    padding: .85rem 1rem; margin-bottom: 1rem;
}
.offchg-notices h4[b-tpnbtnuotk] { font-size: .85rem; color: var(--gt-navy); margin: 0 0 .6rem; }
.offchg-notices-hint[b-tpnbtnuotk] { font-size: .72rem; color: var(--gt-text-muted, #718096); margin: 0 0 .4rem; }
.offchg-notices-ok[b-tpnbtnuotk] { font-size: .78rem; color: #1e7e4b; margin: .5rem 0 0; }
.offchg-notices-error[b-tpnbtnuotk] { font-size: .78rem; color: #b42318; margin: .5rem 0 0; }
.offchg-notice-row[b-tpnbtnuotk] {
    display: flex; justify-content: space-between; align-items: center; gap: .75rem;
    padding: .5rem 0; border-top: 1px solid #f1f5f9;
}
.offchg-notice-title[b-tpnbtnuotk] { font-size: .82rem; font-weight: 600; color: var(--gtc-text, #4a5568); }
.offchg-notice-name .offchg-notices-hint[b-tpnbtnuotk] { margin: .1rem 0 0; }
.offchg-notice-actions[b-tpnbtnuotk] { display: flex; gap: .4rem; flex-shrink: 0; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgOfficerCardView.razor.rz.scp.css */
.offchg-card[b-8wucsgf5s5] {
    flex: 1 1 260px; background: #fff; border: 1px solid var(--gtc-border, #e2e8f0); border-radius: var(--gt-radius, 8px);
    padding: .8rem 1rem;
}
.offchg-card-heading[b-8wucsgf5s5] { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gt-text-muted, #718096); }
.offchg-card-name[b-8wucsgf5s5] { font-size: .95rem; font-weight: 600; color: var(--gt-navy); margin: .15rem 0 .5rem; }
.offchg-card-details[b-8wucsgf5s5] { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .9rem; margin: 0; font-size: .78rem; }
.offchg-card-details dt[b-8wucsgf5s5] { color: var(--gt-text-muted, #718096); font-weight: 500; }
.offchg-card-details dd[b-8wucsgf5s5] { margin: 0; color: var(--gtc-text, #4a5568); }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgOfficerHistoryPopup.razor.rz.scp.css */
/* LW+CL:02.11.26 Officers Grid overlay: the officer and company the history is about. */
.offchg-hist-title[b-o9zcq0h33o] {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.offchg-hist-on[b-o9zcq0h33o] {
	font-weight: 400;
	color: var(--bs-secondary-color, #6c757d);
}

.offchg-hist-empty[b-o9zcq0h33o] {
	padding: 0.75rem 0;
	color: var(--bs-secondary-color, #6c757d);
}

.offchg-hist-grid-wrap[b-o9zcq0h33o] {
	height: 420px;
}
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgProposalEditor.razor.rz.scp.css */
.offchg-create-form[b-cvd39wnimj] {
    background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: .75rem 0 1rem;
}

.offchg-create-title[b-cvd39wnimj] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gt-navy, #0a3d62);
    margin: 0 0 1.1rem;
}

.offchg-form-group[b-cvd39wnimj] { margin-bottom: 1rem; }

.offchg-form-label[b-cvd39wnimj] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin-bottom: .4rem;
}

.offchg-required[b-cvd39wnimj] { color: #e53e3e; margin-left: .1rem; }

.offchg-form-input[b-cvd39wnimj] {
    width: 100%;
    padding: .4rem .65rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--gtc-text, #4a5568);
    background: #fff;
    box-sizing: border-box;
}

.offchg-form-input:focus[b-cvd39wnimj] {
    outline: none;
    border-color: var(--gtc-teal, #00a896);
}

.offchg-form-hint[b-cvd39wnimj] {
    display: block;
    margin-top: .3rem;
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
}

.offchg-jurisdiction-cards[b-cvd39wnimj] {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.offchg-jur-card[b-cvd39wnimj] {
    width: 150px;
    padding: .8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
}

.offchg-jur-card:hover:not(.disabled)[b-cvd39wnimj] {
    border-color: var(--gtc-teal, #00d9c5);
    transform: translateY(-1px);
}

.offchg-jur-card.active[b-cvd39wnimj] {
    border-color: var(--gtc-teal, #00d9c5);
    background: #e8faf8;
}

.offchg-jur-card.disabled[b-cvd39wnimj] { opacity: .5; cursor: not-allowed; }

.offchg-jur-name[b-cvd39wnimj] { font-weight: 600; font-size: .8rem; color: var(--gt-navy, #0a3d62); }
.offchg-jur-status[b-cvd39wnimj] { font-size: .68rem; margin-top: .3rem; color: var(--gt-text-muted, #718096); }

.offchg-create-error[b-cvd39wnimj] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .45rem .75rem;
    font-size: .78rem;
    margin-bottom: .75rem;
}

.offchg-btn[b-cvd39wnimj] {
    padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer;
    font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit;
    display: inline-flex; align-items: center; gap: .35rem;
}
.offchg-btn-primary[b-cvd39wnimj] { background: var(--gt-teal); color: white; }
.offchg-btn-primary:hover:not(:disabled)[b-cvd39wnimj] { background: #00c0ad; transform: translateY(-1px); }
.offchg-btn-secondary[b-cvd39wnimj] { background: #eee; color: #555; }
.offchg-btn-secondary:hover:not(:disabled)[b-cvd39wnimj] { background: #e0e0e0; }
.offchg-btn:disabled[b-cvd39wnimj] { opacity: .5; cursor: not-allowed; }

.offchg-create-actions[b-cvd39wnimj] {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}

.offchg-field-error[b-cvd39wnimj] {
    margin-top: .3rem;
    font-size: .74rem;
    color: #c0392b;
}
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgRiskBadge.razor.rz.scp.css */
.offchg-risk-badge[b-zvcnj9jp5n] {
    display: inline-block;
    font-size: .74rem; font-weight: 600; padding: .22rem .65rem; border-radius: 999px; white-space: nowrap;
}

/* LW+CL:10.11.26 (parity C171, POC .risk-badge::before) the scales glyph before the risk word. */
.offchg-risk-badge[b-zvcnj9jp5n]::before { content: "⚖ "; margin-right: 3px; font-size: .62rem; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgRiskCell.razor.rz.scp.css */
.offchg-risk-pair[b-05o83ft49u] { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgStagePill.razor.rz.scp.css */
/* LW+CL:10.11.26 (parity C115) the POC's .sp status pills. */
.offchg-stage-pill[b-cbc9uzbmm9] { display: inline-block; padding: .15rem .6rem; border-radius: 10px; font-size: .68rem; font-weight: 600; white-space: nowrap; background: #eef2f7; color: #475569; }
.offchg-stage-proposal[b-cbc9uzbmm9] { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.offchg-stage-screening[b-cbc9uzbmm9] { background: #e8f1f8; color: #1a5276; border: 1px solid rgba(26, 82, 118, .25); }
.offchg-stage-review[b-cbc9uzbmm9] { background: #e0ecff; color: #1d4ed8; }
.offchg-stage-approval[b-cbc9uzbmm9] { background: #e8f1f8; color: #1a5276; }
.offchg-stage-mlro[b-cbc9uzbmm9] { background: #fef3c7; color: #92400e; border: 1px solid #d97706; }
.offchg-stage-filing[b-cbc9uzbmm9] { background: #e8f1f8; color: #1a5276; }
.offchg-stage-completed[b-cbc9uzbmm9] { background: #e6f7ef; color: #1e7e4b; }
.offchg-stage-rejected[b-cbc9uzbmm9] { background: #fdecea; color: #c0392b; }
.offchg-stage-cancelled[b-cbc9uzbmm9] { background: #eef2f7; color: #64748b; }
/* LW+CL:10.11.26 (parity C178, POC "✓ Completed", "✗ Rejected", "⚠ MLRO Lock") the glyph says the outcome as well as the colour. */
.offchg-stage-completed[b-cbc9uzbmm9]::before { content: "✓ "; }
.offchg-stage-rejected[b-cbc9uzbmm9]::before { content: "✗ "; }
.offchg-stage-mlro[b-cbc9uzbmm9]::before { content: "⚠ "; }
/* /Components/Pages/GovernedTransactions/OfficerChange/Components/OffChgTypePill.razor.rz.scp.css */
/* LW+CL:09.11.26 (parity C95) the POC's .officer-type pills. */
.offchg-type-pill[b-cokwb9jlw7] { display: inline-block; padding: .1rem .55rem; border-radius: 8px; font-size: .68rem; font-weight: 600; background: #eef2f7; color: #475569; white-space: nowrap; }
.offchg-type-secretary[b-cokwb9jlw7] { background: #e0ecff; color: #1d4ed8; }
.offchg-type-president[b-cokwb9jlw7] { background: #e6f7ef; color: #1e7e4b; }
.offchg-type-treasurer[b-cokwb9jlw7] { background: #fef3c7; color: #92400e; }
/* /Components/Pages/GovernedTransactions/OfficerChange/OffChgPage.razor.rz.scp.css */
.offchg-page-scroll[b-r29qb79raq] { padding: 0 0 2rem; }

.offchg-back-link[b-r29qb79raq] {
    display: inline-block;
    margin: .75rem 1.25rem .25rem;
    font-size: .8rem;
    color: var(--gtc-teal, #00a896);
    cursor: pointer;
    text-decoration: none;
}
.offchg-back-link:hover[b-r29qb79raq] { text-decoration: underline; }

.offchg-loading[b-r29qb79raq] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint, #999);
    font-size: .85rem;
}

.offchg-sticky-header[b-r29qb79raq] { flex-shrink: 0; }

.offchg-back-role-bar[b-r29qb79raq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}
.offchg-back-role-bar .offchg-back-link[b-r29qb79raq] { margin: 0; }

.offchg-bar-right[b-r29qb79raq] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.offchg-footer-bar[b-r29qb79raq] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}

.offchg-action-message[b-r29qb79raq] {
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    margin: .5rem 0;
}
.offchg-msg-success[b-r29qb79raq] { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.offchg-msg-error[b-r29qb79raq]   { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

/* The header IQ button, as on every governance case page (LW+CL:29.10.26: missing here, so the icon drew at full size). */
.gov-ai-trigger-btn[b-r29qb79raq] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.gov-ai-trigger-btn:hover[b-r29qb79raq] { opacity: 0.9; }
.gov-ai-head-icon[b-r29qb79raq] { width: 22px; height: 22px; object-fit: contain; }
/* /Components/Pages/GovernedTransactions/PreRegistration/Components/PreRegCreateForm.razor.rz.scp.css */
.prereg-create-form[b-3ugc1gypwi] {
    background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: .75rem 0 1rem;
}

.prereg-create-title[b-3ugc1gypwi] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--gt-navy, #0a3d62);
    margin: 0 0 1.1rem;
}

.prereg-form-group[b-3ugc1gypwi] { margin-bottom: 1rem; }

.prereg-form-label[b-3ugc1gypwi] {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gtc-text, #4a5568);
    margin-bottom: .4rem;
}

.prereg-required[b-3ugc1gypwi] { color: #e53e3e; margin-left: .1rem; }

.prereg-form-input[b-3ugc1gypwi] {
    width: 100%;
    padding: .4rem .65rem;
    border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--gtc-text, #4a5568);
    background: #fff;
    box-sizing: border-box;
}

.prereg-form-input:focus[b-3ugc1gypwi] {
    outline: none;
    border-color: var(--gtc-teal, #00a896);
}

.prereg-form-hint[b-3ugc1gypwi] {
    display: block;
    margin-top: .3rem;
    font-size: .72rem;
    color: var(--gt-text-muted, #718096);
}

.prereg-jurisdiction-cards[b-3ugc1gypwi] {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.prereg-jur-card[b-3ugc1gypwi] {
    width: 150px;
    padding: .8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
}

.prereg-jur-card:hover:not(.disabled)[b-3ugc1gypwi] {
    border-color: var(--gtc-teal, #00d9c5);
    transform: translateY(-1px);
}

.prereg-jur-card.active[b-3ugc1gypwi] {
    border-color: var(--gtc-teal, #00d9c5);
    background: #e8faf8;
}

.prereg-jur-card.disabled[b-3ugc1gypwi] { opacity: .5; cursor: not-allowed; }

.prereg-jur-name[b-3ugc1gypwi] { font-weight: 600; font-size: .8rem; color: var(--gt-navy, #0a3d62); }
.prereg-jur-status[b-3ugc1gypwi] { font-size: .68rem; margin-top: .3rem; color: var(--gt-text-muted, #718096); }

.prereg-create-error[b-3ugc1gypwi] {
    background: #fff2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    border-radius: 5px;
    padding: .45rem .75rem;
    font-size: .78rem;
    margin-bottom: .75rem;
}

.prereg-btn[b-3ugc1gypwi] {
    padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer;
    font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit;
    display: inline-flex; align-items: center; gap: .35rem;
}
.prereg-btn-primary[b-3ugc1gypwi] { background: var(--gt-teal); color: white; }
.prereg-btn-primary:hover:not(:disabled)[b-3ugc1gypwi] { background: #00c0ad; transform: translateY(-1px); }
.prereg-btn-secondary[b-3ugc1gypwi] { background: #eee; color: #555; }
.prereg-btn-secondary:hover:not(:disabled)[b-3ugc1gypwi] { background: #e0e0e0; }
.prereg-btn:disabled[b-3ugc1gypwi] { opacity: .5; cursor: not-allowed; }

.prereg-create-actions[b-3ugc1gypwi] {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--gtc-border, #e2e8f0);
}
/* /Components/Pages/GovernedTransactions/PreRegistration/Components/PreRegDashboard.razor.rz.scp.css */
/* ── Pre-Registration Dashboard — aligned with GTC/EOB shared tokens ── */
.prereg-dashboard[b-cy8q0wnjrn] { padding: 1rem 1.25rem; }

.prereg-header[b-cy8q0wnjrn] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.prereg-header h1[b-cy8q0wnjrn] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin-bottom: .25rem;
}

.prereg-header-sub[b-cy8q0wnjrn] { font-size: .75rem; color: var(--gtc-text-light); }

.prereg-kpi-bar[b-cy8q0wnjrn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .9rem;
    margin: 1rem 0;
}

.prereg-filter-bar[b-cy8q0wnjrn] {
    background: var(--gtc-card);
    padding: .65rem 1rem;
    border-radius: var(--gt-radius);
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: .76rem;
    margin-bottom: 1rem;
    box-shadow: var(--gt-shadow);
}

.prereg-filter-bar label[b-cy8q0wnjrn] { font-weight: 600; color: #666; }

.prereg-filter-bar select[b-cy8q0wnjrn] {
    padding: .28rem .5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .75rem;
    color: var(--gtc-text);
    background: #f8f9fa;
    cursor: pointer;
}

.prereg-show-closed[b-cy8q0wnjrn] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
}

.prereg-table-wrap[b-cy8q0wnjrn] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.prereg-table[b-cy8q0wnjrn] { width: 100%; border-collapse: collapse; }

.prereg-table thead th[b-cy8q0wnjrn] {
    background: #f8f9fa;
    padding: .5rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.prereg-table tbody td[b-cy8q0wnjrn] {
    padding: .62rem .9rem;
    font-size: .78rem;
    color: var(--gtc-text);
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.prereg-table tr:last-child td[b-cy8q0wnjrn] { border-bottom: none; }
.prereg-table-row[b-cy8q0wnjrn] { cursor: pointer; transition: background .15s; }
.prereg-table-row:hover td[b-cy8q0wnjrn] { background: #f0fdfb; }
.prereg-ref[b-cy8q0wnjrn] { font-weight: 600; color: var(--gt-navy); }

.prereg-empty[b-cy8q0wnjrn] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint);
    font-size: .82rem;
}

/* ── Status text ── */
.prereg-status[b-cy8q0wnjrn] { font-weight: 600; }
.prereg-status-draft[b-cy8q0wnjrn] { color: #888; }
.prereg-status-submitted[b-cy8q0wnjrn],
.prereg-status-underreview[b-cy8q0wnjrn] { color: var(--gt-navy); }
.prereg-status-amendmentsrequested[b-cy8q0wnjrn],
.prereg-status-pendingapproval[b-cy8q0wnjrn] { color: var(--gt-amber); }
.prereg-status-approvedforsubmission[b-cy8q0wnjrn],
.prereg-status-senttoregulator[b-cy8q0wnjrn] { color: #7b1fa2; }
.prereg-status-regulatorapproved[b-cy8q0wnjrn] { color: var(--gt-green); }
.prereg-status-regulatorrejected[b-cy8q0wnjrn] { color: var(--gt-red); }
.prereg-status-cancelled[b-cy8q0wnjrn] { color: #999; }

/* ── Buttons (also used by PreRegCreateForm / PreRegDetailView — Blazor CSS isolation
     scope attributes apply to child-component output, same pattern EobDashboard.razor.css
     already relies on for EobCreateForm's buttons) ── */
.prereg-btn[b-cy8q0wnjrn] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.prereg-btn-primary[b-cy8q0wnjrn] { background: var(--gt-teal); color: white; }
.prereg-btn-primary:hover:not(:disabled)[b-cy8q0wnjrn] { background: #00c0ad; transform: translateY(-1px); }
.prereg-btn-secondary[b-cy8q0wnjrn] { background: #eee; color: #555; }
.prereg-btn-secondary:hover:not(:disabled)[b-cy8q0wnjrn] { background: #e0e0e0; }
.prereg-btn-warn[b-cy8q0wnjrn] { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.prereg-btn-danger[b-cy8q0wnjrn] { background: #ffebee; color: #c0392b; border: 1px solid #ef9a9a; }
.prereg-btn:disabled[b-cy8q0wnjrn] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/PreRegistration/Components/PreRegDetailView.razor.rz.scp.css */
.prereg-detail[b-l3f95cj21g] { padding: 1rem 1.25rem; }

.prereg-detail-header[b-l3f95cj21g] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .75rem;
}

.prereg-detail-header h2[b-l3f95cj21g] { font-size: 1.05rem; color: var(--gt-navy); margin-bottom: .2rem; }
.prereg-detail-meta[b-l3f95cj21g] { font-size: .75rem; color: var(--gtc-text-light); }

/* Form primitives — duplicated from PreRegCreateForm.razor.css rather than assumed shared,
   since Blazor CSS isolation scopes to the declaring component only. */
.prereg-form-group[b-l3f95cj21g] { margin-bottom: 1rem; }
.prereg-form-label[b-l3f95cj21g] { display: block; font-size: .78rem; font-weight: 600; color: var(--gtc-text, #4a5568); margin-bottom: .4rem; }
.prereg-required[b-l3f95cj21g] { color: #e53e3e; margin-left: .1rem; }
.prereg-form-input[b-l3f95cj21g] {
    width: 100%; padding: .4rem .65rem; border: 1px solid var(--gtc-border, #e2e8f0);
    border-radius: 6px; font-size: .82rem; color: var(--gtc-text, #4a5568); background: #fff; box-sizing: border-box;
}
.prereg-form-input:focus[b-l3f95cj21g] { outline: none; border-color: var(--gtc-teal, #00a896); }
.prereg-form-hint[b-l3f95cj21g] { display: block; margin-top: .3rem; font-size: .72rem; color: var(--gt-text-muted, #718096); }
.prereg-form-hint-error[b-l3f95cj21g] { display: block; margin-top: .3rem; font-size: .72rem; color: #c0392b; }

.prereg-duplicate-banner[b-l3f95cj21g] {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #e65100;
    border-radius: var(--gt-radius);
    padding: .7rem 1rem;
    margin-bottom: 1rem;
    font-size: .8rem;
    font-weight: 600;
}

.prereg-portal-results[b-l3f95cj21g] {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border: 1px solid var(--gtc-border, #e2e8f0); border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 50; max-height: 220px; overflow-y: auto;
}
.prereg-portal-result[b-l3f95cj21g] { padding: .5rem .75rem; font-size: .82rem; cursor: pointer; }
.prereg-portal-result:hover[b-l3f95cj21g] { background: #f0fdfb; color: var(--gt-navy, #0a3d62); }

/* Buttons — duplicated from PreRegDashboard.razor.css; Blazor CSS isolation scopes to the
   declaring component only, so a button-heavy detail view needs its own copy. */
.prereg-btn[b-l3f95cj21g] {
    padding: .5rem 1.1rem; border: none; border-radius: 6px; cursor: pointer;
    font-size: .8rem; font-weight: 600; transition: all .2s; font-family: inherit;
    display: inline-flex; align-items: center; gap: .35rem;
}
.prereg-btn-primary[b-l3f95cj21g] { background: var(--gt-teal); color: white; }
.prereg-btn-primary:hover:not(:disabled)[b-l3f95cj21g] { background: #00c0ad; transform: translateY(-1px); }
.prereg-btn-secondary[b-l3f95cj21g] { background: #eee; color: #555; }
.prereg-btn-secondary:hover:not(:disabled)[b-l3f95cj21g] { background: #e0e0e0; }
.prereg-btn-warn[b-l3f95cj21g] { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.prereg-btn-danger[b-l3f95cj21g] { background: #ffebee; color: #c0392b; border: 1px solid #ef9a9a; }
.prereg-btn:disabled[b-l3f95cj21g] { opacity: .5; cursor: not-allowed; }

.prereg-info-grid[b-l3f95cj21g] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .9rem;
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: .9rem 1.1rem;
    margin-bottom: 1rem;
}

.prereg-info-label[b-l3f95cj21g] { font-size: .67rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; }
.prereg-info-value[b-l3f95cj21g] { font-size: .85rem; color: var(--gtc-text); margin-top: .15rem; }

.prereg-section-summary[b-l3f95cj21g] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.prereg-section-summary h4[b-l3f95cj21g] { font-size: .82rem; color: var(--gt-navy); margin-bottom: .6rem; }

.prereg-summary-grid[b-l3f95cj21g] { display: flex; flex-direction: column; gap: .5rem; }
.prereg-summary-label[b-l3f95cj21g] { font-weight: 600; color: #666; font-size: .75rem; margin-right: .5rem; }
.prereg-summary-value[b-l3f95cj21g] { font-size: .8rem; color: var(--gtc-text); }
.prereg-summary-value.prereg-section-complete[b-l3f95cj21g] { color: #1e7e4f; font-weight: 600; }
.prereg-summary-value.prereg-section-missing[b-l3f95cj21g] { color: #b3261e; font-weight: 600; }

.prereg-doc-table[b-l3f95cj21g] { width: 100%; border-collapse: collapse; font-size: .8rem; }
.prereg-doc-table th[b-l3f95cj21g] { text-align: left; font-size: .67rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .4px; padding: .3rem .5rem; }
.prereg-doc-table td[b-l3f95cj21g] { padding: .35rem .5rem; border-top: 1px solid #f0f0f0; color: var(--gtc-text); }

.prereg-action-bar[b-l3f95cj21g] {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.prereg-reason-box[b-l3f95cj21g] {
    background: #fffbea;
    border: 1px solid #ffe58f;
    border-radius: var(--gt-radius);
    padding: .9rem 1.1rem;
    margin-bottom: 1rem;
}

.prereg-reason-actions[b-l3f95cj21g] { display: flex; gap: .5rem; margin-top: .6rem; }

.prereg-action-message[b-l3f95cj21g] {
    padding: .6rem .9rem;
    border-radius: 6px;
    font-size: .8rem;
    margin-bottom: 1rem;
}
.prereg-msg-success[b-l3f95cj21g] { background: #e8f5e9; color: #27ae60; }
.prereg-msg-error[b-l3f95cj21g] { background: #ffebee; color: #c0392b; }

.prereg-history[b-l3f95cj21g] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1rem 1.1rem;
}

.prereg-history h4[b-l3f95cj21g] { font-size: .82rem; color: var(--gt-navy); margin-bottom: .6rem; }

.prereg-history-entry[b-l3f95cj21g] {
    display: flex;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .76rem;
}
.prereg-history-entry:last-child[b-l3f95cj21g] { border-bottom: none; }
.prereg-history-date[b-l3f95cj21g] { color: #999; min-width: 120px; }
.prereg-history-actor[b-l3f95cj21g] { color: var(--gtc-teal); font-weight: 600; min-width: 130px; }
.prereg-history-action[b-l3f95cj21g] { font-weight: 600; color: var(--gtc-text); }
.prereg-history-detail[b-l3f95cj21g] { color: #777; }
/* /Components/Pages/GovernedTransactions/PreRegistration/Components/PreRegDocumentPreview.razor.rz.scp.css */
.prereg-doc-preview[b-ph1f9g59rk] { height: 100%; min-height: 300px; overflow: auto; }
.prereg-doc-preview-msg[b-ph1f9g59rk] { padding: 1.5rem; text-align: center; color: var(--bs-secondary-color, #6c757d); }
.prereg-doc-preview-img[b-ph1f9g59rk] { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.prereg-doc-preview-pdf[b-ph1f9g59rk] { height: 100%; min-height: 500px; }
/* /Components/Pages/GovernedTransactions/PreRegistration/PreRegPage.razor.rz.scp.css */
.prereg-page-scroll[b-1sf5qzmgph] { padding: 0 0 2rem; }

.prereg-back-link[b-1sf5qzmgph] {
    display: inline-block;
    margin: .75rem 1.25rem .25rem;
    font-size: .8rem;
    color: var(--gtc-teal, #00a896);
    cursor: pointer;
    text-decoration: none;
}
.prereg-back-link:hover[b-1sf5qzmgph] { text-decoration: underline; }

.prereg-loading[b-1sf5qzmgph] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint, #999);
    font-size: .85rem;
}

.prereg-sticky-header[b-1sf5qzmgph] { flex-shrink: 0; }

.prereg-back-role-bar[b-1sf5qzmgph] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}
.prereg-back-role-bar .prereg-back-link[b-1sf5qzmgph] { margin: 0; }

.prereg-bar-right[b-1sf5qzmgph] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.prereg-footer-bar[b-1sf5qzmgph] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}

.prereg-action-message[b-1sf5qzmgph] {
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    margin: .5rem 0;
}
.prereg-msg-success[b-1sf5qzmgph] { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.prereg-msg-error[b-1sf5qzmgph]   { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

/* The header IQ button, as on every governance case page (LW+CL:29.10.26: missing here, so the icon drew at full size). */
.gov-ai-trigger-btn[b-1sf5qzmgph] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.gov-ai-trigger-btn:hover[b-1sf5qzmgph] { opacity: 0.9; }
.gov-ai-head-icon[b-1sf5qzmgph] { width: 22px; height: 22px; object-fit: contain; }
/* /Components/Pages/GovernedTransactions/RiskRatingChange/Components/RrcCreateForm.razor.rz.scp.css */
/* ── RRC Create Form — entity search dropdown & selection styles ── */
.rrc-entity-results[b-b5doqwm4db] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    border: 1px solid var(--gtc-border);
    border-radius: 0 0 var(--gt-radius-sm) var(--gt-radius-sm);
    background: var(--gtc-card, #fff);
    max-height: 200px;
    overflow-y: auto;
    margin-top: -1px;
    box-shadow: var(--gt-shadow-lg, 0 4px 12px rgba(0,0,0,.15));
}

.rrc-entity-result[b-b5doqwm4db] {
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: .8rem;
    border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
}

.rrc-entity-result:hover[b-b5doqwm4db] { background: #f0fdfb; }
.rrc-entity-code[b-b5doqwm4db] { color: #aaa; font-size: .72rem; }

.rrc-selected-entity[b-b5doqwm4db] {
    margin-top: .25rem;
    padding: .3rem .5rem;
    background: #f0fdf4;
    border-radius: 4px;
    font-size: .78rem;
    color: var(--gt-green);
}

.rrc-current-rating-preview[b-b5doqwm4db] {
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
/* /Components/Pages/GovernedTransactions/RiskRatingChange/Components/RrcDashboard.razor.rz.scp.css */
/* ── RRC Dashboard — aligned with GTC/TM shared tokens ── */
.rrc-dashboard[b-kl38v8cdhg] { padding: 1rem 1.25rem; }

.rrc-header[b-kl38v8cdhg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.rrc-header h1[b-kl38v8cdhg] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin-bottom: .25rem;
}

.rrc-header-sub[b-kl38v8cdhg] {
    font-size: .75rem;
    color: var(--gtc-text-light);
}

/* ── KPI Bar — matches GTC grid layout ── */
.rrc-kpi-bar[b-kl38v8cdhg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .9rem;
    margin: 1rem 0;
}

/* ── Filter Bar ── */
.rrc-filter-bar[b-kl38v8cdhg] {
    background: var(--gtc-card);
    padding: .65rem 1rem;
    border-radius: var(--gt-radius);
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: .76rem;
    margin-bottom: 1rem;
    box-shadow: var(--gt-shadow);
}

.rrc-filter-bar label[b-kl38v8cdhg] {
    font-weight: 600;
    color: #666;
}

.rrc-filter-bar select[b-kl38v8cdhg] {
    padding: .28rem .5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .75rem;
    color: var(--gtc-text);
    background: #f8f9fa;
    cursor: pointer;
}

.rrc-show-completed[b-kl38v8cdhg] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    user-select: none;
}

.rrc-show-completed input[type="checkbox"][b-kl38v8cdhg] {
    cursor: pointer;
}

/* ── Data Table ── */
.rrc-table-wrap[b-kl38v8cdhg] {
    background: var(--gtc-card);
    border-radius: var(--gt-radius);
    box-shadow: var(--gt-shadow);
    overflow: hidden;
}

.rrc-table[b-kl38v8cdhg] {
    width: 100%;
    border-collapse: collapse;
}

.rrc-table thead th[b-kl38v8cdhg] {
    background: #f8f9fa;
    padding: .5rem .9rem;
    text-align: left;
    font-size: .67rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e8e8e8;
    white-space: nowrap;
}

.rrc-table tbody td[b-kl38v8cdhg] {
    padding: .62rem .9rem;
    font-size: .78rem;
    color: var(--gtc-text);
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.rrc-table tr:last-child td[b-kl38v8cdhg] { border-bottom: none; }

.rrc-table-row[b-kl38v8cdhg] { cursor: pointer; transition: background .15s; }
.rrc-table-row:hover td[b-kl38v8cdhg] { background: #f0fdfb; }

.rrc-ref[b-kl38v8cdhg] { font-weight: 600; color: var(--gt-navy); }

.rrc-empty[b-kl38v8cdhg] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-faint);
    font-size: .82rem;
}

/* ── Rating Pills ── */
.rrc-rating-pill[b-kl38v8cdhg] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.rrc-rating-low[b-kl38v8cdhg] { background: #e8f5e9; color: var(--gt-green); }
.rrc-rating-medium[b-kl38v8cdhg] { background: #fff8e1; color: var(--gt-amber); }
.rrc-rating-high[b-kl38v8cdhg] { background: #ffebee; color: var(--gt-red); }
.rrc-rating-tbd[b-kl38v8cdhg] { color: var(--gt-text-faint); }

/* ── Stage Pill ── */
.rrc-stage-pill[b-kl38v8cdhg] {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 10px;
    font-size: .68rem;
    font-weight: 700;
    background: #e8f4fd;
    color: #1565c0;
    white-space: nowrap;
}

/* ── Status ── */
.rrc-status-open[b-kl38v8cdhg] { color: var(--gt-navy); font-weight: 600; }
.rrc-status-completed[b-kl38v8cdhg] { color: var(--gt-green); font-weight: 600; }
.rrc-status-rejected[b-kl38v8cdhg] { color: var(--gt-red); font-weight: 600; }
.rrc-status-on-hold[b-kl38v8cdhg] { color: var(--gt-amber); font-weight: 600; }
.rrc-status-cancelled[b-kl38v8cdhg] { color: #999; font-weight: 600; }

/* ── Buttons — matches GTC shared button styles ── */
.rrc-btn[b-kl38v8cdhg] {
    padding: .5rem 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.rrc-btn-primary[b-kl38v8cdhg] { background: var(--gt-teal); color: white; }
.rrc-btn-primary:hover:not(:disabled)[b-kl38v8cdhg] { background: #00c0ad; transform: translateY(-1px); }
.rrc-btn-secondary[b-kl38v8cdhg] { background: white; color: #555; border: 1px solid var(--gtc-border); }
.rrc-btn-secondary:hover:not(:disabled)[b-kl38v8cdhg] { background: #f8f9fa; }
.rrc-btn:disabled[b-kl38v8cdhg] { opacity: .5; cursor: not-allowed; }
/* /Components/Pages/GovernedTransactions/RiskRatingChange/Components/RrcDetailView.razor.rz.scp.css */
/* ── RRC Detail View — scoped layout styles ──
   Shared utility classes (buttons, alerts, pills, forms, evidence)
   are in /wwwroot/css/gtc.css alongside GTC/TM shared styles.
   Progress bar and action bar styles are in their own .razor.css files.
   ── */

/* ── Tabs — matches GTC tab pattern ── */
.rrc-tabs[b-poz3jdg4ft] {
    display: flex;
    flex-shrink: 0;
    background: var(--gtc-card);
    border-radius: var(--gt-radius) var(--gt-radius) 0 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    border-bottom: 2px solid #eee;
    position: relative;
    z-index: 2;
}

.rrc-tab[b-poz3jdg4ft] {
    flex: 1;
    padding: .85rem .6rem;
    text-align: center;
    background: white;
    border: none;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 500;
    color: #888;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    font-family: inherit;
}

.rrc-tab:hover[b-poz3jdg4ft] { background: #f8f9fa; }
.rrc-tab.active[b-poz3jdg4ft] { color: var(--gtc-teal) !important; border-bottom-color: var(--gtc-teal) !important; background: #f8fffe !important; font-weight: 600 !important; }

.rrc-tab-content[b-poz3jdg4ft] {
    background: var(--gtc-card);
    border-radius: 0 0 var(--gt-radius) var(--gt-radius);
    box-shadow: var(--gt-shadow);
    padding: 1.25rem;
    margin-bottom: .9rem;
    position: relative;
    z-index: 1;
}

/* ── Stage Content ── */
.rrc-stage-content[b-poz3jdg4ft] { }

/* ── Audit Trail — matches GTC audit trail ── */
.rrc-audit-entry[b-poz3jdg4ft] {
    display: flex;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
}

.rrc-audit-entry:last-child[b-poz3jdg4ft] { border-bottom: none; }
.rrc-audit-time[b-poz3jdg4ft] { color: var(--gtc-text-light); min-width: 110px; flex-shrink: 0; font-size: .72rem; }
.rrc-audit-action[b-poz3jdg4ft] { flex: 1; color: var(--gtc-text); }
.rrc-audit-detail[b-poz3jdg4ft] { font-size: .72rem; color: #888; font-style: italic; margin-top: .15rem; }
.rrc-audit-user[b-poz3jdg4ft] { color: var(--gtc-teal); font-weight: 600; font-size: .74rem; }
/* LW+CL:06.11.26 HD #1698 (C33): the Back button row above a stage. */
.rrc-back-row[b-poz3jdg4ft] { margin-bottom: .75rem; }
/* LW+CL:06.11.26 HD #1698 (C39): an entry about the escalation to the MLRO. */
.rrc-audit-escalation .rrc-audit-action[b-poz3jdg4ft] { color: #c0392b; font-weight: 600; }

/* ── Summary Table ── */
.rrc-summary-table[b-poz3jdg4ft] { width: 100%; border-collapse: collapse; }
.rrc-summary-table th[b-poz3jdg4ft] {
    text-align: left;
    font-size: .67rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: .5rem .9rem;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 700;
}

.rrc-summary-table td[b-poz3jdg4ft] {
    padding: .62rem .9rem;
    border-bottom: 1px solid #f5f5f5;
    font-size: .78rem;
    color: var(--gtc-text);
}

.rrc-empty[b-poz3jdg4ft] { padding: 3rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

/* ── Read-only Stage Review Panel ── */
.rrc-review-panel[b-poz3jdg4ft] {
    background: #f8fffe;
    border: 2px solid var(--gtc-teal);
    border-radius: var(--gt-radius);
    margin-bottom: .9rem;
    overflow: hidden;
    flex-shrink: 0;
}

.rrc-review-header[b-poz3jdg4ft] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    background: linear-gradient(135deg, rgba(0,217,197,.08), rgba(0,217,197,.02));
    border-bottom: 1px solid rgba(0,217,197,.2);
    font-size: .78rem;
    color: var(--gtc-text);
}

.rrc-review-body[b-poz3jdg4ft] {
    padding: 1rem;
    pointer-events: none;
    opacity: .85;
}

}

/* ── Saved Assessment Summary ── */
[b-poz3jdg4ft] .rrc-saved-summary {
    background: #f8fffe;
    border: 1px solid rgba(0,217,197,.2);
    border-radius: var(--gt-radius);
    padding: .75rem 1rem;
    margin-bottom: .75rem;
}

[b-poz3jdg4ft] .rrc-saved-row {
    display: flex;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .8rem;
}

[b-poz3jdg4ft] .rrc-saved-row:last-child { border-bottom: none; }

[b-poz3jdg4ft] .rrc-saved-label {
    min-width: 120px;
    font-size: .7rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .3px;
    flex-shrink: 0;
}

/* ── Evidence Descriptions ── */
[b-poz3jdg4ft] .rrc-evidence-desc {
    font-size: .72rem;
    color: #999;
    margin-top: .1rem;
    line-height: 1.3;
}

/* ── File Upload ── */
[b-poz3jdg4ft] .rrc-file-upload {
    border: 2px dashed #ddd;
    border-radius: var(--gt-radius);
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
}

[b-poz3jdg4ft] .rrc-file-upload:hover {
    border-color: var(--gtc-teal);
    background: #f8fffe;
}

[b-poz3jdg4ft] .rrc-file-upload-icon { font-size: 1.5rem; margin-bottom: .25rem; }
[b-poz3jdg4ft] .rrc-file-upload-text { font-size: .8rem; color: #888; }

[b-poz3jdg4ft] .rrc-file-attached {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    background: #e6f7f0;
    border: 1px solid #b2dfdb;
    border-radius: var(--gt-radius);
    font-size: .82rem;
    color: var(--gtc-text);
}

/* ── Notifications tab ── */
[b-poz3jdg4ft] .rrc-tab-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 600;
    padding: .1rem .45rem;
    border-radius: 8px;
    margin-left: .35rem;
    background: #e0e0e0;
    color: #666;
}

[b-poz3jdg4ft] .rrc-btn-sm {
    padding: .25rem .6rem;
    font-size: .75rem;
}

/* ── Form checkbox label ── */
[b-poz3jdg4ft] .rrc-form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
}
[b-poz3jdg4ft] .rrc-form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gtc-teal, #00d9c5);
    cursor: pointer;
}
/* /Components/Pages/GovernedTransactions/RiskRatingChange/RrcPage.razor.rz.scp.css */
/* ── RRC Page Layout ── */

/* Dashboard / loading / error mode */
.rrc-page-scroll[b-afewjo5lws] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* ── Fixed sticky header (nav bar + collapsible case card + progress bar) ── */
.rrc-sticky-header[b-afewjo5lws] {
    flex-shrink: 0;
}

.rrc-back-role-bar[b-afewjo5lws] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1.25rem;
    background: #f5f6f8;
}

.rrc-bar-right[b-afewjo5lws] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rrc-gov-pill[b-afewjo5lws] {
    font-size: .7rem;
    font-weight: 600;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: rgba(17, 198, 131, .15);
    color: #0b8f5d;
    border: 1px solid rgba(17, 198, 131, .4);
    white-space: nowrap;
}

.rrc-logged-in[b-afewjo5lws] {
    font-size: .8rem;
    color: #666;
    white-space: nowrap;
}

.rrc-back-link[b-afewjo5lws] {
    font-size: .78rem;
    color: #666;
    cursor: pointer;
    padding: .4rem .85rem;
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}

.rrc-back-link:hover[b-afewjo5lws] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

.rrc-collapse-btn[b-afewjo5lws] {
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s;
    font-family: inherit;
    line-height: 1;
}

.rrc-collapse-btn:hover[b-afewjo5lws] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

/* LW+CL:06.11.26 HD #1698 (C101): the header's title and subtitle beside the back link. */
.rrc-page-title[b-afewjo5lws] { margin-left: 1rem; font-size: .8rem; font-weight: 600; color: #444; }
.rrc-page-subtitle[b-afewjo5lws] { margin-left: .5rem; font-size: .75rem; color: #777; }
.rrc-page-title + .rrc-page-subtitle[b-afewjo5lws]::before { content: "│"; margin-right: .5rem; color: #bbb; }

/* LW+CL:06.11.26 HD #1698 (C74, C75): the header's Pause and "Cancel and return", styled as the collapse button is. */
.rrc-header-action[b-afewjo5lws] {
    background: #fff;
    border: 1px solid var(--gtc-border);
    border-radius: 6px;
    padding: .3rem .65rem;
    font-size: .75rem;
    cursor: pointer;
    color: #666;
    transition: all .2s;
}

.rrc-header-action:hover[b-afewjo5lws] {
    background: #e8faf8;
    color: #007b70;
    border-color: var(--gtc-teal);
}

.rrc-header-cancel:hover[b-afewjo5lws] {
    background: #fdecea;
    color: #c0392b;
    border-color: #c0392b;
}

/* ── Slim one-line summary (collapsed state) ── */
.rrc-header-slim[b-afewjo5lws] {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem 1.25rem .6rem;
    font-size: .8rem;
    flex-wrap: wrap;
}

.rrc-slim-ref[b-afewjo5lws]   { font-weight: 700; color: #1e3a5f; }
.rrc-slim-entity[b-afewjo5lws] { color: var(--gtc-text); }
.rrc-slim-stage[b-afewjo5lws]  { color: var(--gtc-teal); font-weight: 600; }
.rrc-slim-sep[b-afewjo5lws]    { color: #ccc; }

/* ── Case header card (moved from RrcDetailView — now renders in this component) ── */
.rrc-case-header[b-afewjo5lws] {
    background: var(--gtc-card);
    padding: 1.1rem;
    box-shadow: var(--gt-shadow);
    margin: 0 0 .9rem;
}

/* LW+CL:06.11.26 HD #1698 (C32): the case page's breadcrumb. */
.rrc-breadcrumb[b-afewjo5lws] { font-size: .74rem; color: #888; margin-bottom: .4rem; }
.rrc-breadcrumb a[b-afewjo5lws] { color: var(--gtc-teal); text-decoration: none; }
.rrc-breadcrumb a:hover[b-afewjo5lws] { text-decoration: underline; }
.rrc-breadcrumb-sep[b-afewjo5lws] { margin: 0 .4rem; color: #bbb; }
.rrc-breadcrumb-here[b-afewjo5lws] { color: var(--gtc-text); font-weight: 600; }

.rrc-case-header-top[b-afewjo5lws] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rrc-case-header h2[b-afewjo5lws] {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 .15rem;
}

.rrc-case-meta[b-afewjo5lws] { font-size: .76rem; color: var(--gtc-text-light); }


/* ── Pinned footer (delta over .razorpagefooter base styles) ── */
.rrc-footer-bar[b-afewjo5lws] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}

/* ── Action message (success / error) ── */
.rrc-action-message[b-afewjo5lws] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    margin: .5rem 0;
}

.rrc-msg-success[b-afewjo5lws] { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.rrc-msg-error[b-afewjo5lws]   { background: #fff2f2; color: #c0392b; border: 1px solid #fca5a5; }

.rrc-msg-dismiss[b-afewjo5lws] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: .9rem;
    color: inherit;
    opacity: .6;
    padding: 0 .25rem;
    line-height: 1;
}
.rrc-msg-dismiss:hover[b-afewjo5lws] { opacity: 1; }

.rrc-loading[b-afewjo5lws] {
    padding: 3rem;
    text-align: center;
    color: var(--gt-text-muted);
    font-size: .82rem;
}
/* /Components/Pages/GovernedTransactions/Shared/CaseCommentsPanel.razor.rz.scp.css */
/* LW+CL:06.11.26 the Comments tab of a governance case. */
.ccm[b-dftuu1lnm1] {
    display: grid;
    gap: 8px;
}

.ccm-actions[b-dftuu1lnm1] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccm-count[b-dftuu1lnm1],
.ccm-meta[b-dftuu1lnm1],
.ccm-empty[b-dftuu1lnm1] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ccm-entry[b-dftuu1lnm1] {
    border-left: 3px solid var(--bs-border-color, #dee2e6);
    padding: 4px 10px;
}

.ccm-text[b-dftuu1lnm1] {
    white-space: pre-wrap;
}

.ccm-error[b-dftuu1lnm1] {
    color: var(--bs-danger, #dc3545);
    font-weight: 600;
}
/* /Components/Pages/GovernedTransactions/Shared/ChangeAuditLink.razor.rz.scp.css */
/* LW+CL:06.11.26 the audit shortcut beside a controlled field. */
.change-audit-link[b-wxedcyqqe1] {
    margin-left: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
}
/* /Components/Pages/GovernedTransactions/Shared/EntityAmlScansPanel.razor.rz.scp.css */
.eas-summary[b-ivst96oegg] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

/* Explicit colours: the theme's subtle-grey variable is close to white on the grid, which hides the pending pill. */
.eas-pill[b-ivst96oegg] {
    display: inline-block;
    padding: 0 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.eas-pill-clear[b-ivst96oegg] {
    color: #0a3622;
    background: #cfe9da;
}

.eas-pill-pending[b-ivst96oegg] {
    color: #41464b;
    background: #e2e5e9;
}

.eas-pill-reviewed[b-ivst96oegg] {
    color: #052c65;
    background: #cfe2ff;
}

.eas-pill-review[b-ivst96oegg] {
    color: #664d03;
    background: #ffe69c;
}
/* /Components/Pages/GovernedTransactions/Shared/EvidenceDocChip.razor.rz.scp.css */
.edc-chip[b-qd5d4pqm7a] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .7rem;
    border: 1px solid #e2e6ee;
    border-radius: 8px;
    background: #f7f9fc;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.edc-chip:hover[b-qd5d4pqm7a] {
    border-color: #cfd6e4;
    box-shadow: 0 1px 4px rgba(20, 30, 60, .06);
}

.edc-chip-icon[b-qd5d4pqm7a] {
    font-size: 1.25rem;
    line-height: 1;
}

.edc-chip-info[b-qd5d4pqm7a] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.edc-chip-name[b-qd5d4pqm7a] {
    font-weight: 600;
    font-size: .85rem;
    color: #1a1d2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edc-chip-meta[b-qd5d4pqm7a] {
    font-size: .72rem;
    color: #6b7280;
}

.edc-chip-lock[b-qd5d4pqm7a] {
    color: #d97706;
}

.edc-chip-actions[b-qd5d4pqm7a] {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.edc-act[b-qd5d4pqm7a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: .95rem;
    color: #4b5563;
    transition: background .12s ease, color .12s ease;
}

.edc-act:hover[b-qd5d4pqm7a] {
    background: #e7ecf5;
    color: #1a1d2e;
}

.edc-act:disabled[b-qd5d4pqm7a] {
    opacity: .45;
    cursor: default;
}

.edc-act-danger:hover[b-qd5d4pqm7a] {
    background: #fde8e8;
    color: #c0392b;
}

.edc-empty[b-qd5d4pqm7a] {
    display: flex;
    gap: .4rem;
}

.edc-drop[b-qd5d4pqm7a] {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border: 1px dashed #b0b7c3;
    border-radius: 6px;
    font-size: .78rem;
    color: #666;
}

.edc-drop[b-qd5d4pqm7a]  .edc-drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.edc-btn[b-qd5d4pqm7a] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .7rem;
    border: 1px solid #d4dae6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: .8rem;
    color: #374151;
    transition: background .12s ease, border-color .12s ease;
}

.edc-btn:hover[b-qd5d4pqm7a] {
    background: #f1f4f9;
    border-color: #b9c2d6;
}

.edc-none[b-qd5d4pqm7a] {
    font-size: .78rem;
    color: #9ca3af;
    font-style: italic;
}

.edc-error[b-qd5d4pqm7a] {
    margin-top: .4rem;
    font-size: .75rem;
    color: #c0392b;
}

.edc-browser[b-qd5d4pqm7a] {
    margin-top: .55rem;
    border: 1px solid #e2e6ee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.edc-browser-head[b-qd5d4pqm7a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .7rem;
    background: #f3f6fb;
    border-bottom: 1px solid #e2e6ee;
    font-size: .78rem;
    font-weight: 600;
    color: #374151;
}

.edc-browser-close[b-qd5d4pqm7a] {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: #6b7280;
}

.edc-browser-msg[b-qd5d4pqm7a] {
    padding: .7rem;
    font-size: .78rem;
    color: #6b7280;
}

.edc-browser-search[b-qd5d4pqm7a] {
    width: 100%;
    box-sizing: border-box;
    padding: .45rem .7rem;
    border: none;
    border-bottom: 1px solid #eef1f6;
    font-size: .8rem;
    outline: none;
}

.edc-browser-list[b-qd5d4pqm7a] {
    max-height: 220px;
    overflow-y: auto;
}

.edc-browser-item[b-qd5d4pqm7a] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .7rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f5f9;
    font-size: .8rem;
}

.edc-browser-item:hover[b-qd5d4pqm7a] {
    background: #f3f6fb;
}

.edc-browser-item-name[b-qd5d4pqm7a] {
    flex: 1;
    color: #1a1d2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edc-browser-item-meta[b-qd5d4pqm7a] {
    font-size: .72rem;
    color: #9ca3af;
}
/* /Components/Pages/GovernedTransactions/Shared/GovernanceAuditLink.razor.rz.scp.css */
/* LW+CL:23.10.26 the link from a workflow's Audit Trail to the full audit history. */
.governance-audit-link[b-zhxyb50x8h] {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gt-teal, #00a896);
}
/* /Components/Pages/GovernedTransactions/Shared/GovernanceCaseChecklist.razor.rz.scp.css */
.gm-panel-note[b-7969cf9aee] {
    font-size: 0.85rem;
    color: #5f6b7a;
    padding: 0.25rem 0;
}
/* /Components/Pages/GovernedTransactions/Shared/GovernanceComplianceTile.razor.rz.scp.css */
/* Matches KpiTile's own .gtc-kpi-tile shape (wwwroot/css/gtc.css) so this tile — the one card
   in the Governance Manager KPI row not rendered by the shared KpiTile component — reads as
   part of the same row instead of unstyled inline text. */
.gm-kpi-tile[b-80vebcf0eg] {
    background: var(--gt-card);
    border-radius: var(--gt-radius);
    padding: .9rem 1rem;
    box-shadow: var(--gt-shadow);
    border-left: 4px solid var(--gt-teal-light);
    cursor: pointer;
    transition: all .2s;
    user-select: none;
    min-width: 160px;
}
.gm-kpi-tile:hover[b-80vebcf0eg] { box-shadow: 0 4px 14px rgba(0,0,0,.13); transform: translateY(-2px); }
.gm-kpi-title[b-80vebcf0eg] { font-size: 1rem; font-weight: 700; color: var(--gt-text); line-height: 1.2; }
.gm-kpi-subtitle[b-80vebcf0eg] { font-size: .7rem; color: var(--gt-text-muted); margin-top: .25rem; }

/* #612 — mirrors GovernanceHub's .gov-hub-card-disabled / "Coming Soon" state so an
   environment with UBO off renders an inert tile instead of a live-looking dead end. */
.gm-kpi-tile-disabled[b-80vebcf0eg] { cursor: default; opacity: .65; border-left-color: var(--gt-text-muted, #94a3b8); }
.gm-kpi-tile-disabled:hover[b-80vebcf0eg] { box-shadow: var(--gt-shadow); transform: none; }
.gm-kpi-badge-soon[b-80vebcf0eg] {
    display: inline-block;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--gt-text-muted);
    background: rgba(100,116,139,.15);
    border-radius: 4px;
    padding: .1rem .35rem;
    margin-left: .4rem;
    vertical-align: middle;
}
/* /Components/Pages/GovernedTransactions/Shared/WhoWasToldPanel.razor.rz.scp.css */
.who-was-told[b-74l141hsi3] { margin-top: .25rem; }

.empty[b-74l141hsi3] { padding: 2rem; text-align: center; color: var(--gt-text-faint); font-size: .82rem; }

.card[b-74l141hsi3] {
    border: 1px solid #e0e0e0;
    border-radius: var(--gt-radius-sm, 6px);
    margin-bottom: .75rem;
    overflow: hidden;
}

.card-header[b-74l141hsi3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem .8rem;
    background: #f8f9fa;
    font-size: .82rem;
}

.channel[b-74l141hsi3] {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    padding: .1rem .4rem;
    border-radius: 8px;
    margin-left: .4rem;
    background: #e8f9f7;
    color: var(--gtc-teal, #00d9c5);
}

.date[b-74l141hsi3] { font-size: .75rem; color: #999; }

.subject[b-74l141hsi3] {
    padding: .5rem .8rem 0;
    font-weight: 600;
    font-size: .82rem;
    color: var(--gtc-text, #2c3e50);
}

.body[b-74l141hsi3] {
    padding: .4rem .8rem .6rem;
    font-size: .8rem;
    line-height: 1.5;
    color: #666;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/Config/TransactionProfileEditor.razor.rz.scp.css */
.outgoing-grid-wrap[b-7yji8n9ct0] {
    height: 420px;
    padding: 16px;
}

.incoming-grid-wrap[b-7yji8n9ct0] {
    height: 420px;
    padding: 16px;
}

.non-cash-grid-wrap[b-7yji8n9ct0] {
    height: 420px;
    padding: 16px;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/Stages/AmlAssessment.razor.rz.scp.css */
.tm-aml-tab[b-mm9yn0tb9x] { padding: 16px; }

.tm-aml-hint[b-mm9yn0tb9x] {
    padding: 8px 12px;
    background: rgba(10,61,98,0.05);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gt-text-secondary);
    margin-bottom: 8px;
}

.tm-aml-banner[b-mm9yn0tb9x] {
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.tm-aml-banner--passed[b-mm9yn0tb9x] {
    background: rgba(26,138,58,0.08);
    border: 1px solid rgba(26,138,58,0.2);
    color: var(--gt-green);
}

.tm-aml-banner--failed[b-mm9yn0tb9x] {
    background: rgba(217,48,37,0.08);
    border: 1px solid rgba(217,48,37,0.2);
    color: var(--gt-red);
}

.tm-aml-warning[b-mm9yn0tb9x] {
    padding: 8px 12px;
    margin: 8px 16px;
    background: rgba(201,124,0,0.08);
    border: 1px solid rgba(201,124,0,0.2);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gt-amber);
}

.tm-aml-actions[b-mm9yn0tb9x] { padding: 12px 16px; }

.tm-aml-saved[b-mm9yn0tb9x] {
    font-size: 11px;
    color: var(--gt-green);
    font-weight: 600;
    margin-left: 8px;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/Stages/PerformObjectiveActions.razor.rz.scp.css */
.tm-form-saved[b-r7irohj8cf] {
    font-size: 11px;
    color: var(--gt-green);
    font-weight: 600;
    margin-left: 8px;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/Stages/PerformSubjectiveActions.razor.rz.scp.css */
.tm-form-saved[b-hcyguuran3] {
    font-size: 11px;
    color: var(--gt-green);
    font-weight: 600;
    margin-left: 8px;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/Stages/TransactionProfileCheck.razor.rz.scp.css */
.tm-form-hint[b-bltln7igzz] {
    padding: 8px 12px;
    background: rgba(10,61,98,0.05);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gt-text-secondary);
}

.tm-form-warning[b-bltln7igzz] {
    padding: 8px 12px;
    margin: 8px 0;
    background: rgba(201,124,0,0.08);
    border: 1px solid rgba(201,124,0,0.2);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gt-amber);
}

.tm-form-saved[b-bltln7igzz] {
    font-size: 11px;
    color: var(--gt-green);
    font-weight: 600;
    margin-left: 8px;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/TmCaseView.razor.rz.scp.css */
.tm-detail-stage[b-71tyisf2lp] { font-weight: 600; color: var(--gtc-text); margin-right: .4rem; }

.tm-stage-panel[b-71tyisf2lp] { min-height: 120px; }

.tm-empty[b-71tyisf2lp] { font-size: .78rem; color: var(--gtc-text-light); padding: .5rem 0; }

.tm-saved-forms[b-71tyisf2lp] { display: flex; flex-direction: column; gap: .5rem; }

.tm-form-title[b-71tyisf2lp] {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gtc-text);
    margin: .75rem 0 .25rem;
    padding-bottom: .25rem;
    border-bottom: 1px solid #eef0f3;
}

.tm-audit-notes[b-71tyisf2lp] { color: var(--gtc-text-light); margin-left: .25rem; }
.tm-audit-stage[b-71tyisf2lp] { margin-left: auto; font-size: .68rem; color: var(--gtc-text-light); white-space: nowrap; }
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/TransactionDetail.razor.rz.scp.css */
.gov-ai-trigger-btn[b-oabq04blq3] {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 4px 12px 4px 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.gov-ai-trigger-btn:hover[b-oabq04blq3] { opacity: 0.9; }

.gov-ai-head-icon[b-oabq04blq3] { width: 22px; height: 22px; object-fit: contain; }

.tm-sticky-header[b-oabq04blq3] { flex-shrink: 0; }

.tm-page-role[b-oabq04blq3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-footer-bar[b-oabq04blq3] {
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    padding: 0 1.1rem;
}
/* /Components/Pages/GovernedTransactions/TransactionMonitoring/TransactionMonitoring.razor.rz.scp.css */
.fillscreen[b-27toubiou7] {
    height: calc(100% - 120px);
}

[b-27toubiou7] .dxbl-tabs .dxbl-tabs-content-panel {
    height: 100% !important;
}

.tm-kpi-bar[b-27toubiou7] {
    margin: 8px 12px;
}

.tm-toolbar[b-27toubiou7] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 8px 12px;
}

.tm-filter[b-27toubiou7] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tm-filter label[b-27toubiou7] {
    font-size: 12px;
    font-weight: 600;
    color: var(--gt-text-secondary);
}

.tm-filter[b-27toubiou7]  .tm-filter-combo {
    width: 180px;
}

.tm-new-actions[b-27toubiou7] {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.tm-list-message[b-27toubiou7] {
    margin: 0 12px 8px;
}

.tm-grid-wrap[b-27toubiou7] {
    padding: 0 12px 12px;
}

.tm-grid-wrap[b-27toubiou7]  .tm-case-grid tr {
    cursor: pointer;
}
/* /Components/Pages/LiveWealth/LiveWealth.razor.rz.scp.css */
.livewealth-container[b-3zs7nzyse6] {
	position: relative;
	width: 100%;
	height: 100%;
	background: rgb(255,255,255);
}

.diagram-container[b-3zs7nzyse6] {
	position: relative;
	width: 100%;
	height: 100%;
}

.lw-legend[b-3zs7nzyse6] {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 0.75rem;
	color: #555;
}

.lw-legend-collapsed[b-3zs7nzyse6] {
	padding: 0;
	background: transparent;
	border: none;
}

.lw-legend-toggle[b-3zs7nzyse6] {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 0.7rem;
	color: #777;
	cursor: pointer;
	margin-bottom: 4px;
	display: block;
}

.lw-legend-toggle:hover[b-3zs7nzyse6] {
	background: #f0f0f0;
	color: #333;
}

.lw-legend-collapsed .lw-legend-toggle[b-3zs7nzyse6] {
	margin-bottom: 0;
}

.lw-legend-entry[b-3zs7nzyse6] {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 2px 0;
}

.lw-legend-line[b-3zs7nzyse6] {
	display: inline-block;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	flex-shrink: 0;
}

.lw-legend-dashed[b-3zs7nzyse6] {
	background: none !important;
	border-top: 3px dashed orangered;
	height: 0;
}

.lw-legend-badge[b-3zs7nzyse6] {
	display: inline-block;
	flex-shrink: 0;
}

.lw-empty-state[b-3zs7nzyse6] {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	text-align: center;
	color: #999;
	pointer-events: none;
}

.lw-empty-state svg[b-3zs7nzyse6] {
	margin-bottom: 12px;
	opacity: 0.4;
}

.lw-empty-state p[b-3zs7nzyse6] {
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 4px;
}

.lw-empty-state small[b-3zs7nzyse6] {
	font-size: 0.85rem;
}

/* View bar (AM+CL 01.10.26): full structure vs the structure behind a UBO position, regime, as at. Bottom-right: the
   top of the canvas is where the owners are drawn, the profile panel is top-left, the legend bottom-left and the Ask IQ
   button sits in the far bottom-right corner. */
.lw-view-bar[b-3zs7nzyse6] {
	position: absolute;
	bottom: 12px;
	right: 180px;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 8px 12px;
	max-width: min(760px, calc(100% - 560px));
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	font-size: 0.78rem;
}

.lw-view-toggle[b-3zs7nzyse6] {
	display: flex;
	gap: 4px;
}

.lw-view-field[b-3zs7nzyse6] {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 210px;
}

.lw-view-label[b-3zs7nzyse6] {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6c757d;
}

.lw-view-caption[b-3zs7nzyse6] {
	flex-basis: 100%;
	text-align: right;
	color: #6f42c1;
	font-weight: 600;
}
/* /Components/Pages/LiveWealth/LiveWealthProfile.razor.rz.scp.css */
.lw-profile-panel[b-wgfcnov24i] {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 320px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-size: 0.85rem;
    z-index: 100;
    transition: width 0.2s ease;
}

.lw-profile-panel.collapsed[b-wgfcnov24i] {
    width: auto;
    max-width: 200px;
}

.lw-profile-header[b-wgfcnov24i] {
    background-color: #00d9c5;
    color: white;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.lw-profile-header:hover[b-wgfcnov24i] {
    background-color: #0fb377;
}

.lw-profile-image[b-wgfcnov24i] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.lw-profile-name[b-wgfcnov24i] {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.lw-collapse-btn[b-wgfcnov24i] {
    font-size: 1.1rem;
    font-weight: bold;
    opacity: 0.8;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.lw-profile-body[b-wgfcnov24i] {
    padding: 10px 12px;
}

.lw-profile-actions[b-wgfcnov24i] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.lw-profile-actions button[b-wgfcnov24i] {
    background: none;
    border: none;
    padding: 0;
    color: #00d9c5;
    text-decoration: none;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
}

.lw-profile-actions button:hover[b-wgfcnov24i] {
    text-decoration: underline;
}

.lw-profile-export[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
}

.lw-export-label[b-wgfcnov24i] {
    color: #6c757d;
}

.lw-profile-export button[b-wgfcnov24i] {
    background: none;
    border: none;
    padding: 0;
    color: #00d9c5;
    text-decoration: none;
    font-size: inherit;
    cursor: pointer;
    font-family: inherit;
}

.lw-profile-export button:hover[b-wgfcnov24i] {
    text-decoration: underline;
}

.lw-export-confirm[b-wgfcnov24i] {
    color: #6c757d;
    font-size: 0.75rem;
    font-style: italic;
}

.lw-export-error[b-wgfcnov24i] {
    color: #dc3545;
}

.lw-profile-layout[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
}

.lw-profile-layout a[b-wgfcnov24i] {
    color: #00d9c5;
    text-decoration: none;
    font-weight: 500;
}

.lw-profile-layout a:hover[b-wgfcnov24i] {
    text-decoration: underline;
}

.lw-profile-details[b-wgfcnov24i] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.lw-profile-row[b-wgfcnov24i] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.lw-profile-label[b-wgfcnov24i] {
    color: #6c757d;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.lw-profile-value[b-wgfcnov24i] {
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8rem;
}

.lw-ubo-toggles[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
}

.lw-ubo-toggles-label[b-wgfcnov24i] {
    color: #6f42c1;
    font-weight: 600;
    font-size: 0.8rem;
}

.lw-ubo-toggle-item[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    color: #555;
    user-select: none;
}

.lw-ubo-toggle-item input[type="checkbox"][b-wgfcnov24i] {
    accent-color: #6f42c1;
    margin: 0;
    cursor: pointer;
}

.lw-ubo-summary[b-wgfcnov24i] {
    margin-top: 6px;
}

.lw-ubo-header[b-wgfcnov24i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.lw-ubo-meta[b-wgfcnov24i] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
}

.lw-ubo-row[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    cursor: pointer;
    font-size: 0.8rem;
}

.lw-ubo-row:hover[b-wgfcnov24i] {
    background: #f8f9fa;
    border-radius: 3px;
}

.lw-ubo-name[b-wgfcnov24i] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lw-ubo-reason[b-wgfcnov24i] {
    color: #6c757d;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.lw-ubo-pct[b-wgfcnov24i] {
    color: #6f42c1;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.lw-ubo-more[b-wgfcnov24i] {
    font-size: 0.75rem;
    color: #6c757d;
    padding: 2px 0;
}

.lw-profile-ubo-toggle[b-wgfcnov24i] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
}

.lw-profile-ubo-toggle button[b-wgfcnov24i] {
    background: none;
    border: none;
    padding: 0;
    color: #6f42c1;
    text-decoration: none;
    font-size: inherit;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}

.lw-profile-ubo-toggle button:hover[b-wgfcnov24i] {
    text-decoration: underline;
}

.lw-profile-ubo-toggle button.active[b-wgfcnov24i] {
    color: #00d9c5;
}

/* AM+CL:16.09.26 — the approved/estimated switch. Deliberately quiet: it changes what you are
   LOOKING at, never what the register says, so it should not read like an approve button. */
.lw-ubo-mode-switch[b-wgfcnov24i] {
    margin: 4px 0 2px;
    padding: 2px 8px;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    cursor: pointer;
}

.lw-ubo-mode-switch:hover[b-wgfcnov24i] {
    background: #e5e7eb;
    color: #111827;
}

/* FATCA / CRS markers in the UBO panel (AM+CL 01.10.26). */
.lw-ubo-tax[b-wgfcnov24i] {
    color: #6c757d;
    font-style: italic;
}

.lw-ubo-notin[b-wgfcnov24i] {
    margin-left: 4px;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    color: #997404;
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(153, 116, 4, 0.35);
}
/* /Components/Pages/LiveWealth/Nodes/AssetNodeComponent.razor.rz.scp.css */
.relation-box[b-p9c1gu9aai] {
    font-size: 14px;
    line-height: 1.5; /* 21px per line */
    padding: 12px;
    box-sizing: border-box;
}

.relation-group[b-p9c1gu9aai] {
    margin-bottom: 12px; /* Space between groups */
}

    .relation-group:last-child[b-p9c1gu9aai] {
        margin-bottom: 0; /* No margin on last group */
    }

.relation-type[b-p9c1gu9aai] {
    font-weight: 600; /* Bold for category */
    margin-bottom: 4px;
}

.relation-member[b-p9c1gu9aai] {
    padding-left: 16px; /* Indent members */
    margin: 2px 0;
}

    /* Optional: Add bullet or dash */
    .relation-member[b-p9c1gu9aai]::before {
        content: "• "; /* or "– " for dash */
        margin-left: -12px;
    }
/* /Components/Pages/LiveWealth/Nodes/RelationGroupNodeComponent.razor.rz.scp.css */
.relation-box[b-ube3r2tisj] {
    font-size: 14px;
    line-height: 1.5; /* 21px per line */
    padding: 12px;
    box-sizing: border-box;
}

.relation-group[b-ube3r2tisj] {
    margin-bottom: 12px; /* Space between groups */
}

    .relation-group:last-child[b-ube3r2tisj] {
        margin-bottom: 0; /* No margin on last group */
    }

.relation-type[b-ube3r2tisj] {
    font-weight: 600; /* Bold for category */
    margin-bottom: 4px;
}

.relation-member[b-ube3r2tisj] {
    padding-left: 16px; /* Indent members */
    margin: 2px 0;
}

    /* Optional: Add bullet or dash */
    .relation-member[b-ube3r2tisj]::before {
        content: "• "; /* or "– " for dash */
        margin-left: -12px;
    }
/* /Components/Pages/LiveWealth/Nodes/TrustNodeComponent.razor.rz.scp.css */
/* relation-box styling moved to global livewealth.css */
/* /Components/Pages/Pulse/Pulse.razor.rz.scp.css */
/* Pulse consolidated hub — LW+CL:07.08.26 (Phase 1 item 1.6)

   Scoped to this page. The source/priority PILL colours are deliberately NOT here: those classes
   land on a span MyDxGrid renders (via MyGridColumn.CellCssClassFunc), which CSS isolation does
   not scope to this component, so they live in wwwroot/css/site.css instead. Putting them here
   would compile fine and simply never match. */

.pulse-page[b-hbt9sgt2da] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

/* LW+CL:10.09.26 — the reverse control of PulsePanel.razor.css's own .pulse-panel-expand ("View
   all in Pulse"), styled as a quiet text link rather than a solid button: this page's header is
   already busy with KPI tiles below it, and switching your default view back to the flyout is a
   preference change, not the primary action a full-width teal button implies in the flyout's
   otherwise-empty footer. */
.pulse-switch-view[b-hbt9sgt2da] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0.3rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.pulse-switch-view:hover[b-hbt9sgt2da] {
    color: #11c683;
}

.pulse-switch-view .menu-icon-pulsepanel[b-hbt9sgt2da] {
    /* icons.css's base rule sets margin: 3px 0 0 0 !important, tuned for its old solo slot inside
       a DxMenuItem's icon container — reset here so it centres in this plain inline-flex row
       instead of sitting 3px low, same reasoning TopHeader's own (now-removed) override used. */
    margin: 0 !important;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* The truncation caveat. Amber rather than grey: "showing the first 50 per source" is a warning
   that the list is incomplete, not a decorative subtitle. */
.pulse-capped[b-hbt9sgt2da] {
    color: #b45309;
    cursor: help;
    border-bottom: 1px dotted #b45309;
}

/* The active source filter is named in the header, not just implied by a highlighted tile — a
   filter you cannot see is a filter that makes the screen look broken. */
.pulse-active-filter[b-hbt9sgt2da] {
    color: #00796b;
}

.pulse-clear-filter[b-hbt9sgt2da] {
    font-size: 0.8rem;
    color: #2447b8;
    text-decoration: underline;
    cursor: pointer;
}

.pulse-error-banner[b-hbt9sgt2da] {
    margin: 0.5rem 0;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid #dc2626;
    background: #fef2f2;
    color: #7f1d1d;
    font-size: 0.85rem;
}

/* Scope is the primary axis, so it sits above the source rail and reads as a control rather than
   as a filter chip. */
/* LW+CL:03.09.26 — .pulse-scope-bar / .pulse-scope-btn REMOVED with the 4-button scope row; scope
   is a MyComboBox in .pulse-controls now. */
.pulse-kpi-bar[b-hbt9sgt2da] {
    margin-bottom: 0.4rem;
}

.pulse-search-input[b-hbt9sgt2da] {
    min-width: 22rem;
}

.pulse-search-btn[b-hbt9sgt2da] {
    margin-left: 0.4rem;
}

/* LW+CL:26.08.26 Pulse channels -- same pill styling as PulsePanel.razor.css's
   .pulse-panel-channel-tab, which itself matches Brett's ws-regsphere-poc.html .pulse-ch-btn
   pixel-for-pixel. Deliberately NOT a KpiTile (the source rail's big numeric-tile component) --
   channels are a second, lighter-weight filter axis, not a second set of headline totals. */
.pulse-channel-bar[b-hbt9sgt2da] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.3rem 0 0.6rem;
}

.pulse-channel-bar[b-hbt9sgt2da]  .pulse-channel-tab {
    background: none;
    border: 1px solid #d0d5dd;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all .15s;
}

.pulse-channel-bar[b-hbt9sgt2da]  .pulse-channel-tab:hover {
    border-color: #11c683;
}

.pulse-channel-bar[b-hbt9sgt2da]  .pulse-channel-tab--active {
    background: rgba(17, 198, 131, 0.1);
    border-color: #11c683;
    color: #11c683;
}

.pulse-channel-bar[b-hbt9sgt2da]  .pulse-channel-tab-count {
    opacity: 0.75;
    margin-left: 0.15rem;
}

/* LW+CL:03.09.26 HEADER REBUILD — the old .pulse-filter-bar (window pills + undated toggle +
   entity picker, on its own row beneath a 4-button scope row and above a 10-tile rail and a
   channel row) is gone. Three rows now: KPI tiles, one control row, and a chip row that only
   renders when something is filtering. The window pills went with it — the KPI tiles ARE the
   window selector, so the number and its filter are one control instead of two rows. */

/* Sits directly under the KPI tiles, holding the undated disclosure while a window is active. */
.pulse-kpi-note[b-hbt9sgt2da] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0 0;
}

/* THE one control row: scope, source, entities, search, more. */
.pulse-controls[b-hbt9sgt2da] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.85rem;
    padding: 0.5rem 0 0.25rem;
}

.pulse-control[b-hbt9sgt2da] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

/* The entity picker takes the slack, so long entity names stay readable. Basis 160px, not 320px
   (LW+CL:14.10.26): the row now also carries New post and Pulse Feed, and at a 1280px window the
   last button wrapped onto a line of its own. It still grows into any spare width. */
.pulse-control--grow[b-hbt9sgt2da] {
    flex: 1 1 160px;
}

.pulse-control--search[b-hbt9sgt2da] {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 260px;
}

.pulse-control-label[b-hbt9sgt2da] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    white-space: nowrap;
}

.pulse-control-input[b-hbt9sgt2da] {
    min-width: 170px;
}

.pulse-controls[b-hbt9sgt2da]  .pulse-icon-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Active-filter chips ──────────────────────────────────────────────────────────────────────
   One removable chip per filter in force, replacing the header sentence that used to bury
   "clear channel" / "clear filter" links inside prose. Teal to match the accent used for an
   active filter state everywhere else on this page. */
.pulse-chips[b-hbt9sgt2da] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0 0.2rem;
}

/* LW+CL:07.11.26 C24: the POC's "N items in current scope + window" line, quiet like the chip row's label. */
.pulse-scope-count[b-hbt9sgt2da] {
    font-size: 0.78rem;
    color: #888;
    padding: 0.1rem 0 0.2rem;
}

.pulse-chips-label[b-hbt9sgt2da] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.pulse-chips[b-hbt9sgt2da]  .pulse-chip,
.pulse-chip[b-hbt9sgt2da] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(17, 198, 131, 0.1);
    border: 1px solid #11c683;
    border-radius: 20px;
    padding: 0.15rem 0.6rem;
    font-size: 0.73rem;
    font-weight: 600;
    color: #0e9c68;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.pulse-chip:hover[b-hbt9sgt2da] {
    background: rgba(17, 198, 131, 0.18);
}

.pulse-chip-x[b-hbt9sgt2da] {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.75;
}

/* ── "More filters" disclosure ────────────────────────────────────────────────────────────────
   Holds the channel row, which measured 261 of 303 items (86%) in one channel on DEV and so
   rarely earns a permanent row. Inset and tinted so it reads as a panel that opened, not as
   another permanent bar. */
.pulse-more-panel[b-hbt9sgt2da] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    margin: 0.35rem 0 0.2rem;
    background: #f7f8fa;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
}

/* Undated toggle — styled as an active filter state, not chrome, because it discloses that a large
   population (every alert, which has no due date by decision) is being included or excluded. */
.pulse-kpi-note[b-hbt9sgt2da]  .pulse-undated-toggle,
.pulse-undated-toggle[b-hbt9sgt2da] {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.72rem;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.pulse-undated-toggle--on[b-hbt9sgt2da] {
    background: rgba(17, 198, 131, 0.1);
    border-color: #11c683;
    color: #11c683;
    font-weight: 600;
}

.pulse-entity-tagbox[b-hbt9sgt2da] {
    min-width: 260px;
    max-width: 620px;
    flex: 1 1 auto;
}

/* ── Compose bar (04.09.26 #887 follow-up) ────────────────────────────────────────────────────
   A permanent card above the grid, not a "More filters"-style disclosure — composing is a
   primary action on this page, not an occasional narrowing. Teal accent on the send button
   matches every other primary action colour on this page (chips, active filter states,
   channel-tab highlight); the card itself stays neutral white/grey so it doesn't compete with
   the KPI row for attention. */
/* LW+CL:07.11.26 (parity C20) the monitored-channel warning under the compose bar: amber like the POC's restricted channels. */
.pulse-compose-notice[b-hbt9sgt2da] {
    margin: -0.3rem 0 0.6rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
}

.pulse-compose-bar[b-hbt9sgt2da] {
    display: flex;
    /* flex-end, not center: .pulse-compose-channel is the only item with a label stacked above its
       control (CHANNEL), so its box is taller than the bare textbox/Post button — centering the
       boxes left the dropdown sitting lower than the other two controls. LW+CL:10.09.26 */
    align-items: flex-end;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.6rem;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    flex-shrink: 0;
}

.pulse-compose-channel[b-hbt9sgt2da] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-shrink: 0;
}

.pulse-compose-channel-input[b-hbt9sgt2da] {
    min-width: 150px;
}

.pulse-compose-input[b-hbt9sgt2da] {
    flex: 1 1 auto;
    min-width: 0;
}

.pulse-compose-bar[b-hbt9sgt2da]  .pulse-compose-send {
    flex-shrink: 0;
}

/* LW+CL:03.11.26 the worklist and the item side panel (PulseItemPanel), side by side, filling the page's main area. */
.pulse-split[b-hbt9sgt2da] {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    gap: 0;
}

.pulse-split-grid[b-hbt9sgt2da] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pulse-split-panel[b-hbt9sgt2da] {
    flex: 0 0 34%;
    min-width: 340px;
    max-width: 560px;
    min-height: 0;
}

/* LW+CL:03.11.26 the "Item panel" on/off switch in the filter row (as Dispatch's "Request panel") */
[b-hbt9sgt2da] .pulse-panel-switch {
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
}

/* LW+CL:04.11.26 Card view: the worklist's Item column draws each row as Brett's Everything Due POC does (source icon;
   entity, source, priority and assignee on line one; the item on line two). Every card is the same height, two single
   lines cut with an ellipsis, because the grid's virtual scrolling expects rows of one height. */
.pulse-card[b-hbt9sgt2da] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 38px;
}

.pulse-card-icon[b-hbt9sgt2da] {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* The source's own colour comes from site.css's .pulse-source-* (global); grey only for a source with no colour. */
.pulse-card-icon:not([class*="pulse-source-"])[b-hbt9sgt2da] {
    background: #f2f4f7;
    color: #475467;
}

.pulse-card-body[b-hbt9sgt2da] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pulse-card-top[b-hbt9sgt2da] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 18px;
    overflow: hidden;
    white-space: nowrap;
}

.pulse-card-entity[b-hbt9sgt2da] {
    font-weight: 700;
    font-size: 13px;
    color: #1f2a37;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pulse-card-source[b-hbt9sgt2da],
.pulse-card-tag[b-hbt9sgt2da] {
    flex: 0 0 auto;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 14px;
}

.pulse-card-assignee[b-hbt9sgt2da] {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #475467;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    padding: 0 8px;
    border-radius: 10px;
    line-height: 16px;
}

/* LW+CL:04.11.26 the jurisdiction code in a boxed chip beside the entity name, as the POC's .due-item-juris */
.pulse-card-juris[b-hbt9sgt2da] {
    flex: 0 0 auto;
    font-size: 10.5px;
    color: #667085;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    padding: 0 6px;
    border-radius: 4px;
    line-height: 16px;
}

/* LW+CL:04.11.26 a role (a group of people) with the people icon, as the POC's .due-item-assignee.is-group */
.pulse-card-assignee.is-role[b-hbt9sgt2da] {
    color: #00796b;
    border-color: #00796b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pulse-card-assignee-icon[b-hbt9sgt2da] {
    font-size: 12px;
}

.pulse-card-assignee.is-unassigned[b-hbt9sgt2da] {
    color: #98a2b3;
    font-style: italic;
    font-weight: 400;
    background: none;
    border-style: dashed;
}

.pulse-card-title[b-hbt9sgt2da] {
    font-size: 13px;
    color: #475467;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* LW+CL:04.11.26 the card's right-hand side: the due pill with the status under it, as the POC's due pill and link stack.
   Fixed sizes so the card keeps one height (virtual scrolling). The pill's colour comes from site.css's .pulse-due-*. */
.pulse-card-right[b-hbt9sgt2da] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    min-width: 96px;
}

.pulse-card-due[b-hbt9sgt2da] {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    height: 20px;
    padding: 1px 9px;
    border-radius: 6px;
    white-space: nowrap;
    color: #475467;
}

/* LW+CL:07.11.26 an undated item's card says "No due date" quietly: no pill colour, lighter weight than a real due date. */
.pulse-card-due.pulse-due-none[b-hbt9sgt2da] {
    font-weight: 500;
    color: #98a2b3;
}

.pulse-card-status[b-hbt9sgt2da] {
    font-size: 11px;
    color: #667085;
    line-height: 14px;
    white-space: nowrap;
    /* a long RegSphere reference (REG-18-20261005141710) is cut with "..." rather than widening the card's right side */
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* LW+CL:04.11.26 the selected row, lighter in card view: a pale tint instead of the theme's blue-grey row fill plus
   MyDxGrid's 12% teal cell fill. MyDxGrid's 3px teal bar on the left is kept, so the row the toolbar (Assign to Me,
   Complete, Edit) and the item panel act on is still plain to see. Pulse only; every other grid keeps the house style.
   Selector is one element longer than MyDxGrid's so it wins at equal !important. */
.pulse-split .pulse-split-grid[b-hbt9sgt2da]  .dxbl-grid tbody tr.dxbl-grid-focused-row,
.pulse-split .pulse-split-grid[b-hbt9sgt2da]  .dxbl-grid tbody tr.dxbl-grid-focused-row > td {
    background: rgba(59, 176, 160, 0.05) !important;
    background-color: rgba(59, 176, 160, 0.05) !important;
}
/* /Components/Pages/Pulse/PulseGroupPreview.razor.rz.scp.css */
.preview-summary[b-3dbz3d857o] {
    padding: 0 0 0.5rem;
    color: var(--bs-secondary-color, #6c757d);
}

.preview-grid-wrap[b-3dbz3d857o] {
    height: 55vh;
    min-height: 260px;
}
/* /Components/Pages/Pulse/PulseItemPanel.razor.rz.scp.css */
/* LW+CL:03.11.26 the Pulse item side panel. Same look as Dispatch's request panel (Dispatch.razor.css .dsp-panel*).
   Pill colours (pulse-source-*, pulse-due-*) are global in site.css; the pill SHAPE (.grid-badge) is scoped to MyDxGrid, so it is
   repeated here as .pip-pill for pills outside the grid. */

.pulse-item-panel[b-mjmdatu0tp] {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e8f0;
    background: #fff;
}

.pip-head[b-mjmdatu0tp] {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pip-head-top[b-mjmdatu0tp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pip-head-top[b-mjmdatu0tp]  .pip-close {
        margin-left: auto;
    }

.pip-title[b-mjmdatu0tp] {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.35;
}

.pip-actions[b-mjmdatu0tp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pip-body[b-mjmdatu0tp] {
    flex: 1;
    overflow: auto;
    padding: 12px 14px;
}

.pip-pill[b-mjmdatu0tp] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    /* No colour here: the global pulse-source-* / pulse-due-* classes colour the pill, and a scoped rule would outrank them
       (browser-checked 03.11.26: both pills came out grey). */
}

.pip-fields[b-mjmdatu0tp] {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 6px 12px;
    margin: 0 0 12px;
    font-size: 13px;
}

    .pip-fields dt[b-mjmdatu0tp] {
        color: #64748b;
        font-weight: 600;
    }

    .pip-fields dd[b-mjmdatu0tp] {
        margin: 0;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

.pip-muted[b-mjmdatu0tp] {
    color: #94a3b8;
}

.pip-section-label[b-mjmdatu0tp] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    margin: 12px 0 4px;
}

.pip-notes[b-mjmdatu0tp] {
    font-size: 13px;
    color: #1e293b;
    white-space: pre-wrap;
    line-height: 1.45;
}

.pip-facets[b-mjmdatu0tp] {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
}

.pip-summary[b-mjmdatu0tp] {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
}

.pip-members[b-mjmdatu0tp] {
    display: flex;
    flex-direction: column;
}

.pip-member[b-mjmdatu0tp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 6px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

    .pip-member:hover[b-mjmdatu0tp] {
        background: #f8fafc;
    }

.pip-member-main[b-mjmdatu0tp] {
    min-width: 0;
}

.pip-member-entity[b-mjmdatu0tp] {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.pip-member-title[b-mjmdatu0tp] {
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/RegSphere/AgentBriefingPage.razor.rz.scp.css */
/* Page-specific layout — agent card styles live in the global regsphere.css
   (loaded from App.razor) so they reach DevExpress cell templates if ever needed. */

.rs-page-header[b-qn4s1rlhc6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px 12px;
    background: #fff;
    border-bottom: 1px solid var(--rs-border);
}

.rs-ab-stamp[b-qn4s1rlhc6] {
    font-size: 11px;
    color: var(--rs-text-light);
    margin-top: 2px;
}

.rs-ab-subtext[b-qn4s1rlhc6] {
    font-size: 10px;
    color: var(--rs-text-light);
    font-style: italic;
    max-width: 380px;
    text-align: right;
    line-height: 1.5;
}

.rs-ab-list[b-qn4s1rlhc6] {
    padding: 16px 20px 24px;
}

.rs-ab-empty[b-qn4s1rlhc6] {
    padding: 40px 0;
    text-align: center;
    color: var(--rs-text-light);
    font-size: 13px;
}

/* Pending regulatory changes strip (LW+CL:11.08.26) */
.rs-ab-regchanges[b-qn4s1rlhc6] {
    margin: 12px 20px 0;
    border: 1px solid var(--rs-border);
    border-radius: 6px;
    background: #fff;
}

.rs-ab-regchanges__empty[b-qn4s1rlhc6] {
    padding: 14px;
    text-align: center;
    color: var(--rs-text-light);
    font-size: 12px;
}

.rs-ab-regchanges__header[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--rs-border);
}

.rs-ab-regchanges__header a[b-qn4s1rlhc6] {
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.rs-ab-regchanges__list[b-qn4s1rlhc6] {
    display: flex;
    flex-direction: column;
}

.rs-ab-regchange-row[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    font-size: 12px;
    border-top: 1px solid var(--rs-border);
}

.rs-ab-regchange-row:first-child[b-qn4s1rlhc6] { border-top: none; }

.rs-ab-regchange-severity[b-qn4s1rlhc6] {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.rs-ab-regchange-severity--high[b-qn4s1rlhc6]     { color: #842029; }
.rs-ab-regchange-severity--medium[b-qn4s1rlhc6]   { color: #664d03; }
.rs-ab-regchange-severity--low[b-qn4s1rlhc6]      { color: #0c5460; }
.rs-ab-regchange-severity--unclassified[b-qn4s1rlhc6],
.rs-ab-regchange-severity--unknown[b-qn4s1rlhc6]  { color: #6c757d; }

.rs-ab-regchange-title[b-qn4s1rlhc6] {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-ab-regchange-juris[b-qn4s1rlhc6] {
    flex: 0 0 auto;
    color: var(--rs-text-light);
    font-size: 11px;
}

/* Scope entity picker */
.rs-ab-scope[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 20px 0;
}

.rs-ab-scope-label[b-qn4s1rlhc6] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rs-text-light);
}

.rs-ab-scope-picker[b-qn4s1rlhc6] {
    position: relative;
    flex: 0 1 360px;
}

.rs-ab-scope-input[b-qn4s1rlhc6] {
    width: 100%;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid var(--rs-border);
    border-radius: 6px;
}

.rs-ab-scope-results[b-qn4s1rlhc6] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--rs-border);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.rs-ab-scope-result[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
}

.rs-ab-scope-result:hover[b-qn4s1rlhc6] {
    background: #f3f4f6;
}

.rs-ab-scope-code[b-qn4s1rlhc6] {
    color: var(--rs-text-light);
    font-size: 11px;
}

.rs-ab-scope-active[b-qn4s1rlhc6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--rs-text-light);
}

.rs-ab-scope-clear[b-qn4s1rlhc6] {
    border: 1px solid var(--rs-border);
    background: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
}

.rs-ab-scope-clear:hover[b-qn4s1rlhc6] {
    background: #f3f4f6;
}

.rs-ab-regime-filter[b-qn4s1rlhc6] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid var(--rs-border);
}

.rs-ab-regime-chip[b-qn4s1rlhc6] {
    padding: 3px 12px;
    border-radius: 12px;
    border: 1px solid var(--rs-border);
    background: transparent;
    color: var(--rs-text-mid);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
}

.rs-ab-regime-chip:hover[b-qn4s1rlhc6] {
    border-color: var(--rs-teal);
    color: var(--rs-navy);
}

.rs-ab-regime-chip--active[b-qn4s1rlhc6] {
    background: var(--rs-teal);
    border-color: var(--rs-teal);
    color: #fff;
}

/* ── Modal overlay + dialog ─────────────────────────────────────────── */

.rs-ab-modal-overlay[b-qn4s1rlhc6] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-ab-modal[b-qn4s1rlhc6] {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    width: 480px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rs-ab-modal__header[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--rs-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--rs-navy);
}

.rs-ab-modal__close[b-qn4s1rlhc6] {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--rs-text-light);
    padding: 0 4px;
}

.rs-ab-modal__close:hover[b-qn4s1rlhc6] { color: var(--rs-navy); }

.rs-ab-modal__body[b-qn4s1rlhc6] {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-ab-modal__label[b-qn4s1rlhc6] {
    font-size: 11px;
    font-weight: 600;
    color: var(--rs-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 6px;
}

.rs-ab-modal__label:first-child[b-qn4s1rlhc6] { margin-top: 0; }

.rs-ab-modal__input[b-qn4s1rlhc6] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--rs-border);
    border-radius: 5px;
    font-size: 13px;
    color: var(--rs-navy);
    box-sizing: border-box;
    font-family: inherit;
}

.rs-ab-modal__input:focus[b-qn4s1rlhc6] {
    outline: none;
    border-color: var(--rs-teal);
    box-shadow: 0 0 0 2px rgba(17, 198, 131, 0.15);
}

.rs-ab-modal__textarea[b-qn4s1rlhc6] {
    resize: vertical;
    min-height: 72px;
    line-height: 1.5;
}

.rs-ab-modal__textarea--tall[b-qn4s1rlhc6] { min-height: 130px; }

.rs-ab-modal__hint[b-qn4s1rlhc6] {
    font-size: 11px;
    color: var(--rs-text-light);
    line-height: 1.5;
    margin-top: 4px;
}

.rs-ab-modal__error[b-qn4s1rlhc6] {
    font-size: 12px;
    color: #c0392b;
    padding: 6px 10px;
    background: #fdf0ee;
    border-radius: 4px;
    border: 1px solid #f5c6c2;
}

.rs-ab-modal__success[b-qn4s1rlhc6] {
    font-size: 12px;
    color: #1a7a4a;
    padding: 6px 10px;
    background: #edfaf3;
    border-radius: 4px;
    border: 1px solid #b8ebd4;
}

.rs-ab-modal__footer[b-qn4s1rlhc6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid var(--rs-border);
}

/* mailto: anchor styled to match DxButton Secondary */
.rs-ab-mailto-btn[b-qn4s1rlhc6] {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 5px;
    border: 1px solid var(--rs-teal);
    background: var(--rs-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.1s, border-color 0.1s;
}

.rs-ab-mailto-btn:hover[b-qn4s1rlhc6] {
    background: #0da870;
    border-color: #0da870;
    color: #fff;
}
/* /Components/Pages/RegSphere/CaseDetail.razor.rz.scp.css */
/* CaseDetail.razor scoped styles. ::deep pierces into DevExpress tab internals
   since those elements don't carry this component's scope attribute. */

.regsphere-detail[b-na2lwsun1b] { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 0; }

.rs-page-header[b-na2lwsun1b] {
    display: flex; align-items: center; gap: 1rem;
    padding: 10px 20px;
    border-bottom: 1px solid #e4e8ed;
    background: #fff;
}
.rs-title[b-na2lwsun1b] { margin: 0; font-size: 1.1rem; font-weight: 600; color: #0a3d62; }
.rs-title-error[b-na2lwsun1b] { color: #991b1b; }
/* Status and regime pills live in wwwroot/css/regsphere.css — they're used outside
   this component (grid cells, header) so they can't be scoped here. */

/* Flex chain so grids inside tabs fill the viewport.
   rs-tabs-wrap is a CaseDetail-owned div (gets the scope attribute). MyDxTabs's
   root (dxbl-tabs.rs-tabs) doesn't carry our scope since it's rendered by the
   MyDxTabs component, so we anchor ::deep selectors on the wrapper instead. */
.rs-tabs-wrap[b-na2lwsun1b] { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rs-tabs-wrap[b-na2lwsun1b]  .rs-tabs { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rs-tabs-wrap[b-na2lwsun1b]  dxbl-tab-list { flex: none; }
.rs-tabs-wrap[b-na2lwsun1b]  .dxbl-tabs-content-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rs-tabs-wrap[b-na2lwsun1b]  .dxbl-tabs-content.dxbl-active { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.rs-tab-body[b-na2lwsun1b] {
    flex: 1; min-height: 0;
    padding: 1rem;
    display: flex; flex-direction: column;
    gap: 0.75rem;
    overflow: auto;
}
.rs-tab-toolbar[b-na2lwsun1b] { flex: none; display: flex; gap: 0.5rem; }
.rs-tab-toolbar--between[b-na2lwsun1b] { justify-content: space-between; align-items: center; }

/* Reportable-account editor (Phase 2) */
.rs-acct-flags[b-na2lwsun1b] { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.rs-acct-payments[b-na2lwsun1b] { margin-top: 1rem; border-top: 1px solid var(--rs-border, #e0e0e0); padding-top: 0.75rem; }
.rs-acct-payments__title[b-na2lwsun1b] { margin: 0; font-size: 0.95rem; font-weight: 600; }
.rs-acct-payments-hint[b-na2lwsun1b] { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--rs-border, #e0e0e0); color: #777; font-style: italic; }

.rs-overview-grid[b-na2lwsun1b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.6rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
    flex: none;
}
.rs-overview-grid label[b-na2lwsun1b] {
    display: inline-block; min-width: 95px;
    font-weight: 600; color: #4b5563; font-size: 12px;
}
.rs-audit-row[b-na2lwsun1b] { grid-column: 1 / -1; font-size: 11px; color: #6b7280; }

.rs-section[b-na2lwsun1b] { padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; flex: none; }
.rs-section h4[b-na2lwsun1b] { margin-top: 0; font-size: 0.95rem; color: #0a3d62; }
.rs-status-buttons[b-na2lwsun1b] { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.rs-transition-comment[b-na2lwsun1b] { margin-bottom: 0.5rem; }
.rs-notes[b-na2lwsun1b] { margin: 0; color: #374151; white-space: pre-wrap; }

.rs-message[b-na2lwsun1b] { font-size: 12px; padding: 4px 10px; border-radius: 12px; font-weight: 500; margin-left: 0.5rem; }
.rs-msg-success[b-na2lwsun1b] { background: #d1fae5; color: #065f46; }
.rs-msg-error[b-na2lwsun1b]   { background: #fee2e2; color: #991b1b; }

.rs-flag-row[b-na2lwsun1b] { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.rs-dialog-error[b-na2lwsun1b] { background: #fee2e2; color: #991b1b; padding: 8px 12px; border-radius: 4px; font-size: 13px; }

/* Page-level load failure banner — rendered at the top of the page when an
   exception bubbled out of OnLoadData / LoadAllAsync. Keeps the UI legible
   instead of going blank. */
.rs-page-error[b-na2lwsun1b] {
    background: #fee2e2; color: #991b1b;
    padding: 10px 16px; margin: 8px 20px;
    border-radius: 4px; font-size: 13px;
    border-left: 4px solid #b91c1c;
}

.rs-es-form[b-na2lwsun1b] { padding-top: 0.25rem; }
.rs-es-declaration[b-na2lwsun1b] {
    margin-top: 0.75rem; padding-top: 0.5rem;
    border-top: 1px dashed #e5e7eb;
    display: flex; flex-direction: column; gap: 6px;
}
.rs-es-decl-hint[b-na2lwsun1b] { font-size: 12px; color: #9a3412; }
.rs-es-save-row[b-na2lwsun1b] { display: flex; gap: 0.75rem; align-items: center; flex: none; }
/* LW+CL:10.11.26 C88: amber while there are unsaved edits, the Save button pulses (POC .form-action-bar.dirty, pulse-save) */
.rs-es-save-row.rs-es-dirty[b-na2lwsun1b] { border: 1px solid var(--rs-amber); background: #fffbeb; border-radius: 8px; padding: 10px 16px; }
.rs-es-save-row.rs-es-dirty[b-na2lwsun1b]  .dxbl-btn-primary { animation: rs-es-pulse-save-b-na2lwsun1b 1.5s ease-in-out infinite; }
@keyframes rs-es-pulse-save-b-na2lwsun1b { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 12px rgba(0, 168, 150, 0.5); } }
@media (prefers-reduced-motion: reduce) { .rs-es-save-row.rs-es-dirty[b-na2lwsun1b]  .dxbl-btn-primary { animation: none; } }

/* LW+CL:10.11.26 C35 C42 C47 C17: ES case hints, jurisdiction box, activity totals, change-reviewer row */
.rs-es-hint[b-na2lwsun1b] { margin-top: 4px; font-size: 12px; color: #6b7280; line-height: 1.4; }
.rs-es-jurisdiction-info[b-na2lwsun1b] {
    margin-top: 1rem; padding: 10px 14px; font-size: 13px; line-height: 1.6;
    background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 6px;
}
.rs-es-test--required[b-na2lwsun1b] { color: #b91c1c; }
.rs-es-test--reduced[b-na2lwsun1b]  { color: #b45309; }
.rs-es-test--none[b-na2lwsun1b]     { color: #15803d; }
.rs-es-test--unknown[b-na2lwsun1b]  { color: #6b7280; }
.rs-es-totals[b-na2lwsun1b] {
    display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 0.75rem; padding: 10px 14px;
    font-size: 13px; background: #f0fdfa; border-radius: 6px;
}
.rs-reviewer-row[b-na2lwsun1b] { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; max-width: 640px; }
.rs-reviewer-row[b-na2lwsun1b]  .dxbl-combobox, .rs-reviewer-row > :first-child[b-na2lwsun1b] { min-width: 240px; }

/* FISC Transmission tab — Submit row + Fiscal Receipt panel.
   Visual language matches the build-52 POC's per-row Fiscal Receipt panel. */
.rs-fisc-submit-row[b-na2lwsun1b] {
    display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
    margin: 0.75rem 0 1rem 0;
}

/* Next-reference hint. Monospace on the reference itself so a padding mismatch
   (INV0012 vs INV0000000012) is visible at a glance — MRA matches the reference
   as an exact string. #274 */
.rs-fisc-ref-hint[b-na2lwsun1b] {
    margin: -0.5rem 0 1rem 0;
}

.rs-fisc-ref-hint strong[b-na2lwsun1b] {
    font-family: Consolas, "Courier New", monospace;
    color: #0f172a;
}

.rs-fisc-receipt[b-na2lwsun1b] {
    margin-top: 0.75rem; padding: 14px 16px;
    border: 1px solid #c7e9d5;
    background: #f4fbf7;
    border-radius: 6px;
    border-left: 4px solid #11C683;     /* WS green — same accent the POC uses */
}
.rs-fisc-receipt__header[b-na2lwsun1b] {
    font-weight: 700; color: #0a3d62;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 6px;
}
.rs-fisc-receipt__hint[b-na2lwsun1b] { font-weight: 500; color: #6b7280; font-size: 11px; }
.rs-fisc-receipt__body[b-na2lwsun1b] { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.rs-fisc-receipt__qr[b-na2lwsun1b] {
    width: 100px; height: 100px;
    background: #fff;
    border: 1px solid #d1d5db; border-radius: 4px;
    padding: 4px;
    flex: none;
}
.rs-fisc-receipt__details[b-na2lwsun1b] { flex: 1 1 auto; min-width: 240px; font-size: 13px; line-height: 1.6; }
.rs-fisc-receipt__label[b-na2lwsun1b]   { color: #6b7280; min-width: 60px; display: inline-block; }
.rs-fisc-receipt__footnote[b-na2lwsun1b] { margin-top: 6px; font-size: 12px; color: #9a3412; font-style: italic; }

/* Print Receipt — solid navy so it reads as an action on the pale green panel.
   The previous btn-outline-secondary was grey-on-near-white and a tester didn't
   see it at all. Navy (not the green accent) keeps it clearly distinct from the
   Confirm Receipt success button beside it. #274 */
.rs-fisc-receipt__print[b-na2lwsun1b] {
    background: #0a3d62;
    border: 1px solid #0a3d62;
    color: #fff;
    font-weight: 600;
}
.rs-fisc-receipt__print:hover[b-na2lwsun1b],
.rs-fisc-receipt__print:focus[b-na2lwsun1b] {
    background: #0d4d7a;
    border-color: #0d4d7a;
    color: #fff;
}
.rs-fisc-receipt__print:focus-visible[b-na2lwsun1b] {
    outline: 2px solid #11C683;
    outline-offset: 2px;
}

/* Filing Output tab — on-screen report + download action.
   LW+CL:11.08.26 — redesigned to match the POC's card-header + status-badge language
   (docs/prototypes/poc-demos/ws-regsphere-poc.html's Filing Output card): a readiness strip up top,
   DxFormLayoutGroup-sectioned detail below (was flat label/value divs), MyDxGrid for activities
   (was a raw <table>) — .rs-filing-meta/-label/-table/-num are gone, nothing else on this page used them. */
.rs-filing-report[b-na2lwsun1b] { display: flex; flex-direction: column; gap: 1rem; max-width: 1100px; }

.rs-filing-status-bar[b-na2lwsun1b] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}
.rs-filing-status-pill[b-na2lwsun1b] {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.rs-filing-status-pill--ready[b-na2lwsun1b] { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.rs-filing-status-pill--draft[b-na2lwsun1b] { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.rs-filing-status-note[b-na2lwsun1b] { font-size: 12px; color: #4b5563; }

.rs-filing-formlayout[b-na2lwsun1b] { max-width: none; }

.rs-filing-section[b-na2lwsun1b] {
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}
.rs-filing-section h4[b-na2lwsun1b] { margin: 0 0 0.5rem 0; font-size: 0.9rem; color: #0a3d62; }

.rs-filing-actions[b-na2lwsun1b] { display: flex; gap: 0.5rem; flex: none; }

/* Transmission tab — Echelon push */
.rs-ech-banner[b-na2lwsun1b] {
    padding: 0.6rem 0.9rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 13px;
    color: #1e40af;
    margin-bottom: 1rem;
}

.rs-ech-status-panel[b-na2lwsun1b] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    max-width: 600px;
    margin-bottom: 1rem;
}

.rs-ech-status-row[b-na2lwsun1b] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 13px;
}

.rs-ech-label[b-na2lwsun1b] {
    display: inline-block;
    min-width: 100px;
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}

.rs-ech-email[b-na2lwsun1b] { color: #6b7280; font-size: 12px; }

.rs-ech-no-push[b-na2lwsun1b] {
    color: #6b7280;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 1rem;
}

.rs-ech-msg[b-na2lwsun1b] { margin-bottom: 0.75rem; }

.rs-ech-actions[b-na2lwsun1b] { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Echelon submission summary panel — shown when questionnaire status = COMPLETED */
.rs-ech-submission-panel[b-na2lwsun1b] {
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.rs-ech-submission-header[b-na2lwsun1b] {
    font-weight: 700;
    color: #0a3d62;
    font-size: 13px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.rs-ech-submission-date[b-na2lwsun1b] {
    font-weight: 400;
    color: #6b7280;
    font-size: 12px;
}
.rs-ech-submission-grid[b-na2lwsun1b] {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0.25rem 0.75rem;
    font-size: 13px;
    align-items: baseline;
}

/* Echelon push modal info banner */
.rs-ech-info-banner[b-na2lwsun1b] {
    padding: 0.5rem 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

/* LW+CL:10.11.26 C20 and C43: the Filing tab */
.rs-filing-state[b-na2lwsun1b] { margin-left: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--bs-secondary-color, #6c757d); }
.rs-checklist[b-na2lwsun1b] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.rs-checklist li[b-na2lwsun1b] { display: flex; gap: 0.6rem; align-items: baseline; }
.rs-checklist-tick[b-na2lwsun1b] { width: 1.2rem; font-weight: 700; text-align: center; }
.rs-checklist-ok .rs-checklist-tick[b-na2lwsun1b] { color: #11a36a; }
.rs-checklist-open .rs-checklist-tick[b-na2lwsun1b] { color: #c0392b; }
.rs-checklist-caption[b-na2lwsun1b] { font-weight: 600; }
.rs-checklist-detail[b-na2lwsun1b] { color: var(--bs-secondary-color, #6c757d); }

/* LW+CL:10.11.26 C70: required evidence with nothing attached, as the POC's red Missing rows with an Upload button. */
.rs-evidence-missing[b-na2lwsun1b] { margin-bottom: 0.75rem; border: 1px solid #fecaca; border-radius: 6px; overflow: hidden; }
.rs-evidence-missing__row[b-na2lwsun1b] {
    display: flex; gap: 0.75rem; align-items: center; padding: 8px 14px;
    background: #fef2f2; border-bottom: 1px solid #fecaca; font-size: 13px;
}
.rs-evidence-missing__row:last-child[b-na2lwsun1b] { border-bottom: none; }
.rs-evidence-missing__name[b-na2lwsun1b] { flex: 1; font-weight: 600; }

/* LW+CL:10.11.26 C71: what the Send to echelon dialog is about to send (POC overlay-echelon-push: label column then value). */
.rs-ech-summary[b-na2lwsun1b] {
    display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; margin-bottom: 14px; padding: 12px;
    font-size: 12px; background: #f0fdfa; border-radius: 6px;
}
/* /Components/Pages/RegSphere/FiscReceiptPrint.razor.rz.scp.css */
/* FiscReceiptPrint — standalone fiscal-receipt page. The card sized to A5-ish
   so it prints centred on A4 with comfortable margins. */

.rs-frp__toolbar[b-zeh16oktoq] {
    margin: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.rs-frp__hint[b-zeh16oktoq] {
    margin: 24px;
    color: #6b7280;
    font-style: italic;
}

.rs-frp__sheet[b-zeh16oktoq] {
    max-width: 520px;
    margin: 0 auto 32px;
    padding: 28px 32px;
    background: #fff;
    border: 2px solid #1e3a8a;
    border-radius: 6px;
    color: #1f2937;
    font-family: -apple-system, "Segoe UI", sans-serif;
}

.rs-frp__header[b-zeh16oktoq] {
    margin-bottom: 22px;
}

.rs-frp__header h1[b-zeh16oktoq] {
    margin: 0 0 4px;
    font-size: 20px;
    color: #1e3a8a;
    letter-spacing: 0.5px;
}

.rs-frp__sub[b-zeh16oktoq] {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rs-frp__meta[b-zeh16oktoq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 6px;
    margin: 0 0 22px;
    font-size: 13px;
}

.rs-frp__meta dt[b-zeh16oktoq] {
    color: #6b7280;
    font-weight: normal;
}

.rs-frp__meta dd[b-zeh16oktoq] {
    margin: 0;
    text-align: right;
}

.rs-frp__qr-block[b-zeh16oktoq] {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.rs-frp__qr[b-zeh16oktoq] {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
}

.rs-frp__refs[b-zeh16oktoq] {
    flex: 1;
    font-size: 12px;
    line-height: 1.7;
}

.rs-frp__refs code[b-zeh16oktoq] {
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 11px;
    background: #f3f4f6;
    padding: 1px 5px;
    border-radius: 3px;
    word-break: break-all;  /* IRNs are UUID-suffixed and won't break on hyphens alone */
}

.rs-frp__label[b-zeh16oktoq] {
    color: #6b7280;
    margin-right: 4px;
}

.rs-frp__verify[b-zeh16oktoq] {
    margin-top: 6px;
    word-break: break-all;
}

.rs-frp__confirmed[b-zeh16oktoq] {
    margin-top: 14px;
    padding: 8px 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 4px;
    color: #047857;
    font-size: 12px;
    font-weight: 600;
}

.rs-frp__footer[b-zeh16oktoq] {
    margin-top: 16px;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
}

/* Print-only — hide toolbar, lose body padding so the sheet fills the page. */
@media print {
    .rs-frp__toolbar[b-zeh16oktoq] {
        display: none;
    }
    .rs-frp__sheet[b-zeh16oktoq] {
        border: 1px solid #000;
        margin: 0;
        max-width: none;
    }
}
/* /Components/Pages/RegSphere/InvoiceDetailDrawer.razor.rz.scp.css */
/* InvoiceDetailDrawer scoped styles. Three-section layout (Lines /
   Transmission Details / Fiscal Receipt) mirroring POC build 52's
   .fq-drill-card markup. The Fiscal Receipt block reuses the WS green
   (#11C683) accent introduced in CaseDetail's per-case Receipt panel
   so operators get a consistent visual signal across both surfaces. */

/* Drawer joins the popup flex chain (.razorpage.in-popup is flex column with
   overflow:hidden). The grid wrapper is the only flex:1 child — header,
   transmission details, and receipt panel keep their natural height, so they
   stay glued to top/bottom. The grid absorbs the slack and shrinks/grows on
   viewport resize. overflow-y:auto is a safety net for very small viewports
   where the trim's min-content already exceeds the popup body — the drawer
   scrolls instead of clipping the receipt. */
.rs-iqd[b-we2znmb8qx] {
    padding: 4px 0;
    font-size: 13px;
    color: #1a1a2e;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.rs-iqd__hint[b-we2znmb8qx] { font-size: 12px; color: #6b7280; font-style: italic; }

.rs-iqd__header[b-we2znmb8qx]   { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e4e8ed; }
.rs-iqd__title[b-we2znmb8qx]    { font-size: 14px; color: #0a3d62; }
.rs-iqd__subtitle[b-we2znmb8qx] { font-size: 12px; color: #6b7280; margin-top: 2px; }

.rs-iqd__section-heading[b-we2znmb8qx] {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
    color: #6b7280; margin: 14px 0 6px 0; font-weight: 600;
}

/* Lines grid is the only flex:1 child of .rs-iqd. It absorbs whatever space
   the header + transmission + receipt panels leave, and shrinks/grows on
   viewport resize — same behaviour as every other WS list page where the
   grid fills space and trim sticks above/below. min-height:0 lets it shrink
   below content height; display:flex propagates the flex chain to MyDxGrid's
   .grid-flex-root child so the grid can fill the wrapper. */
.rs-iqd__lines-grid[b-we2znmb8qx] {
    flex: 1;
    min-height: 120px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.rs-iqd__tx[b-we2znmb8qx] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.rs-iqd__tx dt[b-we2znmb8qx] { font-weight: 500; color: #6b7280; }
.rs-iqd__tx dd[b-we2znmb8qx] { margin: 0; color: #1a1a2e; }
.rs-iqd__error[b-we2znmb8qx] { color: #991b1b; }

.rs-iqd__receipt[b-we2znmb8qx] {
    margin-top: 14px; padding: 12px 14px;
    border: 1px solid #c7e9d5;
    background: #f4fbf7;
    border-radius: 6px;
    border-left: 4px solid #11C683;
}
.rs-iqd__receipt-header[b-we2znmb8qx]  { font-weight: 700; color: #0a3d62; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.rs-iqd__receipt-hint[b-we2znmb8qx]    { font-weight: 500; color: #6b7280; font-size: 11px; }
.rs-iqd__receipt-body[b-we2znmb8qx]    { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.rs-iqd__qr[b-we2znmb8qx]              {
    width: 100px; height: 100px;
    background: #fff;
    border: 1px solid #d1d5db; border-radius: 4px;
    padding: 4px; flex: none;
}
.rs-iqd__receipt-details[b-we2znmb8qx] { flex: 1 1 auto; min-width: 220px; line-height: 1.6; font-size: 12px; }
.rs-iqd__label[b-we2znmb8qx]           { color: #6b7280; }
.rs-iqd__receipt-footnote[b-we2znmb8qx] { margin-top: 6px; color: #9a3412; font-style: italic; font-size: 11px; }
/* /Components/Pages/RegSphere/InvoiceQueue.razor.rz.scp.css */
/* InvoiceQueue.razor scoped styles. Visual language matches POC build 52's
   fq-* / fq-status-* classes — KPI tiles + status filter pills + toolbar
   above the grid. */

.rs-iq[b-zrsn4t3pcf] {
    display: flex; flex-direction: column;
    height: 100%; min-height: 0;
    padding: 0;
}

.rs-iq__header[b-zrsn4t3pcf] {
    padding: 10px 20px;
    border-bottom: 1px solid #e4e8ed;
    background: #fff;
}
.rs-iq__title h2[b-zrsn4t3pcf] { margin: 0; font-size: 18px; color: #0a3d62; }
.rs-iq__subtitle[b-zrsn4t3pcf] { font-size: 13px; color: #6b7280; }

/* KPI tile strip — clickable; the active tile gets a teal underline. */
.rs-iq__kpis[b-zrsn4t3pcf] {
    display: flex; gap: 12px; flex-wrap: wrap;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e4e8ed;
}
.rs-iq__kpi[b-zrsn4t3pcf] {
    appearance: none;
    border: 1px solid #e4e8ed;
    background: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    min-width: 90px;
    text-align: center;
    cursor: pointer;
    transition: border-color 120ms ease, transform 80ms ease;
}
.rs-iq__kpi:hover[b-zrsn4t3pcf]  { border-color: #11C683; transform: translateY(-1px); }
.rs-iq__kpi--active[b-zrsn4t3pcf] {
    border-color: #11C683;
    box-shadow: 0 0 0 2px rgba(17, 198, 131, 0.15);
}
.rs-iq__kpi-value[b-zrsn4t3pcf] { font-size: 20px; font-weight: 700; color: #0a3d62; }
.rs-iq__kpi-label[b-zrsn4t3pcf] { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; }

/* Status-tinted KPI accents — match the FISCStatePillClass colours. */
.rs-iq__kpi--queued       .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #6b7280; }
.rs-iq__kpi--submitted    .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #d97706; }
.rs-iq__kpi--acknowledged .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #059669; }
.rs-iq__kpi--rejected     .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #dc2626; }
.rs-iq__kpi--cancelled    .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #94a3b8; }
.rs-iq__kpi--receipt_confirmed .rs-iq__kpi-value[b-zrsn4t3pcf] { color: #047857; }

.rs-iq__toolbar[b-zrsn4t3pcf] {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e4e8ed;
}
.rs-iq__hint[b-zrsn4t3pcf] { font-size: 12px; color: #6b7280; }

/* Reuse the Case Detail message classes — defined in CaseDetail.razor.css
   but for completeness here in case this page is hit standalone. */
.rs-msg-success[b-zrsn4t3pcf] {
    background: #ecfdf5; color: #065f46;
    padding: 8px 12px; margin: 8px 20px;
    border-radius: 4px; border-left: 4px solid #059669;
    font-size: 13px;
}
.rs-msg-error[b-zrsn4t3pcf] {
    background: #fee2e2; color: #991b1b;
    padding: 8px 12px; margin: 8px 20px;
    border-radius: 4px; border-left: 4px solid #b91c1c;
    font-size: 13px;
}
.rs-page-error[b-zrsn4t3pcf] {
    background: #fee2e2; color: #991b1b;
    padding: 10px 16px; margin: 8px 20px;
    border-radius: 4px; font-size: 13px;
    border-left: 4px solid #b91c1c;
}

/* Parity pass 07.11.26: the Total queued value tile is a figure, not a filter. */
.rs-iq__kpi--value[b-zrsn4t3pcf] { cursor: default; }
/* /Components/Pages/RegSphere/RegSphereNoAccess.razor.rz.scp.css */
/* LW+CL:08.11.26: moved from an inline <style> in RegSphereNoAccess.razor (the Blazor rules forbid inline blocks: they leak globally). */
.rs-no-access[b-nqb69cm2hz] {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 10px;
    padding: 60px 20px;
    color: #4a5568; text-align: center;
}
.rs-no-access__icon[b-nqb69cm2hz] { color: #94a3b8; }
.rs-no-access__title[b-nqb69cm2hz] { margin: 4px 0; font-size: 1.1rem; font-weight: 600; color: #0a3d62; }
.rs-no-access__body[b-nqb69cm2hz] { margin: 0; font-size: 13px; max-width: 420px; }
.rs-no-access__codes[b-nqb69cm2hz] { font-size: 13px; text-align: left; margin: 4px 0; padding-left: 20px; }
.rs-no-access__codes li[b-nqb69cm2hz] { margin-bottom: 4px; }
.rs-no-access__link[b-nqb69cm2hz] { font-size: 13px; color: #0d9488; text-decoration: none; margin-top: 8px; }
.rs-no-access__link:hover[b-nqb69cm2hz] { text-decoration: underline; }
/* /Components/Pages/RegSphere/RegulatoryCases.razor.rz.scp.css */
/* RegulatoryCases.razor scoped styles. */

.regsphere-list[b-20i2hbhrkp] { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 0; }

.rs-page-header[b-20i2hbhrkp] {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px 8px;
    background: #fff;
}

.rs-title[b-20i2hbhrkp] { margin: 0; font-size: 1.15rem; font-weight: 600; color: #0a3d62; }
.rs-toolbar[b-20i2hbhrkp] { display: flex; gap: 0.75rem; align-items: center; }

.rs-message[b-20i2hbhrkp] { font-size: 12px; padding: 4px 10px; border-radius: 12px; font-weight: 500; }
.rs-msg-success[b-20i2hbhrkp] { background: #d1fae5; color: #065f46; }
.rs-msg-error[b-20i2hbhrkp]   { background: #fee2e2; color: #991b1b; }

.rs-loading[b-20i2hbhrkp] { padding: 1rem; color: #6b7280; }
.rs-form[b-20i2hbhrkp] { padding: 8px 4px; }
.rs-dialog-error[b-20i2hbhrkp] { background: #fee2e2; color: #991b1b; padding: 8px 12px; border-radius: 4px; font-size: 13px; }

/* Page-level load failure banner — rendered at the top when an exception
   bubbled out of LoadAsync. Keeps the UI legible instead of going blank. */
.rs-page-error[b-20i2hbhrkp] {
    background: #fee2e2; color: #991b1b;
    padding: 10px 16px; margin: 8px 20px;
    border-radius: 4px; font-size: 13px;
    border-left: 4px solid #b91c1c;
}

/* CRS XML export modal (Phase 5) */
.rs-export[b-20i2hbhrkp] { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; min-height: 420px; }
.rs-export__pick[b-20i2hbhrkp] { display: flex; flex-direction: column; border-right: 1px solid #e0e0e0; padding-right: 1rem; }
.rs-export__pick-head[b-20i2hbhrkp] { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; margin-bottom: .5rem; }
.rs-export__pick-actions[b-20i2hbhrkp] { display: flex; gap: .25rem; }
.rs-export__list[b-20i2hbhrkp] { flex: 1; overflow: auto; border: 1px solid #eee; border-radius: 4px; }
.rs-export__row[b-20i2hbhrkp] { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: .4rem; align-items: center; padding: .35rem .5rem; border-bottom: 1px solid #f2f2f2; cursor: pointer; font-size: 12px; }
.rs-export__row:hover[b-20i2hbhrkp] { background: #f7fbff; }
.rs-export__ref[b-20i2hbhrkp] { font-weight: 600; white-space: nowrap; }
.rs-export__ent[b-20i2hbhrkp] { color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-export__jur[b-20i2hbhrkp], .rs-export__per[b-20i2hbhrkp] { color: #888; font-variant-numeric: tabular-nums; }
.rs-export__empty[b-20i2hbhrkp] { padding: 1rem; color: #888; font-style: italic; }
.rs-export__build[b-20i2hbhrkp] { margin-top: .5rem; }
.rs-export__preview[b-20i2hbhrkp] { display: flex; flex-direction: column; min-width: 0; }
.rs-export__summary[b-20i2hbhrkp] { font-size: 13px; margin-bottom: .5rem; }
/* LW+CL:11.11.26 (ledger C121) the per-envelope hold-back list above the envelope tabs */
.rs-export__hold[b-20i2hbhrkp] { border: 1px solid #eee; border-radius: 4px; padding: .35rem .5rem; margin-bottom: .5rem; max-height: 150px; overflow: auto; }
.rs-export__good[b-20i2hbhrkp] { color: #117a3d; }
.rs-export__bad[b-20i2hbhrkp] { color: #b91c1c; }
.rs-export__tab[b-20i2hbhrkp] { display: flex; flex-direction: column; gap: .5rem; }
.rs-export__checks[b-20i2hbhrkp] { display: flex; flex-direction: column; gap: 2px; max-height: 160px; overflow: auto; }
.rs-export__check[b-20i2hbhrkp] { display: grid; grid-template-columns: 56px auto 1fr; gap: .5rem; align-items: baseline; font-size: 12px; padding: 2px 4px; border-radius: 3px; }
.rs-export__check-lvl[b-20i2hbhrkp] { font-weight: 700; font-size: 10px; letter-spacing: .04em; }
.rs-export__check-name[b-20i2hbhrkp] { font-weight: 600; }
.rs-export__check-detail[b-20i2hbhrkp] { color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a warning or failure is there to be read, so its detail wraps instead of being cut at the edge (LW+CL:04.11.26) */
.rs-export__check--warn .rs-export__check-detail[b-20i2hbhrkp], .rs-export__check--fail .rs-export__check-detail[b-20i2hbhrkp] { white-space: normal; overflow: visible; text-overflow: clip; grid-column: 2 / -1; }
.rs-export__check--pass .rs-export__check-lvl[b-20i2hbhrkp] { color: #117a3d; }
.rs-export__check--warn[b-20i2hbhrkp] { background: #fff8e6; }
.rs-export__check--warn .rs-export__check-lvl[b-20i2hbhrkp] { color: #9a6700; }
.rs-export__check--fail[b-20i2hbhrkp] { background: #fdecec; }
.rs-export__check--fail .rs-export__check-lvl[b-20i2hbhrkp] { color: #b91c1c; }
.rs-export__xml[b-20i2hbhrkp] { flex: 1; margin: 0; padding: .6rem; background: #1e1e1e; color: #d4d4d4; font-family: Consolas, monospace; font-size: 11px; line-height: 1.4; overflow: auto; max-height: 320px; border-radius: 4px; white-space: pre; }

/* ES Batch Submit modal */
.rs-batch__filters[b-20i2hbhrkp] { display: grid; grid-template-columns: max-content 1fr; gap: .35rem .5rem; align-items: center; margin-bottom: .5rem; font-size: 12px; }
.rs-batch__row--blocked[b-20i2hbhrkp] { cursor: default; opacity: .65; }
.rs-batch__row--blocked:hover[b-20i2hbhrkp] { background: none; }
.rs-batch__reason[b-20i2hbhrkp] { color: #9a3412; font-size: 11px; font-style: italic; white-space: nowrap; }
.rs-batch__outcome-row[b-20i2hbhrkp] { display: grid; grid-template-columns: auto 1fr 2fr; gap: .4rem; align-items: center; padding: .3rem .5rem; border-bottom: 1px solid #f2f2f2; font-size: 12px; }
.rs-batch__outcome-icon[b-20i2hbhrkp] { font-weight: 700; width: 1.2em; text-align: center; }
.rs-batch__outcome-row--ok .rs-batch__outcome-icon[b-20i2hbhrkp] { color: #117a3d; }
.rs-batch__outcome-row--bad .rs-batch__outcome-icon[b-20i2hbhrkp] { color: #b91c1c; }

/* LW+CL:23.10.26 Annual Return: what the period end means in the picked jurisdiction. */
.rs-form-hint[b-20i2hbhrkp] { font-size: 12px; color: #6c757d; margin-top: -4px; }

.rs-export__xml-actions[b-20i2hbhrkp] { display: flex; gap: 8px; margin: 6px 0; }

/* LW+CL:10.11.26 ES ledger C38: an existing assessment listed in the New Case dialog. */
.rs-existing-assessment[b-20i2hbhrkp] { display: inline-block; padding: 2px 10px; margin: 0 4px 4px 0; border-radius: 10px; background: #dbeafe; color: #1d4ed8; font-size: 11px; font-weight: 600; }

/* LW+CL:10.11.26 (ES ledger C73): the register's Overdue column, bold red. ::deep reaches the grid cells rendered by MyDxGrid. */
.regsphere-list[b-20i2hbhrkp]  .rs-overdue-days { color: var(--rs-red, #b91c1c); font-weight: 700; }
/* /Components/Pages/RegSphere/RegulatoryMonitoringFeed.razor.rz.scp.css */
/* LW+CL:22.09.26, #1134 — .rs-message/.rs-msg-success/.rs-msg-error are used in the markup but
   this page never defined them; CSS isolation meant the identically-named rules already defined
   in RegulatoryCases.razor.css never applied here, so the batch-raise result (e.g. "N raised, M
   failed — check the Compliance Review dashboard and logs.") rendered as unstyled black text —
   present in the DOM (confirmed live) but easy to miss, which is what HD #1134's testing note
   read as "no validation message shows at all". Same rule as RegulatoryCases.razor.css. */
.rs-message[b-3r53o9aeau] { font-size: 12px; padding: 4px 10px; border-radius: 12px; font-weight: 500; }
.rs-msg-success[b-3r53o9aeau] { background: #d1fae5; color: #065f46; }
.rs-msg-error[b-3r53o9aeau]   { background: #fee2e2; color: #991b1b; }

/* Split layout — grid takes full width when no detail selected, shrinks when open */
.rs-feed__layout[b-3r53o9aeau] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rs-feed__grid-pane[b-3r53o9aeau] {
    flex: 1 1 auto;
    min-width: 0;
}

.rs-feed__layout--split .rs-feed__grid-pane[b-3r53o9aeau] {
    flex: 0 0 58%;
    max-width: 58%;
}

/* Detail pane */
.rs-feed__detail-pane[b-3r53o9aeau] {
    flex: 0 0 40%;
    max-width: 40%;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.rs-feed__detail-header[b-3r53o9aeau] {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: .75rem;
}

.rs-feed__detail-close[b-3r53o9aeau] {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: .9rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.rs-feed__detail-close:hover[b-3r53o9aeau] { color: #212529; }

.rs-feed__detail-title[b-3r53o9aeau] {
    font-size: .95rem;
    font-weight: 600;
    margin: 0 0 .35rem;
    line-height: 1.35;
}

.rs-feed__detail-title a[b-3r53o9aeau] {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rs-feed__detail-meta[b-3r53o9aeau] {
    font-size: .8rem;
    color: #6c757d;
}

.rs-feed__meta-sep[b-3r53o9aeau] { margin: 0 .3rem; }

/* IQ classification block */
.rs-feed__iq-block[b-3r53o9aeau] {
    background: #f8f9fa;
    border-left: 3px solid #0071c1;
    border-radius: 0 4px 4px 0;
    padding: .65rem .75rem;
    margin-bottom: .75rem;
}

.rs-feed__iq-row[b-3r53o9aeau] {
    display: flex;
    gap: .5rem;
    align-items: baseline;
    margin-bottom: .25rem;
    font-size: .825rem;
}

.rs-feed__iq-label[b-3r53o9aeau] {
    color: #6c757d;
    min-width: 110px;
    flex-shrink: 0;
}

.rs-feed__iq-value[b-3r53o9aeau] { font-weight: 500; }

.rs-feed__iq-summary[b-3r53o9aeau] {
    font-size: .825rem;
    color: #212529;
    margin: .5rem 0 0;
    line-height: 1.45;
    border-top: 1px solid #dee2e6;
    padding-top: .5rem;
}

/* Severity pills — inline in detail + grid cells */
.rs-feed__severity[b-3r53o9aeau] {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.rs-feed__severity--high[b-3r53o9aeau]        { background: #f8d7da; color: #842029; }
.rs-feed__severity--medium[b-3r53o9aeau]      { background: #fff3cd; color: #664d03; }
.rs-feed__severity--low[b-3r53o9aeau]         { background: #d1ecf1; color: #0c5460; }
.rs-feed__severity--notmaterial[b-3r53o9aeau] { background: #e9ecef; color: #6c757d; }

.rs-feed__action-pill[b-3r53o9aeau] {
    display: inline-block;
    padding: .1rem .5rem;
    border-radius: 3px;
    background: #cff4fc;
    color: #055160;
    font-size: .75rem;
    font-weight: 600;
}

/* Excerpt */
.rs-feed__excerpt[b-3r53o9aeau] { margin-bottom: .75rem; }

.rs-feed__excerpt-label[b-3r53o9aeau] {
    font-size: .75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .25rem;
}

.rs-feed__excerpt-text[b-3r53o9aeau] {
    font-size: .8rem;
    line-height: 1.5;
    color: #495057;
    max-height: 180px;
    overflow-y: auto;
    padding: .5rem;
    background: #f8f9fa;
    border-radius: 4px;
    white-space: pre-wrap;
}

/* Action buttons row */
.rs-feed__actions[b-3r53o9aeau] {
    display: flex;
    align-items: center;
    padding-top: .75rem;
    border-top: 1px solid #dee2e6;
    flex-wrap: wrap;
    gap: .25rem;
}

/* Reviewed badge shown for already-actioned items */
.rs-feed__reviewed-badge[b-3r53o9aeau] {
    display: inline-block;
    margin-top: .75rem;
    padding: .25rem .6rem;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 600;
}

.rs-feed__reviewed-badge--confirmed[b-3r53o9aeau] { background: #d1e7dd; color: #0a3622; }
.rs-feed__reviewed-badge--dismissed[b-3r53o9aeau] { background: #e9ecef; color: #495057; }
.rs-feed__reviewed-badge--escalated[b-3r53o9aeau] { background: #fff3cd; color: #664d03; }

/* Grid cell colour classes for severity + status columns */
[b-3r53o9aeau] .rs-feed__cell--high        { color: #842029 !important; font-weight: 600; }
[b-3r53o9aeau] .rs-feed__cell--medium      { color: #664d03 !important; font-weight: 600; }
[b-3r53o9aeau] .rs-feed__cell--low         { color: #0c5460 !important; }
[b-3r53o9aeau] .rs-feed__cell--not-material{ color: #6c757d !important; }

[b-3r53o9aeau] .rs-feed__cell--pending    { color: #0071c1 !important; font-weight: 600; }
[b-3r53o9aeau] .rs-feed__cell--escalated  { color: #664d03 !important; font-weight: 600; }
[b-3r53o9aeau] .rs-feed__cell--confirmed  { color: #0a3622 !important; }
[b-3r53o9aeau] .rs-feed__cell--dismissed  { color: #6c757d !important; }

/* KPI tile colour accents */
.rs-feed__kpi--pending[b-3r53o9aeau]  { border-top-color: #0071c1 !important; }
.rs-feed__kpi--escalated[b-3r53o9aeau]{ border-top-color: #ffc107 !important; }
.rs-feed__kpi--confirmed[b-3r53o9aeau]{ border-top-color: #198754 !important; }
.rs-feed__kpi--dismissed[b-3r53o9aeau]{ border-top-color: #adb5bd !important; }
.rs-feed__kpi--unclassified[b-3r53o9aeau] { border-top-color: #6c757d !important; }

/* Impact panel (Step 6) */
.rs-feed__impact-panel[b-3r53o9aeau] {
    padding-top: .75rem;
    border-top: 1px solid #dee2e6;
}

.rs-feed__impact-header strong[b-3r53o9aeau] {
    font-size: .875rem;
    font-weight: 600;
    display: block;
    margin-bottom: .25rem;
}

.rs-feed__impact-intro[b-3r53o9aeau] {
    font-size: .8rem;
    color: #6c757d;
    margin: 0 0 .6rem;
    line-height: 1.4;
}

.rs-feed__impact-select-all[b-3r53o9aeau] {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .4rem;
}

.rs-feed__select-all-link[b-3r53o9aeau] {
    background: none;
    border: none;
    padding: 0;
    font-size: .78rem;
    color: #0071c1;
    cursor: pointer;
}

.rs-feed__select-all-link:hover:not(:disabled)[b-3r53o9aeau] { text-decoration: underline; }
.rs-feed__select-all-link:disabled[b-3r53o9aeau] { color: #adb5bd; cursor: default; }

.rs-feed__select-all-sep[b-3r53o9aeau] { color: #adb5bd; font-size: .78rem; }

.rs-feed__impact-list[b-3r53o9aeau] {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: .65rem;
}

.rs-feed__impact-row[b-3r53o9aeau] {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .35rem .55rem;
    cursor: pointer;
    font-size: .825rem;
    border-bottom: 1px solid #f0f0f0;
}

.rs-feed__impact-row:last-child[b-3r53o9aeau] { border-bottom: none; }
.rs-feed__impact-row:hover[b-3r53o9aeau]      { background: #f8f9fa; }

.rs-feed__impact-row input[type="checkbox"][b-3r53o9aeau] {
    flex-shrink: 0;
    margin-top: .1rem;
    cursor: pointer;
}

.rs-feed__impact-name[b-3r53o9aeau] {
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-feed__impact-meta[b-3r53o9aeau] {
    font-size: .75rem;
    color: #6c757d;
    flex-shrink: 0;
    white-space: nowrap;
}

.rs-feed__impact-empty[b-3r53o9aeau] {
    font-size: .825rem;
    color: #6c757d;
    padding: .5rem 0;
    margin-bottom: .65rem;
}

.rs-feed__impact-actions[b-3r53o9aeau] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem;
}

/* Severity filter toggle */
.rs-feed__filter-bar[b-3r53o9aeau] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

/* LW+CL:14.10.26 "Showing one source", when opened from a Pulse Change Feed group (?source=). */
.rs-feed__source-filter[b-3r53o9aeau] {
    padding: .2rem .6rem;
    background: rgba(0, 168, 150, .08);
    border: 1px solid rgba(0, 168, 150, .35);
    border-radius: 6px;
    font-size: .85rem;
}

.rs-feed__filter-toggle[b-3r53o9aeau] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: #6c757d;
    cursor: pointer;
    user-select: none;
}

.rs-feed__filter-toggle input[type="checkbox"][b-3r53o9aeau] {
    cursor: pointer;
}

/* LW+CL:23.10.26 batch AML scan: one chip per entity row, the latest screen for this change. */
.rs-feed__scan[b-3r53o9aeau] {
    margin-left: auto;
    flex-shrink: 0;
    padding: .05rem .5rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
}
.rs-feed__scan--clear[b-3r53o9aeau]   { background: #e8f6ee; color: #1b7a43; border-color: #b9e2c9; }
.rs-feed__scan--match[b-3r53o9aeau]   { background: #fdecea; color: #b42318; border-color: #f5c2bd; }
.rs-feed__scan--pending[b-3r53o9aeau] { background: #fff6e5; color: #9a5b00; border-color: #f3d9a4; }
.rs-feed__scan--error[b-3r53o9aeau]   { background: #f1f3f5; color: #495057; border-color: #dee2e6; }
.rs-feed__scan--queued[b-3r53o9aeau]  { background: #f8f9fa; color: #6c757d; border-color: #e9ecef; }
.rs-feed__scan--running[b-3r53o9aeau] { background: #e7f1ff; color: #0b5ed7; border-color: #b6d4fe; }

/* LW+CL:04.11.26 tasks raised from the change, and Create Task */
.rs-feed__tasks[b-3r53o9aeau] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bs-border-color, #e2e8f0);
}
.rs-feed__task-link[b-3r53o9aeau] {
    font-weight: 600;
}
.rs-feed__task-meta[b-3r53o9aeau] {
    font-size: 12px;
    color: #64748b;
}
/* /Components/Pages/Reports/DataChangeHistory.razor.rz.scp.css */
.dch-page[b-de4h2k4231] { display: flex; flex-direction: column; height: 100%; }
.dch-page h1[b-de4h2k4231] { font-size: 1.4rem; margin: 0 0 .25rem 0; }
.dch-sub[b-de4h2k4231] { display: block; color: var(--bs-secondary-color, #6c757d); font-size: .85rem; margin-bottom: .5rem; }
.dch-filters[b-de4h2k4231] { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.dch-field[b-de4h2k4231] { display: flex; flex-direction: column; min-width: 150px; }
.dch-field label[b-de4h2k4231] { font-size: .8rem; color: var(--bs-secondary-color, #6c757d); }
.dch-field-wide[b-de4h2k4231] { min-width: 260px; flex: 1 1 260px; }
.dch-field-entity[b-de4h2k4231] { min-width: 240px; }
.dch-field-check[b-de4h2k4231] { min-width: auto; padding-bottom: .4rem; }
.dch-banner[b-de4h2k4231] { margin-top: .5rem; padding: .4rem .7rem; border-radius: 4px; background: var(--bs-info-bg-subtle, #cff4fc); }
.dch-banner-warn[b-de4h2k4231] { background: var(--bs-warning-bg-subtle, #fff3cd); }
.dch-toolbar[b-de4h2k4231] { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; flex-wrap: wrap; }
.dch-count[b-de4h2k4231] { color: var(--bs-secondary-color, #6c757d); font-size: .85rem; }
.dch-split[b-de4h2k4231] { display: flex; gap: .75rem; min-height: 0; }
.dch-grid[b-de4h2k4231] { flex: 1 1 auto; min-width: 0; }
.dch-split-open .dch-grid[b-de4h2k4231] { flex: 1 1 60%; }
.dch-detail[b-de4h2k4231] { flex: 0 0 38%; max-height: 70vh; overflow: auto; border-left: 1px solid var(--bs-border-color, #dee2e6); padding-left: .75rem; }
.dch-detail-head[b-de4h2k4231] { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.dch-detail h2[b-de4h2k4231] { font-size: 1.05rem; margin: 0; }
.dch-detail h3[b-de4h2k4231] { font-size: .95rem; margin: .9rem 0 .3rem; }
.dch-hist[b-de4h2k4231] { margin-bottom: .6rem; }
.dch-hist-head[b-de4h2k4231] { font-size: .85rem; }
.dch-hist-line[b-de4h2k4231] { font-size: .85rem; padding-left: .8rem; }
.dch-facts[b-de4h2k4231] { display: grid; grid-template-columns: max-content 1fr; gap: .15rem .75rem; font-size: .85rem; }
.dch-facts dt[b-de4h2k4231] { color: var(--bs-secondary-color, #6c757d); }
.dch-facts dd[b-de4h2k4231] { margin: 0; word-break: break-word; }
.dch-cov li[b-de4h2k4231] { margin-bottom: .4rem; }
/* /Components/Pages/Reports/DelimiterPicker.razor.rz.scp.css */
/* UX sweep 4, E4: the choice and, for Other, its one-character box on one line. */
.delimiter-picker[b-3urdylxmkr] {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.delimiter-picker[b-3urdylxmkr]  .myComboBoxInput {
    min-width: 0;
}

.delimiter-picker[b-3urdylxmkr]  .delimiter-picker-other {
    width: 64px;
    flex: 0 0 64px;
}
/* /Components/Pages/Reports/ImportFieldSettingsDialog.razor.rz.scp.css */
/* Field settings dialog. Row frame follows ImportMappingRows' card shape so the two field-facing
   surfaces in this module look like the same thing. */

.ifs-intro[b-5lhnizyrf1] {
	font-size: 0.8rem;
	color: #6c757d;
	line-height: 1.45;
	margin-bottom: 0.75rem;
}

.ifs-empty[b-5lhnizyrf1] {
	font-size: 0.85rem;
	color: #6c757d;
	padding: 1rem 0;
}

.ifs-head[b-5lhnizyrf1],
.ifs-row[b-5lhnizyrf1] {
	display: grid;
	/* Fourth track is the per-row Reset, which only renders where an override exists — the column is
	   always present so rows with and without it still line up. */
	grid-template-columns: 1fr 104px 140px 58px;
	align-items: center;
	gap: 0.5rem;
}

.ifs-head[b-5lhnizyrf1] {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8a94a0;
	padding: 0 0.6rem 0.35rem;
}

.ifs-rows[b-5lhnizyrf1] {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	overflow-y: auto;
}

.ifs-row[b-5lhnizyrf1] {
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 4px;
	padding: 0.4rem 0.6rem;
}

/* An unsaved edit is the one thing a user needs to see at a glance, because Save writes only these rows. */
.ifs-row-changed[b-5lhnizyrf1] {
	border-color: #0d6efd;
	background: #f5f9ff;
}

.ifs-row-field[b-5lhnizyrf1] {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	min-width: 0;
}

.ifs-row-name[b-5lhnizyrf1] {
	font-size: 0.85rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ifs-row-origin[b-5lhnizyrf1] {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #8a94a0;
	flex: none;
}

.ifs-col-mand[b-5lhnizyrf1] {
	display: flex;
	justify-content: center;
}

.ifs-changed-count[b-5lhnizyrf1] {
	font-size: 0.78rem;
	color: #0d6efd;
	margin-right: 0.6rem;
	white-space: nowrap;
}

/* "required by the import routine" / "set by the import routine" — why a control is locked. Sits under
   the control it explains rather than beside it, so the row height stays even across locked and free
   rows. Muted: it is an explanation, not a warning; nothing is wrong. */
.ifs-locked[b-5lhnizyrf1] {
	display: block;
	font-size: 0.68rem;
	line-height: 1.2;
	color: #78716c;
	margin-top: 2px;
}

/* A value kind the poster fixes. Rendered as text rather than a disabled combo: a greyed-out dropdown
   invites a click that will never do anything. */
.ifs-readonly[b-5lhnizyrf1] {
	font-size: 0.8rem;
	color: #44403c;
}

.ifs-col-reset[b-5lhnizyrf1] {
	text-align: right;
}
/* /Components/Pages/Reports/ImportMappingRows.razor.rz.scp.css */
/* Source column → WS field rows. Follows the POC's ih-mapping-row: a bordered white card per row in a
   source / arrow / target grid, rather than the bare flex line this replaced. The confidence colours were
   already identical to the POC's, so only the row frame and the pill shape changed. */

.map-rows[b-p4fro90822] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-row[b-p4fro90822] {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: border-color .15s;
}

.map-row:hover[b-p4fro90822] {
    border-color: #cbd5e1;
}

/* A left edge carrying the row's state, so a long list can be skimmed for the rows that still need a
   decision without reading every picker. Ignored is deliberately neutral, not a warning — it is done. */
.map-row-open[b-p4fro90822] {
    border-left: 3px solid #fca5a5;
}

.map-row-ignored[b-p4fro90822] {
    border-left: 3px solid #cbd5e1;
}

.map-row-mapped[b-p4fro90822] {
    border-left: 3px solid #bbf7d0;
}

.map-row-src[b-p4fro90822] {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}

.map-row-name[b-p4fro90822] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-row-arrow[b-p4fro90822] {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}

.map-row-ws[b-p4fro90822] {
    min-width: 0;
}

/* POC pill: uppercase, letter-spaced, fully rounded, with a border. */
.map-conf[b-p4fro90822] {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    line-height: 1.4;
    padding: 1px 5px;
    border-radius: 8px;
}

.map-conf-high[b-p4fro90822] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.map-conf-medium[b-p4fro90822] {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde68a;
}

/* Not a confidence — the reason a row is unmapped. Neutral, because it needs no action. */
.map-conf-skip[b-p4fro90822] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.map-conf-low[b-p4fro90822] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ::deep anchored on .map-rows — a div this component owns. A class handed to a child via CssClass never
   carries this component's scope attribute, so styling map-ws-unmapped directly would not apply.
   See .claude/memory/feedback_blazor_scoped_css_deep_on_child.md */
.map-rows[b-p4fro90822]  .map-ws-unmapped .dxbl-text-edit-input,
.map-rows[b-p4fro90822]  .map-ws-unmapped input {
    color: #94a3b8;
    font-style: italic;
}

/* "Needs a decision only" filter above the mapping rows. */
.map-rows-filter[b-p4fro90822] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
}

.map-rows-filter-count[b-p4fro90822] {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* IQ Suggest Mappings bar. Same 11px/flex frame as the filter above it so the two read as one strip of
   controls over the rows rather than two competing bars. */
.map-rows-iq[b-p4fro90822] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
}

/* ::deep anchored on .map-rows-iq, a div this component owns — a class passed to DxButton via CssClass never
   carries this component's CSS-isolation scope (see blazor-scoped-css-deep-on-child). */
.map-rows-iq[b-p4fro90822]  .map-rows-iq-btn {
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    color: #00a896;
}

.map-rows-iq-scope[b-p4fro90822] {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Deliberately muted, not a success/warning colour: the note reports what IQ proposed, and the proposal
   itself is still unreviewed — colouring it green would imply the mappings were accepted. */
.map-rows-iq-note[b-p4fro90822] {
    margin-bottom: 6px;
    padding: 5px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    line-height: 1.4;
}

/* A mapping whose target field was retired by a catalog sync. Amber rather than red: the connector is
   repairable in place with the picker on this very row, and Run already blocks the import, so this is
   "needs a decision", not "broken beyond use". Matches the run-button note and the rail badge. */
.map-row-dead[b-p4fro90822] {
	border-left: 3px solid #d97706;
	background: #fffbeb;
}

.map-conf-dead[b-p4fro90822] {
	background: #fef3c7;
	color: #92400e;
}

/* Two mappings claiming the same WS field. Distinct from map-row-dead (amber, "this target doesn't
   exist") because the fix and the urgency differ: here BOTH targets exist, but a DataTable can't hold
   two columns of one name, so only one row's data survives at Run. Purple keeps it visually apart from
   every other state — green (mapped), amber (dead target), red (open/unmapped), grey (ignored). */
.map-row-duplicate[b-p4fro90822] {
	border-left: 3px solid #7c3aed;
	background: #f5f3ff;
}

.map-conf-duplicate[b-p4fro90822] {
	background: #ede9fe;
	color: #5b21b6;
}

/* Transient highlight on a row IQ Suggest Mappings just touched (Import Hub Phase 5 polish, added with
   Phase 8). Row-focus feedback, not a toast — matches this app's existing no-success-toasts convention.
   Fades once; the host clears WasJustAppliedByIq ~1.5s later so it never re-triggers on an unrelated
   re-render. */
@keyframes map-row-iq-flash-fade-b-p4fro90822 {
	from { background-color: #ccfbf1; }
	to   { background-color: transparent; }
}

.map-row-iq-flash[b-p4fro90822] {
	animation: map-row-iq-flash-fade-b-p4fro90822 1.5s ease-out;
}

/* The column-to-field arrow (an SVG, not a text glyph). Repeated in each component's own isolated CSS, because a scoped
   rule in Imports.razor.css doesn't reach markup another component renders (sweep 3 page L4). */
.imports-arrow[b-p4fro90822] {
    vertical-align: -2px;
    margin: 0 2px;
    color: #94a3b8;
}
/* /Components/Pages/Reports/Imports.razor.rz.scp.css */
.fillscreen2[b-qek6asbrce] {
    height: calc(100% - 180px);
}

/* UX review 2, I13 (LW+CL 05.11.26): the Asset Stock Prices import is a child component (AssetStockPriceImport), so these
   scoped rules never reached it. The Hub wraps it in .imports-hosted, and each rule it shares (setup card, file state,
   hints, Run line, tally chips, Post bar, row tints, action-outcome) also matches ".imports-hosted ::deep .x", so the
   component is styled by these rules rather than a copy of them. */
.input-style[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .input-style {
    width: 100%;
}

/* ── Import Hub rail ────────────────────────────────────────────────────────
   Restyles MyDxTreeList and the connector DxListBox to the Import Hub POC's
   look (features/import-hub/mockup-suggested-layout.html) without replacing
   either component — the tree keeps its search, filtering, layout persistence,
   group security and row test IDs; the list box keeps its keyboard selection.
   ::deep is anchored on wrappers this page owns, never on a child's CssClass. */

/* Rail = catalog + connector panes (flex-fill) with the Run action pinned underneath, so Run stays
   reachable whichever workspace tab is active. */
.imports-rail[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.imports-rail-panes[b-qek6asbrce] {
    flex: 1 1 auto;
    min-height: 0;
}

.imports-run-section[b-qek6asbrce] {
    flex: 0 0 auto;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.imports-run-section[b-qek6asbrce]  .imports-run-btn {
    width: 100%;
    justify-content: center;
}

/* Sits under a disabled Run in the rail, explaining it. Muted rather than a warning colour: an import whose
   poster is not written yet is a roadmap state, not something the user has done wrong. */
.imports-run-note[b-qek6asbrce] {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: #94a3b8;
}

.imports-rail-tree[b-qek6asbrce] {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-header-row .dxbl-grid-header {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-table tbody td {
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-table tbody tr:hover > td {
    background: #f0f9ff;
}

/* Search owns the whole toolbar. With the title, export and help gone it is the only item left, but a
   DevExpress toolbar item is content-sized and a flex .dxbl-toolbar-placeholder soaks up the slack, so the
   box stayed its natural ~150px and sat right-aligned. Stretching the group/item/button chain hands that
   slack to the editor instead.

   :not(.dxbl-virtual-toolbar) matters — DX renders a second, hidden copy of the toolbar to measure natural
   item widths for its adaptive collapsing. Forcing 100% widths inside that copy would feed it the container
   width as the "natural" width and break the measurement. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .dxbl-toolbar-group {
    flex: 1 1 auto;
    margin-left: 0; /* BeginGroup's separator margin — nothing left to separate from */
}

/* The placeholder is what right-aligns items by absorbing the slack. Leaving it flex-grow:1 makes it split
   the slack with the group instead of yielding it. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .dxbl-toolbar-placeholder {
    flex: 0 0 auto;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .dxbl-toolbar-item,
.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .dxbl-toolbar-item > button,
.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .grid-search-box {
    width: 100%;
}

/* The item is a <button> wrapping the editor; its 8px side padding is meant to space an icon button from its
   neighbours, and here it just insets the box from a bar it is supposed to fill. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-btn-toolbar:not(.dxbl-virtual-toolbar) .dxbl-toolbar-item > button {
    padding-left: 0;
    padding-right: 0;
}

/* Tighten the tree gutter. DevExpress hardcodes 20px indent + 20px expand-button slot (no CSS custom
   property to set, so the width/min-width pairs are overridden directly), which costs 40px in front of an
   import name at depth 2 and grows 20px per level after that. The category rows already carry their own
   uppercase/tinted group-header styling, so the indent isn't the only depth signal and can afford to be
   narrower.

   Depth-safe by construction: the placeholder is kept exactly as wide as the expand BUTTON, which is the
   invariant that lines leaf rows up with their expandable siblings. Shrinking one without the other would
   misalign them the moment the tree gains a third level — the reason this isn't just `display: none` on the
   placeholder, which works only while every second-level row happens to be a leaf. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-tree-node-indent {
    width: 12px;
    min-width: 12px;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-tree-node-expand-button-placeholder,
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-tree-node-expand-button {
    width: 18px;
    min-width: 18px;
}

/* The placeholder has to stand in for the button's LAID-OUT width, and DevExpress gives the button
   margin: 0 -2px so its 2px internal padding adds no visual width — leaving the placeholder without them
   makes it 4px wider than the button it replaces, so a leaf sits 4px right of an expandable sibling at the
   same depth. (Stock DX has this 4px skew too; it's just easier to see once the gutter is tight.) Declared
   as the same width plus the same pull-in, so the two stay symmetric rather than two unrelated numbers. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-tree-node-expand-button-placeholder {
    margin-left: -2px;
    margin-right: -2px;
}

/* Category (Type 0) nodes read as group headers, not selectable imports. */
.imports-rail-tree[b-qek6asbrce]  .imports-cat-row > td {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    background: #f8fafc;
}

/* Selected import — teal left accent, matching .ih-row.active in the mockup. */
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-focused-row > td,
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-selected-row > td {
    background: #e8f8f6;
    color: #0a3d62;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-focused-row > td:first-child,
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-selected-row > td:first-child {
    box-shadow: inset 3px 0 0 0 #00a896;
}

/* Connector-count pill (MyDxTreeList's "alert" render type reuses .grid-badge). */
.imports-rail-tree[b-qek6asbrce]  .grid-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: #e2e8f0;
    color: #475569;
    border: none;
}

.imports-rail-tree[b-qek6asbrce]  .grid-badge:empty {
    display: none;
}

.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-focused-row .grid-badge,
.imports-rail-tree[b-qek6asbrce]  .dxbl-grid-selected-row .grid-badge {
    background: #00a896;
    color: #fff;
}

.conn-panel[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fafbfd;
}

.conn-panel-header[b-qek6asbrce] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.conn-panel-for[b-qek6asbrce] {
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #0a3d62;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conn-panel-body[b-qek6asbrce] {
    flex: 1;
    min-height: 0;
    padding: 9px 10px;
    overflow-y: auto;
}

/* Strip the list box's own chrome so each item reads as a POC connector card. */
.conn-panel[b-qek6asbrce]  .conn-list {
    height: auto;
    max-height: 100%;
    border: none;
    background: transparent;
}

.conn-panel[b-qek6asbrce]  .conn-list .dxbl-listbox-item,
.conn-panel[b-qek6asbrce]  .conn-list li {
    padding: 0;
    margin: 0 0 7px 0;
    background: transparent;
    border: none;
}

.conn-panel[b-qek6asbrce]  .conn-list .dxbl-listbox-item:hover,
.conn-panel[b-qek6asbrce]  .conn-list li:hover {
    background: transparent;
}

.conn-card[b-qek6asbrce] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 9px 11px;
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.conn-card:hover[b-qek6asbrce] {
    border-color: #00a896;
    box-shadow: 0 2px 8px rgba(0, 168, 150, 0.12);
}

.conn-card-none[b-qek6asbrce] {
    background: transparent;
    border-style: dashed;
}

.conn-panel[b-qek6asbrce]  .conn-list .dxbl-listbox-item-selected .conn-card,
.conn-panel[b-qek6asbrce]  .conn-list li[aria-selected="true"] .conn-card {
    border-color: #00a896;
    border-style: solid;
    background: #f0fdfb;
    box-shadow: inset 3px 0 0 0 #00a896;
}

/* Its own strip above .conn-panel-body, so the button holds its place however long the list gets.
   flex: 0 0 auto keeps it from being compressed when the list wants the room. */
.conn-panel-actions[b-qek6asbrce] {
    flex: 0 0 auto;
    padding: 9px 10px 0;
}

/* POC's .ih-new-btn: a full-width dashed outline that reads as "add another one of these" rather than as a
   link. It deliberately echoes .conn-card-none below — both are dashed, because both are the absence of a
   connector. ::deep anchored on .conn-panel, since conn-panel-new reaches DxButton via CssClass and so never
   carries this page's scope attribute. The DevExpress Link render style brings its own colour, padding and
   hover underline, so each of those is overridden rather than inherited. */
.conn-panel[b-qek6asbrce]  .conn-panel-new {
    display: block;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px dashed #cbd5e1;
    border-radius: 7px;
    color: #64748b;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.conn-panel[b-qek6asbrce]  .conn-panel-new:hover:not(:disabled) {
    border-color: #00a896;
    background: transparent;
    color: #00a896;
    text-decoration: none;
}

/* View-only users still see it, so it has to look unavailable rather than merely unhovered. */
.conn-panel[b-qek6asbrce]  .conn-panel-new:disabled {
    border-color: #e2e8f0;
    color: #cbd5e1;
}

.conn-card-name[b-qek6asbrce] {
    font-size: 11.5px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 4px;
}

.conn-card-meta[b-qek6asbrce] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

.conn-badge[b-qek6asbrce] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.conn-badge-csv[b-qek6asbrce] {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.conn-badge-xlsx[b-qek6asbrce],
.conn-badge-xls[b-qek6asbrce] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

/* ── Field Mapping column (POC col 2) ──────────────────────────────────────── */

.map-col[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fff;
}

.map-col-header[b-qek6asbrce] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.map-col-for[b-qek6asbrce] {
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: #0a3d62;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Connector actions row (3g-ii). Styling reaches the buttons through ::deep from this page-owned wrapper —
   a class handed to DxButton via CssClass never carries this component's scope attribute. The Link render
   style brings its own colour, padding and hover underline, so each of those is overridden, not inherited. */
.map-col-actions[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 6px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.map-col-actions[b-qek6asbrce]  button {
    padding: 3px 7px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.map-col-actions[b-qek6asbrce]  button:hover:not(:disabled) {
    background: transparent;
    border-color: #00a896;
    color: #00a896;
    text-decoration: none;
}

/* View-only users still see these, so they have to look unavailable rather than merely unhovered. */
.map-col-actions[b-qek6asbrce]  button:disabled {
    border-color: #e2e8f0;
    color: #cbd5e1;
}

/* Delete is the only irreversible action here: pushed away from the other two, and red on approach rather
   than red at rest — a permanently-red control in a row of three teaches the eye to stop reading the colour. */
.map-col-actions[b-qek6asbrce]  .map-action-danger {
    margin-left: auto;
}

.map-col-actions[b-qek6asbrce]  .map-action-danger:hover:not(:disabled) {
    border-color: #dc2626;
    color: #dc2626;
}

.map-col-body[b-qek6asbrce] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 12px;
}

.map-section-label[b-qek6asbrce] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 14px 0 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00a896;
}

.map-section-label:first-child[b-qek6asbrce] {
    margin-top: 0;
}

/* Field settings, on the label that already names the fields it edits. ::deep anchored on .map-section-label
   because the class reaches DxButton via CssClass and so never carries this page's scope attribute (same
   reason as .conn-panel-new above). Deliberately quiet: it opens two per-field settings, not a primary
   action, and the pill next to it is what should carry the eye. */
.map-section-label[b-qek6asbrce]  .map-section-action {
    flex: none;
    padding: 0;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.map-section-label[b-qek6asbrce]  .map-section-action:hover:not(:disabled) {
    background: transparent;
    color: #00a896;
    text-decoration: none;
}

.map-pill[b-qek6asbrce] {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1px 6px;
    border-radius: 4px;
}

.map-pill-ok[b-qek6asbrce] {
    background: #dcfce7;
    color: #166534;
}

.map-pill-warn[b-qek6asbrce] {
    background: #fef9c3;
    color: #854d0e;
}

.map-req-grid-wrap[b-qek6asbrce] {
    height: 190px;
}

.map-req-star[b-qek6asbrce] {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.map-origin[b-qek6asbrce] {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
}

.map-origin-source[b-qek6asbrce] {
    background: #e0f2fe;
    color: #075985;
}

.map-status[b-qek6asbrce] {
    font-size: 11px;
    font-weight: 700;
}

.map-status-ok[b-qek6asbrce] {
    color: #16a34a;
}

.map-status-missing[b-qek6asbrce] {
    color: #b45309;
}

.map-status-none[b-qek6asbrce] {
    color: #cbd5e1;
}

/* Was grouped with .map-rows before those moved to ImportMappingRows.razor.css. Kept as its own rule —
   leaving a dangling ".map-transforms," in front of the next selector silently gave it that rule's
   horizontal flex and squashed the transform combos to a chevron. */
.map-transforms[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.map-transform-row[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-transform-label[b-qek6asbrce] {
    flex: 0 0 82px;
    font-size: 11px;
    color: #64748b;
}

.map-transform-row > :not(.map-transform-label)[b-qek6asbrce] {
    flex: 1 1 auto;
    min-width: 0;
}











.map-save[b-qek6asbrce] {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-col-body[b-qek6asbrce]  .map-save-btn {
    width: 100%;
    justify-content: center;
}

.map-message[b-qek6asbrce] {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #075985;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 6px 8px;
}

/* ── Workspace tabs ─────────────────────────────────────────────────────────
   MyDxTabs already bridges .dxbl-tabs-content to a flex column (see its own
   <style> block), so each tab body only needs to claim the remaining height. */

.imports-workspace-tabs[b-qek6asbrce] {
    height: 100%;
}

.imports-tab-body[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 14px;
    overflow-y: auto;
}

/* The grid tab manages its own scrolling — the body must not add a second scrollbar. */
.imports-tab-body-grid[b-qek6asbrce] {
    padding: 0;
    overflow: hidden;
}

/* Post bar, under the grid. The POC's .ih-post-bar: a flex row separated from the table by a top rule, the
   action first, then the count, then the readiness line. flex: none so it keeps its height while the grid above
   it takes the slack — the tab body is a flex column and the grid is flex: 1 1 auto.  LW+CL 29.07.26 */
.staged-post-bar[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
}

.staged-post-count[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-count {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.staged-post-sep[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-sep {
    font-size: 12px;
    color: #cbd5e1;
}

/* Sits next to the count, not pushed right: the POC keeps both in one .ih-post-count span, and the page's
   bottom-right corner belongs to the fixed Ask IQ FAB. */
.staged-post-ready[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-ready {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Three states rather than the POC's two, because WS has a middle one it does not: a partial post is allowed
   and warned about, not refused. Colours follow the staged-chip palette already on this page. */
.staged-post-ready-ok[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-ready-ok {
    color: #166534;
}

.staged-post-ready-warn[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-ready-warn {
    color: #b45309;
}

.staged-post-ready-block[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-ready-block {
    color: #991b1b;
}

/* ===== Scrollbar — thin, subtle, teal, the same treatment MyDxGrid applies. =====

   This grid is a RAW DxGrid, not MyDxGrid, so it never inherited MyDxGrid.razor.css's scrollbar block (that one
   is anchored on .grid-height-wrapper). What it got instead was the DevExpress default: DX sets
   scrollbar-width:none on .dxbl-scroll-viewer-content to hide the native bar and draws its own overlay, whose
   thumb renders ~3px tall at opacity .5. Measured here as table 1198px inside a 746px viewport with the DX bar
   already .dxbl-active — so scrolling always worked, it just did not LOOK scrollable, which is why a wide
   staging table read as truncated. There is no component API to fix it: HorizontalScrollBarMode belonged to the
   retired DxDataGrid, and the current DxGrid only documents "displays the horizontal scrollbar automatically".

   So: suppress DX's overlay and style the native bar, values copied verbatim from MyDxGrid rather than picked
   fresh, so the two grids match. Keep them in step if that block ever changes.  LW+CL 29.07.26 */
.imports-tab-body-grid[b-qek6asbrce]  .dxbl-scroll-viewer-hor-scroll-bar,
.imports-tab-body-grid[b-qek6asbrce]  .dxbl-scroll-viewer-vert-scroll-bar {
    display: none !important; /* beat DX's more-specific :not(.dxbl-disabled) rule */
}

.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid ::-webkit-scrollbar-track {
    background: transparent;
}

.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid ::-webkit-scrollbar-thumb {
    background: rgba(59, 176, 160, 0.5);
    border-radius: 4px;
}

.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid ::-webkit-scrollbar-thumb:hover {
    background: #3bb0a0;
}

/* Corner where horizontal + vertical meet — transparent, not the default grey block. */
.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid ::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox — scrollbar-width/color only apply in Firefox; Chromium ignores them. */
.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid,
.imports-tab-body-grid[b-qek6asbrce]  .dxbl-grid * {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 176, 160, 0.5) transparent;
}

.imports-tab-body-grid[b-qek6asbrce]  .imports-grid {
    flex: 1 1 auto;
    min-height: 0;
}

/* Setup tab — provenance hint under a run-configuration field. */
.field-hint[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .field-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

.field-hint-warn[b-qek6asbrce] {
    color: #854d0e;
}

/* Field Mapping — clarifies that Transform options are the connector's saved defaults. */
.map-hint[b-qek6asbrce] {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #94a3b8;
}

/* Setup tab — chosen-file state under the file picker. */
.file-state[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .file-state {
    margin-top: 5px;
    font-size: 11px;
    color: #94a3b8;
}

.file-state-ok[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .file-state-ok {
    color: #166534;
}

/* Validate & Post tab — staged-row actions. Sits above the grid, matching .preview-bar's proportions
   so the two tabs read as the same shape. */
.staged-bar[b-qek6asbrce] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Journal Balance Check (3e-iii) ──────────────────────────────────────────
   Styled from the POC's .ih-jnl-balance-* rules. A plain <table>, not MyDxGrid: it is a fixed 6-column
   summary of at most a handful of journals with no sorting, filtering, paging or selection, so a data grid
   would add a toolbar and a virtual scroller to something that is really a totals block. If a real file ever
   produces enough journals to want scrolling or export, that is the tripwire to revisit. */
.jnl-balance[b-qek6asbrce] {
    flex: 0 0 auto;
    margin: 10px 14px 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.jnl-balance-title[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.jnl-pill[b-qek6asbrce] {
    padding: 1px 7px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.jnl-pill-ok[b-qek6asbrce] {
    background: #dcfce7;
    color: #166534;
}

.jnl-pill-bad[b-qek6asbrce] {
    background: #fee2e2;
    color: #991b1b;
}

/* Amber, not red: unlike the balance panel above, a duplicate never blocks Post — it's a flag to weigh, not
   a problem to fix. */
.jnl-pill-warn[b-qek6asbrce] {
    background: #fef3c7;
    color: #92400e;
}

.jnl-balance-table[b-qek6asbrce] {
    width: 100%;
    border-collapse: collapse;
}

.jnl-balance-table thead th[b-qek6asbrce] {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.jnl-balance-table tbody td[b-qek6asbrce],
.jnl-balance-table tfoot td[b-qek6asbrce] {
    padding: 5px 8px;
    font-size: 11px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.jnl-balance-table tfoot td[b-qek6asbrce] {
    font-weight: 700;
    background: #f8fafc;
    border-bottom: none;
}

/* Amber, not red: an out-of-balance journal is work to do, not a failure that has happened. Red is reserved
   for the rows the SP has actually rejected, over in the staged grid. */
.jnl-balance-table tbody tr.jnl-unbalanced td[b-qek6asbrce] {
    background: #fff7ed;
}

.jnl-num[b-qek6asbrce] {
    text-align: right;
}

/* Tabular monospace so the digits line up column-wise — the whole point of a totals block is comparing them. */
.jnl-money[b-qek6asbrce] {
    font-family: Consolas, "Courier New", monospace;
    font-variant-numeric: tabular-nums;
}

.jnl-name[b-qek6asbrce] {
    font-weight: 600;
}

.jnl-seq[b-qek6asbrce] {
    display: inline-block;
    min-width: 16px;
    margin-right: 6px;
    padding: 0 4px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.jnl-merged[b-qek6asbrce] {
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 4px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: help;
}

.jnl-ok[b-qek6asbrce] {
    color: #166534;
    font-weight: 600;
}

.jnl-bad[b-qek6asbrce] {
    color: #991b1b;
    font-weight: 600;
}

/* Needed on the CELL, not just the span: the base `.jnl-balance-table tbody td, tfoot td` rule is
   (0,1,1) and a bare `.jnl-bad` is (0,1,0), so a Difference cell carrying the class rendered in the
   default slate — the amount that says whether the file can post was the one thing not coloured.
   Only visible in a screenshot; the build and the e2e were both green. */
.jnl-balance-table td.jnl-ok[b-qek6asbrce] {
    color: #166534;
}

.jnl-balance-table td.jnl-bad[b-qek6asbrce] {
    color: #991b1b;
}

.jnl-balance-note[b-qek6asbrce] {
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
}

.staged-bar-actions[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staged-bar-note[b-qek6asbrce] {
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    min-width: 0;
}

.staged-bar-filter[b-qek6asbrce] {
    margin-left: 4px;
    font-size: 12px;
}


.staged-bar-summary[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-bar-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Tally chips — the POC's .ih-summary-chip proportions (rounded 20px, 11px/700). Deliberately a different
   shape from the in-row .row-pill below, which the POC also separates: one summarises the set, the other
   labels a single row, and reading them as the same control invites clicking them. */
.staged-chip[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.staged-chip-idle[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-idle {
    background: #f1f5f9;
    color: #64748b;
}

.staged-chip-ok[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-ok {
    background: #dcfce7;
    color: #166534;
}

.staged-chip-posted[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-posted {
    background: #cffafe;
    color: #0e7490;
}

.staged-chip-fail[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-fail {
    background: #fee2e2;
    color: #991b1b;
}

.staged-chip-duplicate[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-duplicate {
    background: #fef3c7;
    color: #92400e;
}

.staged-chip-skipped[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-chip-skipped {
    background: transparent;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
}

/* The SP's own recorded counts for the last run. Kept as quiet text, not a chip: it is a different claim
   from the chips beside it (what the run logged, versus what the rows say now) and the two can legitimately
   disagree once a row has been edited. */
.staged-lastrun[b-qek6asbrce] {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 2px;
}

/* Row status pill — shared by the Status column and the staged-bar tally so one state can never read as two
   different things in the same tab. Scoped rules, not ::deep: these spans are written in Imports.razor (a
   CellDisplayTemplate is still this component's markup), so they carry its CSS-isolation attribute. */
.row-pill[b-qek6asbrce] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Not checked is deliberately grey, not amber: nothing is wrong with the row, nothing has looked at it. */
.row-pill-idle[b-qek6asbrce] {
    background: #f1f5f9;
    color: #64748b;
}

.row-pill-ok[b-qek6asbrce] {
    background: #dcfce7;
    color: #166534;
}

.row-pill-posted[b-qek6asbrce] {
    background: #cffafe;
    color: #0e7490;
}

.row-pill-fail[b-qek6asbrce] {
    background: #fee2e2;
    color: #991b1b;
}

.row-pill-duplicate[b-qek6asbrce] {
    background: #fef3c7;
    color: #92400e;
}

/* Sweep 4 UX S2: Skipped (a spacer or balance line, nothing to do) is not Not checked (still to do). Muted and dashed. */
.row-pill-skipped[b-qek6asbrce] {
    background: transparent;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
}

/* Sweep 4 UX T1: a failure reason is a sentence, and it used to be cut to about 20 characters at the far right. It wraps to
   three lines, and the whole text is still in the title. Only failed rows carry one, so healthy rows keep their height. */
.row-status-msg[b-qek6asbrce] {
    font-size: 11px;
    color: #991b1b;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    min-width: 0;
    line-height: 1.35;
}

/* Sweep 4 UX D1: the row number, quiet, so it reads as a reference rather than data. */
[b-qek6asbrce] .row-num-col {
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

/* Whole-row status tint, matching the POC's row-error / row-valid banding. These need ::deep: the <tr> and
   <td> belong to DxGrid, so the class arrives via CustomizeElement on markup this component does not own and
   a plain scoped rule would never match it (see the .row-pill note above for the case that does). Only
   failed and posted are tinted — a passing row is the normal case and does not need colouring, and tinting
   "not checked" would make a fresh import look like it had a problem. */
.imports-tab-body-grid[b-qek6asbrce]  tr.row-tint-fail > td,
.imports-hosted[b-qek6asbrce]  tr.row-tint-fail > td {
    background: #fef2f2;
}

.imports-tab-body-grid[b-qek6asbrce]  tr.row-tint-posted > td,
.imports-hosted[b-qek6asbrce]  tr.row-tint-posted > td {
    background: #f0fdfa;
}

.imports-tab-body-grid[b-qek6asbrce]  tr.row-tint-duplicate > td,
.imports-hosted[b-qek6asbrce]  tr.row-tint-duplicate > td {
    background: #fffbeb;
}

/* Amount reads as money: right-aligned, tabular figures so the columns of digits line up, and signed by
   colour the way the POC does it (negative = DR red, positive = CR green). */
.imports-tab-body-grid[b-qek6asbrce]  td.cell-amount,
.imports-tab-body[b-qek6asbrce]  td.cell-amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 11px;
}

.imports-tab-body-grid[b-qek6asbrce]  td.cell-amount-dr {
    color: #991b1b;
}

.imports-tab-body-grid[b-qek6asbrce]  td.cell-amount-cr {
    color: #166534;
}

/* Source Preview tab. */
.preview-bar[b-qek6asbrce] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.preview-bar-info[b-qek6asbrce] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.preview-count[b-qek6asbrce] {
    font-size: 12px;
    font-weight: 700;
    color: #1a2332;
}

.preview-note[b-qek6asbrce] {
    font-size: 11px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-warn[b-qek6asbrce],
.preview-info[b-qek6asbrce] {
    flex: 0 0 auto;
    margin: 8px 14px 0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
}

.preview-warn[b-qek6asbrce] {
    color: #854d0e;
    background: #fef9c3;
    border: 1px solid #fde68a;
}

.preview-info[b-qek6asbrce] {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

/* Setup tab cards — Import run configuration / Connector summary. */
.setup-card[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .setup-card {
    flex: 0 0 auto;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* DxFormLayout's ColSpanMd breakpoints are viewport-width, not container-width — this card
   sits in a pane squeezed between the rail and the Field Mapping column, so the editor can
   still be computed narrower than its content at widths ColSpanMd wasn't tuned for (confirmed
   ~1250-1300px browser width: "DMY" present in the DOM but the box collapsed to ~20px). This is
   the part that stops it recurring at whatever width shows up next, independent of ColSpan math.
   ::deep because the editor markup belongs to DxFormLayoutItem/MyComboBox, not this component. */
.setup-card[b-qek6asbrce]  .dxbl-fl-item .dxbl-text-edit,
.imports-hosted[b-qek6asbrce]  .setup-card .dxbl-fl-item .dxbl-text-edit {
    min-width: 70px;
}

.setup-card-title[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .setup-card-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00a896;
    margin-bottom: 10px;
}

.summary-rows[b-qek6asbrce] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.summary-row[b-qek6asbrce] {
    display: flex;
    gap: 12px;
    font-size: 12px;
}

.summary-key[b-qek6asbrce] {
    flex: 0 0 140px;
    color: #64748b;
}

.summary-val[b-qek6asbrce] {
    font-weight: 600;
    color: #1a2332;
}

.summary-val-ok[b-qek6asbrce] {
    color: #166534;
}

.summary-val-warn[b-qek6asbrce] {
    color: #854d0e;
}

/* Getting Started guide — Setup tab, until the first rows are staged. */
.start-guide[b-qek6asbrce] {
    flex: 0 0 auto;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.start-guide-title[b-qek6asbrce] {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00a896;
    margin-bottom: 10px;
}

/* Sweep 4 UX U2: the four steps in one row, so the guide no longer pushes the run card and its summary below the fold at
   768 high. They wrap on a narrow pane. */
.start-steps[b-qek6asbrce] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.start-steps > .start-step[b-qek6asbrce] {
    flex: 1 1 180px;
    min-width: 0;
}

/* Sweep 4 UX U1: the Results grids get a height of their own inside the scrolling Results tab. */
.result-grid-wrap[b-qek6asbrce] {
    height: 420px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Sweep 4 UX U3: the SVG plus beside "New connector". */
.conn-panel-new-inner[b-qek6asbrce] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sweep 4 UX T2: said already by the outcome line above the bar. */
.staged-lastrun-hidden[b-qek6asbrce] {
    display: none;
}

/* Sweep 4 page H1: Setup's date order differs from the one the rows were read with. */
.staged-bar-warn[b-qek6asbrce] {
    color: #92400e;
}

.start-step[b-qek6asbrce] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.55;
}

.start-step-active[b-qek6asbrce],
.start-step-done[b-qek6asbrce] {
    opacity: 1;
}

.start-step-num[b-qek6asbrce] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
}

.start-step-active .start-step-num[b-qek6asbrce] {
    background: #00a896;
    color: #fff;
}

.start-step-done .start-step-num[b-qek6asbrce] {
    background: #dcfce7;
    color: #166534;
}

.start-step-label[b-qek6asbrce] {
    font-size: 12px;
    font-weight: 700;
    color: #1a2332;
}

.start-step-hint[b-qek6asbrce] {
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
    margin-top: 1px;
}

.imports-empty-state[b-qek6asbrce] {
    margin: auto;
    max-width: 420px;
    padding: 24px;
    text-align: center;
}

.imports-empty-title[b-qek6asbrce] {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.imports-empty-sub[b-qek6asbrce] {
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}

.conn-panel-warn[b-qek6asbrce] {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.4;
    color: #854d0e;
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 6px 8px;
}


/* In-cell lookup pencil. Value takes the room, pencil sits hard right and only appears on hover — the POC's
   .ih-acc-edit-cell / .ih-edit-icon behaviour, so a grid of 200 rows isn't 200 visible icons. Kept at
   opacity 0 rather than display:none so the cell's width never changes as the pointer moves across it. */
.imports-tab-body-grid[b-qek6asbrce]  .cell-lookup {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.imports-tab-body-grid[b-qek6asbrce]  .cell-lookup-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* A value the catalog says is a Number or a Date that cannot be read as one (tbl_ImportField.ValueKind).
   Underlined rather than recoloured or badged: the row has not failed anything yet — the poster is still what
   decides that — so this has to read as "look at this" and not as a verdict, and it must not compete with the
   Status pill that does carry verdicts. The value itself is never rewritten, so what shows is what the file
   said. */
.imports-tab-body-grid[b-qek6asbrce]  .cell-unreadable {
    text-decoration: underline wavy #d97706;
    text-underline-offset: 3px;
    cursor: help;
}

.imports-tab-body-grid[b-qek6asbrce]  .cell-lookup-btn {
    margin-left: auto;
    padding: 0 2px;
    opacity: 0;
    transition: opacity .12s;
}

/* Reveal on the row, not just the cell: at 100px a cell is small, and hunting for the exact cell that
   reveals the pencil is worse than showing all of a row's pencils at once. */
.imports-tab-body-grid[b-qek6asbrce]  tr:hover .cell-lookup-btn,
.imports-tab-body-grid[b-qek6asbrce]  .cell-lookup-btn:focus-visible {
    opacity: 1;
}

/* Bulk include/exclude, next to the failed-only toggle. */
.staged-bar-select[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
    white-space: nowrap;
}

.staged-bar-select-label[b-qek6asbrce] {
    font-size: 11px;
    color: #94a3b8;
    margin-right: 2px;
}

/* In-run toggle. A tick that is in the run reads as confirmation; one held back reads as deliberately off,
   hence grey rather than red — a held row is a choice, not a problem. */
.imports-tab-body-grid[b-qek6asbrce]  .row-inrun {
    padding: 0 4px;
    font-size: 13px;
    line-height: 1;
}

.imports-tab-body-grid[b-qek6asbrce]  .row-inrun-on {
    color: #166534;
}

.imports-tab-body-grid[b-qek6asbrce]  .row-inrun-off {
    color: #94a3b8;
}

/* "No file yet? Download the template" under the file picker. */
.file-template[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .file-template {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

/* ── Results tab ────────────────────────────────────────────────────────────
   Styled to the POC's .ih-result-card / .ih-result-stats / .ih-stat-box and its
   preview tables. Plain tables rather than DxGrid on purpose: this is a static
   report of a finished run, so paging, sorting, inline editing and column
   persistence are all cost with no return. If a real tripwire shows up — someone
   posting thousands of rows and needing to sort the exception list — that is the
   point to switch, not before. */
.imports-tab-body-scroll[b-qek6asbrce] {
    overflow-y: auto;
    padding: 12px 14px;
}

.result-card[b-qek6asbrce] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.result-card-head[b-qek6asbrce] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.result-card-title[b-qek6asbrce] {
    font-size: 13px;
    font-weight: 700;
    color: #0a3d62;
}

.result-card-sub[b-qek6asbrce] {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

.result-stats[b-qek6asbrce] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.result-stat[b-qek6asbrce] {
    min-width: 96px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
}

.result-stat-num[b-qek6asbrce] {
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.result-stat-lbl[b-qek6asbrce] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-top: 2px;
}

.result-stat.stat-posted[b-qek6asbrce] { background: #f0fdfa; border-color: #99f6e4; }
.result-stat.stat-posted .result-stat-num[b-qek6asbrce] { color: #0e7490; }
.result-stat.stat-failed[b-qek6asbrce] { background: #fef2f2; border-color: #fecaca; }
.result-stat.stat-failed .result-stat-num[b-qek6asbrce] { color: #991b1b; }
.result-stat.stat-passed[b-qek6asbrce] { background: #f0fdf4; border-color: #bbf7d0; }
.result-stat.stat-passed .result-stat-num[b-qek6asbrce] { color: #166534; }
.result-stat.stat-idle .result-stat-num[b-qek6asbrce] { color: #64748b; }
.result-stat.stat-duplicate[b-qek6asbrce] { background: #fffbeb; border-color: #fde68a; }
.result-stat.stat-duplicate .result-stat-num[b-qek6asbrce] { color: #92400e; }
.result-stat.stat-skipped[b-qek6asbrce] { background: transparent; border-style: dashed; }
.result-stat.stat-skipped .result-stat-num[b-qek6asbrce] { color: #94a3b8; }

.result-meta[b-qek6asbrce] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 11px;
    color: #64748b;
}

.result-table-wrap[b-qek6asbrce] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.result-table[b-qek6asbrce] {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.result-table th[b-qek6asbrce] {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    padding: 6px 8px;
    white-space: nowrap;
    border-bottom: 1px solid #e2e8f0;
}

.result-table td[b-qek6asbrce] {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.result-table tr:last-child td[b-qek6asbrce] {
    border-bottom: none;
}

.result-row-failed > td[b-qek6asbrce] {
    background: #fef2f2;
}

/* Amounts read as money here too — right-aligned, tabular, so a column of figures lines up. */
.result-col-num[b-qek6asbrce] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.result-col-row[b-qek6asbrce] {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.result-col-reason[b-qek6asbrce] {
    color: #991b1b;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The Posted card's Record column. Its own class, NOT .result-col-reason, which it borrowed when tier 1
   added it — that one is the exception report's Reason and is styled #991b1b, so every SUCCESSFUL row was
   rendering what it produced in error-red. Its overflow:hidden would also clip the [open] button. */
.result-col-record[b-qek6asbrce] {
    color: #334155;
    max-width: 320px;
    white-space: normal;
}

/* Sits inline after the reference rather than on its own row. Nudged tight because DxButton's link style
   carries button padding, which reads as a gap between the reference and its own link. */
.record-open-link[b-qek6asbrce] {
    margin-left: 6px;
    padding: 0;
    vertical-align: baseline;
    font-size: 12px;
}

.result-col-action[b-qek6asbrce] {
    color: #0a3d62;
    font-weight: 600;
}

/* Type 3 (template-only) node — legacy path kept for a deployment that hasn't run the Phase 3f
   Allscript retiring these nodes yet. */
.imports-type3-notice[b-qek6asbrce] {
    padding: 16px;
}

.imports-type3-notice p[b-qek6asbrce] {
    font-size: 14px;
}

/* Setup tab's inline EditContext validation line (FormValidationState). */
.form-validation-error[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .form-validation-error {
    color: #dc2626;
}

/* Short explanatory line under a Setup card title. */
.setup-card-hint[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .setup-card-hint {
    margin-bottom: 10px;
    font-size: 11px;
    color: #94a3b8;
}

/* The selection-time catalog sync could not read the import routine's declaration. Amber, not red:
   the page still works off the catalog it already has, it just may be out of date. */
.map-sync-warn[b-qek6asbrce] {
	margin: 4px 0 8px;
	padding: 6px 8px;
	border-left: 3px solid #d97706;
	background: #fffbeb;
	color: #92400e;
	font-size: 12px;
}

/* Connector card badge for a selected connector with at least one dead mapping target. Same amber as the
   row flag in ImportMappingRows and the run-button note, so the three read as one condition. */
.conn-badge-dead[b-qek6asbrce] {
	background: #fef3c7;
	color: #92400e;
}

/* IQ per-row entity-code guesser (Import Hub Phase 8) — same 11px/flex/teal frame as ImportMappingRows'
   IQ Suggest Mappings bar, so the two features read as one visual language. */
.entity-iq-banner[b-qek6asbrce] {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 11px;
}

.entity-iq-banner[b-qek6asbrce]  .dxbl-btn {
	padding: 0;
	font-size: 11px;
	font-weight: 700;
	color: #00a896;
}

.entity-iq-note[b-qek6asbrce] {
	margin-bottom: 6px;
	padding: 5px 8px;
	border-radius: 4px;
	background: #f1f5f9;
	color: #475569;
	font-size: 11px;
	line-height: 1.4;
}

/* Per-row IQ entity suggestion badge. Amber, matching the failed-row tint it always appears alongside —
   the row is still failing until Accept + re-Validate, so this is "needs a decision", the same visual
   language as a dead mapping target elsewhere in this feature. */
.entity-iq-cell[b-qek6asbrce] {
	background: #fffbeb;
}

.entity-iq-badge[b-qek6asbrce] {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	padding: 1px 5px;
	border-radius: 8px;
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.entity-iq-accept-btn[b-qek6asbrce] {
	color: #00a896;
	font-weight: 700;
}

/* ── Code Mapping — Resolve Codes modal ────────────────────────────────────
   Global rail entry point (not per-import), the modal's tab strip, and the
   toolbar rows framing the Needs Attention grid. The grid itself (MyDxGrid)
   needs no bespoke styling — this is only the chrome around it. */

.code-mapping-entry[b-qek6asbrce] {
	padding: 6px 4px 8px;
	flex-shrink: 0;
}

.code-mapping-entry[b-qek6asbrce]  button {
	font-weight: 600;
	color: #475569;
}

/* Now the page's own tab control (U7); the rule only spaces the tab list from the grids. */
[b-qek6asbrce] .code-mapping-tabs .dxbl-tabs-tablist {
	margin-bottom: 10px;
}

.code-mapping-empty[b-qek6asbrce] {
	text-align: center;
	color: #94a3b8;
	padding: 40px 16px;
	font-size: 12px;
	line-height: 1.6;
}

.code-mapping-toolbar[b-qek6asbrce] {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 11px;
}

.code-mapping-toolbar[b-qek6asbrce]  button {
	padding: 0;
	font-size: 11px;
	font-weight: 700;
	color: #00a896;
}

.code-mapping-toolbar-count[b-qek6asbrce] {
	color: #94a3b8;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.code-mapping-toolbar-confirm[b-qek6asbrce] {
	margin-top: 10px;
	margin-bottom: 0;
}

.code-mapping-toolbar-hint[b-qek6asbrce] {
	color: #64748b;
	font-size: 11px;
	line-height: 1.4;
}

/* ── Phase 7: standard connectors and the file-to-connector hint (LW+CL 05.11.26) ─────────────────────── */
.conn-badge-standard[b-qek6asbrce] {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

/* The connector used last time for this import: pinned first in the list and marked. */
.conn-badge-recent[b-qek6asbrce] {
    background: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}

/* The filter box above a long connector list (Imports.razor, ConnectorFilterThreshold). */
.conn-panel-body[b-qek6asbrce]  .conn-filter {
    margin: 0 0 6px;
}

.map-standard-note[b-qek6asbrce],
.file-connector-hint[b-qek6asbrce] {
	margin: 4px 0 8px;
	padding: 6px 8px;
	border-left: 3px solid #2563eb;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 12px;
	line-height: 1.4;
}

/* ── Statement Check (bank statements, LW+CL 05.11.26). Same frame as .jnl-balance; reuses its title, pill, table and note. */
.stmt-check[b-qek6asbrce] {
    flex: 0 0 auto;
    margin: 10px 14px 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.stmt-line[b-qek6asbrce] {
    margin-top: 6px;
    font-size: 12px;
    color: #334155;
}

.stmt-ok[b-qek6asbrce] {
    color: #166534;
}

/* A file of several bank accounts: one block per account's statement. */
.stmt-account[b-qek6asbrce] {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #e2e8f0;
}

.stmt-account-name[b-qek6asbrce] {
    color: #0f172a;
}

.stmt-override[b-qek6asbrce] {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 560px;
}

.stmt-hint[b-qek6asbrce] {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
}

/* Sweep 05.11.26: Run Import under the file picker on Setup. */
.setup-run[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .setup-run {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.setup-run-note[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .setup-run-note {
    font-size: 12px;
    color: #64748b;
}

/* Sweep 05.11.26 (UX H6): on a laptop the check panels could push the rows grid off the screen, and the post bar's
   reason ran under the fixed Ask IQ button. The post bar wraps and keeps clear of the button.
   UX review 2, U1 (LW+CL 05.11.26): the cap was 32vh on EACH panel, so a statement with possible duplicates showed two
   capped panels and left the grid about 40px at 1366x768. The panels now share one container capped as a whole, and a check
   that passed folds to its title line (.check-folded), so the grid keeps most of the pane. */
.check-panels[b-qek6asbrce] {
    flex: 0 1 auto;
    max-height: 30vh;
    overflow-y: auto;
    padding-bottom: 2px;
}

.check-panels > .stmt-check:first-child[b-qek6asbrce],
.check-panels > .jnl-balance:first-child[b-qek6asbrce] {
    margin-top: 8px;
}

.check-folded[b-qek6asbrce] {
    padding-top: 6px;
    padding-bottom: 6px;
}

.check-folded[b-qek6asbrce]  .jnl-balance-title,
.check-folded > .jnl-balance-title[b-qek6asbrce] {
    margin-bottom: 0;
}

.check-panels[b-qek6asbrce]  .check-fold-btn {
    margin-left: auto;
    padding: 0;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
}

/* What the last Run, Validate or Post did (UX review 2, U6), a line on the page rather than a message box. */
.action-outcome[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .action-outcome {
    flex: none;
    margin: 8px 14px 0;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.45;
    border-radius: 6px;
    border: 1px solid;
}

.action-outcome-ok[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .action-outcome-ok {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.action-outcome-warn[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .action-outcome-warn {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.action-outcome-bad[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .action-outcome-bad {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

/* The tree's bulk Code Mapping import says what it is (UX review 2, I4). */
.setup-note[b-qek6asbrce] {
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: 12px;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
}

/* Show mapping, in the connector panel's header (UX review 2, U3). */
.conn-panel-header[b-qek6asbrce]  .conn-panel-show {
    padding: 0;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

/* A Results stat's second line, and a card's one-line note (UX review 2, I10, U4, U5). */
.result-stat-sub[b-qek6asbrce] {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 1px;
}

.result-card-note[b-qek6asbrce] {
    margin: 0 0 8px;
    font-size: 12px;
    color: #475569;
}

/* Unrecognised codes: the filter line and the footer (UX review 2, I12/U7; the first review's H2). */
.code-mapping-filter[b-qek6asbrce] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #475569;
}

.code-mapping-footer[b-qek6asbrce] {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.staged-post-bar[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-bar {
    flex-wrap: wrap;
    padding-right: 150px;
}

.staged-post-ready[b-qek6asbrce],
.imports-hosted[b-qek6asbrce]  .staged-post-ready {
    white-space: normal;
}

/* Sweep 05.11.26: rows from an earlier session are said to be so. */
.resumed-note[b-qek6asbrce] {
    flex: none;
    margin: 8px 14px 0;
    padding: 8px 12px;
    font-size: 12px;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
}

/* Sweep 05.11.26: inline SVG status icons in place of text glyphs. */
[b-qek6asbrce] .imports-ico {
    vertical-align: -1px;
    flex: none;
}

/* The column-to-field arrow, an SVG rather than a text glyph (UX L1). */
.imports-arrow[b-qek6asbrce] {
    vertical-align: -2px;
    margin: 0 2px;
    color: #94a3b8;
}

/* Sweep 3 page M5: the import list can't be used while a run, Validate or Post is working (the handler refuses as well). */
.imports-rail-busy[b-qek6asbrce] {
    pointer-events: none;
    opacity: .6;
}

/* Sweep 4 UX U2: "Hide guide" on the guide's title line, and the quiet way back at the foot of Setup. */
.start-guide-title[b-qek6asbrce] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.start-guide-show[b-qek6asbrce] {
    margin-top: 6px;
    opacity: 0.8;
}

.start-guide-title[b-qek6asbrce]  .start-guide-hide {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
}

/* Sweep 4 L4: the line shown while an import opens. */
.imports-opening[b-qek6asbrce] {
    font-size: 12px;
    color: #64748b;
    padding: 6px 12px;
}
/* /Components/Pages/Reports/ImportsEntityLookup.razor.rz.scp.css */
/* The form's own error line; it was an inline style (sweep 05.11.26, UX M11). */
.lookup-error[b-z1wnd897k0] {
    color: #b91c1c;
    margin: 0;
}
/* /Components/Pages/Reports/NativeReportViewer.razor.rz.scp.css */
/* DxReportViewer is a separate compiled component — nothing in its rendered
   DOM carries this file's Blazor scope attribute, so a `::deep` rule with
   nothing before it has no scoped ancestor to anchor to and silently never
   matches (this is also why the two rules below had a `dxrbv-` / `dxbrv-`
   typo sitting dead for a while — nothing ever exercised them to notice).
   Wrapping the component in a plain element from our own markup gives
   `::deep` a real anchor — but the anchor must come BEFORE `::deep`
   (`.nrv-scope ::deep X`), not be folded into the deep selector itself
   (`::deep .nrv-scope X`); the latter still requires a genuine ANCESTOR of
   `.nrv-scope` to carry the scope attribute, which nothing does, since
   `.nrv-scope` is the topmost element this component renders here.
   `display: contents` keeps the wrapper out of the layout entirely, since
   the viewer sizes itself. */
.nrv-scope[b-mjcujeigpt] {
	display: contents;
}

.nrv-scope[b-mjcujeigpt]  .dxbrv-wrapper.top-grid-100 {
	contain: none;
}

/* Each parameter row lays itself out independently (its own flex box), so
   the caption is sized to its own text and the editor starts wherever that
   text happens to end. Turn the row wrappers into `display: contents` so
   their caption/editor pairs become direct children of the shared grid
   below instead — the grid's first column then naturally sizes to the
   widest caption actually present, so every editor lines up without any
   fixed/guessed width. */
.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar .dxbl-loading-panel-target-content:has(.dxbrv-params-caption),
.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar dxbl-form-layout:has(.dxbrv-params-caption) {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

/* The grid lives on `.dxbl-row` (target-content > dxbl-form-layout >
   .dxbl-row > dxbl-form-layout-item) — in DevExpress 26.1 the items are NOT
   direct children of the loading-panel content, so a grid on that element
   matched nothing useful.

   HD #1304: the second column is `minmax(0, 1fr)`, not `1fr`. A bare `1fr`
   has an implicit min-content minimum, so an editor's intrinsic width (a
   combo holding long selected text) stretched the whole form-layout past
   the side panel — editors ran off-screen and a horizontal scrollbar
   appeared. The wrappers above the grid also need `min-width: 0` so the
   flex containers may shrink to the panel. */
.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar dxbl-form-layout > .dxbl-row:has(.dxbrv-params-caption) {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	row-gap: 4px;
	min-width: 0;
}

.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar .dxbl-fl-ctrl {
	min-width: 0;
	max-width: 100%;
}

/* A little breathing room so captions don't sit flush against the panel's
   own left edge. */
.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar .dxbrv-params-caption {
	padding-left: 8px;
}

.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar dxbl-form-layout > .dxbl-row:has(.dxbrv-params-caption) > dxbl-form-layout-item {
	display: contents;
}

/* The Submit/Reset row has no caption, so grid auto-placement would drop it
   into column 1 (under the captions) instead of column 2 (under the
   editors, where it visually belongs). */
.nrv-scope[b-mjcujeigpt]  .dxbrv-gridlayout-side-bar .dxbrv-panel-buttons > .dxbl-fl-ctrl {
	grid-column: 2;
}

/* HD #1186 — a MultiValue+SelectAllValues lookup (e.g. Company Entity) populates its
   Value asynchronously after the panel first renders. Clicking Submit before that
   reload finishes submits a null selection that silently matches no rows instead of
   "everything". Block Submit/Reset (not the editors — those stay visible so the panel
   doesn't look broken) until NativeReportViewer.razor's _parametersReady flag confirms
   every such lookup has resolved. */
.nrv-scope.nrv-params-loading[b-mjcujeigpt]  .dxbrv-panel-buttons {
	pointer-events: none;
	opacity: 0.5;
}
/* /Components/Pages/Reports/NewConnectorDialog.razor.rz.scp.css */
/* New Connector dialog. Field-level notes and the name-match result. Tones match the Imports page's
   own hint/warn colours so the dialog reads as part of the module, not a different app. */

/* Two-step header. Deliberately a plain breadcrumb rather than the POC's numbered circles — the popup
   already supplies a title bar, and a second heavy header inside it reads as two competing chromes. */
.ncd-steps[b-cbp4psx3kx] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #cbd5e1;
}

.ncd-step-on[b-cbp4psx3kx] {
    color: #0f766e;
}

.ncd-step-done[b-cbp4psx3kx] {
    color: #94a3b8;
}

.ncd-step-sep[b-cbp4psx3kx] {
    color: #cbd5e1;
}

.ncd-hidden[b-cbp4psx3kx] {
    display: none;
}

/* Step 2. The row list is the only thing that can grow, so it takes the scroll and the coverage line and
   hint stay pinned above it. */
.ncd-map[b-cbp4psx3kx] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.ncd-map-head[b-cbp4psx3kx] {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.ncd-map-head-ok[b-cbp4psx3kx] {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.ncd-map-head-warn[b-cbp4psx3kx] {
    color: #854d0e;
    background: #fef9c3;
    border: 1px solid #fde68a;
}

.ncd-map-hint[b-cbp4psx3kx] {
    flex: 0 0 auto;
    margin: 7px 0 9px;
    font-size: 11px;
    line-height: 1.4;
    color: #94a3b8;
}

.ncd-map-rows[b-cbp4psx3kx] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.ncd-state[b-cbp4psx3kx],
.ncd-hint[b-cbp4psx3kx] {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

.ncd-state-ok[b-cbp4psx3kx] {
    color: #166534;
}

.ncd-derived[b-cbp4psx3kx] {
    font-size: 13px;
    font-weight: 600;
    color: #1a2332;
    padding-top: 4px;
}

.ncd-warn[b-cbp4psx3kx] {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #854d0e;
    background: #fef9c3;
    border: 1px solid #fde68a;
}

.ncd-match[b-cbp4psx3kx] {
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ncd-match-head[b-cbp4psx3kx] {
    font-size: 12px;
    font-weight: 700;
    color: #1a2332;
}

.ncd-match-body[b-cbp4psx3kx] {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.5;
    color: #475569;
}

.ncd-match-suspect[b-cbp4psx3kx] {
    font-weight: 600;
    color: #854d0e;
}

/* Phase 7: the chosen file already fits an existing connector (LW+CL 05.11.26). */
.ncd-fit[b-cbp4psx3kx] {
    margin-top: 4px;
    margin-bottom: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

/* The form's own error line; it was an inline style. */
.ncd-error[b-cbp4psx3kx] {
    color: #b91c1c;
    margin: 6px 0 0;
}

/* The column-to-field arrow (an SVG, not a text glyph). Repeated in each component's own isolated CSS, because a scoped
   rule in Imports.razor.css doesn't reach markup another component renders (sweep 3 page L4). */
.imports-arrow[b-cbp4psx3kx] {
    vertical-align: -2px;
    margin: 0 2px;
    color: #94a3b8;
}
/* /Components/Pages/Reports/ReportScheduleEditor.razor.rz.scp.css */
.rse-note[b-end9eal3ik] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.rse-note--warn[b-end9eal3ik] {
    color: var(--bs-danger);
}

.rse-error[b-end9eal3ik] {
    color: var(--bs-danger);
    margin: 0.5rem 0 0;
}

.rse-date[b-end9eal3ik] {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.rse-date__mode[b-end9eal3ik] {
    flex: 1 1 auto;
}

.rse-date__fixed[b-end9eal3ik] {
    flex: 0 0 10rem;
}

.rse-status[b-end9eal3ik] {
    padding: 0.5rem 0.75rem;
    border-left: 4px solid var(--bs-warning);
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
    font-size: 0.85rem;
}

.rse-summary[b-end9eal3ik] {
    padding: 0.5rem 0.75rem;
    border-left: 4px solid var(--bs-primary);
    background: var(--bs-light-bg-subtle, var(--bs-tertiary-bg));
    font-size: 0.9rem;
}

.rse-hint[b-end9eal3ik] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-top: 0.15rem;
}

.rse-period__fixed[b-end9eal3ik] {
    flex: 1 1 50%;
}
/* /Components/Pages/Reports/ReportSchedules.razor.rz.scp.css */
.rs-banner[b-i30xlcz3u3] {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.75rem;
    border-left: 4px solid var(--bs-warning);
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
    font-size: 0.9rem;
}
/* /Components/Pages/Reports/ReportScheduleSetupEditor.razor.rz.scp.css */
.rss-param[b-6tdbkjoecy] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.rss-note[b-6tdbkjoecy] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.rss-note--warn[b-6tdbkjoecy] {
    color: var(--bs-danger);
}

.rss-error[b-6tdbkjoecy] {
    color: var(--bs-danger);
    margin: 0.5rem 0 0;
}
/* /Components/Pages/Settings/Accounting/FirmBudget/FirmBudgetSettings.razor.rz.scp.css */
/* LW+CL 23.10.26 #1551 — Settings > General Ledger > Firm Budgets */

.fb-header[b-d55ml4svlj] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}

.fb-field[b-d55ml4svlj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fb-label[b-d55ml4svlj] {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[b-d55ml4svlj] .fb-select {
    min-width: 280px;
}

.fb-actions[b-d55ml4svlj] {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.fb-saved[b-d55ml4svlj] {
    align-self: center;
    font-size: 12px;
    color: #1a8a3a;
}

.fb-main[b-d55ml4svlj] {
    padding: 12px 16px;
}

.fb-empty[b-d55ml4svlj],
.fb-intro[b-d55ml4svlj] {
    color: #64748b;
    font-size: 13px;
    padding: 8px 0 12px;
}

.fb-card[b-d55ml4svlj] {
    margin-bottom: 12px;
}

.fb-card-header[b-d55ml4svlj] {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.fb-measure[b-d55ml4svlj] {
    font-weight: 600;
}

.fb-measure-hint[b-d55ml4svlj] {
    color: #64748b;
    font-size: 12px;
}

.fb-total[b-d55ml4svlj] {
    margin-left: auto;
    font-size: 12px;
    color: #0a3d62;
    font-weight: 600;
}

.fb-annual[b-d55ml4svlj] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fb-months[b-d55ml4svlj] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.fb-month[b-d55ml4svlj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px;
    border-radius: 4px;
}

.fb-month.fb-changed[b-d55ml4svlj] {
    background: #fff7e6;
}

.fb-month-label[b-d55ml4svlj] {
    font-size: 11px;
    color: #64748b;
}

[b-d55ml4svlj] .fb-cell {
    width: 100%;
    min-width: 0;
}
/* /Components/Pages/Settings/Alerts/RuleEditor.razor.rz.scp.css */
.security-rights-list-wrap[b-nzzb6oytg2] {
    height: 420px;
}
/* /Components/Pages/Settings/Api/ApiKeyEditor.razor.rz.scp.css */
.apikey-generated-panel[b-sozd8xj6ng] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.apikey-warning[b-sozd8xj6ng] {
    color: #664d03;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.apikey-keybox-row[b-sozd8xj6ng] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.apikey-keybox[b-sozd8xj6ng] {
    flex: 1;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    padding: 5px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    color: #212529;
    min-width: 0;
    letter-spacing: 0.02em;
}

.apikey-copy-btn[b-sozd8xj6ng] {
    white-space: nowrap;
    padding: 5px 14px;
    border: 1px solid #6c757d;
    border-radius: 4px;
    background: #6c757d;
    color: #fff;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.apikey-copy-btn:hover[b-sozd8xj6ng] {
    background: #5c636a;
    border-color: #565e64;
}

.apikey-copy-btn--done[b-sozd8xj6ng] {
    background: #198754;
    border-color: #146c43;
}

.apikey-copy-btn--done:hover[b-sozd8xj6ng] {
    background: #146c43;
}

.apikey-hint[b-sozd8xj6ng] {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.4;
    /* AM+CL:14.09.26 — sits directly under the scope list and describes what was just ticked, so
       it needs to read as part of that control rather than as the next field down. */
    margin: 8px 0 6px;
}

.apikey-static[b-sozd8xj6ng] {
    padding: 5px 0;
    font-weight: 600;
}

/* AM+CL:14.09.26 — scope list spacing. Alex: "spacing on the scopes a bit off. need margin or
   something to layout better". Each row is a scope name followed by a full sentence, so at the
   default density a two-line row is hard to tell from two one-line rows. Selectors match the DOM
   DevExpress actually renders — plain <li role="option"> with a dxbl-checkbox inside, no item
   class — checked in the browser rather than assumed. ::deep is required because the list is a
   child component, so a plain scoped rule never reaches its rows. */
[b-sozd8xj6ng] #lst-api-key-editor-scopes li[role="option"] {
    padding: 7px 8px;
    line-height: 1.45;
    align-items: flex-start;
}

[b-sozd8xj6ng] #lst-api-key-editor-scopes li[role="option"] + li[role="option"] {
    border-top: 1px solid #f0f1f3;
}

/* The checkbox sits beside a wrapping sentence; without this it centres against the whole block
   and drifts away from the line it belongs to. */
[b-sozd8xj6ng] #lst-api-key-editor-scopes li[role="option"] .dxbl-checkbox {
    margin-top: 2px;
    margin-right: 6px;
    flex: 0 0 auto;
}

[b-sozd8xj6ng] #lst-api-key-editor-scopes {
    max-height: 340px;
}
/* /Components/Pages/Settings/Assets/AssetMarketPrices/AssetStockPriceImport.razor.rz.scp.css */
/* UX review 2, I13 (LW+CL 05.11.26): only this import's own layout lives here. Its look (setup card, file state, hints,
   Run line, tally chips, action-outcome line, Post bar, row tints) is the Import Hub's, styled by Imports.razor.css through
   the .imports-hosted wrapper the Hub puts round this component, so there is one copy of each style. */
.asp-import[b-j9v0mq99be] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.asp-import-tally[b-j9v0mq99be] {
    margin: 10px 0 8px;
}

.asp-import-grid[b-j9v0mq99be] {
    height: 420px;
    min-height: 0;
}
/* /Components/Pages/Settings/Assets/AssetValuationCategory/AssetValuationCategoriesEnquiry.razor.rz.scp.css */
.vc-filter-bar[b-p0ywh94sz6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 14px;
}

.vc-filter-label[b-p0ywh94sz6] {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}
/* /Components/Pages/Settings/Communications/EmailTemplateEditor.razor.rz.scp.css */
.email-template-editor__subject-row[b-7tbehm0j37] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-template-editor__subject-row[b-7tbehm0j37]  .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.email-template-editor__subject-input[b-7tbehm0j37] {
    flex: 1;
    min-width: 0;
}

.email-template-editor__body-toolbar[b-7tbehm0j37] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.email-template-editor__body-toolbar[b-7tbehm0j37]  .btn {
    white-space: nowrap;
    flex-shrink: 0;
}
/* /Components/Pages/Settings/CRM/Banking/SignatoryGroupsEditor.razor.rz.scp.css */
.mandate-note[b-6f7qab30n9] {
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.875rem;
  padding: 0.25rem 0;
}
/* /Components/Pages/Settings/CRM/ChangeControls.razor.rz.scp.css */
/* LW+CL:05.11.26 change controls: the Change Controls settings page. */
.cc-intro[b-oo1lbfa2be] {
    max-width: 900px;
    margin: 0 0 12px;
    color: var(--bs-secondary-color, #6c757d);
}

.cc-sub[b-oo1lbfa2be] {
    margin: 24px 0 4px;
}
/* /Components/Pages/Settings/CRM/ChangeRuleEditor.razor.rz.scp.css */
/* LW+CL:05.11.26 change controls: the rule editor. */
.ccr-hint[b-9ygn8t39ij] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 4px;
}

.ccr-error[b-9ygn8t39ij] {
    color: var(--bs-danger, #dc3545);
}
/* /Components/Pages/Settings/CRM/Compliance/DocumentTypes/ComplianceDocumentTypeEdit.razor.rz.scp.css */
/* LW+CL:10.11.26 HelpDesk #1868: cap the roles list so the Save footer stays on screen.
   LW+CL:11.11.26 #1868 retest failed on DEV: a bare ::deep rule compiles to [b-xxx] .compliance-type-roles-list, which needs an
   ancestor carrying this component's scope attribute, and the list box renders inside DevExpress child components (none does).
   The wrapper div in the .razor is rendered by this component, so it has the attribute; the cap sits on it directly and
   on the list inside it. */
.compliance-type-roles-wrap[b-6x83k9uhdu] {
	max-height: 220px;
	overflow-y: auto;
}

.compliance-type-roles-wrap[b-6x83k9uhdu]  .compliance-type-roles-list {
	max-height: 220px;
	overflow-y: auto;
}
/* /Components/Pages/Settings/CRM/Countries/CountryEditor.razor.rz.scp.css */
.tax-reporting-grid-wrap[b-2ss2to5i1c] {
    height: 420px;
}
/* /Components/Pages/Settings/CRM/UBO/UBOConfiguration.razor.rz.scp.css */
/* AM+CL 05.10.26: UBO configuration - registers and what each records, records, background index. */
.ubo-cfg-page[b-d734wxm6wb] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.ubo-cfg-title[b-d734wxm6wb] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.ubo-cfg-intro[b-d734wxm6wb],
.ubo-cfg-line[b-d734wxm6wb],
.ubo-cfg-hint[b-d734wxm6wb] {
    font-size: .85rem;
    color: var(--bs-secondary-color, #6b7280);
    max-width: 110ch;
    margin: 0;
    line-height: 1.45;
}

.ubo-cfg-section[b-d734wxm6wb] {
    border-top: 1px solid var(--bs-border-color, #e5e7eb);
    padding-top: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ubo-cfg-h2[b-d734wxm6wb] {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0;
}

.ubo-cfg-ok[b-d734wxm6wb] { color: #067647; margin: 0; }
.ubo-cfg-error[b-d734wxm6wb] { color: #b42318; margin: 0; }
/* /Components/Pages/Settings/CRM/UBO/UboRegisterSettingEditor.razor.rz.scp.css */
/* AM+CL 05.10.26: the register settings editor. */
.ubo-regset-note[b-zx4dm35a63] {
    font-size: .82rem;
    color: var(--bs-secondary-color, #6b7280);
    line-height: 1.4;
}

.ubo-regset-actions[b-zx4dm35a63] {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.ubo-regset-error[b-zx4dm35a63] {
    color: #b42318;
    margin: 0;
}

.ubo-regset-head[b-zx4dm35a63] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.ubo-regset-name[b-zx4dm35a63] { font-weight: 600; }
.ubo-regset-meta[b-zx4dm35a63] { font-size: .82rem; color: var(--bs-secondary-color, #6b7280); }
/* /Components/Pages/Settings/DataUtilities/GlobalSettings.razor.rz.scp.css */
.gs-poll-panel[b-ce9pwocjwc] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    background: var(--bs-light, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
}

.gs-poll-label[b-ce9pwocjwc] {
    font-weight: 500;
    white-space: nowrap;
}

.gs-poll-input[b-ce9pwocjwc] {
    width: 90px;
}

.gs-poll-unit[b-ce9pwocjwc] {
    color: var(--bs-secondary, #6c757d);
    white-space: nowrap;
}

.gs-poll-note[b-ce9pwocjwc] {
    color: var(--bs-secondary, #6c757d);
    font-size: 0.8125rem;
    margin-left: auto;
}
/* /Components/Pages/Settings/Documents/CheckedOutFiles.razor.rz.scp.css */
.co-days-warn[b-hjaznhory0]   { color: #856404; font-weight: 600; } /* 7-29 days */
.co-days-danger[b-hjaznhory0] { color: #842029; font-weight: 600; } /* 30+   days */
/* /Components/Pages/Settings/Documents/Deleted Documents/DeletedDocuments.razor.rz.scp.css */
.dd-purge-settings[b-7ft12qkcgd] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dd-purge-label[b-7ft12qkcgd] {
    font-weight: 500;
}
/* /Components/Pages/Settings/Documents/ESignature/ESignatureEnvelopeDetail.razor.rz.scp.css */
/* LW+CL:27.10.26 corporate-signatory 2g: what needs attention on an envelope */
.esign-env-attention[b-uakglxqf25] {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    background: #fff4e0;
    color: #8a4b00;
    border: 1px solid #f0c98a;
}
/* /Components/Pages/Settings/Documents/OfficeIntegrationSetup.razor.rz.scp.css */
.ois-page[b-1aqw7zga5v] {
    max-width: 760px;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #374151;
}

.ois-header[b-1aqw7zga5v] {
    margin-bottom: 2rem;
}

.ois-title[b-1aqw7zga5v] {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #111827;
}

.ois-subtitle[b-1aqw7zga5v] {
    color: #6b7280;
    margin: 0;
}

.ois-section[b-1aqw7zga5v] {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.ois-section:last-child[b-1aqw7zga5v] {
    border-bottom: none;
}

.ois-section-title[b-1aqw7zga5v] {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #111827;
}

.ois-subsection-title[b-1aqw7zga5v] {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #374151;
}

.ois-step-list[b-1aqw7zga5v] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.ois-step[b-1aqw7zga5v] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ois-step-num[b-1aqw7zga5v] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1px;
}

.ois-code-block[b-1aqw7zga5v] {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-family: monospace;
    font-size: 0.8rem;
    margin: 0.4rem 0;
    line-height: 1.6;
}

.ois-note[b-1aqw7zga5v] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    color: #1e40af;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.ois-note--warn[b-1aqw7zga5v] {
    background: #fff3cd;
    border-color: #ffe69c;
    color: #664d03;
}

.ois-checklist[b-1aqw7zga5v] {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.ois-limitation-list[b-1aqw7zga5v] {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.ois-test[b-1aqw7zga5v] {
    margin-top: 0.75rem;
}

.ois-test-row[b-1aqw7zga5v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ois-test-input[b-1aqw7zga5v] {
    width: 220px;
}

.ois-test-result[b-1aqw7zga5v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.ois-test-result--pending[b-1aqw7zga5v] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.ois-test-result--pass[b-1aqw7zga5v] {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #a6f4c5;
}

.ois-test-result--fail[b-1aqw7zga5v] {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
    font-weight: 400;
}

.ois-test-caveat[b-1aqw7zga5v] {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #64748b;
}

kbd[b-1aqw7zga5v] {
    display: inline-block;
    padding: 0.1em 0.4em;
    font-size: 0.8em;
    font-family: monospace;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    box-shadow: 0 1px 0 #9ca3af;
}
/* /Components/Pages/Settings/Fiduciary/AgendaTemplates.razor.rz.scp.css */
.agt-typebar[b-diebdyu8uj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.agt-typebar label[b-diebdyu8uj] {
    font-weight: 600;
}

.agt-typebar[b-diebdyu8uj]  .dxbl-combobox,
.agt-typebar[b-diebdyu8uj]  .dxbl-text-edit {
    min-width: 220px;
}

.agt-hint[b-diebdyu8uj] {
    color: var(--bs-secondary-color, #5b6b66);
    font-size: 0.8rem;
}
/* /Components/Pages/Settings/Fiduciary/CorporateDocTemplateEditor.razor.rz.scp.css */
/* LW+CL:08.11.26 Corporate Documents ledger C21, C22: scope list and merge field chips */
.cdt-scope-list[b-13qujqyyww] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0;
}

.cdt-scope-chip[b-13qujqyyww] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f7f8fa;
}

.cdt-fields[b-13qujqyyww] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cdt-field-chip[b-13qujqyyww] {
    cursor: grab;
    padding: 2px 10px;
    border: 1px solid #b7e0c8;
    border-radius: 12px;
    background: #e8f6ee;
    color: #0a5c2e;
    font-size: 0.85rem;
}

.cdt-mode[b-13qujqyyww] {
    margin-bottom: 6px;
}

.cdt-preview[b-13qujqyyww] {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cdt-preview-note[b-13qujqyyww] {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8a5a00;
    background: #fff7e6;
    border-bottom: 1px solid #f0d9a8;
}

.cdt-preview-body[b-13qujqyyww] {
    white-space: pre-wrap;
    padding: 12px;
}

[b-13qujqyyww] .cedv-field {
    background: #fff3b0;
    color: #6b4e00;
    padding: 0 2px;
    border-radius: 2px;
}

/* a field WealthSphere holds no data for: entered by hand in the document */
.cdt-field-chip--manual[b-13qujqyyww] {
    border-color: #f0d9a8;
    background: #fff7e6;
    color: #8a5a00;
}

/* LW+CL:09.11.26 ledger C107 to C110: event header, Suggested/Alternative label, drag-over highlight */
.cdt-event-line[b-13qujqyyww] {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.cdt-event-meta[b-13qujqyyww] {
    font-size: 0.85rem;
    color: #5a6270;
}

.cdt-event-label[b-13qujqyyww] {
    font-size: 0.8rem;
    color: #5a6270;
}

.cdt-event-label--suggested[b-13qujqyyww] {
    font-weight: 700;
    color: #0a5c2e;
}

.cdt-body-drop--over[b-13qujqyyww] {
    outline: 2px dashed #11c683;
    background: #e8f6ee;
}
/* /Components/Pages/Settings/Fiduciary/CorporateEventTemplateEditor.razor.rz.scp.css */
/* LW+CL:27.10.26 a bounded box for each list box: the default fill-height sizing (.fillcontrol, height 100%) made them run
   over the next label and the "Publish signed copy to echelon" setting in this popup */
.cet-list[b-bd85gb2v6h] {
    height: 210px;
}
/* /Components/Pages/Settings/Fiduciary/Jurisdictions/RegulatorySourceEditor.razor.rz.scp.css */
.source-suspended[b-oi0nwp8yqn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    background: #fffbeb;
    color: #78350f;
    font-size: 0.875rem;
}

.source-test[b-oi0nwp8yqn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.source-test__ok[b-oi0nwp8yqn] {
    color: #15803d;
    font-size: 0.875rem;
}

.source-test__fail[b-oi0nwp8yqn] {
    color: #b91c1c;
    font-size: 0.875rem;
}
/* /Components/Pages/Settings/Fiduciary/Jurisdictions/RegulatorySources.razor.rz.scp.css */
/* LW+CL:11.11.26 (C126) regime filter pills above the Regulatory Sources grid, and the pills in the Regimes column. */
.rs-src-regimes[b-zhkvq0ff6v] {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin-bottom: 10px;
}
.rs-src-regimes__label[b-zhkvq0ff6v] {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
    color: var(--rs-text-mid);
}
.rs-src-regimes__pill[b-zhkvq0ff6v] { cursor: pointer; opacity: 0.75; }
.rs-src-regimes__pill:hover[b-zhkvq0ff6v] { opacity: 1; }
.rs-src-regimes__pill--active[b-zhkvq0ff6v] { opacity: 1; box-shadow: 0 0 0 2px var(--rs-navy); }

[b-zhkvq0ff6v] .rs-src-pill { margin-right: 3px; min-width: 0; padding: 1px 6px; }
/* /Components/Pages/Settings/Fiduciary/MeetingIqSettings.razor.rz.scp.css */
.miq-page[b-2iya54ipv5] {
    max-width: 760px;
}

.miq-title[b-2iya54ipv5] {
    margin: 0 0 12px;
}

.miq-card[b-2iya54ipv5] {
    border: 1px solid var(--bs-border-color, #d6dcd9);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: var(--bs-body-bg, #fff);
}

.miq-row[b-2iya54ipv5] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.miq-chip[b-2iya54ipv5] {
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.miq-chip.on[b-2iya54ipv5] {
    background: rgba(0, 168, 150, 0.15);
    color: #007a6d;
    border: 1px solid #00a896;
}

.miq-chip.off[b-2iya54ipv5] {
    background: #eceeed;
    color: #5b6b66;
    border: 1px solid #c4cbc8;
}

.miq-note[b-2iya54ipv5] {
    margin: 10px 0 0;
    color: var(--bs-secondary-color, #5b6b66);
    font-size: 0.85rem;
}

.miq-warn[b-2iya54ipv5] {
    margin: 10px 0 0;
    color: #9a5b00;
    font-size: 0.85rem;
}

.miq-sub[b-2iya54ipv5] {
    margin: 0 0 10px;
    font-size: 1rem;
}

.miq-stats[b-2iya54ipv5] {
    display: flex;
    gap: 36px;
}

.miq-stat[b-2iya54ipv5] {
    display: flex;
    flex-direction: column;
}

.miq-num[b-2iya54ipv5] {
    font-size: 1.6rem;
    font-weight: 700;
}
/* /Components/Pages/Settings/Fiduciary/MeetingTemplateEditor.razor.rz.scp.css */
.tmpl-system-note[b-3ruy69dlmm],
.tmpl-trigger-help[b-3ruy69dlmm] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #5b6b66);
    line-height: 1.8;
}

.tmpl-system-title[b-3ruy69dlmm] {
    font-weight: 600;
    margin: 6px 0 4px;
}

.tmpl-system-body[b-3ruy69dlmm] {
    white-space: pre-wrap;
    font-size: 0.85rem;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color, #dde5e2);
    border-radius: 4px;
    padding: 8px 10px;
}

.tmpl-preview[b-3ruy69dlmm] {
    margin-top: 8px;
}

.tmpl-preview-notice[b-3ruy69dlmm] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #5b6b66);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--bs-border-color, #dde5e2);
}

.tmpl-preview-doc[b-3ruy69dlmm] {
    white-space: pre-wrap;
    font-size: 0.85rem;
    line-height: 1.7;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color, #dde5e2);
    border-radius: 4px;
    padding: 10px 12px;
}

.tmpl-preview-auto[b-3ruy69dlmm] {
    color: #00a896;
    font-weight: 700;
}

.tmpl-preview-manual[b-3ruy69dlmm] {
    color: #d97706;
    font-weight: 700;
}

/* LW+CL:08.11.26 (ledger C29) the entities a template is limited to */
.tmpl-scope-list[b-3ruy69dlmm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0;
}

.tmpl-scope-chip[b-3ruy69dlmm] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 10px;
    border: 1px solid var(--bs-border-color, #dde5e2);
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f7f8fa);
}
/* /Components/Pages/Settings/Governance/StageWordingEditor.razor.rz.scp.css */
.swe-example[b-wi73fqenwg] { margin-top: 4px; font-size: 0.85rem; color: #4a5568; }
.swe-example-tag[b-wi73fqenwg] { display: inline-block; padding: 0 6px; margin-right: 4px; border-radius: 4px; font-size: 0.72rem; line-height: 18px; background: #eaeff5; }
[b-wi73fqenwg] .swe-insert { max-width: 340px; }
.swe-shared[b-wi73fqenwg] { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border: 1px solid #eef1f5; border-radius: 6px; background: #fbfcfe; font-size: 0.9rem; }
.swe-muted[b-wi73fqenwg] { color: #6b7280; }
.swe-shared .swe-example-tag[b-wi73fqenwg] { align-self: flex-start; }
/* /Components/Pages/Settings/Governance/WorkflowTemplateEditor.razor.rz.scp.css */
/* Governance Studio editor: a stage route on the left, the selected stage on the right (LW+CL 04.10.26).
   Colours are Governance's own (--gt-*): navy for headings, teal for "where you are", amber for "saved as a new
   version", green for "changes straight away". */
.wft[b-1cvljdt2p0] {
  --wft-navy: #0a3d62;
  --wft-text: #1a1d2e;
  --wft-slate: #4a5568;
  --wft-muted: #64748b;
  --wft-rule: #e2e8f0;
  --wft-surface: #f7f9fc;
  --wft-teal: #00a896;
  --wft-teal-soft: #e6f6f4;
  --wft-amber: #9a5b00;
  --wft-amber-soft: #fdf3e1;
  --wft-green: #0b6b3a;
  --wft-green-soft: #e6f4ec;
  --wft-red: #b42318;
  --wft-red-soft: #fdf0f1;
  /* The Studio page: app header, breadcrumb, title, state banner and tabs sit above the panes (~385px). */
  --wft-pane-height: max(360px, calc(100vh - 395px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--wft-text);
}

.wft-loading[b-1cvljdt2p0] { padding: 24px; display: flex; gap: 8px; align-items: center; color: #64748b; }
.wft-muted[b-1cvljdt2p0] { color: var(--wft-muted); margin: 0; }
.wft-hint[b-1cvljdt2p0] { color: var(--wft-muted); font-size: 0.8rem; margin: 6px 0 0; }
.wft-warn[b-1cvljdt2p0] { margin: 6px 0 0; padding: 6px 10px; border-radius: 6px; background: var(--wft-amber-soft); color: var(--wft-amber); font-size: 0.85rem; }
.wft-empty[b-1cvljdt2p0] { color: var(--wft-muted); font-style: italic; }
.wft-code[b-1cvljdt2p0] { color: var(--wft-muted); font-size: 0.75rem; letter-spacing: 0.02em; }

/* ── Header: the version and its state ─────────────────────────────────────── */
.wft-head[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.wft-title[b-1cvljdt2p0] { flex-basis: 100%; margin: 0; font-size: 1.5rem; font-weight: 600; color: var(--wft-navy); line-height: 1.2; }
.wft-head-version[b-1cvljdt2p0] { font-size: 1.05rem; font-weight: 600; color: var(--wft-navy); }
.wft-facts[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 0 auto; }
.wft-facts > div[b-1cvljdt2p0] { display: flex; gap: 6px; align-items: baseline; }
.wft-facts dt[b-1cvljdt2p0] { font-weight: 400; color: var(--wft-muted); }
.wft-facts dd[b-1cvljdt2p0] { margin: 0; font-weight: 600; color: var(--wft-text); }

.wft-pill[b-1cvljdt2p0] { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.wft-pill[b-1cvljdt2p0]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wft-pill--live[b-1cvljdt2p0] { color: var(--wft-green); background: var(--wft-green-soft); }
.wft-pill--draft[b-1cvljdt2p0] { color: var(--wft-amber); background: var(--wft-amber-soft); }
.wft-pill--retired[b-1cvljdt2p0] { color: var(--wft-muted); background: #eef1f5; }

.wft-state[b-1cvljdt2p0] { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: #eef5fb; border: 1px solid #d6e6f3; }
.wft-state--draft[b-1cvljdt2p0] { background: var(--wft-amber-soft); border-color: #f2dcb5; }
.wft-state--pending[b-1cvljdt2p0] { background: var(--wft-teal-soft); border-color: #bfe7e1; }
.wft-state--readonly[b-1cvljdt2p0] { background: var(--wft-surface); border-color: var(--wft-rule); }
.wft-state-icon[b-1cvljdt2p0] { font-size: 18px; color: var(--wft-navy); align-self: flex-start; margin-top: 2px; }
.wft-state--draft .wft-state-icon[b-1cvljdt2p0] { color: var(--wft-amber); }
.wft-state-text[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wft-state-actions[b-1cvljdt2p0] { display: flex; gap: 8px; flex-shrink: 0; }
.wft-diff[b-1cvljdt2p0] { margin-top: 4px; }
.wft-diff summary[b-1cvljdt2p0] { cursor: pointer; color: var(--wft-amber); font-weight: 600; width: fit-content; }
.wft-diff ul[b-1cvljdt2p0] { margin: 4px 0 0; padding-left: 18px; }

.wft-alert[b-1cvljdt2p0] { padding: 10px 14px; border-radius: 8px; background: var(--wft-red-soft); border: 1px solid #f4c7cb; color: var(--wft-red); }
.wft-alert ul[b-1cvljdt2p0] { margin: 4px 0 0; padding-left: 18px; }

/* ── Body: route + inspector ────────────────────────────────────────────────── */
.wft-body[b-1cvljdt2p0] { display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: 18px; padding-top: 12px; }
/* The change bar sits above the panes; they give up its height so nothing is pushed below the window. */
.wft-body.has-changes[b-1cvljdt2p0] { --wft-pane-height: max(300px, calc(100vh - 495px)); }
.wft-route-lock[b-1cvljdt2p0] { font-size: 11px; color: var(--wft-muted); margin-left: 4px; vertical-align: 1px; }

.wft-route[b-1cvljdt2p0] {
  max-height: var(--wft-pane-height);
  overflow-y: auto;
  padding: 12px 10px 12px 12px;
  border-radius: 10px;
  background: var(--wft-surface);
  border: 1px solid var(--wft-rule);
}
.wft-route-title[b-1cvljdt2p0] { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; font-weight: 600; color: var(--wft-navy); }
.wft-route-list[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; position: relative; }
/* The line a case travels, behind the nodes. */
.wft-route-list[b-1cvljdt2p0]::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 2px; background: #cfd8e3; }

.wft-route-item[b-1cvljdt2p0] { position: relative; display: flex; align-items: flex-start; border-radius: 8px; margin-bottom: 4px; }
.wft-route-hit[b-1cvljdt2p0] {
  display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0;
  padding: 8px 6px 8px 8px; border-radius: 8px; cursor: pointer; outline: none;
  border: 1px solid transparent; transition: background-color 120ms ease, border-color 120ms ease;
}
.wft-route-hit:hover[b-1cvljdt2p0] { background: #fff; border-color: var(--wft-rule); }
.wft-route-hit:focus-visible[b-1cvljdt2p0] { border-color: var(--wft-teal); box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.2); }
.wft-route-item.is-selected .wft-route-hit[b-1cvljdt2p0] { background: #fff; border-color: var(--wft-teal); box-shadow: 0 1px 3px rgba(10, 61, 98, 0.08); }

.wft-node[b-1cvljdt2p0] {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid #b8c4d2; color: var(--wft-slate); font-weight: 700; font-size: 0.8rem;
}
.wft-route-item.is-selected .wft-node[b-1cvljdt2p0] { background: var(--wft-teal); border-color: var(--wft-teal); color: #fff; }
.wft-route-item.is-removed .wft-node[b-1cvljdt2p0] { border-style: dashed; color: var(--wft-muted); background: var(--wft-surface); }
.wft-node--wide[b-1cvljdt2p0] { border-radius: 8px; font-size: 14px; }

.wft-route-text[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 3px; }
.wft-route-name[b-1cvljdt2p0] { font-weight: 600; color: var(--wft-text); line-height: 1.25; }
.wft-route-item.is-removed .wft-route-name[b-1cvljdt2p0] { text-decoration: line-through; color: var(--wft-muted); }
.wft-marks[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 4px; }
.wft-mark[b-1cvljdt2p0] { display: inline-flex; align-items: center; gap: 3px; padding: 0 6px; border-radius: 4px; font-size: 0.72rem; line-height: 18px; color: var(--wft-slate); background: #eaeff5; }
.wft-mark [class^="dx-icon-"][b-1cvljdt2p0] { font-size: 11px; }
.wft-mark--key[b-1cvljdt2p0] { color: var(--wft-navy); background: #dde9f3; font-weight: 600; }
.wft-mark--warn[b-1cvljdt2p0] { color: var(--wft-amber); background: var(--wft-amber-soft); }
.wft-mark--removed[b-1cvljdt2p0] { color: var(--wft-red); background: var(--wft-red-soft); }
.wft-mark--quiet[b-1cvljdt2p0] { background: transparent; color: var(--wft-muted); padding: 0 2px; }

/* Reorder arrows: always in the tab order, shown when the stage is selected, hovered or focused. */
.wft-route-move[b-1cvljdt2p0] { display: flex; flex-direction: column; padding: 4px 0 0 2px; opacity: 0; transition: opacity 120ms ease; }
.wft-route-item:hover .wft-route-move[b-1cvljdt2p0],
.wft-route-item:focus-within .wft-route-move[b-1cvljdt2p0],
.wft-route-item.is-selected .wft-route-move[b-1cvljdt2p0] { opacity: 1; }
.wft-route-move[b-1cvljdt2p0]  .dxbl-btn { padding: 0 4px; min-height: 0; height: 20px; }

.wft-route-item--wide[b-1cvljdt2p0] { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #cfd8e3; border-radius: 0; }
.wft-addstage[b-1cvljdt2p0] {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}

.wft-route-hint[b-1cvljdt2p0] { margin: 10px 6px 0; font-size: 0.75rem; color: var(--wft-muted); }

/* ── Inspector ─────────────────────────────────────────────────────────────── */
.wft-inspector[b-1cvljdt2p0] { max-height: var(--wft-pane-height); overflow-y: auto; min-width: 0; padding-right: 4px; display: flex; flex-direction: column; gap: 12px; }
.wft-inspector-head[b-1cvljdt2p0] { display: flex; align-items: flex-end; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--wft-rule); position: sticky; top: 0; z-index: 2; background: #fff; }
.wft-inspector-title[b-1cvljdt2p0] { flex: 1; min-width: 0; }
.wft-inspector-title h3[b-1cvljdt2p0] { margin: 2px 0 0; font-size: 1.35rem; font-weight: 600; color: var(--wft-navy); line-height: 1.2; }
.wft-inspector-title h3.is-removed[b-1cvljdt2p0] { text-decoration: line-through; color: var(--wft-muted); }
.wft-eyebrow[b-1cvljdt2p0] { font-size: 0.78rem; color: var(--wft-teal); font-weight: 600; }

.wft-note[b-1cvljdt2p0] { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-radius: 6px; background: var(--wft-surface); color: var(--wft-slate); font-size: 0.85rem; }
.wft-note > [class^="dx-icon-"][b-1cvljdt2p0] { font-size: 14px; margin-top: 2px; }
.wft-note--warn[b-1cvljdt2p0] { background: var(--wft-amber-soft); color: var(--wft-amber); }

.wft-card[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 12px; }

.wft-section[b-1cvljdt2p0] { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--wft-rule); background: #fff; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 80px; }
.wft-section--edit[b-1cvljdt2p0] { border-color: #9fd9d1; box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.08); }
.wft-section-head[b-1cvljdt2p0] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wft-section-head h4[b-1cvljdt2p0] { margin: 0; font-size: 1rem; font-weight: 600; color: var(--wft-navy); }
.wft-section-head p[b-1cvljdt2p0] { margin: 2px 0 0; color: var(--wft-muted); font-size: 0.82rem; }
.wft-subhead[b-1cvljdt2p0] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--wft-rule); font-weight: 600; color: var(--wft-navy); }

.wft-label[b-1cvljdt2p0] { display: block; font-size: 0.78rem; font-weight: 600; color: var(--wft-slate); margin-bottom: 3px; }
.wft-facts-grid[b-1cvljdt2p0] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.wft-work-rules[b-1cvljdt2p0] { font-size: 0.82rem; }

.wft-field[b-1cvljdt2p0] { display: flex; flex-direction: column; min-width: 0; flex: 1 1 200px; }
.wft-field--narrow[b-1cvljdt2p0] { max-width: 180px; }
/* A field straight under a section stacks at its own height; the 200px basis is for fields side by side in a row. */
.wft-section > .wft-field[b-1cvljdt2p0] { flex: 0 0 auto; }
/* The same inside an action's or a stage option's own box, which also stacks its fields in a column. */
.wft-action-edit > .wft-field[b-1cvljdt2p0] { flex: 0 0 auto; }
.wft-field-row[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 12px; }
.wft-checks[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 18px; }
.wft-policy-field[b-1cvljdt2p0] { gap: 2px; }
.wft-policy-field[b-1cvljdt2p0]  .wft-narrow { max-width: 180px; }

/* Actions, read and edit. */
.wft-action-list[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wft-action-list > li[b-1cvljdt2p0] { padding: 8px 0; border-top: 1px solid #eef1f5; }
.wft-action-list > li:first-child[b-1cvljdt2p0] { border-top: none; padding-top: 0; }
.wft-action-line[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wft-action-name[b-1cvljdt2p0] { display: inline-flex; align-items: center; gap: 4px; padding: 1px 10px; border-radius: 999px; background: var(--wft-teal-soft); color: #00756a; font-weight: 600; font-size: 0.82rem; }
.wft-action-name--auto[b-1cvljdt2p0] { background: #eef1f5; color: var(--wft-slate); }
.wft-action-meta[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; color: var(--wft-muted); font-size: 0.82rem; }
.wft-chip[b-1cvljdt2p0] { display: inline-block; padding: 0 7px; border-radius: 4px; font-size: 0.72rem; line-height: 18px; background: #eaeff5; color: var(--wft-slate); white-space: nowrap; }
.wft-chip--quiet[b-1cvljdt2p0] { background: transparent; border: 1px solid var(--wft-rule); margin-left: 6px; }
.wft-anystage .wft-action-list > li[b-1cvljdt2p0] { display: flex; align-items: center; gap: 8px; }

.wft-action-edit[b-1cvljdt2p0] { padding: 12px; border-radius: 8px; background: var(--wft-surface); border: 1px solid #eef1f5; display: flex; flex-direction: column; gap: 10px; }
.wft-action-edit-title[b-1cvljdt2p0] { font-weight: 600; color: var(--wft-navy); }

/* Evidence, read and edit. */
.wft-evidence-list[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wft-evidence-list > li[b-1cvljdt2p0] { display: flex; gap: 10px; align-items: flex-start; }
.wft-evidence-tick[b-1cvljdt2p0] { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 5px; border: 1.5px solid #b8c4d2; color: transparent; font-size: 11px; }
.wft-evidence-tick.is-required[b-1cvljdt2p0] { border-color: var(--wft-teal); background: var(--wft-teal); color: #fff; }
.wft-evidence-name[b-1cvljdt2p0] { font-weight: 500; }

.wft-evidence[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.wft-evidence-item[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 10px 12px; border-radius: 8px; border: 1px solid var(--wft-rule); background: #fff; }
.wft-evidence-row[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wft-evidence-row[b-1cvljdt2p0]  .dxbl-text-edit { flex: 1 1 260px; }
.wft-evidence-no[b-1cvljdt2p0] { width: 20px; text-align: center; color: var(--wft-muted); font-weight: 600; font-size: 0.8rem; }
.wft-evidence-tools[b-1cvljdt2p0] { display: flex; gap: 0; margin-left: auto; }
.wft-evidence-guidance[b-1cvljdt2p0] { padding-left: 30px; }
.wft-evidence-guidance[b-1cvljdt2p0]  .dxbl-text-edit { width: 100%; }
.wft-evidence-applies[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-left: 30px; }
.wft-evidence-applies .wft-label[b-1cvljdt2p0] { margin: 0; }
.wft-evidence-applies[b-1cvljdt2p0]  .dxbl-combobox, .wft-evidence-applies[b-1cvljdt2p0]  .dxbl-tagbox, .wft-evidence-applies[b-1cvljdt2p0]  .dxbl-text-edit { flex: 1 1 220px; }
.wft-evidence-managed[b-1cvljdt2p0] { padding-left: 30px; font-size: 0.8rem; }
.wft-evidence-add[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px dashed #b8c4d2; background: var(--wft-surface); }
.wft-evidence-add[b-1cvljdt2p0]  .dxbl-text-edit { flex: 1 1 260px; }

/* Task and notices. */
.wft-task-name[b-1cvljdt2p0] { font-weight: 600; }
.wft-task-meta[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; color: var(--wft-slate); font-size: 0.85rem; }
.wft-task-meta [class^="dx-icon-"][b-1cvljdt2p0] { font-size: 12px; margin-right: 4px; color: var(--wft-muted); }
.wft-notice-list[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; }
.wft-notice[b-1cvljdt2p0] { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #eef1f5; }
.wft-notice:first-child[b-1cvljdt2p0] { border-top: none; }
.wft-notice-text[b-1cvljdt2p0] { flex: 1; min-width: 0; }

/* Who is told: one line per delivery, a small label then the sentence. */
.wft-section-group[b-1cvljdt2p0] { display: flex; flex-direction: column; border: 1px solid var(--wft-rule); border-radius: 10px; background: #fff; }
.wft-section-group > .wft-section[b-1cvljdt2p0] { border: none; border-radius: 0; box-shadow: none; }
.wft-section-group > .wft-section + .wft-section[b-1cvljdt2p0] { border-top: 1px solid var(--wft-rule); }
.wft-section-group > .wft-section--edit[b-1cvljdt2p0] { background: #f7fcfb; }
.wft-delivery[b-1cvljdt2p0] { margin: 4px 0 10px; border: 1px solid #eef1f5; border-radius: 6px; }
.wft-delivery-row[b-1cvljdt2p0] { display: grid; grid-template-columns: minmax(140px, 2fr) minmax(110px, 1fr) repeat(3, 64px) 36px; align-items: center; gap: 8px; padding: 6px 10px; border-top: 1px solid #eef1f5; font-size: 0.88rem; }
.wft-delivery-row:first-child[b-1cvljdt2p0] { border-top: none; }
.wft-delivery-row[b-1cvljdt2p0]  .dxbl-checkbox { justify-self: start; width: auto; }
.wft-delivery-empty[b-1cvljdt2p0] { padding: 8px 10px; font-size: 0.88rem; }
.wft-delivery-row--head[b-1cvljdt2p0] { font-size: 0.72rem; font-weight: 600; color: var(--wft-slate); background: #f6f8fb; }
/* Who is told, read-only: one row per recipient, with a When column and room for a notice's edit/remove. */
.wft-delivery--read .wft-delivery-row[b-1cvljdt2p0] { grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.3fr) repeat(3, 48px) 64px; gap: 6px; }
.wft-delivery--read .wft-delivery-row > span[b-1cvljdt2p0] { min-width: 0; overflow-wrap: anywhere; }
.wft-delivery-row--notice[b-1cvljdt2p0] { background: #fbfcfe; }
.wft-told-yes[b-1cvljdt2p0] { color: var(--wft-navy); }
.wft-told-subject[b-1cvljdt2p0] { display: block; font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wft-told-row-actions[b-1cvljdt2p0] { display: flex; justify-content: flex-end; gap: 2px; }
.wft-told-buttons[b-1cvljdt2p0] { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wft-chip--soft[b-1cvljdt2p0] { background: #e6f6f3; }
.wft-told-message[b-1cvljdt2p0] { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 10px 12px; border: 1px solid #eef1f5; border-radius: 6px; background: #fbfcfe; }
.wft-told-message-text[b-1cvljdt2p0] { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wft-told-buttons[b-1cvljdt2p0]  .dxbl-btn, .wft-told-message[b-1cvljdt2p0]  .dxbl-btn { white-space: nowrap; flex-shrink: 0; }
/* Who is told, edited in place: the same grid, its cells become controls; wording under it with a live example. */
.wft-delivery--editing .wft-delivery-row[b-1cvljdt2p0] { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(150px, 1.4fr) 52px 44px 44px 64px; align-items: start; }
.wft-delivery--editing .wft-delivery-row > span[b-1cvljdt2p0] { padding-top: 4px; }
.wft-told-recipient[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 4px; }
.wft-told-when[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 4px; }
.wft-told-hours[b-1cvljdt2p0] { display: flex; align-items: center; gap: 6px; }
.wft-told-message[b-1cvljdt2p0] { margin-top: 10px; }
.wft-told-recipient[b-1cvljdt2p0]  .wft-told-wording-link { align-self: flex-start; padding: 0; font-size: 0.8rem; }
.wft-notice-editor[b-1cvljdt2p0] { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--wft-rule); }
.wft-audience[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; }
.wft-audience-line[b-1cvljdt2p0] { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; border-top: 1px solid #eef1f5; font-size: 0.88rem; }
.wft-audience-line:first-child[b-1cvljdt2p0] { border-top: none; }
.wft-audience-kind[b-1cvljdt2p0] { flex: 0 0 64px; font-size: 0.72rem; font-weight: 600; color: var(--wft-slate); background: #eaeff5; border-radius: 4px; line-height: 18px; text-align: center; }
.wft-audience-line--warning .wft-audience-kind[b-1cvljdt2p0] { color: var(--wft-amber); background: var(--wft-amber-soft); }
.wft-audience-line--note[b-1cvljdt2p0] { color: var(--wft-muted); }
.wft-audience-line--escalation .wft-audience-kind[b-1cvljdt2p0] { color: var(--wft-teal-dark, #00796b); background: #e6f6f4; }

/* Rules. */
.wft-rules[b-1cvljdt2p0] { margin: 0; display: flex; flex-direction: column; }
.wft-rules > div[b-1cvljdt2p0] { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid #eef1f5; }
.wft-rules > div:first-child[b-1cvljdt2p0] { border-top: none; padding-top: 0; }
.wft-rules dt[b-1cvljdt2p0] { font-weight: 400; color: var(--wft-slate); }
.wft-rules dd[b-1cvljdt2p0] { margin: 0; text-align: right; }

/* When a saved change reaches cases. */
.wft-scope[b-1cvljdt2p0] { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; cursor: help; white-space: nowrap; }
.wft-scope[b-1cvljdt2p0]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wft-scope--live[b-1cvljdt2p0] { color: var(--wft-green); background: var(--wft-green-soft); }
.wft-scope--version[b-1cvljdt2p0] { color: var(--wft-amber); background: var(--wft-amber-soft); }

/* Save/Cancel at the foot of an open editor: stays in reach while the form scrolls. */
.wft-editbar[b-1cvljdt2p0] {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px;
  /* The right gutter keeps Save and Cancel clear of the app's fixed "Ask IQ" button (bottom: 24px; right: 24px; about
     100px wide), which on a page, unlike in a pop-up, sits over this corner at any window height. */
  padding: 10px 112px 2px 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), #fff 30%);
}
.wft-editbar .wft-muted[b-1cvljdt2p0] { margin-right: auto; font-size: 0.8rem; }

/* Unsaved stage order / removals. */
.wft-changebar[b-1cvljdt2p0] {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 12px; padding: 12px 16px; max-height: 140px; overflow-y: auto;
  border-radius: 10px; background: #fff; border: 1px solid #f2dcb5; border-left: 4px solid #d18a00;
  box-shadow: 0 4px 14px rgba(10, 61, 98, 0.1);
}
.wft-changebar-text[b-1cvljdt2p0] { flex: 1; min-width: 0; }
.wft-changebar-text ul[b-1cvljdt2p0] { margin: 4px 0 0; padding-left: 18px; }
.wft-changebar-actions[b-1cvljdt2p0] { display: flex; gap: 8px; flex-shrink: 0; }
.wft-problems[b-1cvljdt2p0] { margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: var(--wft-red-soft); color: var(--wft-red); }
.wft-problems ul[b-1cvljdt2p0] { margin: 2px 0 0; padding-left: 18px; }
/* LW+CL:26.10.26 #1563: steps nobody (or one person) can pass; a warning, so amber rather than the problems' red. */
.wft-gateway-warning[b-1cvljdt2p0] { margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: #fff4e0; color: #8a5a00; }
.wft-gateway-warning ul[b-1cvljdt2p0] { margin: 2px 0 4px; padding-left: 18px; }

/* ── History ──────────────────────────────────────────────────────────────── */
.wft-history[b-1cvljdt2p0] { padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.wft-timeline[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.wft-timeline[b-1cvljdt2p0]::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: #cfd8e3; }
.wft-history-row[b-1cvljdt2p0] { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 0; }
.wft-timeline-dot[b-1cvljdt2p0] { position: relative; z-index: 1; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #b8c4d2; }
.wft-history-row.is-live .wft-timeline-dot[b-1cvljdt2p0] { border-color: var(--wft-green); }
.wft-history-row.is-draft .wft-timeline-dot[b-1cvljdt2p0] { border-color: #d18a00; }
.wft-history-main[b-1cvljdt2p0] { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--wft-rule); background: #fff; }
.wft-history-row.is-shown .wft-history-main[b-1cvljdt2p0] { border-color: var(--wft-teal); background: #fbfefd; }
.wft-history-title[b-1cvljdt2p0] { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.wft-history-version[b-1cvljdt2p0] { font-weight: 600; color: var(--wft-navy); }
.wft-history-actions[b-1cvljdt2p0] { display: flex; gap: 6px; flex-shrink: 0; }

@media (max-width: 900px) {
  .wft-body[b-1cvljdt2p0] { grid-template-columns: 1fr; }
  .wft-route[b-1cvljdt2p0], .wft-inspector[b-1cvljdt2p0] { max-height: none; }
  .wft-facts[b-1cvljdt2p0] { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wft-route-hit[b-1cvljdt2p0], .wft-route-move[b-1cvljdt2p0] { transition: none; }
}

/* ── UX round 2 (LW+CL 04.10.26): plain language, one section at a time, live checks, the flow, the go-live review ── */
.wft-title-line[b-1cvljdt2p0] { display: flex; align-items: center; gap: 4px; }
.wft-note-text[b-1cvljdt2p0] { flex: 1; }
.wft-note > .dxbl-btn[b-1cvljdt2p0], .wft-note[b-1cvljdt2p0]  .dxbl-btn { flex-shrink: 0; }
.wft-example-tag[b-1cvljdt2p0] { font-size: 0.7rem; font-weight: 600; color: var(--wft-muted); background: #eef1f5; border-radius: 4px; padding: 0 6px; margin-right: 4px; vertical-align: 1px; }

.wft-builtin[b-1cvljdt2p0] { font-size: 0.82rem; color: var(--wft-slate); }
.wft-builtin summary[b-1cvljdt2p0] { cursor: pointer; color: var(--wft-muted); width: fit-content; }
.wft-builtin summary:hover[b-1cvljdt2p0] { color: var(--wft-navy); }
.wft-builtin p[b-1cvljdt2p0] { margin: 6px 0 0; padding: 8px 10px; border-radius: 6px; background: var(--wft-surface); }

.wft-edit-top[b-1cvljdt2p0] { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; background: var(--wft-teal-soft); color: #00756a; font-weight: 600; font-size: 0.85rem; scroll-margin-top: 90px; }

/* The live check sits in the sticky Save bar, so what saving will do is always in view. */
.wft-editbar--checked[b-1cvljdt2p0] { align-items: flex-end; }
.wft-live[b-1cvljdt2p0] { flex: 1; min-width: 0; margin-right: auto; font-size: 0.82rem; max-height: 120px; overflow-y: auto; }
.wft-live ul[b-1cvljdt2p0] { margin: 2px 0 0; padding-left: 18px; }
.wft-live-problems[b-1cvljdt2p0] { color: var(--wft-red); }
.wft-edit-error[b-1cvljdt2p0] { flex-basis: 100%; display: flex; gap: 6px; align-items: flex-start; color: var(--wft-red); font-size: 0.82rem; }
.wft-live-changes[b-1cvljdt2p0] { color: var(--wft-green); }
.wft-live-changes ul[b-1cvljdt2p0] { color: var(--wft-text); }
.wft-live [class^="dx-icon-"][b-1cvljdt2p0] { font-size: 12px; }

.wft-section--attention[b-1cvljdt2p0] { border-color: #f2dcb5; background: #fffcf6; }
.wft-check-list[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; }
.wft-check-list li[b-1cvljdt2p0] { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-top: 1px solid #f6ead2; }
.wft-check-list li:first-child[b-1cvljdt2p0] { border-top: none; }
.wft-check-icon[b-1cvljdt2p0] { color: var(--wft-amber); font-size: 13px; }
.wft-check-name[b-1cvljdt2p0] { flex: 1; font-weight: 500; }

/* Go-live review. */
.wft-review[b-1cvljdt2p0] { padding: 16px 18px; border-radius: 10px; border: 1px solid #f2dcb5; background: #fff; box-shadow: 0 4px 14px rgba(10, 61, 98, 0.08); display: flex; flex-direction: column; gap: 12px; }
.wft-review-head h4[b-1cvljdt2p0] { margin: 0; font-size: 1.1rem; color: var(--wft-navy); }
.wft-review-head p[b-1cvljdt2p0] { margin: 2px 0 0; color: var(--wft-muted); }
.wft-review-grid[b-1cvljdt2p0] { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.wft-review-block[b-1cvljdt2p0] { padding: 10px 12px; border-radius: 8px; background: var(--wft-surface); }
.wft-review-block ul[b-1cvljdt2p0] { margin: 4px 0 0; padding-left: 18px; }
.wft-review-actions[b-1cvljdt2p0] { display: flex; justify-content: flex-end; gap: 8px; }

/* The flow picture. Strokes and fills come from here so the SVG markup carries no colour. */
.wft-flow-section[b-1cvljdt2p0] { overflow-x: auto; }
/* The inspector is a scrolling flex column: without this a section with no intrinsic height (the SVG) shrinks to nothing. */
.wft-inspector > *[b-1cvljdt2p0] { flex-shrink: 0; }
.wft-flow[b-1cvljdt2p0] { display: block; max-width: 100%; height: auto; font-family: inherit; }
.wft-flow-node[b-1cvljdt2p0] { cursor: pointer; outline: none; }
.wft-flow-node rect[b-1cvljdt2p0] { fill: #fff; stroke: #b8c4d2; stroke-width: 1.5; transition: stroke 120ms ease, fill 120ms ease; }
.wft-flow-node circle[b-1cvljdt2p0] { fill: #eef1f5; stroke: #b8c4d2; stroke-width: 1.5; }
.wft-flow-node:hover rect[b-1cvljdt2p0], .wft-flow-node:focus-visible rect[b-1cvljdt2p0] { stroke: var(--wft-teal); fill: #fbfefd; }
.wft-flow-node.is-selected rect[b-1cvljdt2p0] { stroke: var(--wft-teal); stroke-width: 2; }
.wft-flow-node.is-selected circle[b-1cvljdt2p0] { fill: var(--wft-teal); stroke: var(--wft-teal); }
.wft-flow[b-1cvljdt2p0]  .wft-flow-no { font-size: 11px; font-weight: 700; fill: var(--wft-slate); }
.wft-flow-node.is-selected[b-1cvljdt2p0]  .wft-flow-no { fill: #fff; }
.wft-flow[b-1cvljdt2p0]  .wft-flow-name { font-size: 13px; font-weight: 600; fill: var(--wft-text); }
.wft-flow-open[b-1cvljdt2p0] { font-size: 14px; font-weight: 800; fill: var(--wft-amber); }
.wft-flow-edge[b-1cvljdt2p0] { fill: none; stroke: #8a99ab; stroke-width: 1.6; }
.wft-flow-edge.is-jump[b-1cvljdt2p0] { stroke: var(--wft-teal); }
.wft-flow-edge.is-back[b-1cvljdt2p0] { stroke: #d18a00; }
.wft-flow-edge.is-auto[b-1cvljdt2p0] { stroke-dasharray: 5 4; }
.wft-flow-arrowhead[b-1cvljdt2p0] { fill: #8a99ab; }
.wft-flow-arrowhead--back[b-1cvljdt2p0] { fill: #d18a00; }
.wft-flow[b-1cvljdt2p0]  .wft-flow-label { font-size: 10.5px; fill: var(--wft-slate); }
.wft-flow[b-1cvljdt2p0]  .wft-flow-label.is-back { fill: var(--wft-amber); }
.wft-flow[b-1cvljdt2p0]  .wft-flow-label.is-jump { fill: #00756a; }
.wft-flow-end-line[b-1cvljdt2p0] { stroke: #cfd8e3; stroke-width: 1.2; }
.wft-flow-end-line.is-auto[b-1cvljdt2p0] { stroke-dasharray: 4 3; }
.wft-flow-end[b-1cvljdt2p0]  text { font-size: 11px; font-weight: 600; }
.wft-flow-end.is-complete rect[b-1cvljdt2p0] { fill: var(--wft-green-soft); }
.wft-flow-end.is-complete[b-1cvljdt2p0]  text { fill: var(--wft-green); }
.wft-flow-end.is-reject rect[b-1cvljdt2p0] { fill: var(--wft-red-soft); }
.wft-flow-end.is-reject[b-1cvljdt2p0]  text { fill: var(--wft-red); }
.wft-flow-end.is-cancel rect[b-1cvljdt2p0] { fill: #eef1f5; }
.wft-flow-end.is-cancel[b-1cvljdt2p0]  text { fill: var(--wft-slate); }
.wft-flow-legend[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.78rem; color: var(--wft-muted); }
.wft-key[b-1cvljdt2p0] { display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2px solid #8a99ab; }
.wft-key--jump[b-1cvljdt2p0] { border-top-color: var(--wft-teal); }
.wft-key--back[b-1cvljdt2p0] { border-top-color: #d18a00; }

@media (prefers-reduced-motion: reduce) {
  .wft-flow-node rect[b-1cvljdt2p0] { transition: none; }
}
/* Outcome stages (reached from many stages, left by none) and the tags that lead to them. */
.wft-flow-node.is-outcome rect[b-1cvljdt2p0] { fill: var(--wft-surface); stroke-dasharray: 4 3; }
.wft-flow-end.is-stage rect[b-1cvljdt2p0] { fill: #eef3f8; }
.wft-flow-end.is-stage[b-1cvljdt2p0]  text { fill: var(--wft-navy); }
.wft-flow-end.is-back rect[b-1cvljdt2p0] { fill: var(--wft-amber-soft); }
.wft-flow-end.is-back[b-1cvljdt2p0]  text { fill: var(--wft-amber); }

/* A version's option list, edited in its rules block (premigration-batch-spec.md section 4, LW+CL 04.10.26). */
.wft-optlist[b-1cvljdt2p0] { border-top: 1px solid var(--wft-rule); margin-top: 10px; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.wft-optlist-head[b-1cvljdt2p0] { display: flex; flex-direction: column; gap: 2px; }
.wft-optlist-rows[b-1cvljdt2p0] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wft-optlist-row[b-1cvljdt2p0] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 6px 8px; border: 1px solid var(--wft-rule); border-radius: 6px; background: #fff; }
.wft-optlist-row.is-off[b-1cvljdt2p0] { background: var(--wft-surface); color: var(--wft-muted); }
.wft-optlist-tools[b-1cvljdt2p0] { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }
[b-1cvljdt2p0] .wft-optlist-label { flex: 1 1 220px; min-width: 160px; }
[b-1cvljdt2p0] .wft-list-edit { margin-left: 6px; }
.wft-told-what[b-1cvljdt2p0] { margin: 2px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 0.88rem; }
.wft-told-what > div[b-1cvljdt2p0] { display: contents; }
.wft-told-what dt[b-1cvljdt2p0] { font-weight: 600; color: var(--wft-slate); }
.wft-told-what dd[b-1cvljdt2p0] { margin: 0; }
/* /Components/Pages/Settings/Governance/WorkflowTemplates.razor.rz.scp.css */
/* The workflow name opens it with one click; it reads as the row's title, underlined only on hover. */
[b-8tmmnopugb] .wft-list-name { color: #0b6e8a; font-weight: 600; text-decoration: none; }
[b-8tmmnopugb] .wft-list-name:hover, [b-8tmmnopugb] .wft-list-name:focus-visible { text-decoration: underline; }
/* /Components/Pages/Settings/Governance/WorkflowTemplateStudio.razor.rz.scp.css */
/* The Studio as a page: the editor fills the main pane; the breadcrumb leads back to the list. */
.wfs-page[b-fv8u5si17r] { display: flex; flex-direction: column; gap: 6px; padding: 8px 20px 12px; }
.wfs-crumbs[b-fv8u5si17r] { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 0.82rem; }
.wfs-crumb-sep[b-fv8u5si17r] { color: #b8c4d2; }
/* /Components/Pages/Settings/Imports/ImportLookupDomainEditor.razor.rz.scp.css */
/* Sweep 05.11.26 (UX M10): a plain line under each technical field, and the error line without an inline style. */
.domain-hint[b-yige0ssyfy] {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.domain-error[b-yige0ssyfy] {
    color: #b91c1c;
    margin: 6px 0 0;
}
/* /Components/Pages/Settings/Imports/ImportLookupDomains.razor.rz.scp.css */
/* UX sweep 4, W9: one line under the title saying what the page holds. */
.domains-subtitle[b-o98l0jpgmp] {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 6px;
}
/* /Components/Pages/Settings/IqQuota.razor.rz.scp.css */
.iq-quota[b-whklnatsgb] {
    padding: 12px 16px;
}

.iqq-title[b-whklnatsgb] {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 600;
}

.iqq-status[b-whklnatsgb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.iqq-off[b-whklnatsgb] {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #6d4c00;
}

.iqq-on[b-whklnatsgb] {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #1b5e20;
}

.iqq-status code[b-whklnatsgb] {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 4px;
    border-radius: 4px;
}

.iqq-tiers[b-whklnatsgb] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.iqq-tier-chip[b-whklnatsgb] {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.iqq-assign[b-whklnatsgb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.iqq-assign > .my-combobox[b-whklnatsgb],
.iqq-assign .dxbl-combobox[b-whklnatsgb] {
    min-width: 220px;
}

.iqq-msg-ok[b-whklnatsgb] {
    color: #1b5e20;
    font-size: 0.85rem;
}

.iqq-msg-err[b-whklnatsgb] {
    color: #b71c1c;
    font-size: 0.85rem;
}

.iqq-empty[b-whklnatsgb] {
    color: #868e96;
    padding: 12px 0;
}

.iqq-sep[b-whklnatsgb] {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 22px 0 14px;
}

.iqq-subtitle[b-whklnatsgb] {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
}

.iqq-hint[b-whklnatsgb] {
    margin: 0 0 12px;
    color: #868e96;
    font-size: 0.83rem;
    max-width: 720px;
}
/* /Components/Pages/Settings/IqTokenUsage.razor.rz.scp.css */
.iq-token-usage[b-32h5u350fo] {
    padding: 12px 16px;
}

.itu-header[b-32h5u350fo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.itu-title[b-32h5u350fo] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.itu-range[b-32h5u350fo] {
    display: flex;
    gap: 6px;
}

.itu-btn[b-32h5u350fo] {
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.85rem;
    cursor: pointer;
}

.itu-btn:hover[b-32h5u350fo] {
    background: #f1f3f5;
}

.itu-btn-active[b-32h5u350fo] {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.itu-grand[b-32h5u350fo] {
    margin: 0 0 10px;
    color: #495057;
    font-size: 0.9rem;
}

.itu-empty[b-32h5u350fo] {
    color: #868e96;
    padding: 16px 0;
}

.itu-hint[b-32h5u350fo] {
    color: #868e96;
    font-size: 0.85rem;
    font-weight: normal;
}

.itu-drilldown[b-32h5u350fo] {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.itu-drilldown-header[b-32h5u350fo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.itu-subtitle[b-32h5u350fo] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.itu-transcript[b-32h5u350fo] {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.itu-msg[b-32h5u350fo] {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e9ecef;
}

.itu-msg-user[b-32h5u350fo] {
    background: #eef6ff;
    border-color: #cfe2ff;
    margin-left: 10%;
}

.itu-msg-assistant[b-32h5u350fo] {
    margin-right: 10%;
}

.itu-msg-meta[b-32h5u350fo] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #868e96;
    margin-bottom: 4px;
}

.itu-msg-content[b-32h5u350fo] {
    white-space: pre-wrap;
    font-size: 0.9rem;
    color: #212529;
}
/* /Components/Pages/Settings/IQ/IqMyChips.razor.rz.scp.css */
.iqmc-hint[b-pjgid106t7] {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 16px;
}

.iqmc-empty[b-pjgid106t7] {
    color: #94a3b8;
    font-style: italic;
    padding: 20px 0;
}
/* /Components/Pages/Settings/LiveWealth/LiveWealthConfig.razor.rz.scp.css */
/* Help-text block under the masking-toggle group caption. CSS-isolated so it can't
   leak Bootstrap utility-class overrides to other settings pages. */
.lw-masking-help[b-f76c17808r] {
    color: var(--bs-secondary, #6c757d);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
/* /Components/Pages/Settings/Pulse/PulseChannelMap.razor.rz.scp.css */
.pulse-channel-map-intro[b-9u4ewu7079] {
    color: var(--bs-secondary, #6c757d);
    font-size: 0.875rem;
    max-width: 720px;
    margin-bottom: 1rem;
}
/* /Components/Pages/Settings/Pulse/PulseChannelMapEditor.razor.rz.scp.css */
.pulse-channel-map-hint[b-58193tmkqk] {
    color: var(--bs-secondary, #6c757d);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}
/* /Components/Pages/Settings/Pulse/PulsePreferences.razor.rz.scp.css */
.pulse-prefs-hint[b-ij3be7gcd9] {
    color: var(--bs-secondary, #6c757d);
    font-size: 0.875rem;
    max-width: 640px;
    margin-bottom: 1rem;
}

.pulse-prefs-panel[b-ij3be7gcd9] {
    display: inline-block;
    min-width: 360px;
    padding: 1rem 1.25rem;
    background: var(--bs-light, #f8f9fa);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
}

.pulse-prefs-row[b-ij3be7gcd9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
}

.pulse-prefs-row label[b-ij3be7gcd9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.pulse-prefs-sep[b-ij3be7gcd9] {
    margin: 0.75rem 0;
    border: none;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}

.pulse-prefs-msg[b-ij3be7gcd9] {
    color: var(--bs-success, #198754);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.pulse-prefs-channels-heading[b-ij3be7gcd9] {
    margin-top: 1.5rem;
}
/* /Components/Pages/Settings/RegSphere/ESActivityTypeSettings.razor.rz.scp.css */
.rs-es-act-subtitle[b-fkyikdfkz8] {
    color: var(--rs-text-muted, #6c757d);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.rs-es-act-banner[b-fkyikdfkz8] {
    margin-bottom: 1rem;
}

.rs-es-act-jurisdiction[b-fkyikdfkz8] {
    margin-bottom: 2rem;
}

.rs-es-act-jurisdiction__name[b-fkyikdfkz8] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--rs-border, #dee2e6);
}

.rs-es-act-table[b-fkyikdfkz8] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

    .rs-es-act-table th[b-fkyikdfkz8] {
        text-align: left;
        padding: 0.375rem 0.75rem;
        font-weight: 600;
        border-bottom: 2px solid var(--rs-border, #dee2e6);
        white-space: nowrap;
    }

    .rs-es-act-table td[b-fkyikdfkz8] {
        padding: 0.375rem 0.75rem;
        border-bottom: 1px solid var(--rs-border-light, #f0f0f0);
        vertical-align: middle;
    }

    .rs-es-act-table tr:last-child td[b-fkyikdfkz8] {
        border-bottom: none;
    }

.rs-es-act-action[b-fkyikdfkz8] {
    width: 110px;
    text-align: right;
}

.rs-es-act-pill[b-fkyikdfkz8] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.rs-es-act-pill--enabled[b-fkyikdfkz8] {
    background-color: var(--rs-pill-enabled-bg, #e8f5e9);
    color: var(--rs-pill-enabled-text, #2e7d32);
}

.rs-es-act-pill--disabled[b-fkyikdfkz8] {
    background-color: var(--rs-pill-disabled-bg, #fdecea);
    color: var(--rs-pill-disabled-text, #c62828);
}
/* /Components/Pages/Settings/RegSphere/RegimesAndJurisdictions.razor.rz.scp.css */
/* LW+CL:07.11.26 (ledger C52): the regime tiles above the matrix; same look as the Pulse and RegSphere KPI tiles (flat card, teal when selected). */
.rs-regime-tiles[b-e0f1u73pel] { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0 0 12px; }
.rs-regime-tile[b-e0f1u73pel] { font: inherit; text-align: left; cursor: pointer; background: #fff; border: 1px solid #dde5e2; border-radius: 8px; padding: 8px 14px; display: grid; gap: 2px; min-width: 130px; }
.rs-regime-tile b[b-e0f1u73pel] { font-size: 1.4rem; color: #0a3d62; font-variant-numeric: tabular-nums; }
.rs-regime-tile span[b-e0f1u73pel] { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.rs-regime-tile:hover[b-e0f1u73pel] { border-color: #0f8f7e; }
.rs-regime-tile:focus-visible[b-e0f1u73pel] { outline: 2px solid #0f8f7e; outline-offset: 2px; }
.rs-regime-tile--on[b-e0f1u73pel] { border-color: #0f8f7e; box-shadow: 0 0 0 2px #0f8f7e inset; }
.rs-regime-tiles__hint[b-e0f1u73pel] { align-self: center; font-size: 12px; color: #6b7280; }

/* C56: AML/CFT regulatory activity history inside the FATF window */
.rs-fatf-activity[b-e0f1u73pel] { margin-top: 16px; border-top: 1px solid #e5e7eb; padding-top: 12px; max-height: 260px; overflow-y: auto; }
.rs-fatf-activity__title[b-e0f1u73pel] { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #374151; margin-bottom: 8px; }
.rs-fatf-activity__empty[b-e0f1u73pel] { font-size: 12px; color: #6b7280; }
.rs-fatf-activity__item[b-e0f1u73pel] { border-left: 3px solid #e5e7eb; padding: 4px 0 4px 10px; margin-bottom: 10px; font-size: 12px; }
.rs-fatf-activity__date[b-e0f1u73pel] { font-size: 11px; color: #6b7280; }
.rs-fatf-activity__meta[b-e0f1u73pel] { font-size: 11px; color: #6b7280; }
/* /Components/Pages/Settings/RegSphere/RegSphereSettings.razor.rz.scp.css */
/* RegSphere Settings page — Verify FISC Setup + Set Next Ref toolbar. */

.rs-settings-toolbar[b-o1bc0v2vsb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #e4e8ed;
    font-size: 12px;
    flex-wrap: wrap;
}

.rs-settings-toolbar__sep[b-o1bc0v2vsb] {
    width: 1px;
    height: 24px;
    background: #e4e8ed;
    flex-shrink: 0;
    align-self: center;
}

/* ::deep — CssClass lands on DxTextBox's own root div, which Blazor never stamps
   with this page's b-* scope attribute, so the unprefixed selector below never
   matched and the input stretched to fill the whole toolbar row (pushing Set Next
   Ref onto a second line). LW+CL:03/08/26 #274 */
[b-o1bc0v2vsb] .rs-settings-toolbar__ref-input {
    width: 160px;
    flex-shrink: 0;
}

.rs-settings-toolbar__ok[b-o1bc0v2vsb]    { color: #166534; font-weight: 500; }
.rs-settings-toolbar__error[b-o1bc0v2vsb] { color: #991b1b; font-weight: 500; }

/* Next-reference hint. Monospace so a padding mismatch (INV0012 vs INV0000000012)
   is visually obvious — MRA matches the reference as an exact string. #274 */
.rs-settings-toolbar__hint[b-o1bc0v2vsb] {
    color: #475569;
    white-space: nowrap;
}

.rs-settings-toolbar__hint strong[b-o1bc0v2vsb] {
    font-family: Consolas, "Courier New", monospace;
    color: #0f172a;
}

/* Pre-emptive floor warning on the wire-value echo — amber, not red: the value
   isn't malformed, it's just lower than MRA will accept. #274 */
.rs-settings-toolbar__warn[b-o1bc0v2vsb] {
    color: #92400e;
    font-weight: 500;
    margin-left: 4px;
}
/* /Components/Pages/Settings/ScheduledJobs/ScheduledJobEditor.razor.rz.scp.css */
.sje-inline[b-04v3emyz6m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sje-spin-sm[b-04v3emyz6m] {
    width: 80px;
}

.sje-unit[b-04v3emyz6m] {
    color: var(--bs-secondary, #6c757d);
    white-space: nowrap;
    font-size: 0.875rem;
}

.sje-preview[b-04v3emyz6m] {
    padding: 0.5rem 0.75rem;
    background: #f0fdf8;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
}
/* /Components/Pages/Settings/ScheduledJobs/ScheduledJobRunDetail.razor.rz.scp.css */
.sjrd-body[b-b351c1z0rj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 360px;
}

.sjrd-header[b-b351c1z0rj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 6px 2px;
}

.sjrd-chip[b-b351c1z0rj] {
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}

.sjrd-meta[b-b351c1z0rj] {
    color: var(--dxbl-text-muted, #6c757d);
    font-size: 0.85rem;
}

.sjrd-error[b-b351c1z0rj] {
    color: #b02a37;
    background: rgba(176, 42, 55, 0.08);
    border: 1px solid rgba(176, 42, 55, 0.25);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.85rem;
    white-space: pre-wrap;
}

.sjrd-nodetail[b-b351c1z0rj] {
    color: var(--dxbl-text-muted, #6c757d);
    font-style: italic;
    padding: 12px 2px;
}
/* /Components/Pages/Settings/ScheduledJobs/ScheduledJobs.razor.rz.scp.css */
/* LW+CL:21/07/26 — MyDxTabs now bakes in its own flex-fill behaviour unconditionally
   (see MyDxTabs.razor's .mydxtabs-fill), so no page-level ::deep workaround is needed here
   any more. .sj-tab-body just governs spacing/stacking of this page's own tab content. */
.sj-tab-body[b-pr5oj0iiij] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.sj-runs-filter[b-pr5oj0iiij] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.sj-runs-filter-label[b-pr5oj0iiij] {
    font-weight: 500;
    white-space: nowrap;
}

.sj-runs-filter-date[b-pr5oj0iiij] {
    width: 140px;
}
/* /Components/Pages/Settings/Security/Roles/BulkAssignRolePopup.razor.rz.scp.css */
/* Layout is provided by the global editform-layout / razorpagemain / razorpagefooter
   rules in site.css — same pattern used by TaskEditor, SubMattersEdit, ShareTransferEditor.
   This file only carries bulk-assign-specific styling. */

.bulk-assign-summary[b-ftwz76wdys] {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.bulk-assign-alert[b-ftwz76wdys] {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    padding: 0.4rem 0.6rem;
}

.bulk-assign-user-grid[b-ftwz76wdys] {
    min-height: 200px;
}

.bulk-assign-empty[b-ftwz76wdys] {
    border: 1px dashed #d0d0d0;
    background: #fafafa;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
}

.bulk-assign-empty strong[b-ftwz76wdys] {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.bulk-assign-groups[b-ftwz76wdys] {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.5rem 0.6rem;
    background: #fafafa;
}

.bulk-assign-groups-head[b-ftwz76wdys] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bulk-assign-groups-list[b-ftwz76wdys] {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 1rem;
    /* Cap height so a role with many defaults doesn't push the footer offscreen. */
    max-height: 140px;
    overflow-y: auto;
    padding: 0.2rem 0.4rem;
    border-top: 1px dashed #d0d0d0;
}

.bulk-assign-group-row[b-ftwz76wdys] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    margin: 0;
    cursor: pointer;
}

.bulk-assign-group-name[b-ftwz76wdys] {
    user-select: none;
}
/* /Components/Pages/Settings/Security/Roles/RoleAdminScopes.razor.rz.scp.css */
.ras-note[b-9zhtmf79b6] {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 10px;
}
/* /Components/Pages/Settings/Security/Roles/RoleAnalytics.razor.rz.scp.css */
/* DxTreeView inside the menu-section dropdown picker in the Feature Mappings editor.
   Height cap prevents the popup from growing taller than the viewport on deep trees. */
[b-lf15498aie] .mapping-section-tree {
    max-height: 360px;
    overflow-y: auto;
    min-width: 380px;
    padding: 4px 0;
}

/* The Unused Permissions and Drift Detection grids sit on a scrollable page
   with no bounded-height parent. Without an explicit cap they grow past the
   viewport and DxGrid's own vertical scrollbar never engages — so with a lot
   of rows the scrollbar runs off-screen and you have to zoom out to see the
   data (RB-32/33). Capping the height to the viewport makes DxGrid scroll its
   data area internally while keeping the sticky header in view. */
[b-lf15498aie] .ra-analytics-grid {
    max-height: calc(100vh - 360px);
    min-height: 240px;
}
/* /Components/Pages/Settings/Security/Roles/RoleDefaultGroupsPrompt.razor.rz.scp.css */
/* Layout is provided by the global editform-layout / razorpagemain / razorpagefooter
   rules in site.css. This file only carries the suggestion-list styling. */

.rdgp-intro[b-rsgv3z37sk] {
    font-size: 0.9rem;
    color: #495057;
    margin: 0 0 0.6rem 0;
}

.rdgp-list[b-rsgv3z37sk] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    max-height: 320px;
    overflow-y: auto;
}

.rdgp-row[b-rsgv3z37sk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.rdgp-row:last-child[b-rsgv3z37sk] {
    border-bottom: none;
}

.rdgp-row:hover[b-rsgv3z37sk] {
    background-color: #f8f9fa;
}

.rdgp-row-name[b-rsgv3z37sk] {
    font-size: 0.9rem;
    color: #212529;
}

.rdgp-empty[b-rsgv3z37sk] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/Settings/Security/Roles/RoleDefaultGroupsTab.razor.rz.scp.css */
.rdgt-container[b-1qxbn97kq6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

/* Toolbar mirrors .rmp-toolbar so the chrome reads as one family across
   the Permissions and Default Groups tabs. */
.rdgt-toolbar[b-1qxbn97kq6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--bs-light, #f8f9fa);
    border-radius: 4px;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.rdgt-search[b-1qxbn97kq6] {
    width: 280px;
    min-width: 200px;
}

.rdgt-list[b-1qxbn97kq6] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.rdgt-header[b-1qxbn97kq6],
.rdgt-row[b-1qxbn97kq6] {
    display: grid;
    grid-template-columns: 32px 1fr auto 60px;
    align-items: center;
    padding: 0.35rem 0.75rem;
    gap: 4px;
}

.rdgt-header[b-1qxbn97kq6] {
    background: #e9ecef;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid #dee2e6;
}

.rdgt-row[b-1qxbn97kq6] {
    border-bottom: 1px solid #f0f0f0;
}

.rdgt-row:last-child[b-1qxbn97kq6] {
    border-bottom: none;
}

.rdgt-row:hover[b-1qxbn97kq6] {
    background-color: #f8f9fa;
}

.rdgt-check[b-1qxbn97kq6] {
    flex-shrink: 0;
}

.rdgt-col-name[b-1qxbn97kq6] {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rdgt-col-count[b-1qxbn97kq6] {
    font-size: 0.82rem;
    color: #6c757d;
    text-align: right;
}

.rdgt-col-status[b-1qxbn97kq6] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.rdgt-badge[b-1qxbn97kq6] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.rdgt-badge-add[b-1qxbn97kq6] {
    background-color: #d1f4e0;
    color: #0a6b3a;
    border: 1px solid #8ed6ad;
}

.rdgt-badge-remove[b-1qxbn97kq6] {
    background-color: #fde2e2;
    color: #8a1f1f;
    border: 1px solid #f0a8a8;
}

.rdgt-row-pending-add[b-1qxbn97kq6] {
    background-color: #f4fbf6;
}

.rdgt-row-pending-remove .rdgt-col-name[b-1qxbn97kq6] {
    text-decoration: line-through;
    color: #8a1f1f;
}

.rdgt-row-pending-remove[b-1qxbn97kq6] {
    background-color: #fdf6f6;
}

.rdgt-empty[b-1qxbn97kq6] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/Settings/Security/Roles/RoleEditor.razor.rz.scp.css */
/* Layout is provided by the global editform-layout / razorpagemain / razorpagefooter
   rules in site.css. This file only carries role-editor-specific styling. */

/* Shared chrome for every tab pane. The `grid` modifier is added on
   the panes that host a scrolling list (Permissions, Default Groups)
   so the inner panel can take the remaining height. */
.role-tab-pane[b-80yyvekcil] {
    padding: 0.5rem 0.25rem;
}

.role-tab-pane-grid[b-80yyvekcil] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

/* One-line descriptive note shown at the top of a tab (e.g. the
   Default Groups suggestion explanation). Tab labels carry the
   heading, so we don't repeat with <h6>. */
.role-tab-note[b-80yyvekcil] {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
    flex-shrink: 0;
}

/* Read-only view (e.g. from User Access Viewer's "View Role" modal).
   `::deep` punches through Blazor CSS isolation so the rule reaches child
   components (EditForm, RoleModulePanel, RoleDefaultGroupsTab) — without it
   only elements rendered directly by RoleEditor get the scope attribute and
   the form/checkboxes don't match. pointer-events: none stops clicks reaching
   any inner control; the Save row itself is hidden in markup. */
.role-editor-readonly[b-80yyvekcil]  form,
.role-editor-readonly[b-80yyvekcil]  .role-tab-pane {
    pointer-events: none;
    opacity: 0.92;
}

/* pointer-events is inherited, so the blanket rule above also lands on every
   scrollable list nested under a tab pane, killing wheel/scrollbar-drag hit
   testing on them (#218 — Tab 1 View Role popup lost its scroll). Re-open hit
   testing on just the scroll containers; every interactive control inside
   them is already disabled at the DOM level (Enabled/ReadOnly), not by this
   pointer-events layer, so this doesn't reopen the thing the rule guards. */
.role-editor-readonly[b-80yyvekcil]  .role-editor-nav-panel,
.role-editor-readonly[b-80yyvekcil]  .role-editor-content-panel,
.role-editor-readonly[b-80yyvekcil]  .rdgt-list,
.role-editor-readonly[b-80yyvekcil]  .history-grid-wrap {
    pointer-events: auto;
}

/* ── Permissions tab two-column layout ────────────────────────────────── */

.role-editor-permissions-layout[b-80yyvekcil] {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.role-editor-nav-panel[b-80yyvekcil] {
    flex: 0 0 220px;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    padding: 4px 8px;
}

.role-editor-content-panel[b-80yyvekcil] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Template usage callout shown on the Details tab once a template has been
   cloned at least once. Conveys "this is in real use — be careful editing"
   without being alarming. */
.role-template-usage[b-80yyvekcil] {
    background: #eef6ff;
    border: 1px solid #b6daff;
    color: #0b5394;
    border-radius: 6px;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
}

/* LW+CL:26.10.26 #1563: inline SVG (WS loads no Bootstrap Icons). */
.role-template-icon[b-80yyvekcil] {
    width: 0.95rem;
    height: 0.95rem;
    margin-right: 0.25rem;
    vertical-align: -0.12rem;
}

.history-grid-wrap[b-80yyvekcil] {
    height: 420px;
}

/* LW+CL:26.10.26 #1563: the parent-role note and the "Used in workflows" warning. */
.role-parent-note[b-80yyvekcil] {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #8a5a00;
}

.role-usage-warning[b-80yyvekcil] {
    color: #b02a37;
    margin-left: 4px;
}

/* LW+CL:09.11.26 C61 C70: the POC's pills: purpose coloured by kind, and a red "Nobody" where no one can pass a step. */
.history-grid-wrap[b-80yyvekcil]  .role-pill {
    display: inline-block;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.history-grid-wrap[b-80yyvekcil]  .pill-teal { background: #d9f2ee; color: #0b6b5e; }
.history-grid-wrap[b-80yyvekcil]  .pill-blue { background: #dfeafb; color: #1d4e9e; }
.history-grid-wrap[b-80yyvekcil]  .pill-grey { background: #e9ecef; color: #495057; }
.history-grid-wrap[b-80yyvekcil]  .pill-violet { background: #ece3fa; color: #5b32a3; }
.history-grid-wrap[b-80yyvekcil]  .pill-amber { background: #fff1d6; color: #8a5a00; }
.history-grid-wrap[b-80yyvekcil]  .pill-red { background: #fbe0dd; color: #a02a1f; }
/* /Components/Pages/Settings/Security/Roles/RoleMenuNav.razor.rz.scp.css */
.role-menu-nav[b-x3d728gear] {
    overflow-y: auto;
    height: 100%;
    padding: 4px 0;
    user-select: none;
}

/* ── Node row ─────────────────────────────────────────────── */

.nav-node[b-x3d728gear] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px 5px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.1s;
    min-height: 30px;
    position: relative;
}

    .nav-node:hover[b-x3d728gear] {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .nav-node--selected[b-x3d728gear] {
        background-color: rgba(0, 120, 215, 0.12);
        font-weight: 500;
    }

        .nav-node--selected:hover[b-x3d728gear] {
            background-color: rgba(0, 120, 215, 0.18);
        }

    .nav-node--greyed[b-x3d728gear] {
        opacity: 0.35;
        cursor: default;
        pointer-events: none;
    }

/* ── Chevron ──────────────────────────────────────────────── */

.nav-node__chevron[b-x3d728gear] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 3px;
    transition: transform 0.15s, color 0.1s;
    transform: rotate(0deg);
}

    .nav-node__chevron:hover[b-x3d728gear] {
        color: #333;
        background-color: rgba(0, 0, 0, 0.08);
    }

    .nav-node__chevron--open[b-x3d728gear] {
        transform: rotate(90deg);
        color: #333;
    }

    .nav-node__chevron--leaf[b-x3d728gear] {
        visibility: hidden;
        pointer-events: none;
    }

/* ── Label ────────────────────────────────────────────────── */

.nav-node__label[b-x3d728gear] {
    flex: 1 1 auto;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-node__label--other[b-x3d728gear] {
    color: #666;
    font-style: italic;
}

/* ── Badge ────────────────────────────────────────────────── */

.nav-node__badge[b-x3d728gear] {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-node__badge--green[b-x3d728gear] {
    background-color: #d4edda;
    color: #155724;
}

.nav-node__badge--orange[b-x3d728gear] {
    background-color: #fff3cd;
    color: #856404;
}

.nav-node__badge--grey[b-x3d728gear] {
    background-color: #e9ecef;
    color: #6c757d;
}

/* ── Module gate checkbox ─────────────────────────────────── */

.nav-node__gate[b-x3d728gear] {
    flex: 0 0 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-node__gate--spacer[b-x3d728gear] {
    pointer-events: none;
}

/* ── Gate checkbox state colours ──────────────────────────────
   Mirrors RoleModulePanel.razor.css's rmp-check-* tints (Blazor scoped CSS can't cross
   component boundaries, so the tree styles its own gate checkboxes). The class names match
   RoleModulePanel.GetCheckboxCss so the state→colour mapping stays the single C# source of
   truth; only the colour values are restated here. Keep in sync with the panel. */
[b-x3d728gear] .rmp-check-direct .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #198754 !important;
}
[b-x3d728gear] .rmp-check-promoted .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #f0a500 !important;
    box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.35);
}
[b-x3d728gear] .rmp-check-inherited .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #198754 !important;
}
[b-x3d728gear] .rmp-check-inherited {
    opacity: 0.55;
}
[b-x3d728gear] .rmp-check-denied .dxbl-checkbox-check-element {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* ── Module-gate state legend ─────────────────────────────── */

.nav-gate-legend[b-x3d728gear] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 8px 10px;
    margin: 6px 4px 2px;
    border-top: 1px solid #dee2e6;
    font-size: 11px;
    color: #555;
}

.nav-gate-legend__item[b-x3d728gear] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-gate-legend__sw[b-x3d728gear] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    font-size: 10px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
}

.nav-gate-legend__sw--direct[b-x3d728gear] {
    background-color: #198754;
}

.nav-gate-legend__sw--inherited[b-x3d728gear] {
    background-color: #198754;
    opacity: 0.55;
}

.nav-gate-legend__sw--denied[b-x3d728gear] {
    background-color: #dc3545;
}

.nav-gate-legend__note[b-x3d728gear] {
    flex: 1 1 100%;
    color: #777;
    font-style: italic;
}

/* ── Other / System separator ─────────────────────────────── */

.nav-node__separator[b-x3d728gear] {
    height: 1px;
    background-color: #dee2e6;
    margin: 6px 4px;
}
/* /Components/Pages/Settings/Security/Roles/RoleModulePanel.razor.rz.scp.css */
/* ── RoleModulePanel ── */

.role-module-panel[b-1k5qy1g8ty] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

/* ── Toolbar (search + summary) ── */

.rmp-toolbar[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: var(--bs-light, #f8f9fa);
    border-radius: 4px;
    flex-wrap: wrap;
}

.rmp-search[b-1k5qy1g8ty] {
    width: 280px;
    min-width: 200px;
}

.rmp-summary[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-left: auto;
}

.rmp-badge[b-1k5qy1g8ty] {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: box-shadow 0.15s;
}

.rmp-badge:hover[b-1k5qy1g8ty] {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.rmp-badge-active[b-1k5qy1g8ty] {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.rmp-badge-direct[b-1k5qy1g8ty] {
    background: #d1e7dd;
    color: #0f5132;
}

.rmp-badge-inherited[b-1k5qy1g8ty] {
    background: #cfe2ff;
    color: #084298;
}

.rmp-badge-denied[b-1k5qy1g8ty] {
    background: #f8d7da;
    color: #842029;
}

.rmp-sep[b-1k5qy1g8ty] {
    color: #aaa;
}

.rmp-expand-controls[b-1k5qy1g8ty] {
    margin-left: auto;
    display: flex;
    gap: 0.25rem;
    white-space: nowrap;
}

.rmp-expand-btn[b-1k5qy1g8ty] {
    font-size: 0.75rem;
    padding: 0 0.25rem;
    color: #6c757d;
    text-decoration: none;
}

.rmp-expand-btn:hover[b-1k5qy1g8ty] {
    color: #0d6efd;
    text-decoration: none;
}

/* ── Checkbox-state legend ── */

.rmp-legend[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
    color: #495057;
    background: #fbfbfb;
    border: 1px solid #ececec;
    border-radius: 4px;
}

.rmp-legend-item[b-1k5qy1g8ty] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.rmp-legend-cb[b-1k5qy1g8ty] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid #6c757d;
    background: #fff;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
}

.rmp-legend-cb-direct[b-1k5qy1g8ty] {
    background: #198754;
    border-color: #198754;
}

.rmp-legend-cb-inherited[b-1k5qy1g8ty] {
    background: #198754;
    border-color: #198754;
    opacity: 0.55;
}

.rmp-legend-cb-denied[b-1k5qy1g8ty] {
    background: #dc3545;
    border-color: #dc3545;
}

.rmp-legend-cb-none[b-1k5qy1g8ty] {
    background: #fff;
    border-color: #adb5bd;
}

.rmp-legend-note[b-1k5qy1g8ty] {
    margin-left: auto;
    font-style: italic;
    color: #6c757d;
}

/* ── Grid layout ── */

.rmp-grid[b-1k5qy1g8ty] {
    container-type: inline-size;  /* 100cqw = the visible grid width (overflow panel cap) */
    overflow-y: auto;
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Sized to the widest row so full-width bands (category rows, hover) cover the whole
   scrollable width, not just the visible part. */
.rmp-grid-inner[b-1k5qy1g8ty] {
    min-width: max-content;
}

/* One column template for header, category bands and feature rows:
   name | presets | action columns | "N more" chip. */
.rmp-grid[b-1k5qy1g8ty] {
    --rmp-action-w: 72px;
    /* Fixed (not fr) so the presets column can be pinned at a known offset beside it. */
    --rmp-name-w: 300px;
    --rmp-header-h: 40px;
}

.rmp-grid--codes[b-1k5qy1g8ty] {
    --rmp-action-w: 132px;
}

.rmp-header-row[b-1k5qy1g8ty],
.rmp-feature-row[b-1k5qy1g8ty],
.rmp-category-row[b-1k5qy1g8ty] {
    display: grid;
    grid-template-columns: var(--rmp-name-w) var(--rmp-preset-w, 172px) repeat(var(--action-col-count, 8), var(--rmp-action-w)) minmax(120px, 1fr);
    align-items: center;
    column-gap: 0;
}

.rmp-header-row[b-1k5qy1g8ty],
.rmp-feature-row[b-1k5qy1g8ty] {
    padding: 0.35rem 0.75rem 0.35rem 0;
}

/* Every row reserves the 3px sensitivity/unmapped edge, so a coloured edge on some rows
   doesn't shift their columns 3px right of everyone else's. */
.rmp-header-row[b-1k5qy1g8ty],
.rmp-feature-row[b-1k5qy1g8ty],
.rmp-category-row[b-1k5qy1g8ty] {
    border-left: 3px solid transparent;
}

.rmp-header-row[b-1k5qy1g8ty] {
    background: #e9ecef;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 4;
    border-bottom: 2px solid #dee2e6;
    /* Fixed height = the category rows' sticky offset below, so a pinned category header
       sits exactly under it instead of sliding partly beneath it. */
    box-sizing: border-box;
    height: var(--rmp-header-h);
    padding-top: 0;
    padding-bottom: 0;
}

/* Column labels wrap inside their column rather than running into the next
   ("HISTORYRESTORE", "REVERSEAPPROVE"). */
.rmp-header-row .rmp-action-col[b-1k5qy1g8ty] {
    font-size: 0.7rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
}

.rmp-feature-row[b-1k5qy1g8ty] {
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88rem;
    background: #fff;
}

.rmp-feature-row:hover[b-1k5qy1g8ty] {
    background: #f8f9fa;
}

/* Feature name stays pinned while the action columns scroll sideways. Background is
   inherited so scrolled-under checkboxes don't show through. */
.rmp-header-row .rmp-feature-col[b-1k5qy1g8ty],
.rmp-feature-row .rmp-feature-col[b-1k5qy1g8ty] {
    position: sticky;
    left: 0;
    z-index: 2;
    background: inherit;
    padding-left: 0.75rem;
    align-self: stretch;
}

.rmp-feature-row:last-child[b-1k5qy1g8ty] {
    border-bottom: none;
}

/* ── Category rows ── */

.rmp-category-row[b-1k5qy1g8ty] {
    padding: 0.4rem 0.75rem 0.4rem 0;
    background: #dee2e6;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #ced4da;
    position: sticky;
    top: var(--rmp-header-h);
    /* Above the rows' pinned name/preset cells (z-index 2), or a row scrolling under a
       pinned category paints its name over it. The column header sits above both (4). */
    z-index: 3;
}

/* Keeps the category name and its presets on screen while the grid scrolls sideways. */
.rmp-category-sticky[b-1k5qy1g8ty] {
    position: sticky;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding-left: 0.75rem;
    background: inherit;
    white-space: nowrap;
    overflow: hidden;
}

.rmp-category-row:hover[b-1k5qy1g8ty] {
    background: #d3d7db;
}

.rmp-category-row:focus-visible[b-1k5qy1g8ty] {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

.rmp-category-toggle[b-1k5qy1g8ty] {
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

.rmp-category-name[b-1k5qy1g8ty] {
    flex: 1;
}

.rmp-category-count[b-1k5qy1g8ty] {
    font-weight: 400;
    font-size: 0.78rem;
    color: #6c757d;
}

/* Category status dot — scannable indicator of assignment state.
   Sized to read at a glance without crowding the category name. */
.rmp-category-status[b-1k5qy1g8ty] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rmp-cat-state-all .rmp-category-status[b-1k5qy1g8ty],
.rmp-category-status.rmp-cat-state-all[b-1k5qy1g8ty],
span.rmp-category-status.rmp-cat-state-all[b-1k5qy1g8ty] {
    background: #198754;
}

.rmp-category-status.rmp-cat-state-partial[b-1k5qy1g8ty] {
    background: #ffc107;
}

.rmp-category-status.rmp-cat-state-none[b-1k5qy1g8ty] {
    background: transparent;
    border: 1px solid #adb5bd;
}

/* Fraction colour echoes the dot so the row reads as one signal even
   when the dot is out of foveal view (e.g. when scrolling fast). */
.rmp-category-count.rmp-cat-state-all[b-1k5qy1g8ty] {
    color: #198754;
    font-weight: 600;
}

.rmp-category-count.rmp-cat-state-partial[b-1k5qy1g8ty] {
    color: #b35900;
    font-weight: 600;
}

.rmp-category-count.rmp-cat-state-none[b-1k5qy1g8ty] {
    color: #6c757d;
}

/* ── Sensitivity row highlights ── */

.rmp-sensitive[b-1k5qy1g8ty] {
    border-left: 3px solid #ffc107;
}

.rmp-critical[b-1k5qy1g8ty] {
    border-left: 3px solid #dc3545;
}

/* ── Columns ── */

.rmp-feature-col[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

/* Wraps onto a second line rather than cutting the name off (clamped at two lines; the full
   name is in the tooltip) — contained so one long name can't widen every row of the grid. */
.rmp-feature-name[b-1k5qy1g8ty] {
    flex: 1 1 0;
    contain: inline-size;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.25;
    min-width: 0;
}

.rmp-action-col[b-1k5qy1g8ty] {
    text-align: center;
    justify-self: center;
}


/* ── Trailing cell: overflow toggles + preset buttons ──
   The last grid column holds, on the same row as the action checkboxes, any
   actions with no canonical column (History, Restore Deleted, stage verbs,
   bespoke labels) as labeled toggles, with the hover-reveal preset buttons
   pinned to the right. */
.rmp-row-trailing[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    min-width: 0;
}

.rmp-overflow-item[b-1k5qy1g8ty] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #495057;
    white-space: nowrap;
}

.rmp-overflow-label[b-1k5qy1g8ty] {
    line-height: 1;
}

/* #1180 — module codes alongside labels, muted so the name stays the primary read. */
.rmp-code-inline[b-1k5qy1g8ty] {
    margin-left: 0.3em;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.85em;
    font-family: var(--bs-font-monospace);
}

.rmp-code-under[b-1k5qy1g8ty] {
    display: block;
    margin-top: 0.1rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.68rem;
    font-family: var(--bs-font-monospace);
    line-height: 1.2;
    /* One line, never wrapped: the columns widen while codes are shown (below). The few
       codes longer than 18 chars truncate; the full code is in the title tooltip. */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Show codes — widen the action columns so codes read on one line. */
/* Full column width (so the ellipsis can engage) with checkbox and code centred together. */
.rmp-grid--codes .rmp-action-col[b-1k5qy1g8ty] {
    justify-self: stretch;
    min-width: 0;
    padding-inline: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rmp-grid--codes .rmp-code-under[b-1k5qy1g8ty] {
    align-self: stretch;
    text-align: center;
}

.rmp-expand-controls[b-1k5qy1g8ty]  .rmp-show-codes {
    align-self: center;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

/* "N more" chip — collapsed summary of extra actions. Caret signals it expands
   (matching the category rows); the coloured fraction shows how many are granted. */
.rmp-overflow-chip[b-1k5qy1g8ty] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: auto; /* keep preset buttons pinned right */
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: 12px;
    padding: 1px 10px;
    font-size: 0.78rem;
    color: #495057;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.12s, border-color 0.12s;
}

.rmp-overflow-chip:hover[b-1k5qy1g8ty] {
    background: #f1f3f5;
    border-color: #adb5bd;
}

.rmp-overflow-chip:focus-visible[b-1k5qy1g8ty] {
    outline: 2px solid #0d6efd;
    outline-offset: 1px;
}

.rmp-overflow-caret[b-1k5qy1g8ty] {
    font-size: 0.7rem;
}

.rmp-overflow-frac[b-1k5qy1g8ty] {
    font-weight: 600;
}

.rmp-overflow-chip.rmp-cat-state-all .rmp-overflow-frac[b-1k5qy1g8ty] {
    color: #198754;
}

.rmp-overflow-chip.rmp-cat-state-partial .rmp-overflow-frac[b-1k5qy1g8ty] {
    color: #b35900;
}

.rmp-overflow-chip.rmp-cat-state-none .rmp-overflow-frac[b-1k5qy1g8ty] {
    color: #6c757d;
}

/* Expanded "N more" panel — an indented, tinted callout (left accent + label)
   so it reads clearly as "extra actions for the row above" and its toggles
   don't line up under the View/Add/Edit columns and masquerade as data. */
/* contain: inline-size stops the panel's one-line (max-content) width from sizing the
   whole grid — without it, opening "N more" on a 20-item feature widened every row to
   3,400px and pushed the checkboxes off screen. Capped at, and pinned to, the visible
   width so its items wrap where the admin can see them even while the grid scrolls. */
.rmp-overflow-row[b-1k5qy1g8ty] {
    contain: inline-size;
    position: sticky;
    left: 0;
    max-width: calc(100cqw - 3.25rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.1rem;
    margin: 0.1rem 0.75rem 0.5rem 2.5rem;
    padding: 0.4rem 0.8rem;
    background: #f1f6fa;
    border-left: 3px solid #9fc4dd;
    border-radius: 0 4px 4px 0;
}

.rmp-overflow-row-label[b-1k5qy1g8ty] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5b7a90;
    margin-right: 0.4rem;
}


/* ── Sensitivity badges ── */

.rmp-sensitivity-badge[b-1k5qy1g8ty] {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.rmp-sensitivity-critical[b-1k5qy1g8ty] {
    background: #f8d7da;
    color: #842029;
}

/* SENSITIVE features get a small amber dot next to the name instead of a
   full pill — the row's left-border tint (.rmp-sensitive) carries the
   structural signal, so the dot is just confirmation without noise. */
.rmp-sensitivity-dot[b-1k5qy1g8ty] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc107;
    flex-shrink: 0;
}

/* ── Checkbox states ──
   DevExpress paints the checked fill on .dxbl-checkbox-check-element — the
   `--dx-checkbox-check-bg` custom property used previously is not a real DX
   API, so it silently no-op'd and every checked box fell back to the theme's
   default (dark green). That made Direct look right by coincidence but rendered
   Denied green instead of red (RB-11). Target the real element instead. */

[b-1k5qy1g8ty] .rmp-check-direct .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

/* Promoted-from-inherited Direct: same green fill but an amber ring signals
   that clicking will Deny (not remove) — matches the 3-click cycle tooltip. */
[b-1k5qy1g8ty] .rmp-check-promoted .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #f0a500 !important;
    box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.35);
}

[b-1k5qy1g8ty] .rmp-check-inherited .dxbl-checkbox-check-element {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

[b-1k5qy1g8ty] .rmp-check-inherited {
    opacity: 0.55;
}

[b-1k5qy1g8ty] .rmp-check-denied .dxbl-checkbox-check-element {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    position: relative;
}

/* Overlay an × glyph so a denied checkbox is clearly not a grant,
   even at a glance where colour alone might be missed. */
[b-1k5qy1g8ty] .rmp-check-denied .dxbl-checkbox-check-element::after {
    content: '✕';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    line-height: 1;
}

[b-1k5qy1g8ty] .rmp-check-none {
    opacity: 0.85;
}

/* ── Preset buttons ──
   Both the category-level and feature-row preset buttons hover-reveal:
   visible only when their containing row is hovered. Keeps the panel
   visually quiet at rest while keeping the affordance one mouse-move away.
   Opacity + pointer-events (rather than display/visibility) means the
   row layout doesn't shift and accidental clicks on the hidden state
   are blocked. */

.rmp-preset-btn[b-1k5qy1g8ty] {
    font-size: 0.72rem;
    padding: 1px 8px;
    line-height: 1.4;
}

/* Always visible and clickable (hover-only reveal made them undiscoverable), muted so a
   long list of rows isn't a wall of buttons; full strength on the row being worked on. */
/* Fade the buttons, not the cell: the cell is pinned with a solid background, and fading
   it would let scrolled-under checkboxes show through. */
.rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty] {
    opacity: 0.45;
    transition: opacity 0.12s ease-out;
}

/* A collapsed list of 30+ categories each carrying three buttons reads as clutter;
   there they appear on hover/focus only. */
.rmp-category-row--collapsed .rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty] {
    opacity: 0;
}

.rmp-feature-row:hover .rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty],
.rmp-category-row:hover .rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty],
.rmp-feature-row:focus-within .rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty],
.rmp-category-row:focus-within .rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty] {
    opacity: 1;
}

/* Presets column (rows and category bands share it): a fixed slot per button, so
   All / View Only / Clear line up down the whole grid even when a row has no View
   action — the missing button leaves a gap rather than sliding Clear left. */
.rmp-preset-col[b-1k5qy1g8ty] {
    display: grid;
    /* All | Clear | View Only — View Only last, so a row without a View action leaves the
       end of the strip empty instead of a hole in the middle. */
    grid-template-columns: 34px 46px 70px;
    gap: 4px;
    align-items: center;
    padding-left: 10px;
    /* Pinned beside the pinned name column: when the grid scrolled sideways the presets
       used to slide under the name and read as a cut-off "All" button. */
    position: sticky;
    left: var(--rmp-name-w);
    z-index: 2;
    align-self: stretch;
    background: inherit;
    box-shadow: 1px 0 0 #eceef0;
}

.rmp-preset-col .rmp-preset-btn[b-1k5qy1g8ty] {
    width: 100%;
    padding-inline: 0;
}

/* Read-only (e.g. a clone before it's saved) has no presets: collapse the column rather
   than leave a 172px gap. The cells stay in the DOM so grid placement is unchanged. */
.rmp-grid--readonly[b-1k5qy1g8ty] {
    --rmp-preset-w: 0px;
}

.rmp-grid--readonly .rmp-preset-col[b-1k5qy1g8ty] {
    padding: 0;
    overflow: hidden;
    box-shadow: none;
}

.rmp-grid--readonly .rmp-feature-col[b-1k5qy1g8ty],
.rmp-grid--readonly .rmp-category-sticky[b-1k5qy1g8ty] {
    box-shadow: 1px 0 0 #eceef0;
}

.rmp-preset-all[b-1k5qy1g8ty] { grid-column: 1; }
.rmp-preset-clear[b-1k5qy1g8ty] { grid-column: 2; }
.rmp-preset-view[b-1k5qy1g8ty] { grid-column: 3; }

/* ── Unmapped indicators ── */

.rmp-badge-unmapped[b-1k5qy1g8ty] {
    background: #e2e3e5;
    color: #41464b;
    border: 1px dashed #6c757d;
}

.rmp-unmapped-row[b-1k5qy1g8ty] {
    border-left: 3px dashed #6c757d;
}

[b-1k5qy1g8ty] .rmp-unmapped-check {
    border-style: dashed;
}

/* Inline notice shown when unmapped codes exist. The fix lives in Role
   Analytics → Feature Mappings (it's a global change) so this is a
   navigational pointer, not an inline editor. */
.rmp-unmapped-note[b-1k5qy1g8ty] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fff8e6;
    border: 1px solid #ffe69c;
    border-radius: 4px;
    font-size: 0.82rem;
    color: #66512c;
}

.rmp-unmapped-note-icon[b-1k5qy1g8ty] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffc107;
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.rmp-unmapped-note a[b-1k5qy1g8ty] {
    color: #66512c;
    text-decoration: underline;
}

/* ── Status indicators ── */

.rmp-loading[b-1k5qy1g8ty],
.rmp-empty[b-1k5qy1g8ty] {
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/Settings/Security/Roles/RolePermissionChangesPopup.razor.rz.scp.css */
.rpc-body[b-stegf8cevt] {
    max-height: 55vh;
    overflow-y: auto;
    font-size: 0.88rem;
}

.rpc-intro[b-stegf8cevt] {
    margin-bottom: 0.75rem;
    color: #495057;
}

.rpc-section[b-stegf8cevt] {
    margin-bottom: 0.75rem;
    padding-left: 0.6rem;
    border-left: 3px solid #adb5bd;
}

.rpc-section--grant[b-stegf8cevt] { border-left-color: #198754; }
.rpc-section--remove[b-stegf8cevt] { border-left-color: #6c757d; }
.rpc-section--deny[b-stegf8cevt] { border-left-color: #dc3545; }
.rpc-section--restore[b-stegf8cevt] { border-left-color: #0d6efd; }

.rpc-section-title[b-stegf8cevt] {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rpc-count[b-stegf8cevt] {
    font-weight: 400;
    color: #6c757d;
}

.rpc-list[b-stegf8cevt] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rpc-list li[b-stegf8cevt] {
    padding: 2px 0;
}

.rpc-area[b-stegf8cevt] {
    color: #6c757d;
}

.rpc-code[b-stegf8cevt] {
    margin-left: 0.3em;
    color: #6c757d;
    font-family: var(--bs-font-monospace);
    font-size: 0.85em;
}

.rpc-note[b-stegf8cevt] {
    margin-left: 0.4em;
    font-style: italic;
    color: #6c757d;
    font-size: 0.85em;
}

.rpc-footer[b-stegf8cevt] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
/* /Components/Pages/Settings/Security/Roles/RolesEnquiry.razor.rz.scp.css */
/* ── Template picker popup ──
   Click "Use Template" on the Roles toolbar to open this. Cards click to
   route into the existing clone flow with the template as the source. */

.role-template-list[b-cu412henll] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
    /* Cards grew taller once Description text was added (#240) — without an
       internal scroll boundary, 7+ templates can push the popup past the
       viewport at smaller resolutions/zoom levels. Scroll inside instead. */
    max-height: 60vh;
    overflow-y: auto;
}

.role-template-card[b-cu412henll] {
    text-align: left;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
}

.role-template-card:hover[b-cu412henll] {
    border-color: #198754;
    background: #f4fbf6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.role-template-card:focus-visible[b-cu412henll] {
    outline: 2px solid #198754;
    outline-offset: 2px;
}

.role-template-card-head[b-cu412henll] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.role-template-card-cat[b-cu412henll] {
    margin-left: auto;
}

.role-template-card-meta[b-cu412henll] {
    margin-left: 1.1rem;
}

.role-template-card-desc[b-cu412henll] {
    margin-left: 1.1rem;
    margin-top: 0.1rem;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    color: #495057;
    line-height: 1.35;
}

.role-template-card-usage[b-cu412henll] {
    color: #6c757d;
    font-style: italic;
}

/* ── Role members popup ("who is in this role?") ──
   Fixed-height wrapper so the members grid scrolls internally instead of
   overflowing the popup and pushing rows out of view (#510). */
.role-members-grid-wrap[b-cu412henll] {
    height: 440px;
}


/* LW+CL:26.10.26 #1563: parent roles do not pass workflow gateways. */
.roles-parent-note[b-cu412henll] {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: #8a5a00;
}

/* LW+CL:26.10.26 #1563: health tiles above the grid; a count that needs attention is amber. */
.roles-health[b-cu412henll] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.roles-health-tile[b-cu412henll] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    background: #fbfcfd;
    color: #2d3436;
    font-size: 0.82rem;
    text-decoration: none;
}

.roles-health-tile b[b-cu412henll] {
    font-size: 1.05rem;
}

.roles-health-tile:hover[b-cu412henll] {
    border-color: #0f8f7e;
}

.roles-health-tile.is-warn[b-cu412henll] {
    background: #fff4e0;
    border-color: #e0a43c;
    color: #8a5a00;
}

/* LW+CL:09.11.26 C38: the count of workflow steps nobody can pass, as the POC badges its Roles tab. */
.roles-issue-badge[b-cu412henll] {
    align-self: center;
    min-width: 1.4rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #c0392b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

/* LW+CL:09.11.26 C60: severity colours as the POC's tiles: nobody can pass is red, one person and ending soon amber. */
.roles-health-tile[b-cu412henll] {
    cursor: pointer;
    font-family: inherit;
}

.roles-health-tile.is-bad[b-cu412henll] {
    background: #fdecea;
    border-color: #c0392b;
    color: #922b21;
}

.roles-health-tile.is-active[b-cu412henll] {
    box-shadow: 0 0 0 2px #0f8f7e;
}

/* LW+CL:09.11.26 C68: the list a tile opens in place. */
.roles-health-list[b-cu412henll] {
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    background: #fff;
}

.roles-health-issue[b-cu412henll] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.85rem;
}

.roles-health-text[b-cu412henll] {
    flex: 1;
}

.roles-health-icon[b-cu412henll] {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: 0.1rem;
    color: #6c757d;
}

.roles-health-icon.is-bad[b-cu412henll] {
    color: #c0392b;
}

.roles-health-icon.is-warn[b-cu412henll] {
    color: #b9770e;
}

/* LW+CL:09.11.26 C58: the job title under a member's name. */
.role-members-grid-wrap[b-cu412henll]  .role-member-title {
    font-size: 0.75rem;
    color: #6c757d;
}
/* /Components/Pages/Settings/Security/UserAccessViewer.razor.rz.scp.css */
/* Flex chain so the active tab grid fills the remaining viewport.
   Pattern lifted from regsphere CaseDetail.razor.css — Blazor CSS-isolation
   strips bare ::deep selectors; they must be anchored on a class declared in
   our own markup so the scope attribute lands on a real element. */
.uav-tabs-wrap[b-ppqa68e6xr] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.uav-tabs-wrap[b-ppqa68e6xr]  .dxbl-tabs {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.uav-tabs-wrap[b-ppqa68e6xr]  dxbl-tab-list { flex: none; }

.uav-tabs-wrap[b-ppqa68e6xr]  .dxbl-tabs-content-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: auto !important;
}

.uav-tabs-wrap[b-ppqa68e6xr]  .dxbl-tabs-content.dxbl-active {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.uav-tab-body[b-ppqa68e6xr] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1rem;
}

/* Codes tab: a tbl_WebMenu tree (RoleMenuNav, same as the Role Editor) on the
   left filters the codes grid on the right — consistent menu-driven navigation. */
.uav-codes-layout[b-ppqa68e6xr] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0.5rem;
}

.uav-codes-nav[b-ppqa68e6xr] {
    flex: 0 0 240px;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    padding: 4px 8px;
}

.uav-codes-content[b-ppqa68e6xr] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.uav-summary[b-ppqa68e6xr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.uav-summary__chip[b-ppqa68e6xr] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    background: #f0f4f8;
    border: 1px solid #d6dee5;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #1a4b8c;
}

.uav-summary__chip strong[b-ppqa68e6xr] {
    margin-right: 0.3rem;
    color: #0a3d62;
}

.uav-summary__chip--privileged[b-ppqa68e6xr] {
    background: #fdecec;
    border-color: #f0b4b4;
    color: #8a1f1f;
}

/* Clickable chip variant — used by the "Last permission change" chip to jump
   to the Audit history tab. Resets <button> defaults so it looks identical to
   the static chip neighbours, then adds an accent on hover/focus. */
.uav-summary__chip--clickable[b-ppqa68e6xr] {
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.uav-summary__chip--clickable:hover[b-ppqa68e6xr],
.uav-summary__chip--clickable:focus-visible[b-ppqa68e6xr] {
    background: #d9e7f5;
    border-color: #8aacd3;
    outline: none;
}

/* Refresh button + last-refreshed stamp on the same row. */
.uav-refresh-row[b-ppqa68e6xr] {
    display: flex;
    align-items: center;
}

.uav-row-toolbar[b-ppqa68e6xr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sensitivity badge tiers (.uav-sens-badge / -standard / -sensitive / -critical) MOVED to
   wwwroot/css/site.css — LW+CL 30.07.26.
   They are applied via MyGridColumn.CellCssClassFunc, which puts the class on a span rendered
   by MyDxGrid. CSS isolation only stamps its [b-xxxxx] scope attribute on elements declared in
   THIS file's .razor markup, so a child component's span never matches — these four rules were
   compiling to `.uav-sens-critical[b-ppqa68e6xr]` and silently doing nothing, leaving every
   sensitivity badge with the shared .grid-badge pill shape but no tier colour. */

/* ── Explain-access popup ──
   Each user-held role anchors one chain; the chain walks upward to the
   ancestor that owns the grant or deny. Rendered as inline pills so the
   eye reads "ROOT → … → TERMINAL ✓ grants" left to right. */
.uav-explain-chain[b-ppqa68e6xr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88rem;
}

.uav-explain-chain:last-child[b-ppqa68e6xr] {
    border-bottom: none;
}

.uav-explain-root[b-ppqa68e6xr],
.uav-explain-step[b-ppqa68e6xr] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f3f5;
    color: #212529;
}

.uav-explain-root[b-ppqa68e6xr] {
    background: #e2e3e5;
    font-weight: 600;
}

.uav-explain-arrow[b-ppqa68e6xr] {
    color: #6c757d;
}

.uav-explain-grants[b-ppqa68e6xr] {
    background: #d1e7dd;
    color: #0f5132;
    font-weight: 600;
}

.uav-explain-denies[b-ppqa68e6xr] {
    background: #f8d7da;
    color: #842029;
    font-weight: 600;
    text-decoration: line-through;
}

.uav-explain-verdict[b-ppqa68e6xr] {
    margin-left: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.uav-explain-verdict-grants[b-ppqa68e6xr] {
    color: #0f5132;
}

.uav-explain-verdict-denies[b-ppqa68e6xr] {
    color: #842029;
}

.uav-explain-empty[b-ppqa68e6xr] {
    margin-left: 0.5rem;
    font-style: italic;
    color: #6c757d;
}

/* LW+CL:09.11.26 C71: people list beside the user's view. */
.uav-layout[b-ppqa68e6xr] {
    display: flex;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
}

.uav-people[b-ppqa68e6xr] {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    max-height: 100%;
}

.uav-detail[b-ppqa68e6xr] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* LW+CL:09.11.26 C72: the parent-role note under the Roles grid. */
.uav-parent-note[b-ppqa68e6xr] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--bs-info-bg-subtle, #e7f1ff);
    color: var(--bs-body-color);
    font-size: 0.875rem;
}
/* /Components/Pages/Settings/Security/Users/GroupAnalytics.razor.rz.scp.css */
.ga-summary[b-haez89d1bh] {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.ga-summary--pass[b-haez89d1bh] {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.ga-summary--fail[b-haez89d1bh] {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.ga-summary--warn[b-haez89d1bh] {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}
/* /Components/Pages/Settings/Security/Users/UserEditor.razor.rz.scp.css */
.ue-rates-scroll[b-5tv2v87uzr] {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* LW+CL:04.11.26 #1105 Approvers tab grid (roles and users): bounded like the Rates tab so the popup never grows past the viewport */
.ue-approvers-scroll[b-5tv2v87uzr] {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    overflow-x: hidden;
}
/* /Components/Pages/Settings/Security/Users/UserEntityLinkEditor.razor.rz.scp.css */
.link-entity-intro[b-6ag4puhgt4] {
  margin: 0 0 0.5rem;
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.4;
}
/* /Components/Pages/Settings/Security/Users/UserGroupsTab.razor.rz.scp.css */
.ugt-container[b-8fpld4pfqe] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ugt-search[b-8fpld4pfqe] {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.ugt-list[b-8fpld4pfqe] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.ugt-header[b-8fpld4pfqe],
.ugt-row[b-8fpld4pfqe] {
    display: grid;
    grid-template-columns: 32px 1fr auto 60px;
    align-items: center;
    padding: 3px 10px;
    gap: 4px;
}

.ugt-header[b-8fpld4pfqe] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
}

.ugt-row[b-8fpld4pfqe] {
    border-bottom: 1px solid #f0f0f0;
}

.ugt-row:last-child[b-8fpld4pfqe] {
    border-bottom: none;
}

.ugt-row:hover[b-8fpld4pfqe] {
    background-color: #f8f9fa;
}

.ugt-check[b-8fpld4pfqe] {
    flex-shrink: 0;
}

.ugt-col-name[b-8fpld4pfqe] {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ugt-col-count[b-8fpld4pfqe] {
    font-size: 0.82rem;
    color: #6c757d;
    text-align: right;
}

.ugt-col-status[b-8fpld4pfqe] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ugt-badge[b-8fpld4pfqe] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ugt-badge-add[b-8fpld4pfqe] {
    background-color: #d1f4e0;
    color: #0a6b3a;
    border: 1px solid #8ed6ad;
}

.ugt-badge-remove[b-8fpld4pfqe] {
    background-color: #fde2e2;
    color: #8a1f1f;
    border: 1px solid #f0a8a8;
}

.ugt-row-pending-add[b-8fpld4pfqe] {
    background-color: #f4fbf6;
}

.ugt-row-pending-remove .ugt-col-name[b-8fpld4pfqe] {
    text-decoration: line-through;
    color: #8a1f1f;
}

.ugt-row-pending-remove[b-8fpld4pfqe] {
    background-color: #fdf6f6;
}

.ugt-empty[b-8fpld4pfqe] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/Settings/Security/Users/UserRateHistory.razor.rz.scp.css */
.urh-note[b-l8wylwngsx] {
    color: #6c757d;
    margin: 4px 0 8px;
    font-size: 0.9em;
}

.urh-add[b-l8wylwngsx] {
    margin-top: 12px;
}

.urh-message[b-l8wylwngsx] {
    margin-left: 12px;
    color: #495057;
}
/* /Components/Pages/Settings/Security/Users/UserRolesTab.razor.rz.scp.css */
.urt-container[b-z7ohcojss6] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.urt-search[b-z7ohcojss6] {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.urt-pending-banner[b-z7ohcojss6] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 4px 8px;
    font-size: 0.78rem;
    color: #664d03;
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: 4px;
}

.urt-list[b-z7ohcojss6] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Shared grid layout for header + rows */
.urt-header[b-z7ohcojss6],
.urt-row[b-z7ohcojss6] {
    display: grid;
    grid-template-columns: 32px 1fr 110px 140px auto;
    align-items: center;
    padding: 3px 10px;
    gap: 4px;
}

.urt-header[b-z7ohcojss6] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
}

.urt-row[b-z7ohcojss6] {
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.urt-row:last-child[b-z7ohcojss6] {
    border-bottom: none;
}

.urt-row:hover[b-z7ohcojss6] {
    background-color: #f8f9fa;
}

.urt-row-inert[b-z7ohcojss6] {
    cursor: default;
}

.urt-row-pending[b-z7ohcojss6] {
    background-color: #fff8e1;
}

.urt-row-pending:hover[b-z7ohcojss6] {
    background-color: #fff3cd;
}

.urt-row-pending-add[b-z7ohcojss6] {
    background-color: #f4fbf6;
}

.urt-row-pending-add:hover[b-z7ohcojss6] {
    background-color: #e6f5ec;
}

.urt-row-pending-remove[b-z7ohcojss6] {
    background-color: #fdf6f6;
}

.urt-row-pending-remove:hover[b-z7ohcojss6] {
    background-color: #fbeaea;
}

.urt-row-pending-remove .urt-col-name[b-z7ohcojss6],
.urt-row-pending-remove .urt-col-category[b-z7ohcojss6] {
    text-decoration: line-through;
    color: #8a1f1f;
}

.urt-check[b-z7ohcojss6] {
    flex-shrink: 0;
}

.urt-col-name[b-z7ohcojss6] {
    font-size: 0.88rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urt-col-category[b-z7ohcojss6] {
    font-size: 0.82rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urt-col-status[b-z7ohcojss6] {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.urt-col-actions[b-z7ohcojss6] {
    display: flex;
    gap: 2px;
    justify-content: flex-end;
    min-width: 0;
}

.urt-status[b-z7ohcojss6] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.urt-status-active[b-z7ohcojss6] {
    background-color: #d1e7dd;
    color: #0f5132;
}

.urt-status-pending[b-z7ohcojss6] {
    background-color: #fff3cd;
    color: #664d03;
}

.urt-status-pending-save[b-z7ohcojss6] {
    background-color: #e2e3e5;
    color: #41464b;
}

.urt-status-pending-add[b-z7ohcojss6] {
    background-color: #d1f4e0;
    color: #0a6b3a;
    border: 1px solid #8ed6ad;
}

.urt-status-pending-remove[b-z7ohcojss6] {
    background-color: #fde2e2;
    color: #8a1f1f;
    border: 1px solid #f0a8a8;
}

.urt-status-privileged[b-z7ohcojss6] {
    background-color: #fff3cd;
    color: #664d03;
}

.urt-status-rejected[b-z7ohcojss6] {
    background-color: #f8d7da;
    color: #842029;
}

/* Date-window-derived states (RB-21/22): the role is ACTIVE in the DB but its
   ValidFrom/ValidTo place it outside today's effective window. */
.urt-status-not-yet-effective[b-z7ohcojss6] {
    background-color: #cfe2ff;
    color: #084298;
    border: 1px solid #9ec5fe;
}

.urt-status-expired[b-z7ohcojss6] {
    background-color: #e2e3e5;
    color: #6c757d;
    border: 1px solid #c4c8cb;
}

/* Inline cue on rows whose checkbox is disabled — surfaces the reason without a hover. */
.urt-disabled-note[b-z7ohcojss6] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    color: #6c757d;
    white-space: nowrap;
}

/* LW+CL:26.10.26 #1563: the inline SVG icons (WS loads no Bootstrap Icons). */
.urt-icon[b-z7ohcojss6] {
    flex-shrink: 0;
    width: 0.95rem;
    height: 0.95rem;
}

.urt-disabled-note .urt-icon[b-z7ohcojss6] {
    width: 0.7rem;
    height: 0.7rem;
    opacity: 0.8;
}

.urt-empty[b-z7ohcojss6] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
/* /Components/Pages/Settings/SystemAdmin/ApiConfiguration.razor.rz.scp.css */
.api-mode-desc[b-7llom8a5jk] {
    background: #f8f9fa;
    border-left: 3px solid #dee2e6;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #495057;
    border-radius: 0 4px 4px 0;
}

.api-restart-note[b-7llom8a5jk] {
    font-size: 0.8rem;
    color: #856404;
    margin: 4px 0 0;
}
/* /Components/Pages/Settings/WiP/Matters/MattersEdit.razor.rz.scp.css */
.MyListBox[b-sgn5nhy5rj] {
    height: calc(100% - 250px) !important;
    display: flex;
    flex-direction: column;
}

.activities-list-wrap[b-sgn5nhy5rj] {
    height: 420px;
}

.employees-list-wrap[b-sgn5nhy5rj] {
    height: 420px;
}
/* /Components/Pages/Settings/WiP/Matters/SubMattersEdit.razor.rz.scp.css */
.MyListBox[b-rg645mxqhk] {
    height: calc(100% - 250px) !important;
    display: flex;
    flex-direction: column;
}
/* /Components/Pages/StructureBuilder/Canvas/EntityCardView.razor.rz.scp.css */
/* Structure Builder entity card. Width must equal LayoutConstants.NodeWidth (260). */
.sb-card[b-90q003cude] {
    --sb-card-accent: #2b3a55;
    width: 260px;
    min-height: 96px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d5dbe3;
    border-left: 6px solid var(--sb-card-accent);
    border-radius: 6px;
    padding: 8px 12px 10px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
    cursor: grab;
    user-select: none;
}

.sb-card.selected[b-90q003cude] {
    box-shadow: 0 0 0 3px rgba(17, 198, 131, 0.45);
}

/* Card states, POC order: new (dashed green), existing (solid), needs detail (dashed amber), pending (dashed grey, faded). */
.sb-card-new[b-90q003cude] { border-style: dashed; border-color: #11c683; border-left-style: solid; }
.sb-card-needs-detail[b-90q003cude] { border-style: dashed; border-color: #e0a23a; border-left-style: solid; }
.sb-card-pending[b-90q003cude] { border-style: dashed; border-color: #9aa4b2; opacity: 0.62; }
.sb-card.placeholder[b-90q003cude] { border: 2px dashed #26a69a; background: #f0fdfb; }

.sb-card.drop-valid[b-90q003cude] { box-shadow: 0 0 0 3px #11c683; background: #effbf6; }
.sb-card.drop-invalid[b-90q003cude] { box-shadow: 0 0 0 3px #d9534f; background: #fdf1f1; cursor: not-allowed; }

.sb-card-header[b-90q003cude] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.sb-type-badge[b-90q003cude] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--sb-card-accent);
    border-radius: 3px;
    padding: 1px 6px;
}

/* Type palette defaults (POC DEFAULT_PALETTE). */
.sb-card:has(.sb-type-trust)[b-90q003cude] { --sb-card-accent: var(--sb-pal-trust, #7c4dff); }
.sb-card:has(.sb-type-company)[b-90q003cude] { --sb-card-accent: var(--sb-pal-company, #0e9ad7); }
.sb-card:has(.sb-type-person)[b-90q003cude] { --sb-card-accent: var(--sb-pal-person, #d97706); }
.sb-card:has(.sb-type-foundation)[b-90q003cude] { --sb-card-accent: var(--sb-pal-foundation, #a855f7); }
.sb-card:has(.sb-type-partnership)[b-90q003cude] { --sb-card-accent: var(--sb-pal-partnership, #475569); }
.sb-card:has(.sb-type-other)[b-90q003cude] { --sb-card-accent: var(--sb-pal-other, #64748b); }

.sb-state-chip[b-90q003cude] {
    margin-left: auto;
    font-size: 0.65rem;
    border-radius: 10px;
    padding: 1px 8px;
    background: #e8f8f1;
    color: #0b7d53;
    white-space: nowrap;
}
.sb-state-existing[b-90q003cude] { background: #eef1f5; color: #475569; }
.sb-state-needs-detail[b-90q003cude] { background: #fff4e0; color: #9a5b00; }
.sb-state-pending[b-90q003cude] { background: #f1f3f6; color: #5b6573; }

.sb-risk-pill[b-90q003cude] {
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 3px;
    padding: 1px 5px;
}
.sb-risk-low[b-90q003cude] { background: #e3f6ec; color: #13703f; }
.sb-risk-medium[b-90q003cude] { background: #fff1d6; color: #8a5a00; }
.sb-risk-high[b-90q003cude] { background: #fde2e1; color: #a12622; }

.sb-card-name[b-90q003cude] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #17212b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* LW+CL:22.10.26 - a PNG or PDF has no tooltip, so there a long name wraps onto a second line instead of ending in an
   ellipsis. The page puts sb-exporting on the canvas area while the chart is captured. */
.sb-exporting .sb-card-name[b-90q003cude] {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.sb-card-meta[b-90q003cude] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.sb-meta-chip[b-90q003cude] {
    font-size: 0.7rem;
    background: #eef3ff;
    color: #2747a8;
    border-radius: 3px;
    padding: 1px 6px;
}
.sb-meta-chip.sub[b-90q003cude] { background: #f2f4f7; color: #4b5563; }

.sb-card-hidden[b-90q003cude] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.sb-show-panel[b-90q003cude] {
    font-size: 0.68rem;
    border: 1px dashed #9aa4b2;
    border-radius: 10px;
    padding: 0 8px;
    color: #475569;
    cursor: pointer;
}

/* LW+CL:22.10.26 - keyboard focus on a card and its "+ panel" pills. */
.sb-card:focus-visible[b-90q003cude] { outline: 2px solid #11c683; outline-offset: 2px; }
.sb-show-panel:focus-visible[b-90q003cude] { outline: 2px solid #11c683; outline-offset: 1px; }

/* LW+CL:10.11.26 - a card being dragged looks lifted (POC styles.css:659); a pending card keeps its faded look. */
.sb-card:not(.sb-card-pending):active[b-90q003cude] {
    cursor: grabbing;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    opacity: 0.95;
}

/* LW+CL:10.11.26 - a placeholder card stands for an entity not yet named: pale teal tint and italic meta (POC styles.css:3006). */
.sb-card.placeholder .sb-meta-chip[b-90q003cude] { color: #14b8a6; font-style: italic; }

/* LW+CL:11.11.26 cross-jurisdiction C08: the linked entity's providers and KYC state. */
.sb-card-servicing[b-90q003cude] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}
.sb-xj-pill[b-90q003cude] {
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 3px;
    padding: 1px 6px;
    background: rgba(0, 217, 197, 0.15);
    color: #00897b;
    border: 1px solid rgba(0, 217, 197, 0.4);
}
.sb-svc-chip[b-90q003cude] {
    font-size: 0.62rem;
    font-weight: 600;
    border-radius: 3px;
    padding: 1px 6px;
    border: 1px solid transparent;
}
.sb-svc-approved[b-90q003cude] { background: #e3f6ec; color: #13703f; }
.sb-svc-pending[b-90q003cude] { background: #fff1d6; color: #8a5a00; }
.sb-svc-rejected[b-90q003cude] { background: #fde2e1; color: #a12622; }
.sb-svc-unknown[b-90q003cude] { background: #f2f4f7; color: #4b5563; }
/* /Components/Pages/StructureBuilder/Canvas/LoanLabelView.razor.rz.scp.css */
/* The loan label pill (POC sb-edge-loan-label), centred on its node's position. */
.sb-loan-label[b-ww1bn8kc36] {
    display: inline-block;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    font-size: 0.72rem;
    font-weight: 600;
    color: #8a4b00;
    background: #fff8ee;
    border: 1px solid #f2c48a;
    border-radius: 4px;
    padding: 1px 8px;
    cursor: grab;
    user-select: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.sb-loan-label:hover[b-ww1bn8kc36] { border-color: #d97706; }
/* LW+CL:10.11.26 - pass 12: the label shows the closed-hand cursor while it is dragged (POC app.js 5297). */
.sb-loan-label:active[b-ww1bn8kc36] { cursor: grabbing; }
.sb-loan-label.status-repaid[b-ww1bn8kc36] { color: #6b7280; background: #f3f4f6; border-color: #d1d5db; }
.sb-loan-label.status-written-off[b-ww1bn8kc36] { color: #b91c1c; background: #fef2f2; border-color: #fecaca; text-decoration: line-through; }
.sb-loan-label.status-defaulted[b-ww1bn8kc36] { color: #b91c1c; background: #fef2f2; border-color: #fca5a5; }
/* /Components/Pages/StructureBuilder/Canvas/RolePanelView.razor.rz.scp.css */
/* Role panel. Width must equal LayoutConstants.PanelWidth (260); line heights match GroupPanel.EstimatedHeight. */
.sb-panel[b-e41cene6xo] {
    width: 260px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d5dbe3;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
    cursor: grab;
}

.sb-panel.drop-valid[b-e41cene6xo] { box-shadow: 0 0 0 3px #11c683; }
.sb-panel.drop-invalid[b-e41cene6xo] { box-shadow: 0 0 0 3px #d9534f; }

.sb-panel-header[b-e41cene6xo] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

/* LiveWealth trustlayout.css colours; Officers in navy. */
.sb-panel-settlors .sb-panel-header[b-e41cene6xo] { background: var(--sb-pal-settlors, #ff6b35); }
.sb-panel-trustees .sb-panel-header[b-e41cene6xo] { background: var(--sb-pal-trustees, #607d8b); }
.sb-panel-beneficiaries .sb-panel-header[b-e41cene6xo] { background: var(--sb-pal-beneficiaries, #26a69a); }
.sb-panel-officers .sb-panel-header[b-e41cene6xo] { background: var(--sb-pal-officers, #3949ab); }
.sb-panel-founders .sb-panel-header[b-e41cene6xo] { background: var(--sb-pal-founders, #c2185b); }   /* LW+CL:23.10.26 a foundation's founders */

.sb-panel-hide[b-e41cene6xo] {
    position: absolute;
    right: 8px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
}

.sb-panel-body[b-e41cene6xo] { padding: 4px 12px 8px; }

.sb-panel-section[b-e41cene6xo] {
    height: 22px;
    line-height: 22px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #17212b;
}

/* LW+CL:23.10.26 - a long name wraps instead of ending in an ellipsis (a PNG or PDF has no tooltip). One line is 22px
   (17 + 2.5 padding each side); each further line adds 17. PanelText.RowHeight / LineHeight must match. */
.sb-panel-member[b-e41cene6xo] {
    min-height: 22px;
    box-sizing: border-box;
    padding: 2.5px 0 2.5px 18px;
    text-indent: -18px;
    line-height: 17px;
    font-size: 0.78rem;
    color: #334155;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.sb-panel-member.new .sb-member-name[b-e41cene6xo] { font-style: italic; color: #0b7d53; }
.sb-panel-member.blocking .sb-member-name[b-e41cene6xo] { color: #9a5b00; }
.sb-panel-member.selected[b-e41cene6xo] { background: #e8f8f1; border-radius: 3px; }

.sb-member-tax[b-e41cene6xo] { color: #6b7280; margin-left: 2px; }

/* LW+CL:22.10.26 - a member that needs detail is marked, not only coloured; keyboard focus is visible. */
.sb-member-flag[b-e41cene6xo] { display: inline-block; text-indent: 0; min-width: 14px; height: 14px; line-height: 14px; margin-right: 4px; border-radius: 7px; background: #d97706; color: #fff; font-size: 0.6rem; font-weight: 700; text-align: center; }
.sb-visually-hidden[b-e41cene6xo] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sb-panel-member:focus-visible[b-e41cene6xo], .sb-panel-hide:focus-visible[b-e41cene6xo] { outline: 2px solid #11c683; outline-offset: 1px; }

/* LW+CL:10.11.26 - a role panel can be dragged, and looks lifted while it is (POC styles.css:659). */
.sb-panel:active[b-e41cene6xo] {
    cursor: grabbing;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    opacity: 0.95;
}
/* /Components/Pages/StructureBuilder/Canvas/StructureCanvas.razor.rz.scp.css */
.sb-canvas[b-pe6qgevnm3] {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-color: #f7f9fb;
    background-image: radial-gradient(#d9dee5 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
}

.sb-canvas[b-pe6qgevnm3]  .diagram-canvas {
    width: 100%;
    height: 100%;
}
/* /Components/Pages/StructureBuilder/Canvas/StructureLinkLabelView.razor.rz.scp.css */
.sb-link-label[b-lg71pbwgpm] {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.72rem;
    color: #17212b;
    background: #fff;
    border: 1px solid #d5dbe3;
    border-radius: 4px;
    padding: 1px 8px;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.sb-link-label-governance[b-lg71pbwgpm],
.sb-link-label-holds[b-lg71pbwgpm] { color: #475569; }

.sb-link-label-loan[b-lg71pbwgpm] {
    border-color: #f2c48a;
    background: #fff8ee;
    color: #8a4b00;
    font-weight: 600;
}
/* /Components/Pages/StructureBuilder/Canvas/StructureLinkWidget.razor.rz.scp.css */
/* Line colours: ownership is LiveWealth's green; role lines follow their panel's header colour. */
.sb-link[b-2comj0du1g] { stroke-linecap: round; }
.sb-link-ownership[b-2comj0du1g] { stroke: rgb(17, 198, 131); stroke-width: 3; }
.sb-link-holds[b-2comj0du1g] { stroke: #64748b; stroke-width: 2; stroke-dasharray: 6 5; }
.sb-link-governance[b-2comj0du1g] { stroke: #64748b; stroke-width: 2; stroke-dasharray: 6 5; }
.sb-link-settlors[b-2comj0du1g] { stroke: var(--sb-pal-settlors, #ff6b35); stroke-width: 2; stroke-dasharray: 4 4; }
.sb-link-trustees[b-2comj0du1g] { stroke: #8a9aa5; stroke-width: 2; stroke-dasharray: 4 4; }
.sb-link-beneficiaries[b-2comj0du1g] { stroke: #8a9aa5; stroke-width: 2; stroke-dasharray: 4 4; }
.sb-link-officers[b-2comj0du1g] { stroke: var(--sb-pal-officers, #3949ab); stroke-width: 2; stroke-dasharray: 4 4; }
.sb-link-founders[b-2comj0du1g] { stroke: var(--sb-pal-founders, #c2185b); stroke-width: 2; stroke-dasharray: 4 4; }   /* LW+CL:23.10.26 */

/* Loans (POC sb-edge-loan): amber dotted while active; repaid greyed; written off and defaulted red. */
.sb-link-loan[b-2comj0du1g] { stroke: #d97706; stroke-width: 2; stroke-dasharray: 2 5; }
.sb-loan-anchor[b-2comj0du1g], .sb-loan-arrow[b-2comj0du1g] { fill: #d97706; stroke: none; }
.sb-link-loan.status-repaid[b-2comj0du1g] { stroke: #9ca3af; }
.sb-loan-anchor.status-repaid[b-2comj0du1g], .sb-loan-arrow.status-repaid[b-2comj0du1g] { fill: #9ca3af; }
.sb-link-loan.status-written-off[b-2comj0du1g] { stroke: #dc2626; stroke-dasharray: 6 4; }
.sb-link-loan.status-defaulted[b-2comj0du1g] { stroke: #dc2626; stroke-dasharray: none; }
.sb-loan-anchor.status-written-off[b-2comj0du1g], .sb-loan-arrow.status-written-off[b-2comj0du1g],
.sb-loan-anchor.status-defaulted[b-2comj0du1g], .sb-loan-arrow.status-defaulted[b-2comj0du1g] { fill: #dc2626; }
/* /Components/Pages/StructureBuilder/Dialogs/AddEntityDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-s406lhgfr4] { gap: 10px; }

.sb-dialog-note[b-s406lhgfr4] { margin: 0; font-size: 0.85rem; color: #334155; }

.sb-dialog-hint[b-s406lhgfr4] { font-size: 0.75rem; font-style: italic; color: #6b7280; }

.sb-add-existing[b-s406lhgfr4] { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px solid #e3e7ec; }

.sb-type-chips[b-s406lhgfr4] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* LW+CL:10.11.26 C158: the type badge before each chip's name, coloured as the overview rows' type squares are. */
.sb-chip-badge[b-s406lhgfr4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    margin-right: 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #64748b;
}
.sb-chip-badge-trust[b-s406lhgfr4] { background: #7c4dff; }
.sb-chip-badge-company[b-s406lhgfr4] { background: #0e9ad7; }
.sb-chip-badge-person[b-s406lhgfr4] { background: #d97706; }
.sb-chip-badge-foundation[b-s406lhgfr4] { background: #a855f7; }
.sb-chip-badge-partnership[b-s406lhgfr4] { background: #475569; }
/* /Components/Pages/StructureBuilder/Dialogs/AssetDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-wv1p7pw1n1] { gap: 8px; }

.sb-dialog-hint[b-wv1p7pw1n1] { font-size: 0.75rem; color: #6b7280; }

.sb-dialog-error[b-wv1p7pw1n1] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}
/* /Components/Pages/StructureBuilder/Dialogs/DraftReviewDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:23.10.26 */
.sb-dialog-body[b-clqrlpt7d0] { gap: 10px; }

.sb-draft-body[b-clqrlpt7d0] { max-height: 60vh; overflow-y: auto; }

.sb-dialog-note[b-clqrlpt7d0] { margin: 0; font-size: 0.85rem; color: #334155; }

.sb-dialog-hint[b-clqrlpt7d0] { font-size: 0.75rem; font-style: italic; color: #6b7280; }

.sb-draft-warning[b-clqrlpt7d0] { margin: 0; padding: 8px 10px; border-radius: 4px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; font-size: 0.85rem; }

.sb-draft-section[b-clqrlpt7d0] { display: flex; flex-direction: column; gap: 2px; }

.sb-draft-heading[b-clqrlpt7d0] { font-size: 0.8rem; font-weight: 600; color: #17212b; }

.sb-draft-line[b-clqrlpt7d0] { font-size: 0.82rem; color: #334155; padding-left: 10px; }

.sb-draft-refused .sb-draft-heading[b-clqrlpt7d0] { color: #9a5b00; }
.sb-draft-refused .sb-draft-line[b-clqrlpt7d0] { color: #6b7280; }
/* /Components/Pages/StructureBuilder/Dialogs/EntityPickerDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-3tm2o57slp] { gap: 8px; }

.sb-picker-search[b-3tm2o57slp] { display: flex; gap: 8px; align-items: flex-end; }
.sb-picker-field[b-3tm2o57slp] { display: flex; flex-direction: column; gap: 2px; width: 150px; }
.sb-picker-text-field[b-3tm2o57slp] { flex: 1; width: auto; }
.sb-picker-label[b-3tm2o57slp] { font-size: 0.75rem; color: #475569; margin: 0; }

.sb-picker-grid-wrap[b-3tm2o57slp] { height: 320px; min-height: 0; display: flex; flex-direction: column; }

.sb-dialog-hint[b-3tm2o57slp] { font-size: 0.78rem; color: #6b7280; }

.sb-dialog-error[b-3tm2o57slp] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}

.sb-dialog-warn[b-3tm2o57slp] {
    font-size: 0.8rem;
    color: #7a4b00;
    background: #fff7e6;
    border: 1px solid #f5d9a3;
    border-radius: 4px;
    padding: 6px 10px;
}
/* /Components/Pages/StructureBuilder/Dialogs/FieldMark.razor.rz.scp.css */
/* C116: an invalid entry is a red border on a pale red fill (POC .sb-link-input-invalid, styles.css 3351). LW+CL:10.11.26 */
.sb-fm-invalid[b-36jm45o68x]  .dxbl-text-edit { border-color: #dc2626; background: #fef2f2; }
.sb-fm-invalid[b-36jm45o68x]  .dxbl-text-edit:focus-within { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }

/* C82: the risk box carries a 4px left border by level, the colours of the card's risk pill (POC .sb-risk-select, styles.css 1152). */
.sb-fm-risk-low[b-36jm45o68x]  .dxbl-text-edit,
.sb-fm-risk-medium[b-36jm45o68x]  .dxbl-text-edit,
.sb-fm-risk-high[b-36jm45o68x]  .dxbl-text-edit,
.sb-fm-risk-none[b-36jm45o68x]  .dxbl-text-edit { border-left-width: 4px; border-left-style: solid; }
.sb-fm-risk-low[b-36jm45o68x]  .dxbl-text-edit { border-left-color: #059669; }
.sb-fm-risk-medium[b-36jm45o68x]  .dxbl-text-edit { border-left-color: #c97c00; }
.sb-fm-risk-high[b-36jm45o68x]  .dxbl-text-edit { border-left-color: #dc2626; }
.sb-fm-risk-none[b-36jm45o68x]  .dxbl-text-edit { border-left-color: #cbd5e1; }
/* /Components/Pages/StructureBuilder/Dialogs/ImportDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-x6hgu1w1iw] { gap: 10px; }
.sb-dialog-note[b-x6hgu1w1iw] { margin: 0; font-size: 0.85rem; color: #334155; }
.sb-dialog-hint[b-x6hgu1w1iw] { font-size: 0.78rem; color: #6b7280; }
.sb-dialog-error[b-x6hgu1w1iw] { font-size: 0.8rem; color: #a12622; }
.sb-import-mode[b-x6hgu1w1iw] { font-size: 0.82rem; }
/* The box a file is dropped on; DevExpress adds the drag-over class while a file is dragged over it. LW+CL:10.11.26 */
.sb-import-dropzone[b-x6hgu1w1iw] { border: 2px dashed #cbd5e1; border-radius: 6px; background: #f8fafc; color: #475569; font-size: 0.85rem; padding: 16px; text-align: center; }
.sb-import-dropzone.sb-import-drag-over[b-x6hgu1w1iw] { border-color: #11c683; background: #effbf6; color: #0f172a; }
.sb-import-chosen[b-x6hgu1w1iw] { display: flex; align-items: center; gap: 6px; }
.sb-dialog-body[b-x6hgu1w1iw]  .sb-import-template { padding: 0 2px; vertical-align: baseline; }
/* /Components/Pages/StructureBuilder/Dialogs/LinkDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-niiuzkdhvk] { gap: 8px; }

.sb-dialog-hint[b-niiuzkdhvk] { font-size: 0.75rem; color: #6b7280; }

.sb-dialog-error[b-niiuzkdhvk] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}

.sb-dialog-resolved[b-niiuzkdhvk] { display: flex; align-items: center; gap: 8px; }

.sb-dialog-badge[b-niiuzkdhvk] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #475569;
    border-radius: 3px;
    padding: 1px 6px;
}

.sb-dialog-meta[b-niiuzkdhvk] { font-size: 0.75rem; color: #6b7280; }

.sb-dialog-classes[b-niiuzkdhvk] { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow-y: auto; }   /* LW+CL:10.11.26 C161: five or more classes scroll (POC 180px) */

.sb-dialog-class[b-niiuzkdhvk] {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 8px;
    align-items: center;
}

/* The Class and Shares column headings. LW+CL:22.10.26 */
.sb-dialog-class-head[b-niiuzkdhvk] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
}

.sb-dialog-class.off[b-niiuzkdhvk] { opacity: 0.6; }
/* /Components/Pages/StructureBuilder/Dialogs/LoanDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-eg4fxw8uva] { gap: 8px; }

.sb-dialog-error[b-eg4fxw8uva] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}

/* The swap button sits level with the two party boxes. */
.sb-dialog-body[b-eg4fxw8uva]  .sb-loan-swap { margin-top: 2px; }

/* LW+CL:10.11.26 the loan status pill in the dialog header, coloured as the POC loan popover (styles.css 2192). */
.sb-loan-header[b-eg4fxw8uva] { font-weight: 600; font-size: 0.9rem; color: #17212b; }
.sb-loan-status-pill[b-eg4fxw8uva] { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 10px; font-size: 0.72rem; font-weight: 600; background: #fcd34d; color: #78350f; }
.sb-loan-status-pill.status-repaid[b-eg4fxw8uva] { background: #d1d5db; color: #4b5563; }
.sb-loan-status-pill.status-written-off[b-eg4fxw8uva], .sb-loan-status-pill.status-defaulted[b-eg4fxw8uva] { background: #fecaca; color: #991b1b; }
/* /Components/Pages/StructureBuilder/Dialogs/MoveDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-at4o0blxzq] { gap: 10px; }

.sb-dialog-section-label[b-at4o0blxzq] { font-size: 0.8rem; font-weight: 600; color: #17212b; margin-bottom: 4px; }

.sb-dialog-owners[b-at4o0blxzq] { margin: 0; padding-left: 18px; font-size: 0.8rem; color: #334155; }

.sb-dialog-note[b-at4o0blxzq] { font-size: 0.8rem; color: #334155; }

.sb-dialog-warning[b-at4o0blxzq] {
    font-size: 0.78rem;
    color: #8a5a00;
    background: #fff8ec;
    border: 1px solid #f2d3a0;
    border-radius: 4px;
    padding: 6px 10px;
}

.sb-dialog-error[b-at4o0blxzq] { font-size: 0.8rem; color: #a12622; }
/* /Components/Pages/StructureBuilder/Dialogs/OpenPlanDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-yqfnwuvkpp] { gap: 8px; }

.sb-open-plan-grid-wrap[b-yqfnwuvkpp] { height: 360px; min-height: 0; display: flex; flex-direction: column; }
/* /Components/Pages/StructureBuilder/Dialogs/PoaDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-f1h1clowho] { gap: 8px; }

.sb-dialog-error[b-f1h1clowho] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}
/* /Components/Pages/StructureBuilder/Dialogs/PromptHelpDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:23.10.26 */
.sb-dialog-body[b-mbi4b8v0it] { gap: 14px; }

.sb-help-body[b-mbi4b8v0it] { max-height: 65vh; overflow-y: auto; }

.sb-help-section[b-mbi4b8v0it] { display: flex; flex-direction: column; gap: 4px; }

.sb-help-title[b-mbi4b8v0it] { font-size: 0.85rem; font-weight: 600; color: #17212b; }

.sb-help-intro[b-mbi4b8v0it] { font-size: 0.78rem; color: #475569; }

.sb-help-examples[b-mbi4b8v0it] { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3px 12px; }

.sb-help-cmd[b-mbi4b8v0it] { font-family: "DM Mono", ui-monospace, monospace; font-size: 0.76rem; color: #0b5d43; overflow-wrap: anywhere; }

.sb-help-desc[b-mbi4b8v0it] { font-size: 0.76rem; color: #475569; }

.sb-help-vocab[b-mbi4b8v0it] { font-size: 0.72rem; color: #6b7280; }
/* /Components/Pages/StructureBuilder/Dialogs/SavePlanDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-p47miysabh] { gap: 8px; }

.sb-dialog-note[b-p47miysabh] { margin: 0; font-size: 0.85rem; color: #334155; }

.sb-dialog-error[b-p47miysabh] {
    font-size: 0.8rem;
    color: #a12622;
    background: #fdf1f1;
    border: 1px solid #f3c7c5;
    border-radius: 4px;
    padding: 6px 10px;
}
/* /Components/Pages/StructureBuilder/Dialogs/SharePlanDialog.razor.rz.scp.css */
/* The popup sizing and the footer come from site.css (.editform-layout .razorpagemain / .razorpagefooter). LW+CL:22.10.26 */
.sb-dialog-body[b-yhbcrux9rw] { gap: 10px; }

.sb-share-label[b-yhbcrux9rw] { font-size: 0.75rem; color: #475569; margin: 0 0 -6px; }

.sb-dialog-note[b-yhbcrux9rw] { margin: 0; font-size: 0.85rem; color: #334155; }

.sb-dialog-hint[b-yhbcrux9rw] { font-size: 0.8rem; font-style: italic; color: #6b7280; }

.sb-dialog-warn[b-yhbcrux9rw] {
    font-size: 0.8rem;
    color: #7a4b00;
    background: #fff7e6;
    border: 1px solid #f5d9a3;
    border-radius: 4px;
    padding: 6px 10px;
}

.sb-share-add[b-yhbcrux9rw] { display: flex; gap: 8px; align-items: center; }
.sb-share-add[b-yhbcrux9rw]  .sb-share-combo { flex: 1; }

.sb-share-list[b-yhbcrux9rw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 240px;
    overflow-y: auto;
}

.sb-share-row[b-yhbcrux9rw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
}

.sb-share-name[b-yhbcrux9rw] { flex: 1; font-size: 0.85rem; color: #17212b; }

.sb-share-hidden[b-yhbcrux9rw] {
    font-size: 0.72rem;
    color: #7a4b00;
    background: #fff7e6;
    border-radius: 10px;
    padding: 1px 8px;
}
/* /Components/Pages/StructureBuilder/Editor/GapWalkerPanel.razor.rz.scp.css */
.sb-qa[b-vyvhy6i4nv] {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 20;
    width: 420px;
    max-width: calc(100% - 32px);
    background: #fff;
    border: 1px solid #d6dde6;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
    padding: 10px 12px 12px;
    font-size: 0.82rem;
}

.sb-qa-header[b-vyvhy6i4nv] { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sb-qa-title[b-vyvhy6i4nv] { font-weight: 600; color: #17212b; }
.sb-qa-progress[b-vyvhy6i4nv] { flex: 1; color: #5b6573; font-size: 0.75rem; }

.sb-qa-for[b-vyvhy6i4nv] { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: #334155; }
.sb-qa-text[b-vyvhy6i4nv] { margin-top: 4px; color: #17212b; }
.sb-qa-note[b-vyvhy6i4nv] { margin-top: 4px; font-size: 0.75rem; font-style: italic; color: #6b7280; }

.sb-qa-options[b-vyvhy6i4nv] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.sb-qa-form[b-vyvhy6i4nv] { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.sb-qa-form label[b-vyvhy6i4nv] { font-size: 0.75rem; color: #5b6573; }

.sb-qa-refusal[b-vyvhy6i4nv] { margin-top: 6px; color: #a12622; font-size: 0.78rem; }
.sb-qa-done[b-vyvhy6i4nv] { color: #334155; }

.sb-gap-pill[b-vyvhy6i4nv] { font-size: 0.68rem; font-weight: 600; border-radius: 10px; padding: 1px 8px; }
.sb-gap-pill.block[b-vyvhy6i4nv] { background: #fde2e1; color: #a12622; }
.sb-gap-pill.warn[b-vyvhy6i4nv] { background: #eef3ff; color: #2747a8; }
/* /Components/Pages/StructureBuilder/Editor/KeyPanel.razor.rz.scp.css */
.sb-key[b-lozh0ghysr] {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    width: 300px;
    max-height: calc(100% - 32px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d6dde6;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
    padding: 8px 12px 12px;
    font-size: 0.78rem;
    color: #334155;
}

.sb-key-header[b-lozh0ghysr] { display: flex; align-items: center; justify-content: space-between; }
.sb-key-title[b-lozh0ghysr] { font-weight: 600; color: #17212b; font-size: 0.85rem; }
.sb-key-subhead[b-lozh0ghysr] { margin: 8px 0 3px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7280; }
.sb-key-hint[b-lozh0ghysr] { text-transform: none; letter-spacing: 0; font-weight: 400; }
.sb-key-row[b-lozh0ghysr] { display: flex; align-items: center; gap: 8px; min-height: 22px; }

.sb-key-card[b-lozh0ghysr] { width: 26px; height: 14px; border: 1px solid #2b3a55; border-left-width: 4px; border-radius: 3px; background: #fff; }
.sb-key-card.new[b-lozh0ghysr] { border-style: dashed; border-color: #11c683; border-left-style: solid; }
.sb-key-card.needs[b-lozh0ghysr] { border-style: dashed; border-color: #e0a23a; border-left-style: solid; }
.sb-key-card.pending[b-lozh0ghysr] { border-style: dashed; border-color: #9aa4b2; opacity: 0.62; }

.sb-key-line[b-lozh0ghysr] { width: 28px; height: 0; border-top: 3px solid rgb(17, 198, 131); }
.sb-key-line.holds[b-lozh0ghysr] { border-top: 2px dashed #64748b; }
.sb-key-line.role[b-lozh0ghysr] { border-top: 2px dashed #8a9aa5; }
.sb-key-line.loan[b-lozh0ghysr] { border-top: 2px dotted #d97706; }

.sb-key-risks[b-lozh0ghysr] { gap: 6px; }
.sb-key-risk[b-lozh0ghysr] { font-size: 0.62rem; font-weight: 700; border-radius: 8px; padding: 0 6px; }
.sb-key-risk.low[b-lozh0ghysr] { background: #e3f6ec; color: #13703f; }
.sb-key-risk.medium[b-lozh0ghysr] { background: #fff1d6; color: #8a5a00; }
.sb-key-risk.high[b-lozh0ghysr] { background: #fde2e1; color: #a12622; }

.sb-key-swatch[b-lozh0ghysr] { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.15); cursor: pointer; flex-shrink: 0; }
.sb-key-swatch:focus[b-lozh0ghysr] { outline: 2px solid #11c683; outline-offset: 1px; }
.sb-key-swatch.sb-key-swatch-fixed[b-lozh0ghysr] { cursor: default; }   /* LW+CL:22.10.26 read only as at a date */
.sb-key-label[b-lozh0ghysr] { flex: 1; }
.sb-key-picker[b-lozh0ghysr] { margin: 4px 0 6px 26px; }
.sb-key-reset-all[b-lozh0ghysr] { margin-top: 8px; }
.sb-key[b-lozh0ghysr]  .sb-key-inline { padding: 0 4px; }
.sb-key-risks[b-lozh0ghysr] { flex-wrap: wrap; }
.sb-key-risk-label[b-lozh0ghysr] { margin-right: 6px; }   /* LW+CL:10.11.26 */
.sb-key-note[b-lozh0ghysr] { margin-top: 4px; font-size: 0.75rem; color: #6b7280; }
/* LW+CL:10.11.26 C93: amber while loans are hidden, so the hidden state shows (POC .sb-legend-toggle.is-hidden, styles.css 2764). */
.sb-key[b-lozh0ghysr]  .sb-key-loans-hidden { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
/* /Components/Pages/StructureBuilder/Editor/PromptBar.razor.rz.scp.css */
/* The prompt bar sits under the toolbar, across the page (POC sb-prompt-bar). LW+CL:23.10.26 */
.sb-prompt-bar[b-k3sie2x9q4] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid #e3e7ec;
    background: #f8fafc;
}

.sb-prompt-bar[b-k3sie2x9q4]  .sb-prompt-input { flex: 1; min-width: 0; }

.sb-prompt-actions[b-k3sie2x9q4] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.sb-prompt-actions[b-k3sie2x9q4]  .dxbl-btn { white-space: nowrap; }

/* Sent with nothing typed: the box border goes red for a moment (POC flashPrompt). */
.sb-prompt-bar[b-k3sie2x9q4]  .sb-prompt-flash { border-color: #dc2626 !important; }
/* /Components/Pages/StructureBuilder/StructureBuilderPage.razor.rz.scp.css */
.sb-page[b-kbrboa8x2s] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.sb-toolbar[b-kbrboa8x2s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-bottom: 1px solid #e3e7ec;
    background: #fff;
}

.sb-title[b-kbrboa8x2s] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.sb-title-text[b-kbrboa8x2s] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #17212b;
}

.sb-counts[b-kbrboa8x2s] {
    font-size: 0.8rem;
    color: #5b6573;
}

/* LW+CL:22.10.26 - wraps onto a second row on a narrow screen; Export and Import were cut off at 1024px. */
.sb-toolbar-actions[b-kbrboa8x2s] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.sb-plan-label[b-kbrboa8x2s] { font-size: 0.8rem; color: #5b6573; margin-right: 4px; }   /* LW+CL:23.10.26 */

/* LW+CL:23.10.26 - while the docked IQ panel is open the page makes room for it (IqPanel: fixed, 420px wide, at most
   90% of the window), so the toolbar, the chart and the side panel sit beside it rather than under it. */
.sb-page.sb-page-iq-open[b-kbrboa8x2s] { padding-right: min(420px, 90vw); }

.sb-body[b-kbrboa8x2s] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.sb-canvas-area[b-kbrboa8x2s] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    position: relative;
}

.sb-side[b-kbrboa8x2s] {
    width: 340px;
    flex-shrink: 0;
    border-left: 1px solid #e3e7ec;
    background: #fff;
    overflow-y: auto;
    padding: 12px;
}

/* LW+CL:22.10.26 - room below the last field for the layout's floating Ask IQ button (IqFab: fixed, 24px from the
   bottom, 44px high), so it never covers a field or button: the panel scrolls the last control clear of it. */
.sb-side[b-kbrboa8x2s]::after {
    content: "";
    display: block;
    height: 84px;
}

.sb-side-title[b-kbrboa8x2s] { font-weight: 600; color: #17212b; }
.sb-side-sub[b-kbrboa8x2s] { font-size: 0.78rem; color: #5b6573; margin-top: 2px; }

.sb-ready[b-kbrboa8x2s] {
    margin: 12px 0;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    background: #e8f8f1;
    border: 1px solid #b6ead3;
    color: #0b7d53;
}

.sb-ready-blocked[b-kbrboa8x2s] {
    background: #fff4e0;
    border-color: #f2d3a0;
    color: #9a5b00;
}

.sb-overview[b-kbrboa8x2s] { display: flex; flex-direction: column; gap: 6px; }

.sb-overview-row[b-kbrboa8x2s] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    cursor: pointer;
}

.sb-overview-row:hover[b-kbrboa8x2s] { background: #f7f9fb; }
.sb-overview-row:focus-visible[b-kbrboa8x2s] { outline: 2px solid #11c683; outline-offset: 1px; }
.sb-overview-row.selected[b-kbrboa8x2s] { border-color: #11c683; background: #effbf6; }

.sb-overview-type[b-kbrboa8x2s] {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #64748b;
    flex-shrink: 0;
}

.sb-overview-type-trust[b-kbrboa8x2s] { background: #7c4dff; }
.sb-overview-type-company[b-kbrboa8x2s] { background: #0e9ad7; }
.sb-overview-type-person[b-kbrboa8x2s] { background: #d97706; }
.sb-overview-type-foundation[b-kbrboa8x2s] { background: #a855f7; }
.sb-overview-type-partnership[b-kbrboa8x2s] { background: #475569; }

.sb-overview-text[b-kbrboa8x2s] { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sb-overview-name[b-kbrboa8x2s] { font-size: 0.85rem; color: #17212b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-overview-sub[b-kbrboa8x2s] { font-size: 0.72rem; color: #6b7280; }

.sb-chip[b-kbrboa8x2s] {
    font-size: 0.68rem;
    border-radius: 10px;
    padding: 1px 8px;
    white-space: nowrap;
}

.sb-chip-new[b-kbrboa8x2s] { background: #e8f8f1; color: #0b7d53; }
.sb-chip-linked[b-kbrboa8x2s] { background: #eef1f5; color: #475569; }
.sb-chip-needs[b-kbrboa8x2s] { background: #fde2e1; color: #a12622; }
.sb-chip-tip[b-kbrboa8x2s] { background: #fff4e0; color: #9a5b00; }
.sb-chip-dirty[b-kbrboa8x2s] { background: #fff4e0; color: #9a5b00; }
.sb-chip-shared[b-kbrboa8x2s] { background: #e8f0fb; color: #1f4f8f; }

/* Step 7: the toolbar chips that open the validator's list, the list itself (in a flyout), readiness actions. */
.sb-chip-click[b-kbrboa8x2s] { cursor: pointer; font-size: 0.75rem; padding: 2px 9px; }
.sb-chip-click:hover[b-kbrboa8x2s], .sb-chip-click:focus[b-kbrboa8x2s] { outline: 1px solid currentColor; }

.sb-ready-actions[b-kbrboa8x2s] { display: flex; gap: 6px; margin-top: 6px; }

.sb-issues[b-kbrboa8x2s] { display: flex; flex-direction: column; gap: 4px; padding: 4px; }
.sb-issues-header[b-kbrboa8x2s] { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; color: #17212b; font-size: 0.82rem; padding-bottom: 4px; border-bottom: 1px solid #e3e7ec; }
.sb-issue-row[b-kbrboa8x2s] { padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.sb-issue-row:hover[b-kbrboa8x2s], .sb-issue-row:focus[b-kbrboa8x2s] { background: #f2f5f8; }
.sb-issue-entity[b-kbrboa8x2s] { font-size: 0.75rem; font-weight: 600; color: #334155; }
.sb-issue-text[b-kbrboa8x2s] { font-size: 0.78rem; color: #475569; }

/* Step 9: relationship dates in the editor, and the as-at view. */
.sb-side[b-kbrboa8x2s]  .sb-rel-row { padding: 6px 0; border-top: 1px solid #eef1f5; }
.sb-side[b-kbrboa8x2s]  .sb-rel-title { font-size: 0.78rem; color: #334155; margin-bottom: 4px; }
.sb-side[b-kbrboa8x2s]  .sb-rel-dates, .sb-side[b-kbrboa8x2s]  .sb-rel-reissue { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
/* LW+CL:22.10.26 - each date and the New % fields carry their own label. */
.sb-side[b-kbrboa8x2s]  .sb-rel-date { display: flex; flex-direction: column; gap: 2px; }
.sb-side[b-kbrboa8x2s]  .sb-rel-date > label, .sb-side[b-kbrboa8x2s]  .sb-rel-reissue > label { font-size: 0.68rem; font-weight: 600; color: #6b7280; }
/* LW+CL:22.10.26 - a holding's percentage, changed in place. */
.sb-side[b-kbrboa8x2s]  .sb-rel-percent { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8rem; color: #5b6573; }
.sb-side[b-kbrboa8x2s]  .sb-rel-reissue { grid-template-columns: 1fr 80px auto auto; margin-top: 4px; align-items: center; }

.sb-asat[b-kbrboa8x2s] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    background: #fff4e0;
    border-bottom: 1px solid #f2d3a0;
    color: #6b4300;
    font-size: 0.8rem;
}
.sb-asat b[b-kbrboa8x2s] { color: #5b3a00; }
.sb-asat-note[b-kbrboa8x2s] { flex: 1; }
.sb-toolbar-actions[b-kbrboa8x2s]  .sb-asat-date { width: 150px; }
.sb-side.sb-read-only[b-kbrboa8x2s] { background: #fbfbfc; }
/* The page refuses every change as at a date. LW+CL:22.10.26 - the editors are given ReadOnly (fields read only, actions
   off), so a field's text can still be selected and read; this only dims them. */
.sb-side.sb-read-only[b-kbrboa8x2s]  .sb-editor { opacity: 0.85; }

/* Step 8: while the chart is captured for export, the selection is not drawn. */
.sb-canvas-area.sb-exporting[b-kbrboa8x2s]  .sb-card.selected { box-shadow: none; }
.sb-canvas-area.sb-exporting[b-kbrboa8x2s]  .sb-panel-member.selected { background: transparent; }

/* The saved plan's name and state, beside the page title (step 5). */
.sb-plan[b-kbrboa8x2s] { display: inline-flex; align-items: baseline; gap: 8px; }
.sb-plan-name[b-kbrboa8x2s] { font-size: 0.9rem; font-weight: 600; color: #1f4f8f; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-plan-unsaved[b-kbrboa8x2s] { font-weight: 400; font-style: italic; color: #6b7280; }

.sb-toolbar-sep[b-kbrboa8x2s] { width: 1px; align-self: stretch; background: #e3e7ec; margin: 0 4px; }

.sb-zoom-pct[b-kbrboa8x2s] { font-size: 0.78rem; color: #5b6573; min-width: 2.6rem; text-align: right; font-variant-numeric: tabular-nums; }

.sb-no-access[b-kbrboa8x2s] {
    padding: 24px;
    color: #5b6573;
}

/* LW+CL:22.10.26 - the status note floats at the foot of the canvas (it sat in the toolbar and made it wrap, moving the
   buttons under the cursor). It never takes clicks, so nothing on the chart is blocked. */
.sb-status-region[b-kbrboa8x2s] {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 30;
    max-width: min(640px, calc(100% - 32px));
    pointer-events: none;
}

.sb-status[b-kbrboa8x2s] {
    display: block;
    font-size: 0.8rem;
    color: #0b5e40;
    background: #e8f8f1;
    border: 1px solid #b6ead3;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.sb-status.sb-status-error[b-kbrboa8x2s] {
    color: #8a1c1c;
    background: #fdecec;
    border-color: #f2b8b8;
}

/* LW+CL:22.10.26 - the Start here panel on an empty plan. */
.sb-start[b-kbrboa8x2s] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: min(520px, calc(100% - 32px));
    background: #fff;
    border: 1px solid #d6dde6;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    padding: 18px 20px;
}
.sb-start-title[b-kbrboa8x2s] { font-size: 1.05rem; font-weight: 600; color: #17212b; }
.sb-start-text[b-kbrboa8x2s] { margin-top: 4px; font-size: 0.85rem; color: #475569; }
.sb-start-actions[b-kbrboa8x2s] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sb-start-note[b-kbrboa8x2s] { margin-top: 12px; font-size: 0.75rem; color: #6b7280; }

/* A label read by a screen reader only (its field shows a heading or placeholder instead). */
[b-kbrboa8x2s] .sb-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sb-side-actions[b-kbrboa8x2s] { margin-top: 10px; display: flex; gap: 6px; }

.sb-side-hint[b-kbrboa8x2s] {
    margin-top: 12px;
    font-size: 0.75rem;
    font-style: italic;
    color: #6b7280;
    text-align: center;
}

/* Chart title over the canvas (POC sb-chart-title): click to edit. */
.sb-chart-title[b-kbrboa8x2s] {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid transparent;
    cursor: pointer;
    z-index: 5;
    max-width: 70%;
}

.sb-chart-title:hover[b-kbrboa8x2s],
.sb-chart-title.selected[b-kbrboa8x2s] { border-color: #11c683; }
.sb-chart-title:focus-visible[b-kbrboa8x2s] { outline: 2px solid #11c683; outline-offset: 2px; }

.sb-chart-logo[b-kbrboa8x2s] { height: 36px; width: auto; }

.sb-chart-title-text[b-kbrboa8x2s] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #17212b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-chart-subtitle[b-kbrboa8x2s] {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #6b7280;
}

/* Side-panel editors (Editor/*.razor). Styled from here so the three editors share one set of rules. */
.sb-side[b-kbrboa8x2s]  .sb-editor { display: flex; flex-direction: column; gap: 10px; }

.sb-side[b-kbrboa8x2s]  .sb-editor-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e3e7ec;
}

.sb-side[b-kbrboa8x2s]  .sb-editor-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #64748b;
    border-radius: 3px;
    padding: 2px 6px;
}

.sb-side[b-kbrboa8x2s]  .sb-editor-badge.sb-type-trust { background: #7c4dff; }
.sb-side[b-kbrboa8x2s]  .sb-editor-badge.sb-type-company { background: #0e9ad7; }
.sb-side[b-kbrboa8x2s]  .sb-editor-badge.sb-type-person { background: #d97706; }
.sb-side[b-kbrboa8x2s]  .sb-editor-badge.sb-type-foundation { background: #a855f7; }
.sb-side[b-kbrboa8x2s]  .sb-editor-badge.sb-type-partnership { background: #475569; }
.sb-side[b-kbrboa8x2s]  .sb-editor-badge-title { background: #111827; }

.sb-side[b-kbrboa8x2s]  .sb-editor-name {
    font-weight: 600;
    color: #17212b;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-side[b-kbrboa8x2s]  .sb-editor-mode {
    font-size: 0.68rem;
    border-radius: 10px;
    padding: 1px 8px;
    background: #e8f8f1;
    color: #0b7d53;
}

.sb-side[b-kbrboa8x2s]  .sb-editor-mode.existing { background: #eef1f5; color: #475569; }

.sb-side[b-kbrboa8x2s]  .sb-editor-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-side[b-kbrboa8x2s]  .sb-editor-actions > :last-child { margin-left: auto; }
/* Four buttons share the row: keep each caption on one line and let the row wrap instead. */
.sb-side[b-kbrboa8x2s]  .sb-editor-actions .dxbl-btn { white-space: nowrap; }

.sb-side[b-kbrboa8x2s]  .sb-field { display: flex; flex-direction: column; gap: 3px; }

.sb-side[b-kbrboa8x2s]  .sb-field > label,
.sb-side[b-kbrboa8x2s]  .sb-field > .sb-field-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
}

/* A field the plan says is still needed (POC sb-field-missing). */
.sb-side[b-kbrboa8x2s]  .sb-field.missing > label { color: #a12622; }
.sb-side[b-kbrboa8x2s]  .sb-field.missing > label::after {
    content: "missing";
    margin-left: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #d9534f;
    border-radius: 3px;
    padding: 0 4px;
}
.sb-side[b-kbrboa8x2s]  .sb-field.missing .dxbl-text-edit,
.sb-side[b-kbrboa8x2s]  .sb-field.missing .dxbl-memo-edit { border-color: #d9534f; }
/* LW+CL:23.10.26 - a field a suggestion asks about: amber, not the red of a field that is needed. */
.sb-side[b-kbrboa8x2s]  .sb-field.suggested > label::after {
    content: "suggested";
    margin-left: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a4b00;
    background: #fde8c4;
    border-radius: 3px;
    padding: 0 4px;
}

.sb-side[b-kbrboa8x2s]  .sb-field-hint { font-size: 0.72rem; color: #6b7280; }
.sb-side[b-kbrboa8x2s]  .sb-field-error { font-size: 0.75rem; color: #a12622; }
.sb-side[b-kbrboa8x2s]  .sb-field-hint.sb-field-warn { color: #9a5b00; }
.sb-side[b-kbrboa8x2s]  .sb-editor-note { font-size: 0.75rem; color: #6b7280; }
.sb-side[b-kbrboa8x2s]  .sb-empty-note { font-size: 0.8rem; font-style: italic; color: #6b7280; }

.sb-side[b-kbrboa8x2s]  .sb-gap-banner {
    border: 1px solid #f2d3a0;
    background: #fff8ec;
    border-radius: 6px;
    padding: 8px 10px;
}

.sb-side[b-kbrboa8x2s]  .sb-gap-pills { display: flex; gap: 6px; margin-bottom: 4px; }
.sb-side[b-kbrboa8x2s]  .sb-gap-pill { font-size: 0.68rem; font-weight: 600; border-radius: 10px; padding: 1px 8px; }
.sb-side[b-kbrboa8x2s]  .sb-gap-pill.block { background: #fde2e1; color: #a12622; }
.sb-side[b-kbrboa8x2s]  .sb-gap-pill.warn { background: #eef3ff; color: #2747a8; }
.sb-side[b-kbrboa8x2s]  .sb-gap-list { margin: 0; padding-left: 18px; font-size: 0.75rem; color: #5b3a00; }
.sb-side[b-kbrboa8x2s]  .sb-gap-list li.warn { color: #2747a8; }

.sb-side[b-kbrboa8x2s]  .sb-source-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: #f7f9fb;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    padding: 2px 4px 2px 10px;
    font-size: 0.8rem;
    color: #17212b;
}

.sb-side[b-kbrboa8x2s]  .sb-source-label { color: #6b7280; }
.sb-side[b-kbrboa8x2s]  .sb-source-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-side[b-kbrboa8x2s]  .sb-source-caret { margin-left: auto; }
.sb-side[b-kbrboa8x2s]  .sb-source-options { display: flex; gap: 6px; margin-top: 6px; }

.sb-side[b-kbrboa8x2s]  .sb-subsection {
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sb-side[b-kbrboa8x2s]  .sb-subsection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: #17212b;
}

.sb-side[b-kbrboa8x2s]  .sb-count {
    font-size: 0.7rem;
    background: #eef1f5;
    border-radius: 10px;
    padding: 0 8px;
}

.sb-side[b-kbrboa8x2s]  .sb-share-class {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr 1fr auto auto;
    gap: 4px;
    align-items: center;
    position: relative;
}

/* LW+CL:22.10.26 - the share-class column headings. */
.sb-side[b-kbrboa8x2s]  .sb-share-class-head { font-size: 0.66rem; font-weight: 600; color: #6b7280; }

.sb-side[b-kbrboa8x2s]  .sb-loan-row {
    border: 1px solid #f2c48a;
    background: #fff8ee;
    border-radius: 6px;
    padding: 4px 4px 4px 8px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.sb-side[b-kbrboa8x2s]  .sb-loan-row:hover { border-color: #d97706; }
/* LW+CL:22.10.26 - the part that opens the loan; the remove button sits beside it. */
.sb-side[b-kbrboa8x2s]  .sb-loan-open { flex: 1; min-width: 0; cursor: pointer; padding: 2px 0; border-radius: 4px; }
.sb-side[b-kbrboa8x2s]  .sb-loan-open:focus-visible { outline: 2px solid #d97706; outline-offset: 1px; }
.sb-side[b-kbrboa8x2s]  .sb-loan-remove { flex-shrink: 0; }

.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-repaid,
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-written-off { opacity: 0.6; }
/* LW+CL:10.11.26 C121 - the same colours as the canvas line and the dialog pill: red for written off and defaulted, grey for repaid. */
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-repaid { border-color: #d1d5db; background: #f3f4f6; }
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-written-off,
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-defaulted { border-color: #fca5a5; background: #fef2f2; }
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-written-off .sb-loan-amount,
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-defaulted .sb-loan-amount { color: #b91c1c; }
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-repaid .sb-loan-amount { color: #6b7280; }

.sb-side[b-kbrboa8x2s]  .sb-loan-main { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; }
.sb-side[b-kbrboa8x2s]  .sb-loan-counterparty { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-side[b-kbrboa8x2s]  .sb-loan-amount { font-weight: 600; color: #8a4b00; }
.sb-side[b-kbrboa8x2s]  .sb-loan-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.7rem; color: #6b7280; }
.sb-side[b-kbrboa8x2s]  .sb-loan-status { font-weight: 600; color: #92400e; text-transform: uppercase; font-size: 0.62rem; letter-spacing: 0.05em; }   /* LW+CL:10.11.26 C121: the status word is upper case, amber, grey when repaid and red when written off or defaulted (POC .sb-side-loan-status) */
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-repaid .sb-loan-status { color: #6b7280; }
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-written-off .sb-loan-status,
.sb-side[b-kbrboa8x2s]  .sb-loan-row.status-defaulted .sb-loan-status { color: #dc2626; }

.sb-side[b-kbrboa8x2s]  .sb-logo-edit { display: flex; gap: 10px; align-items: flex-start; }

.sb-side[b-kbrboa8x2s]  .sb-logo-preview {
    width: 72px;
    height: 72px;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #6b7280;
    background: #fff;
}

.sb-side[b-kbrboa8x2s]  .sb-logo-preview.empty { border-style: dashed; }
.sb-side[b-kbrboa8x2s]  .sb-logo-preview img { max-width: 64px; max-height: 64px; }
.sb-side[b-kbrboa8x2s]  .sb-logo-actions { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
/* /Components/Pages/StructureBuilder/UnsavedChangesDialog.razor.rz.scp.css */
/* The unsaved-changes question (LW+CL:22.10.26): Save first, Discard changes, Cancel on one row. */
.sb-unsaved[b-i35tj6eueu] { display: flex; flex-direction: column; gap: 8px; }
.sb-unsaved-text[b-i35tj6eueu] { margin: 0; font-size: 0.9rem; color: #334155; }
.sb-unsaved-buttons[b-i35tj6eueu] { display: flex; flex-wrap: wrap; gap: 8px; }
/* /Components/Pages/Tasks/SubTaskTree.razor.rz.scp.css */
/* ── Per-level toolbar (Collapse all / + Add Sub Task) ─────────── */
.subtask-level__toolbar[b-6vqri35axy] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 4px 14px;
}

.subtask-panel__btn-toggle[b-6vqri35axy] {
    background: transparent;
    border: 1px solid #ced4da;
    color: #495057;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.subtask-panel__btn-toggle:hover[b-6vqri35axy] {
    background: #e9ecef;
}

[b-6vqri35axy] .subtask-panel__btn-add.dxbl-btn {
    font-size: 0.78rem;
    padding: 3px 10px;
}

[b-6vqri35axy] .subtask-panel__btn-add.dxbl-btn:hover {
    background: #e9ecef;
}

.subtask-panel__empty[b-6vqri35axy] {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

/* ── Group headers ──────────────────────────────────────────── */
.subtask-group__header[b-6vqri35axy] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #f0f4f8;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    user-select: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #344;
}

.subtask-group__header:hover[b-6vqri35axy] {
    background: #e4ecf4;
}

.subtask-group__header--done[b-6vqri35axy] {
    opacity: 0.6;
}

.subtask-group__chevron[b-6vqri35axy] {
    font-size: 0.65rem;
    color: #7a8a9a;
    width: 12px;
    flex-shrink: 0;
}

.subtask-group__name[b-6vqri35axy] {
    flex: 1;
}

.subtask-group__badge[b-6vqri35axy] {
    font-size: 0.72rem;
    background: #d0dce8;
    color: #4a5568;
    padding: 1px 7px;
    border-radius: 10px;
}

/* ── Sub-task items ─────────────────────────────────────────── */
.subtask-item[b-6vqri35axy] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    font-size: 0.83rem;
}

.subtask-item:last-child[b-6vqri35axy] {
    border-bottom: none;
}

.subtask-item--done[b-6vqri35axy] {
    opacity: 0.55;
}

.subtask-item--approval[b-6vqri35axy] {
    box-shadow: inset 3px 0 0 #f59e0b;
}

/* Per-item expand/collapse — same glyph/sizing as .subtask-group__chevron so it reads as
   the same convention as the group toggle above it and the main Tasks grid's own tree chevrons. */
.subtask-item__chevron[b-6vqri35axy] {
    font-size: 0.65rem;
    color: #7a8a9a;
    width: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

.subtask-item__chevron:hover[b-6vqri35axy] {
    color: #344;
}

.subtask-item__chevron-spacer[b-6vqri35axy] {
    width: 12px;
    flex-shrink: 0;
}

.subtask-item__badge[b-6vqri35axy] {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.15rem 0.52rem;
    border-radius: 10px;
    font-size: 0.67rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.subtask-item__badge[b-6vqri35axy]::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.subtask-item__badge--todo[b-6vqri35axy]    { background: #f0f0f0; color: #6c757d; }
.subtask-item__badge--todo[b-6vqri35axy]::before { background: #adb5bd; }

.subtask-item__badge--progress[b-6vqri35axy] { background: #d0f0e8; color: #0a6652; }
.subtask-item__badge--progress[b-6vqri35axy]::before { background: #11C683; }

.subtask-item__badge--done[b-6vqri35axy]    { background: #d4edda; color: #155724; }
.subtask-item__badge--done[b-6vqri35axy]::before { background: #28a745; }

.subtask-item__badge--overdue[b-6vqri35axy] { background: #f8d7da; color: #721c24; }
.subtask-item__badge--overdue[b-6vqri35axy]::before { background: #dc3545; }

.subtask-item__badge--approval[b-6vqri35axy] { background: #fff3cd; color: #856404; }
.subtask-item__badge--approval[b-6vqri35axy]::before { background: #f59e0b; }

.subtask-item__name[b-6vqri35axy] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2d3748;
}

.subtask-item--done .subtask-item__name[b-6vqri35axy] {
    text-decoration: line-through;
}

.subtask-item__user[b-6vqri35axy] {
    font-size: 0.75rem;
    color: #718096;
    flex-shrink: 0;
}

.subtask-item__due[b-6vqri35axy] {
    font-size: 0.75rem;
    color: #718096;
    flex-shrink: 0;
}

.subtask-item__due--overdue[b-6vqri35axy] {
    color: #e53e3e;
    font-weight: 600;
}

/* LW+CL:09.11.26 Started and Completed columns (Dispatch POC step table) */
.subtask-item__date[b-6vqri35axy] {
    font-size: 0.6875rem;
    color: #718096;
    flex-shrink: 0;
    min-width: 72px;
    text-align: right;
}

.subtask-item__overdue[b-6vqri35axy] {
    font-size: 0.6875rem;
    color: #a0aec0;
    flex-shrink: 0;
    min-width: 34px;
    text-align: right;
}

.subtask-item__overdue--late[b-6vqri35axy] {
    color: #d97706;
    font-weight: 700;
}

.subtask-item__overdue--open[b-6vqri35axy] {
    color: #dc2626;
    font-weight: 700;
}

.subtask-item__btns[b-6vqri35axy] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    min-width: 116px; /* 4×26px buttons (add/edit/complete/delete) + 3×4px gaps — keeps user/date aligned across rows with a different button count */
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.15s;
}

.subtask-item:hover .subtask-item__btns[b-6vqri35axy],
.subtask-item:focus-within .subtask-item__btns[b-6vqri35axy] {
    opacity: 1;
}

.subtask-item__btn[b-6vqri35axy] {
    background: transparent;
    border: 1px solid #cbd5e0;
    color: #4a5568;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.subtask-item__btn:hover[b-6vqri35axy] {
    background: #edf2f7;
    border-color: #a0aec0;
}

.subtask-item__btn--del:hover[b-6vqri35axy] {
    background: #fff5f5;
    border-color: #fc8181;
    color: #e53e3e;
}

/* Distinct from the neutral edit/complete/delete icons — same brand teal the top-level
   "+ Add Sub Task" button already uses, so the icon-only version at deeper levels still
   reads as "the add action" rather than blending in with the others (feedback: bare "+"
   was ambiguous among 4 same-styled icons). */
.subtask-item__btn--add[b-6vqri35axy] {
    color: #0a6652;
    border-color: #9fdfd0;
}

.subtask-item__btn--add:hover[b-6vqri35axy] {
    background: #d0f0e8;
    border-color: #11C683;
}

.subtask-item__btn--active[b-6vqri35axy] {
    background: #d0f0e8;
    border-color: #11C683;
    color: #0a6652;
    opacity: 1;
}

@keyframes flash-complete-b-6vqri35axy {
    0%   { background: #d4edda; }
    100% { background: #fff; }
}

.subtask-item--flash[b-6vqri35axy] {
    animation: flash-complete-b-6vqri35axy 0.5s ease forwards;
}

/* ── Inline add row ─────────────────────────────────────────── */
.subtask-item--inline[b-6vqri35axy] {
    background: #f8fbff;
    border: 1px dashed #11C683;
    border-radius: 6px;
    margin: 4px 8px 6px;
    padding: 6px 10px;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
}

.subtask-inline__name[b-6vqri35axy] {
    flex: 2;
    min-width: 120px;
    overflow: hidden;
}

.subtask-inline__field[b-6vqri35axy] {
    flex: 1;
    min-width: 80px;
    overflow: hidden;
}

.subtask-item--inline[b-6vqri35axy]  .dxbl-edit-container {
    min-height: 28px;
    font-size: 0.82rem;
}

.subtask-item__btns--always-visible[b-6vqri35axy] {
    opacity: 1 !important;
    min-width: 56px;
}

/* ── Nested levels — indent each depth so the hierarchy reads visually ── */
.subtask-children[b-6vqri35axy] {
    margin-left: 18px;
    border-left: 2px solid #e9ecef;
}

/* Numbered step circle (LW+CL:08.11.26, Tasks UX POC .step-num): a sequential step shows its number and a tick when done; a step in a group shows an empty square (it has no place in the order) */
.subtask-item__step[b-6vqri35axy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    border: 2px solid #adb5bd;
    color: #6c757d;
    background: #fff;
}

.subtask-item__step--progress[b-6vqri35axy] { border-color: #11C683; color: #0a6652; }
.subtask-item__step--done[b-6vqri35axy] { border-color: #28a745; background: #28a745; color: #fff; }
.subtask-item__step--parallel[b-6vqri35axy] { border-radius: 4px; }

/* Per-group colour (POC GROUP_PALETTE): header tint, dot and a left rule down the group */
.subtask-group[b-6vqri35axy] { border-left: 3px solid transparent; }
.subtask-group--c0[b-6vqri35axy] { --grp-border: #00d9c5; --grp-bg: rgba(0, 217, 197, 0.09); --grp-text: #00a896; }
.subtask-group--c1[b-6vqri35axy] { --grp-border: #1a6fd4; --grp-bg: #dbeafe; --grp-text: #1a6fd4; }
.subtask-group--c2[b-6vqri35axy] { --grp-border: #7c3aed; --grp-bg: #ede9fe; --grp-text: #7c3aed; }
.subtask-group--c3[b-6vqri35axy] { --grp-border: #db2777; --grp-bg: #fce7f3; --grp-text: #db2777; }
.subtask-group--c4[b-6vqri35axy] { --grp-border: #d97706; --grp-bg: #fff9e6; --grp-text: #b45309; }

.subtask-group[class*="subtask-group--c"][b-6vqri35axy] { border-left-color: var(--grp-border); }
.subtask-group[class*="subtask-group--c"] > .subtask-group__header[b-6vqri35axy] { background: var(--grp-bg); color: var(--grp-text); }

.subtask-group__dot[b-6vqri35axy] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--grp-border);
}

/* The inline form now holds eight controls: let it wrap rather than squeeze them */
.subtask-item--inline[b-6vqri35axy] { flex-wrap: wrap; }

/* Wider fields so the eight controls wrap onto a second row instead of truncating to "Lei..." */
.subtask-item--inline .subtask-inline__name[b-6vqri35axy] { flex: 1 1 100%; }
.subtask-item--inline .subtask-inline__field[b-6vqri35axy] { flex: 1 1 140px; min-width: 140px; }
/* /Components/Pages/Tasks/TaskEditor.razor.rz.scp.css */
/* Form fields scroll within the flex column — panel sits below as a separate flex child */
.task-editor-scroll[b-z90n2kl42w] {
    overflow-y: auto !important;
    padding-bottom: 8px;
}

/* ── Sub-task panel ─────────────────────────────────────────── */
.subtask-panel[b-z90n2kl42w] {
    margin: 12px 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.subtask-panel__header[b-z90n2kl42w] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: #f0f4f8;
    color: #343a40;
    border-bottom: 2px solid #11C683;
    flex-shrink: 0;
}

.subtask-panel__title[b-z90n2kl42w] {
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #495057;
    flex-shrink: 0;
}

.subtask-panel__progress[b-z90n2kl42w] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subtask-panel__progress-bar[b-z90n2kl42w] {
    flex: 1;
    height: 5px;
    background: #dee2e6;
    border-radius: 3px;
    overflow: hidden;
}

.subtask-panel__progress-fill[b-z90n2kl42w] {
    height: 100%;
    background: #11C683;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.subtask-panel__progress-text[b-z90n2kl42w] {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
}

.subtask-panel__list[b-z90n2kl42w] {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 176, 160, 0.4) transparent;
}

.subtask-panel__list[b-z90n2kl42w]::-webkit-scrollbar {
    width: 5px;
}

.subtask-panel__list[b-z90n2kl42w]::-webkit-scrollbar-track {
    background: transparent;
}

.subtask-panel__list[b-z90n2kl42w]::-webkit-scrollbar-thumb {
    background: rgba(59, 176, 160, 0.45);
    border-radius: 3px;
}

.subtask-panel__list[b-z90n2kl42w]::-webkit-scrollbar-thumb:hover {
    background: #3bb0a0;
}

/* ── Form section labels ────────────────────────────────────── */
.task-section-label[b-z90n2kl42w] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding: 10px 0 2px;
    border-top: 1px solid #e9ecef;
    margin-top: 2px;
}

.task-section-toggle[b-z90n2kl42w] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-top: 1px solid #e9ecef;
    padding: 10px 0 2px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    cursor: pointer;
    text-align: left;
    margin-top: 2px;
}

.task-section-toggle:hover[b-z90n2kl42w] {
    color: #6b7280;
}

.task-section-toggle__chevron[b-z90n2kl42w] {
    margin-left: auto;
    font-size: 0.58rem;
}

/* ── Comments (LW+CL:03.11.26) ──────────────────────────────── */
.task-comments[b-z90n2kl42w] {
    padding: 0 12px 8px;
}
.task-comment[b-z90n2kl42w] {
    border-left: 3px solid #3bb0a0;
    background: #f8fafb;
    border-radius: 4px;
    padding: 6px 10px;
    margin: 6px 0;
}
.task-comment__meta[b-z90n2kl42w] {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.75rem;
    color: #6b7280;
}
.task-comment__meta[b-z90n2kl42w]  .task-comment__delete {
    margin-left: auto;
    padding: 0;
    font-size: 0.75rem;
}
.task-comment__text[b-z90n2kl42w] {
    white-space: pre-wrap;
    font-size: 0.85rem;
    margin-top: 2px;
}
.task-comment__add[b-z90n2kl42w] {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-top: 6px;
}
.task-comment__add[b-z90n2kl42w]  .dxbl-memo {
    flex: 1;
}

/* Governance Workflow Active banner (LW+CL:08.11.26, Tasks UX POC) */
.task-governance-banner[b-z90n2kl42w] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #1a8a3a, #147a30);
    color: #fff;
    border-radius: 8px;
    font-size: 0.82rem;
    box-shadow: 0 2px 8px rgba(26, 138, 58, 0.25);
}

.task-governance-banner__text[b-z90n2kl42w] {
    flex: 1;
}

.task-governance-banner__title[b-z90n2kl42w] {
    display: block;
    font-weight: 700;
}
/* /Components/Pages/Tasks/Tasks.razor.rz.scp.css */
/* Drill-down KPI styles are in site.css (scoped CSS can't reach DxPopup body) */

/* Prevent the DX adaptive toolbar placeholder overlay from blocking toolbar buttons */
[b-re6ac9wubx] .dxbl-toolbar-placeholder {
    pointer-events: none;
}

/* LW+CL:07.11.26 Stat tiles that filter the list: six across, a click shows those tasks, the chosen one is outlined. */
.drill-kpis[b-re6ac9wubx] {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.tsk-tile[b-re6ac9wubx] {
    cursor: pointer;
}

.tsk-tile:hover[b-re6ac9wubx] {
    border-color: #94a3b8;
}

.tsk-tile--on[b-re6ac9wubx] {
    border-color: #0f8f7e;
    box-shadow: 0 0 0 1px #0f8f7e inset;
}

/* LW+CL:07.11.26 IQ Daily Briefing (the Dispatch POC's dark Active Tasks panel); the IQ words follow it in the insight card. */
.tsk-briefing[b-re6ac9wubx] {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 12px;
    color: #fff;
}

.tsk-briefing-title[b-re6ac9wubx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    margin-bottom: 8px;
}

.tsk-briefing-stamp[b-re6ac9wubx] {
    font-size: 10px;
    font-weight: 400;
    opacity: .55;
}

.tsk-briefing-text[b-re6ac9wubx] {
    font-size: 12px;
    line-height: 1.75;
    opacity: .92;
    margin-bottom: 10px;
}

.tsk-briefing-chips[b-re6ac9wubx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tsk-briefing-chip[b-re6ac9wubx] {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.tsk-briefing-chip--red[b-re6ac9wubx] {
    background: rgba(239, 68, 68, .28);
}

.tsk-briefing-chip--amber[b-re6ac9wubx] {
    background: rgba(245, 158, 11, .28);
    cursor: default;
}

.tsk-briefing-iq[b-re6ac9wubx] {
    margin-bottom: 12px;
}

/* LW+CL:08.11.26 Note above the grid: completed sub-tasks are not listed in the Active view (Tasks UX POC) */
.tsk-listinfo[b-re6ac9wubx] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    margin: 4px 0 6px;
    padding: 0 4px;
}

.tsk-count[b-re6ac9wubx] {
    color: #5b6b66;
    font-size: 0.78rem;
    font-weight: 600;
}

/* A completed task or step is drawn dimmer (the Tasks UX POC's done-row) */
.razorpagemain[b-re6ac9wubx]  .task-row-done td {
    opacity: 0.55;
}

/* /Components/Pages/UboReport/UboIssuedStatementsPanel.razor.rz.scp.css */
/* Issued UBO statements panel (AM+CL 30.09.26). Same card shape as the relationships panel under the report. */
.ubo-stm-panel[b-hwiltjsu8g] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
}

.ubo-stm-head[b-hwiltjsu8g] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ubo-stm-eyebrow[b-hwiltjsu8g] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.ubo-stm-sub[b-hwiltjsu8g] {
    font-size: 0.8rem;
    color: #8a97a8;
}

.ubo-stm-all[b-hwiltjsu8g] {
    margin-left: auto;
    font-size: 0.8rem;
}

.ubo-stm-note[b-hwiltjsu8g] {
    font-size: 0.85rem;
    color: #55647a;
}

.ubo-stm-error[b-hwiltjsu8g] {
    color: #b42318;
}

.ubo-stm-grid-wrap[b-hwiltjsu8g] {
    max-height: 360px;
    overflow: auto;
}

.ubo-stm-actions[b-hwiltjsu8g] {
    display: flex;
    gap: 0.35rem;
}
/* /Components/Pages/UboReport/UboIssueStatementDialog.razor.rz.scp.css */
/* Issue UBO statement dialog (AM+CL 30.09.26; was UboStatementOptionsDialog). Field shapes match UboSnapshotDialog. */
.ubo-stmt[b-b5zz7c031b] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.25rem 0.1rem;
}

.ubo-stmt-intro[b-b5zz7c031b] {
    margin: 0 0 0.35rem;
    color: #55647a;
    font-size: 0.85rem;
    line-height: 1.35;
}

.ubo-stmt-field[b-b5zz7c031b] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ubo-stmt-label[b-b5zz7c031b] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f1b2a;
}

.ubo-stmt-optional[b-b5zz7c031b] {
    font-weight: 400;
    color: #8a97a8;
}

.ubo-stmt-sections[b-b5zz7c031b] {
    margin-top: 0.25rem;
}

.ubo-stmt-opt[b-b5zz7c031b] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ubo-stmt-file[b-b5zz7c031b] {
    margin-top: 0.35rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e4e9ef;
}

.ubo-stmt-note[b-b5zz7c031b] {
    margin-left: 1.7rem;
    color: #8a97a8;
    font-size: 0.78rem;
}

.ubo-stmt-error[b-b5zz7c031b] {
    color: #b42318;
    font-size: 0.8rem;
}

.ubo-stmt-actions[b-b5zz7c031b] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}

/* Particulars gaps for the register chosen (AM+CL 04.10.26). */
.ubo-stmt-warn[b-b5zz7c031b] {
    font-size: 0.78rem;
    color: #93520b;
}
/* /Components/Pages/UboReport/UboOverview.razor.rz.scp.css */
/* UBO overview (AM+CL 03.10.26). Cards filter the list; the grid is the book. */
.ubo-ov-page[b-3dzfg5reew] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1rem 1.5rem 2rem;
}

.ubo-ov-head[b-3dzfg5reew] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ubo-page-title[b-3dzfg5reew] {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.ubo-ov-intro[b-3dzfg5reew] {
    margin: 0;
    max-width: 80ch;
    color: #55647a;
    font-size: 0.88rem;
}

.ubo-ov-links[b-3dzfg5reew] {
    white-space: nowrap;
    font-size: 0.85rem;
    padding-top: 6px;
}

.ubo-ov-note[b-3dzfg5reew] {
    font-size: 0.9rem;
    color: #55647a;
}

.ubo-ov-error[b-3dzfg5reew] {
    color: var(--bs-danger, #dc3545);
}

.ubo-ov-cards[b-3dzfg5reew] {
    display: grid;
    /* AM+CL 07.10.26: ten cards with Filing overdue - one row where there is room, even rows where there is not. */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

/* The address narrows the list (AM+CL 07.10.26): say so, and how to see every entity again. */
.ubo-ov-scope[b-3dzfg5reew] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 8px 12px;
    border: 1px solid #b2e4dd;
    border-radius: 6px;
    background: #f0faf8;
    font-size: 0.85rem;
    color: #2f3b4c;
}

.ubo-ov-scope a[b-3dzfg5reew] {
    color: #00806f;
    font-weight: 600;
}

.ubo-ov-card[b-3dzfg5reew] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 14px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-body-bg, #fff);
    text-align: left;
    cursor: pointer;
}

.ubo-ov-card:hover[b-3dzfg5reew] {
    border-color: #00a896;
}

.ubo-ov-card:focus-visible[b-3dzfg5reew] {
    outline: 2px solid #00a896;
    outline-offset: 2px;
}

.ubo-ov-card-on[b-3dzfg5reew] {
    border-color: #00a896;
    box-shadow: inset 0 -3px 0 #00a896;
}

.ubo-ov-card-n[b-3dzfg5reew] {
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.ubo-ov-card-flag .ubo-ov-card-n[b-3dzfg5reew] {
    color: #b45309;
}

.ubo-ov-card-label[b-3dzfg5reew] {
    font-size: 0.78rem;
    color: #55647a;
}

.ubo-ov-grid-wrap[b-3dzfg5reew] {
    overflow-x: auto;
}

/* Four-eyes sign-off queue (AM+CL 03.10.26). */
.ubo-ov-queue[b-3dzfg5reew] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
    padding: 0.75rem 1rem;
    background: #fffaf0;
    border: 1px solid #f3dcae;
    border-radius: 10px;
}

.ubo-ov-queue-head[b-3dzfg5reew] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.ubo-ov-queue-title[b-3dzfg5reew] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #93520b;
}

.ubo-ov-queue-sub[b-3dzfg5reew] {
    font-size: 0.8rem;
    color: #8a6a3a;
}

.ubo-ov-queue-row[b-3dzfg5reew] {
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) minmax(220px, 1.2fr) 2fr auto;
    gap: 0.8rem;
    align-items: baseline;
    font-size: 0.84rem;
    color: #334155;
    padding: 0.2rem 0;
}

.ubo-ov-queue-row.is-mine[b-3dzfg5reew] {
    color: #8a97a8;
}

.ubo-ov-queue-entity[b-3dzfg5reew] {
    font-weight: 600;
}

.ubo-ov-queue-who[b-3dzfg5reew] {
    font-size: 0.78rem;
}

.ubo-ov-queue-open[b-3dzfg5reew] {
    font-size: 0.8rem;
    white-space: nowrap;
}
/* /Components/Pages/UboReport/UboOwnershipGraph.razor.rz.scp.css */
/* UBO ownership graph - scroll box and the edge click overlay (AM+CL 23.09.26). The drawing itself is an SVG string. */
.ubo-graph-scroll[b-ez6op38jbi] {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 12px;   /* AM+CL 30.09.26: the direct-holders table sat flush (0px) under the graph; 12px matches the panel's other gaps */
}

.ubo-graph-stack[b-ez6op38jbi] {
    position: relative;
}

.ubo-graph-hits[b-ez6op38jbi] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ubo-graph-hit[b-ez6op38jbi] {
    fill: none;
    stroke: transparent;
    stroke-width: 12;
    pointer-events: stroke;
    cursor: pointer;
}

.ubo-graph-hit:hover[b-ez6op38jbi] {
    stroke: rgba(10, 61, 98, 0.12);
}
/* /Components/Pages/UboReport/UboParticularsPanel.razor.rz.scp.css */
/* Particulars panel (AM+CL 04.10.26). Same card shape as the registers and statements panels. */
.ubo-par-panel[b-pezixgx9fk] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
}

.ubo-par-head[b-pezixgx9fk] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ubo-par-eyebrow[b-pezixgx9fk] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.ubo-par-sub[b-pezixgx9fk] {
    font-size: 0.8rem;
    color: #8a97a8;
}

.ubo-par-note[b-pezixgx9fk] {
    font-size: 0.85rem;
    color: #55647a;
}

.ubo-par-note.is-ok[b-pezixgx9fk]  { color: #05603a; }
.ubo-par-note.is-gap[b-pezixgx9fk] { color: #93520b; }

.ubo-par-row[b-pezixgx9fk] {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0.8rem;
    align-items: center;
    padding: 0.35rem 0;
    border-top: 1px solid #eef2f6;
    font-size: 0.84rem;
}

.ubo-par-name[b-pezixgx9fk] {
    font-weight: 600;
    color: #0f2a44;
}

.ubo-par-gaps[b-pezixgx9fk] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.ubo-par-chip[b-pezixgx9fk] {
    padding: 0 0.45rem;
    font-size: 0.74rem;
    border-radius: 999px;
    line-height: 1.6;
}

.ubo-par-chip.is-missing[b-pezixgx9fk] { background: #fef3f2; color: #b42318; }
.ubo-par-chip.is-warn[b-pezixgx9fk]    { background: #fff6e5; color: #93520b; }

.ubo-par-chip[b-pezixgx9fk] {
    text-decoration: none;
    cursor: pointer;
}

.ubo-par-chip:hover[b-pezixgx9fk] {
    text-decoration: underline;
}

.ubo-par-hint[b-pezixgx9fk] {
    font-size: 0.74rem;
    color: #8a97a8;
    white-space: nowrap;
}
/* /Components/Pages/UboReport/UboRegimeComparison.razor.rz.scp.css */
/* Compare regimes (UBO-MANAGEMENT-PLAN.md Phase B): a regime-by-person matrix. Layout only - every word comes from
   UboRegimeComparisonModel. Rows use display: contents so each cell is a direct grid item and the columns line up.
   Scoped via CSS isolation. AM+CL 23.09.26. */

.ubo-compare[b-8x721l6hwy] {
    --ink: #0f1b2a;
    --ink-2: #55647a;
    --faint: #8a97a8;
    --line: #e4e9ef;
    --head: #f6f8fa;
    --warn: #8a5a00;
    --warn-bg: #fdf0d5;
    --warn-line: #f2d199;
    --diverge: #fff7e6;
    --diverge-edge: #e0a100;

    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ubo-compare-toolbar[b-8x721l6hwy] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.ubo-compare-picker[b-8x721l6hwy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 420px;
    min-width: 260px;
}

.ubo-compare-picker-label[b-8x721l6hwy] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f9d8f;
}

.ubo-compare-notice[b-8x721l6hwy] {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .88rem;
    background: var(--warn-bg);
    color: var(--warn);
    border: 1px solid var(--warn-line);
}

.ubo-compare-loading[b-8x721l6hwy],
.ubo-compare-empty[b-8x721l6hwy] {
    padding: 14px 16px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--ink-2);
    font-size: .9rem;
}

/* ── the matrix ── */
.ubo-compare-matrix[b-8x721l6hwy] {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-x: auto;
    background: #fff;
}

.ubo-compare-corner[b-8x721l6hwy],
.ubo-compare-col[b-8x721l6hwy] {
    background: var(--head);
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
}

.ubo-compare-corner[b-8x721l6hwy] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-2);
}

.ubo-compare-legend[b-8x721l6hwy] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    font-size: .76rem;
}

.ubo-compare-legend-swatch[b-8x721l6hwy] {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--diverge);
    border-left: 3px solid var(--diverge-edge);
}

.ubo-compare-col[b-8x721l6hwy] {
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ubo-compare-col-top[b-8x721l6hwy] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ubo-compare-col-code[b-8x721l6hwy] {
    white-space: nowrap;
    font-weight: 800;
    font-size: .92rem;
}

.ubo-compare-own[b-8x721l6hwy] {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0f9d8f;
    border: 1px solid #b7e3dd;
    border-radius: 999px;
    padding: 0 6px;
}

.ubo-compare-col-top[b-8x721l6hwy]  .ubo-compare-remove {
    margin-left: auto;
    padding: 0 2px;
    opacity: .55;
}

.ubo-compare-col-top[b-8x721l6hwy]  .ubo-compare-remove:hover { opacity: 1; }

.ubo-compare-col-label[b-8x721l6hwy] {
    font-size: .76rem;
    color: var(--ink-2);
    line-height: 1.25;
}

.ubo-compare-col-status[b-8x721l6hwy] {
    font-size: .8rem;
    font-weight: 600;
    margin-top: 2px;
}

.ubo-compare-col-currency[b-8x721l6hwy] {
    font-size: .74rem;
    color: var(--ink-2);
}

.ubo-compare-col-currency.is-outdated[b-8x721l6hwy] {
    color: var(--warn);
    font-weight: 700;
}

.ubo-compare-col.is-not-calculated .ubo-compare-col-status[b-8x721l6hwy],
.ubo-compare-col.is-withheld .ubo-compare-col-status[b-8x721l6hwy],
.ubo-compare-col.is-not-applicable .ubo-compare-col-status[b-8x721l6hwy] {
    color: var(--faint);
    font-style: italic;
}


/* Each row's cells sit directly in the grid. */
.ubo-compare-row[b-8x721l6hwy] { display: contents; }

.ubo-compare-person[b-8x721l6hwy],
.ubo-compare-cell[b-8x721l6hwy] {
    padding: 9px 12px;
    border-bottom: 1px solid var(--line);
}

.ubo-compare-cell[b-8x721l6hwy] {
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ubo-compare-person[b-8x721l6hwy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ubo-compare-person-name[b-8x721l6hwy] { font-weight: 600; }

.ubo-compare-person-meta[b-8x721l6hwy] {
    font-size: .74rem;
    color: var(--faint);
}

.ubo-compare-pct[b-8x721l6hwy] {
    font-weight: 700;
    font-size: .95rem;
}

.ubo-compare-basis[b-8x721l6hwy] {
    font-size: .76rem;
    color: var(--ink-2);
}

.ubo-compare-absent[b-8x721l6hwy] {
    font-size: .76rem;
    color: var(--faint);
    font-style: italic;
}

/* Named under some calculated regimes but not all: the point of the view, so it is highlighted, never hidden. */
.ubo-compare-divergent > .ubo-compare-person[b-8x721l6hwy],
.ubo-compare-divergent > .ubo-compare-cell[b-8x721l6hwy] {
    background: var(--diverge);
}

.ubo-compare-divergent > .ubo-compare-person[b-8x721l6hwy] {
    box-shadow: inset 3px 0 0 var(--diverge-edge);
}

.ubo-compare-divergent > .ubo-compare-cell.is-absent .ubo-compare-absent[b-8x721l6hwy] {
    color: var(--warn);
    font-weight: 700;
    font-style: normal;
}
/* /Components/Pages/UboReport/UboRegistersPanel.razor.rz.scp.css */
/* Registers panel (AM+CL 03.10.26). Same card shape as the issued-statements and relationships panels. */
.ubo-reg-panel[b-9jfjq295kp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
}

.ubo-reg-head[b-9jfjq295kp] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ubo-reg-eyebrow[b-9jfjq295kp] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.ubo-reg-sub[b-9jfjq295kp] {
    font-size: 0.8rem;
    color: #8a97a8;
}

.ubo-reg-add[b-9jfjq295kp] {
    margin-left: auto;
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

[b-9jfjq295kp] .ubo-reg-add-combo {
    width: 220px;
}

.ubo-reg-note[b-9jfjq295kp] {
    font-size: 0.85rem;
    color: #55647a;
}

.ubo-reg-msg[b-9jfjq295kp] {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background: #ecfdf3;
    color: #05603a;
}

.ubo-reg-msg.is-error[b-9jfjq295kp] {
    background: #fef3f2;
    color: #b42318;
}

.ubo-reg-list[b-9jfjq295kp] {
    display: flex;
    flex-direction: column;
}

.ubo-reg-row[b-9jfjq295kp] {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.8fr) minmax(260px, 1.4fr) auto;
    gap: 0.4rem 1rem;
    align-items: center;
    padding: 0.6rem 0.5rem;
    border-top: 1px solid #eef2f6;
}

.ubo-reg-row:first-child[b-9jfjq295kp] {
    border-top: none;
}

.ubo-reg-row.is-current[b-9jfjq295kp] {
    background: #f3f8fd;
    border-radius: 6px;
}

.ubo-reg-title[b-9jfjq295kp] {
    font-weight: 600;
    color: #0f2a44;
    font-size: 0.9rem;
}

.ubo-reg-code[b-9jfjq295kp] {
    margin-left: 0.3rem;
    padding: 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    background: #eef2f6;
    border-radius: 4px;
}

.ubo-reg-shown[b-9jfjq295kp] {
    margin-left: 0.4rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #1d5f99;
}

.ubo-reg-why[b-9jfjq295kp] {
    font-size: 0.76rem;
    color: #8a97a8;
}

.ubo-reg-col[b-9jfjq295kp] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.ubo-reg-label[b-9jfjq295kp] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a97a8;
}

.ubo-reg-value[b-9jfjq295kp] {
    font-size: 0.82rem;
    color: #334155;
}

.ubo-reg-value.is-none[b-9jfjq295kp] {
    color: #8a97a8;
}

.ubo-reg-pill[b-9jfjq295kp] {
    display: inline-block;
    margin-right: 0.3rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1.5;
}

.ubo-reg-pill.is-pending[b-9jfjq295kp] { background: #fff6e5; color: #93520b; }
.ubo-reg-pill.is-sent[b-9jfjq295kp]    { background: #e8f1fb; color: #1d5f99; }
.ubo-reg-pill.is-ok[b-9jfjq295kp]      { background: #ecfdf3; color: #05603a; }
.ubo-reg-pill.is-bad[b-9jfjq295kp]     { background: #fef3f2; color: #b42318; }
.ubo-reg-pill.is-muted[b-9jfjq295kp]   { background: #f1f4f7; color: #55647a; }

.ubo-reg-actions[b-9jfjq295kp] {
    display: flex;
    gap: 0.35rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ubo-reg-wait[b-9jfjq295kp] {
    font-size: 0.78rem;
    color: #93520b;
    align-self: center;
}

.ubo-reg-history[b-9jfjq295kp] {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.2rem 0 0.1rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
}

.ubo-reg-hrow[b-9jfjq295kp] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.1rem 0.6rem;
    align-items: baseline;
    font-size: 0.8rem;
}

.ubo-reg-hmain[b-9jfjq295kp] {
    color: #334155;
}

.ubo-reg-hsub[b-9jfjq295kp] {
    grid-column: 2;
    color: #8a97a8;
    font-size: 0.76rem;
}

.ubo-reg-hlink[b-9jfjq295kp] {
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Changed since the last filing record (AM+CL 03.10.26). */
.ubo-reg-change[b-9jfjq295kp] {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.76rem;
    line-height: 1.3;
}

.ubo-reg-change.is-checking[b-9jfjq295kp] { color: #8a97a8; }
.ubo-reg-change.is-same[b-9jfjq295kp]     { color: #05603a; }
.ubo-reg-change.is-changed[b-9jfjq295kp]  { color: #b42318; font-weight: 600; }
.ubo-reg-change.is-unknown[b-9jfjq295kp]  { color: #93520b; }

.ubo-reg-hlinks[b-9jfjq295kp] {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 0.6rem;
}

/* Readiness of the register shown (AM+CL 04.10.26). */
.ubo-reg-ready[b-9jfjq295kp] {
    margin-top: 0.15rem;
    font-size: 0.76rem;
}

.ubo-reg-ready.is-ok[b-9jfjq295kp]  { color: #05603a; }
.ubo-reg-ready.is-gap[b-9jfjq295kp] { color: #93520b; font-weight: 600; }

/* Fallback warning on the register shown (AM+CL 04.10.26). */
.ubo-reg-fallback[b-9jfjq295kp] {
    margin-top: 0.3rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #93520b;
    background: #fff6e5;
    border-radius: 6px;
}

.ubo-reg-fallback a[b-9jfjq295kp] {
    margin-left: 0.3rem;
    white-space: nowrap;
}
/* /Components/Pages/UboReport/UboRelationshipDrawerBody.razor.rz.scp.css */
/* UBO report - relationship drawer body (AM+CL 23.09.26). */
.ubo-rd[b-1bul1pcdlq] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.1rem 0.2rem;
}

.ubo-rd-sec[b-1bul1pcdlq] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ubo-rd-title[b-1bul1pcdlq] {
    font-size: 1rem;
    font-weight: 600;
    color: #0f1b2a;
}

.ubo-rd-arrow[b-1bul1pcdlq] {
    margin: 0 0.35rem;
    color: #8a97a8;
}

.ubo-rd-counted[b-1bul1pcdlq] {
    font-size: 0.82rem;
}

.ubo-rd-counted-yes[b-1bul1pcdlq] {
    color: #1f6b3d;
}

.ubo-rd-counted-no[b-1bul1pcdlq] {
    color: #55647a;
}

.ubo-rd-fields[b-1bul1pcdlq] {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.15rem 0.6rem;
    margin: 0;
    font-size: 0.83rem;
}

.ubo-rd-fields dt[b-1bul1pcdlq] {
    color: #8a97a8;
    font-weight: 500;
}

.ubo-rd-fields dd[b-1bul1pcdlq] {
    margin: 0;
    color: #0f1b2a;
}

.ubo-rd-head[b-1bul1pcdlq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 0.25rem;
}

.ubo-rd-head-t[b-1bul1pcdlq] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f1b2a;
}

.ubo-rd-head-note[b-1bul1pcdlq] {
    font-size: 0.75rem;
    color: #8a97a8;
}

.ubo-rd-empty[b-1bul1pcdlq] {
    color: #8a97a8;
    font-size: 0.83rem;
}

.ubo-rd-ev[b-1bul1pcdlq] {
    padding: 0.4rem 0.5rem;
    border: 1px solid #eef2f6;
    border-radius: 8px;
}

.ubo-rd-ev-l1[b-1bul1pcdlq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ubo-rd-ev-name[b-1bul1pcdlq] {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f1b2a;
    overflow-wrap: anywhere;
}

.ubo-rd-ev-l2[b-1bul1pcdlq] {
    font-size: 0.78rem;
    color: #55647a;
}

/* /Components/Pages/UboReport/UboRelationshipsPanel.razor.rz.scp.css */
/* UBO report - relationships behind the calculation (AM+CL 23.09.26). Same plain-register palette as UboReportView. */
.ubo-rel-panel[b-lcypzvtspr] {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    background: #ffffff;
}

.ubo-rel-head[b-lcypzvtspr] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-bottom: 0.6rem;
}

.ubo-rel-eyebrow[b-lcypzvtspr] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f1b2a;
}

.ubo-rel-sub[b-lcypzvtspr] {
    font-size: 0.8rem;
    color: #8a97a8;
}

.ubo-rel-caveat[b-lcypzvtspr] {
    margin: 0 0 0.6rem;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid #d9a31a;
    background: #fdf7e7;
    color: #6b4e00;
    font-size: 0.85rem;
}

.ubo-rel-caveat-note[b-lcypzvtspr] {
    color: #8a7a4a;
    font-size: 0.78rem;
}

.ubo-rel-note[b-lcypzvtspr] {
    padding: 0.4rem 0;
    color: #55647a;
    font-size: 0.85rem;
}

.ubo-rel-error[b-lcypzvtspr] {
    color: #a12a2a;
}

.ubo-rel-summary[b-lcypzvtspr] {
    margin-bottom: 0.4rem;
    color: #55647a;
    font-size: 0.8rem;
}

/* Bounded height: the grid scrolls inside the panel (BLAZOR.md grid-height rule). */
.ubo-rel-grid-wrap[b-lcypzvtspr] {
    height: 360px;
    min-height: 0;
}

/* /Components/Pages/UboReport/UboReport.razor.rz.scp.css */
/* UBO / Compliance report viewer page shell (P1). Input layout only — the report
   render styling lives in UboReportView.razor.css. Scoped via Blazor CSS isolation. */

.ubo-report-page[b-cz4xs2oaz8] {
    padding: 20px 24px;
}

.ubo-page-title[b-cz4xs2oaz8] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a3d62;
    margin: 0 0 16px;
}

.ubo-inputs[b-cz4xs2oaz8] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.ubo-input-group[b-cz4xs2oaz8] {
    padding: 14px 16px;
    border: 1px solid #e3e8ea;
    border-radius: 10px;
    background: #fbfcfd;
}

.ubo-input-label[b-cz4xs2oaz8] {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f9d8f;
    margin-bottom: 8px;
}

.ubo-input-row[b-cz4xs2oaz8] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ubo-input[b-cz4xs2oaz8] {
    flex: 1 1 220px;
    min-width: 180px;
}

/* The view controls: regime, as-at, Recalculate - this entity, at this time, under this regime. */
.ubo-view-controls[b-cz4xs2oaz8] {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 16px;
    margin-bottom: 14px;
    border: 1px solid #e3e8ea;
    border-radius: 10px;
    background: #fbfcfd;
}

.ubo-view-field[b-cz4xs2oaz8] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
}

.ubo-view-field .ubo-input-label[b-cz4xs2oaz8] {
    margin-bottom: 0;
}

/* Report / Compare regimes toggle (AM+CL 23.09.26). */
.ubo-view-mode[b-cz4xs2oaz8] { min-width: 0; }

.ubo-view-mode-buttons[b-cz4xs2oaz8] {
    display: flex;
    gap: 6px;
}

/* Clean loading state — shown alone while the report builds, so the stale input
   scaffolding / half-built header never flashes before the real report renders. */
.ubo-loading[b-cz4xs2oaz8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 320px;
    color: #0a3d62;
}

.ubo-loading-spinner[b-cz4xs2oaz8] {
    width: 34px;
    height: 34px;
    border: 3px solid #d7e3e8;
    border-top-color: #0f9d8f;
    border-radius: 50%;
    animation: ubo-spin-b-cz4xs2oaz8 0.8s linear infinite;
}

.ubo-loading-label[b-cz4xs2oaz8] {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

@keyframes ubo-spin-b-cz4xs2oaz8 {
    to { transform: rotate(360deg); }
}

/* Saved snapshots dropdown and the snapshot banner (AM+CL 23.09.26, REGIME-VIEWS.md revision). */
.ubo-view-snapshots[b-cz4xs2oaz8] { min-width: 360px; }

.ubo-snapshot-banner[b-cz4xs2oaz8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px;
    margin-bottom: 14px;
    border: 1px solid #c9dcef;
    border-radius: 10px;
    background: #eef5fc;
    color: #0a3d62;
}

.ubo-snapshot-banner.is-outdated[b-cz4xs2oaz8] {
    border-color: #f2d199;
    background: #fdf0d5;
    color: #8a5a00;
}

.ubo-snapshot-banner-head[b-cz4xs2oaz8] {
    font-weight: 700;
    font-size: 0.92rem;
}

.ubo-snapshot-banner-line[b-cz4xs2oaz8] {
    font-size: 0.82rem;
    margin-top: 2px;
}

/* Record line in the snapshot banner (AM+CL 03.10.26, REGISTER-FILING.md). */
.ubo-record-line strong[b-cz4xs2oaz8] {
    color: #0f2a44;
}

.ubo-record-actions[b-cz4xs2oaz8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 0.75rem;
}

.ubo-record-wait[b-cz4xs2oaz8] {
    align-self: center;
    font-size: 0.8rem;
    color: #93520b;
}

/* A person's report (AM+CL 05.10.26): what they are a beneficial owner of. Same card shape as the other panels. */
.ubo-ownerof-panel[b-cz4xs2oaz8] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
}

.ubo-ownerof-head[b-cz4xs2oaz8] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.ubo-ownerof-eyebrow[b-cz4xs2oaz8] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.ubo-ownerof-sub[b-cz4xs2oaz8],
.ubo-ownerof-note[b-cz4xs2oaz8] {
    font-size: 0.8rem;
    color: #8a97a8;
}

.ubo-ownerof-row[b-cz4xs2oaz8] {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.3rem 0;
    border-top: 1px solid #eef2f6;
    font-size: 0.84rem;
}

.ubo-ownerof-meta[b-cz4xs2oaz8] {
    color: #55647a;
}

/* AM+CL 06.10.26: What's needed and Registers side by side under the entity bar, so the register document starts higher on
   a 1080p screen; one column where two would be too narrow (each needs ~560px for its label, detail and action). The panels
   bring their own top margins for the stacked layout; in the grid the gap spaces them. */
.ubo-top-grid[b-cz4xs2oaz8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(560px, 1fr));
    gap: 14px;
    align-items: stretch;
    margin-top: 14px;
}
.ubo-top-grid:empty[b-cz4xs2oaz8] { display: none; }
.ubo-top-grid[b-cz4xs2oaz8]  .ubo-req-panel,
.ubo-top-grid[b-cz4xs2oaz8]  .ubo-reg-panel { margin: 0; height: 100%; box-sizing: border-box; }
/* /Components/Pages/UboReport/UboReportView.razor.rz.scp.css */
/* UBO / Compliance report — presentational render (LOCKED two-zone design).
   Zone 1: a dark CONTROLS bar (operator chrome) — entity identity, CDD status chips,
   Export / Ask IQ actions (the regime selector lives on the host page, UboReport).
   Zone 2: a white REPORT document that reads like a printed register — serif masthead,
   basis-coloured spines (Economic = teal, Control = violet), risk-next-to-name using the
   WS ComplianceDetailDrawer severity palette, a derivation ledger for indirect holdings,
   and a ruleset provenance footer. Tokens are defined on .ubo-report so nothing leaks
   globally. Scoped to UboReportView via CSS isolation. */

.ubo-notice[b-t6czr1zoa4] {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .9rem;
    background: #fdf0d5;
    color: #8a5a00;
    border: 1px solid #f2d199;
}

.ubo-report[b-t6czr1zoa4] {
    --paper: #ffffff;
    --ink: #0f1b2a;
    --ink-2: #55647a;
    --faint: #8a97a8;
    --line: #e4e9ef;
    --line-2: #eef2f6;
    /* Plain-register palette: accents neutralised to greys; a single restrained red is
       kept ONLY for risk (PEP / high-risk / sanctioned) so an MLRO's eye still lands on it. */
    --teal: #64748b;        /* economic spine/tick → neutral slate */
    --teal-deep: #334155;   /* eyebrows / section titles → dark slate ink */
    --teal-soft: #f1f5f9;   /* soft fills → light grey */
    --teal-line: #d8dee6;   /* accent hairlines → grey */
    --violet: #64748b;      /* control spine/tick → same neutral slate */
    --violet-soft: #f1f5f9;
    --violet-line: #d8dee6;
    --red: #b3261e;         /* RISK — the one accent kept (muted) */
    --amber: #6b7280;       /* de-accented → grey (no special colour) */
    --green: #334155;       /* verdict OK → ink, not green */
    --green-bg: #f1f5f9;    /* verdict OK chip → light grey */
    --serif: Georgia, "Times New Roman", serif;

    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

/* ══ ZONE 1 · CONTROLS bar ═════════════════════════════════════════════════ */
.ubo-controls[b-t6czr1zoa4] {
    background: linear-gradient(135deg, #0d2b45 0%, #0a3d62 45%, #07615a 100%);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(10, 61, 98, .18);
}
.ubo-controls-top[b-t6czr1zoa4] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ubo-controls-id[b-t6czr1zoa4] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ubo-controls-eyebrow[b-t6czr1zoa4] {
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .5);
}
.ubo-controls-name[b-t6czr1zoa4] {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
}

/* CDD status chips */
.ubo-cdd[b-t6czr1zoa4] { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.ubo-cdd-chip[b-t6czr1zoa4] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .68rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    white-space: nowrap;
}
.ubo-cdd-k[b-t6czr1zoa4] {
    font-size: .55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .6);
}
.ubo-cdd-v[b-t6czr1zoa4] { font-weight: 700; color: #eef4f8; }
.ubo-cdd-red[b-t6czr1zoa4]    { background: rgba(217, 48, 37, .22);  border-color: rgba(255, 138, 128, .5); }
.ubo-cdd-red    .ubo-cdd-v[b-t6czr1zoa4] { color: #ffb3ab; }
.ubo-cdd-amber[b-t6czr1zoa4]  { background: rgba(201, 124, 0, .24);  border-color: rgba(240, 190, 100, .5); }
.ubo-cdd-amber  .ubo-cdd-v[b-t6czr1zoa4] { color: #ffd489; }
.ubo-cdd-green[b-t6czr1zoa4]  { background: rgba(26, 138, 58, .24);  border-color: rgba(120, 214, 150, .5); }
.ubo-cdd-green  .ubo-cdd-v[b-t6czr1zoa4] { color: #a4e8bb; }
.ubo-cdd-neutral[b-t6czr1zoa4] { }

/* Actions */
.ubo-controls-actions[b-t6czr1zoa4] { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ubo-act[b-t6czr1zoa4] {
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
}
.ubo-act-ghost[b-t6czr1zoa4] {
    color: #dbe6ee;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
}
.ubo-act-ghost:hover[b-t6czr1zoa4] { background: rgba(255, 255, 255, .16); }

/* ══ ZONE 2 · REPORT document ══════════════════════════════════════════════ */
.ubo-doc[b-t6czr1zoa4] {
    display: block;
    max-width: none;
    margin: 18px 0 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(15, 27, 42, .06);
    padding: 26px 30px 22px;
}

/* Keep the report — and its right-hand BO derivation column — clear of the IQ panel,
   which overlays the right ~420px when open. Only on wide screens; below this the panel
   and report don't co-exist, so the cap is dropped to avoid squeezing. AM+CL:30.07.26
   AM+CL:06.10.26 - only while the panel IS open: the cap left the right ~440px empty the rest of the time, and the
   diagram squeezed into what was left. */
@media (min-width: 1500px) {
    .page:has(aside.iq-panel-open) .ubo-doc[b-t6czr1zoa4] { max-width: calc(100% - 440px); }
}

/* ── masthead ── */
.ubo-mast[b-t6czr1zoa4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--ink);
}
.ubo-kicker[b-t6czr1zoa4] {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--teal-deep);
    margin-bottom: 5px;
}
.ubo-subject-name[b-t6czr1zoa4] {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
    margin: 0;
    color: var(--ink);
}
.ubo-subject-meta[b-t6czr1zoa4] {
    font-size: .82rem;
    color: var(--ink-2);
    margin-top: 5px;
}
.ubo-mast-side[b-t6czr1zoa4] { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.ubo-verdict[b-t6czr1zoa4] {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ubo-verdict-bad[b-t6czr1zoa4] { background: #fde7e6; color: var(--red); }
.ubo-generated[b-t6czr1zoa4] { font-size: .7rem; color: var(--faint); margin-top: 7px; }

.ubo-empty[b-t6czr1zoa4] { padding: 18px 0; color: var(--faint); font-style: italic; }

/* ── two panels: underlying structure (left) · beneficial-ownership derivation (right) ── */
.ubo-split[b-t6czr1zoa4] {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);   /* AM+CL:06.10.26 the diagram needs the width; the owners read fine at 40% */
    gap: 28px;
    margin-top: 18px;
    align-items: start;
}
.ubo-panel[b-t6czr1zoa4] { min-width: 0; }
.ubo-panel-system[b-t6czr1zoa4] {
    border-right: 1px solid var(--line);
    padding-right: 26px;
}
.ubo-panel-head[b-t6czr1zoa4] { margin-bottom: 14px; }

/* Collapsible graph panel: the head is a full-width button reset to look like the div it replaced. */
.ubo-panel-toggle[b-t6czr1zoa4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font: inherit;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}
.ubo-panel-head-text[b-t6czr1zoa4] { display: block; }
.ubo-panel-caret[b-t6czr1zoa4] { color: var(--faint); font-size: .8rem; line-height: 1.2; flex: 0 0 auto; margin-top: 2px; }
.ubo-panel-toggle:hover .ubo-panel-caret[b-t6czr1zoa4] { color: var(--ink-2); }
.ubo-panel-toggle:focus-visible[b-t6czr1zoa4] { outline: 2px solid var(--teal-deep); outline-offset: 2px; border-radius: 4px; }

.ubo-panel-eyebrow[b-t6czr1zoa4] {
    display: block;
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--teal-deep);
}
.ubo-panel-sub[b-t6czr1zoa4] {
    display: block;
    font-size: .74rem;
    color: var(--faint);
    margin-top: 3px;
}

/* direct-owner cap table — the recorded share register (the "system") */
.ubo-captable[b-t6czr1zoa4] {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.ubo-captable thead th[b-t6czr1zoa4] {
    text-align: left;
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--faint);
    padding: 0 8px 6px;
    border-bottom: 1px solid var(--line);
}
.ubo-captable thead th.ubo-ct-pct[b-t6czr1zoa4] { text-align: right; }
.ubo-captable td[b-t6czr1zoa4] {
    padding: 6px 8px;
    border-bottom: 1px solid var(--line-2);
    color: var(--ink-2);
}
.ubo-captable tbody tr:last-child td[b-t6czr1zoa4] { border-bottom: none; }
.ubo-ct-name[b-t6czr1zoa4] { color: var(--ink); font-weight: 600; }
td.ubo-ct-type[b-t6czr1zoa4] { color: var(--faint); font-size: .74rem; }
.ubo-ct-pct[b-t6czr1zoa4] { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }

/* declared register-total fact line under the cap table */
.ubo-register-sum[b-t6czr1zoa4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    font-size: .76rem;
    color: var(--ink-2);
}
.ubo-register-sum-v[b-t6czr1zoa4] { font-weight: 700; color: var(--ink); }
.ubo-register-sum-off .ubo-register-sum-v[b-t6czr1zoa4] { color: var(--amber); }
.ubo-panel-system .ubo-caveat[b-t6czr1zoa4] { margin-top: 12px; margin-bottom: 0; }

/* ── escalation thesis ── */
.ubo-thesis[b-t6czr1zoa4] {
    margin: 16px 0 14px;
    font-size: .95rem;
    color: var(--ink-2);
}
.ubo-thesis-n[b-t6czr1zoa4] {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
}

/* ── completeness caveat ── */
.ubo-caveat[b-t6czr1zoa4] {
    margin: 0 0 18px;
    padding: 9px 13px;
    border-radius: 9px;
    background: #fdf0d5;
    border: 1px solid #f2d199;
    color: #8a5a00;
    font-size: .82rem;
}

/* ── body ── */
.ubo-doc-body[b-t6czr1zoa4] { min-width: 0; }
.ubo-sec[b-t6czr1zoa4] { margin-bottom: 24px; }
.ubo-sec-head[b-t6czr1zoa4] { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.ubo-tick[b-t6czr1zoa4] { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.ubo-tick-econ[b-t6czr1zoa4] { background: var(--teal); }
.ubo-tick-ctrl[b-t6czr1zoa4] { background: var(--violet); }
.ubo-sec-title[b-t6czr1zoa4] {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink);
}
.ubo-sec-count[b-t6czr1zoa4] {
    font-size: .68rem;
    font-weight: 800;
    color: var(--ink-2);
    background: var(--line-2);
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.ubo-sec-empty[b-t6czr1zoa4] { padding: 6px 0 10px; color: var(--faint); font-style: italic; font-size: .85rem; }

/* ── owner cards ── */
.ubo-owner[b-t6czr1zoa4] {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--teal);
    border-radius: 11px;
    padding: 11px 13px;
    margin-bottom: 9px;
}
.ubo-owner-ctrl[b-t6czr1zoa4] { border-left-color: var(--violet); }
.ubo-o-l1[b-t6czr1zoa4] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ubo-o-name[b-t6czr1zoa4] { font-weight: 700; font-size: .95rem; color: var(--ink); }
.ubo-o-pct[b-t6czr1zoa4] {
    margin-left: auto;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    flex: 0 0 auto;
}
.ubo-o-ctrl[b-t6czr1zoa4] {
    margin-left: auto;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--violet);
    background: var(--violet-soft);
    border: 1px solid var(--violet-line);
    border-radius: 7px;
    padding: 3px 9px;
    flex: 0 0 auto;
}
.ubo-o-l2[b-t6czr1zoa4] { font-size: .8rem; color: var(--ink-2); margin-top: 5px; }

/* ── derivation ledger (signature) ── */
.ubo-ledger[b-t6czr1zoa4] {
    margin-top: 10px;
    border: 1px solid var(--line);
    background: var(--teal-soft);
    border-radius: 10px;
    padding: 11px 12px;
}
.ubo-ledger-cap[b-t6czr1zoa4] {
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--teal-deep);
    margin-bottom: 8px;
}
/* Vertical look-through chain: each hop stacks on its own line, top-to-bottom, with a
   downward connector — so a multi-hop path reads cleanly down the card instead of
   wrapping awkwardly across it. */
.ubo-ledger-path[b-t6czr1zoa4] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: .78rem; }
.ubo-hop-row[b-t6czr1zoa4] { display: flex; align-items: center; gap: 6px; }
.ubo-parr-down[b-t6czr1zoa4] { line-height: 1; }
.ubo-pn[b-t6czr1zoa4] {
    background: var(--paper);
    border: 1px solid var(--teal-line);
    border-radius: 7px;
    padding: 2px 8px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.ubo-pn-end[b-t6czr1zoa4] { background: var(--teal-soft); }
.ubo-ppct[b-t6czr1zoa4] { color: var(--teal-deep); font-weight: 700; }
.ubo-parr[b-t6czr1zoa4] { color: var(--teal); font-weight: 700; }
.ubo-ledger-result[b-t6czr1zoa4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px dashed var(--teal-line);
}
.ubo-ledger-multi .ubo-ledger-result[b-t6czr1zoa4] { margin-top: 0; padding-top: 0; border-top: none; }
.ubo-ledger-lbl[b-t6czr1zoa4] {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-2);
}
.ubo-ledger-val[b-t6czr1zoa4] { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.ubo-ledger-calc[b-t6czr1zoa4] { font-size: .72rem; color: var(--faint); margin-top: 5px; }

/* ── ruleset provenance footer ── */
.ubo-doc-footer[b-t6czr1zoa4] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 6px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    font-size: .72rem;
    color: var(--ink-2);
}
.ubo-fp-line strong[b-t6czr1zoa4] { color: var(--ink); }
.ubo-fp-sep[b-t6czr1zoa4] { color: var(--faint); }
.ubo-fp-fp[b-t6czr1zoa4] { color: var(--faint); }

/* Stack the two panels once there isn't room for both columns. */
@media (max-width: 900px) {
    .ubo-split[b-t6czr1zoa4] { grid-template-columns: 1fr; gap: 22px; }
    .ubo-panel-system[b-t6czr1zoa4] {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--line);
        padding-bottom: 18px;
    }
}
@media (max-width: 720px) {
    .ubo-doc[b-t6czr1zoa4] { padding: 20px 18px 18px; }
    .ubo-controls-actions[b-t6czr1zoa4] { margin-left: 0; width: 100%; }
}

/* Print = the formal register: drop chrome, stack to a single readable column. */
@media print {
    .ubo-controls[b-t6czr1zoa4] { box-shadow: none; }
    .ubo-doc[b-t6czr1zoa4] { box-shadow: none; border: none; max-width: none; }
    .ubo-split[b-t6czr1zoa4] { grid-template-columns: 1fr; gap: 16px; }
    .ubo-panel-system[b-t6czr1zoa4] { border-right: none; padding-right: 0; }
    .ubo-export[b-t6czr1zoa4] { display: none; }
}

/* Export ▾ dropdown — a plain, monochrome popover (no accent colours). The trigger reuses
   .ubo-act .ubo-act-ghost; only the menu itself needs bespoke rules. */
.ubo-export[b-t6czr1zoa4] { position: relative; display: inline-block; }
/* Transparent full-viewport catcher so a click anywhere closes the menu (no JS needed). */
.ubo-export-backdrop[b-t6czr1zoa4] { position: fixed; inset: 0; z-index: 40; background: transparent; }
.ubo-export-menu[b-t6czr1zoa4] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 50;
    /* AM+CL 05.10.26: wide enough that each note sits on one line, so eight items fit a 1080p screen; scrolls if not. */
    width: 360px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 5px;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 27, 42, .18);
}
.ubo-export-item[b-t6czr1zoa4] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    width: 100%;
    text-align: left;
    font: inherit;
    background: transparent;
    border: 0;
    border-radius: 7px;
    padding: 7px 10px;
    cursor: pointer;
    color: #0f1b2a;
    transition: background .12s;
}
.ubo-export-item:hover[b-t6czr1zoa4] { background: #f1f5f9; }
.ubo-export-item:focus-visible[b-t6czr1zoa4] { outline: 2px solid #94a3b8; outline-offset: -2px; }
.ubo-export-item-name[b-t6czr1zoa4] { font-size: .8rem; font-weight: 700; }
.ubo-export-item-note[b-t6czr1zoa4] { font-size: .66rem; color: #8a97a8; }

/* AM+CL 05.10.26: the Export menu's two groups - documents for a reader, data for other tools. */
.ubo-export-group[b-t6czr1zoa4] {
    padding: 8px 12px 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--faint, #8a97a8);
}

/* 18.09.26 - the report renders the SAVED position: Approved is the confirmed register (green), an
   estimate or an empty state is a fact about the record, not a verdict, so it reads neutral. */
.ubo-verdict-neutral[b-t6czr1zoa4] { background: var(--line-2, #eef2f6); color: var(--ink-2, #55647a); }
.ubo-verdict-warn[b-t6czr1zoa4] { background: #fff4e0; color: #b45309; }
.ubo-status-line[b-t6czr1zoa4] { margin: 0 0 6px; }

/* AM+CL 23.09.26: live view tint (worked out now) and the snapshot's purpose / note / saved-by block. */
.ubo-verdict-live[b-t6czr1zoa4] { background: #e3f4f1; color: #0b7d71; }

.ubo-snapshot-meta[b-t6czr1zoa4] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0 0 16px;
    padding: 9px 13px;
    border-radius: 9px;
    background: #f5f7fa;
    border: 1px solid #e3e8ea;
    font-size: .82rem;
}
.ubo-snapshot-meta > div[b-t6czr1zoa4] { display: flex; gap: 6px; }
.ubo-snapshot-meta dt[b-t6czr1zoa4] { font-weight: 700; color: #55647a; margin: 0; }
.ubo-snapshot-meta dd[b-t6czr1zoa4] { margin: 0; color: #1f2d3d; }
/* /Components/Pages/UboReport/UboRequirementsPanel.razor.rz.scp.css */
/* What's needed (AM+CL 05.10.26). Same card shape as the registers and particulars panels. */
.ubo-req-panel[b-eunfexzt2i] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
}

.ubo-req-panel.is-compact[b-eunfexzt2i] {
    margin-top: 0.4rem;
    padding: 0.5rem 0;
    border: 0;
    background: transparent;
}

.ubo-req-head[b-eunfexzt2i] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.ubo-req-eyebrow[b-eunfexzt2i] {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #334155;
}

.ubo-req-sub[b-eunfexzt2i] {
    font-size: 0.8rem;
    color: #93520b;
}

.ubo-req-sub.is-ok[b-eunfexzt2i] {
    color: #05603a;
}

.ubo-req-row[b-eunfexzt2i] {
    display: grid;
    grid-template-columns: 14px 260px 1fr auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.3rem 0;
    border-top: 1px solid #eef2f6;
    font-size: 0.84rem;
}

.is-compact .ubo-req-row[b-eunfexzt2i] {
    grid-template-columns: 12px 220px 1fr auto;
    padding: 0.2rem 0;
    font-size: 0.8rem;
}

/* The mark is a shape, not only a colour: a filled dot for in place, a ring for missing, a half for needs a look. */
.ubo-req-mark[b-eunfexzt2i] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
}

.ubo-req-row.is-done .ubo-req-mark[b-eunfexzt2i] { color: #12805c; background: #12805c; }
.ubo-req-row.is-missing .ubo-req-mark[b-eunfexzt2i] { color: #b42318; background: transparent; }
.ubo-req-row.is-warning .ubo-req-mark[b-eunfexzt2i] { color: #c97c00; background: linear-gradient(90deg, #c97c00 50%, transparent 50%); }

.ubo-req-label[b-eunfexzt2i] {
    font-weight: 600;
    color: #0f2a44;
}

.ubo-req-detail[b-eunfexzt2i] {
    color: #55647a;
}

.ubo-req-row.is-missing .ubo-req-detail[b-eunfexzt2i] { color: #b42318; }
.ubo-req-row.is-warning .ubo-req-detail[b-eunfexzt2i] { color: #93520b; }

.ubo-req-fix[b-eunfexzt2i] {
    font-size: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
}

.ubo-req-fix:hover[b-eunfexzt2i] {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .ubo-req-row[b-eunfexzt2i],
    .is-compact .ubo-req-row[b-eunfexzt2i] {
        grid-template-columns: 12px 1fr auto;
    }

    .ubo-req-detail[b-eunfexzt2i] {
        grid-column: 2 / -1;
    }
}

/* AM+CL 05.10.26: no UBO access - who completes the lines. */
.ubo-req-noaccess[b-eunfexzt2i] {
    font-size: .8rem;
    color: var(--bs-secondary-color, #6b7280);
    padding-top: .35rem;
}
/* /Components/Pages/UboReport/UboSnapshotDialog.razor.rz.scp.css */
.ubo-snap[b-ocaa370349] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.25rem 0.1rem;
}

.ubo-snap-intro[b-ocaa370349] {
    margin: 0;
    color: #55647a;
    font-size: 0.85rem;
    line-height: 1.35;
}

.ubo-snap-field[b-ocaa370349] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ubo-snap-label[b-ocaa370349] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0a3d62;
}

.ubo-snap-optional[b-ocaa370349] {
    font-weight: 400;
    color: #8a97a8;
}

.ubo-snap-error[b-ocaa370349] {
    color: #b42318;
    font-size: 0.8rem;
}

.ubo-snap-actions[b-ocaa370349] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}
/* /Components/Pages/UboReport/UboStatements.razor.rz.scp.css */
/* Issued UBO statements page (AM+CL 30.09.26). */
.ubo-stm-page[b-g6y0e22gx5] {
    padding: 1rem 1.5rem 2rem;
}

.ubo-page-title[b-g6y0e22gx5] {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.ubo-stm-page-intro[b-g6y0e22gx5] {
    margin: 0 0 0.5rem;
    max-width: 70ch;
    color: #55647a;
    font-size: 0.88rem;
}
/* /Components/Pages/UboReport/UboTaxReportingPanel.razor.rz.scp.css */
/* FATCA / CRS reporting panel under the owners (AM+CL 30.09.26). Same card shape as the issued-statements panel. */
.ubo-tax-panel[b-d2isx0c8ob] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-body-bg, #fff);
}

.ubo-tax-head[b-d2isx0c8ob] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.ubo-tax-eyebrow[b-d2isx0c8ob] {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ubo-tax-sub[b-d2isx0c8ob],
.ubo-tax-source[b-d2isx0c8ob] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ubo-tax-note[b-d2isx0c8ob] {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
}

.ubo-tax-error[b-d2isx0c8ob] {
    color: var(--bs-danger, #dc3545);
}

.ubo-tax-class[b-d2isx0c8ob] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
}

.ubo-tax-class-yes[b-d2isx0c8ob] { background: rgba(25, 135, 84, 0.08); border-left-color: var(--bs-success, #198754); }
.ubo-tax-class-no[b-d2isx0c8ob] { background: rgba(108, 117, 125, 0.08); border-left-color: var(--bs-secondary, #6c757d); }
.ubo-tax-class-unknown[b-d2isx0c8ob] { background: rgba(255, 193, 7, 0.12); border-left-color: var(--bs-warning, #ffc107); }

.ubo-tax-chip[b-d2isx0c8ob] {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    background: var(--bs-body-bg, #fff);
    border: 1px solid currentColor;
}

.ubo-tax-summary[b-d2isx0c8ob] {
    font-size: 0.85rem;
}

.ubo-tax-summary-warn[b-d2isx0c8ob] {
    color: var(--bs-warning-text-emphasis, #997404);
    font-weight: 600;
}

.ubo-tax-grid-wrap[b-d2isx0c8ob] {
    overflow-x: auto;
}
/* /Components/Pages/User/Dashboard/Blocks/UserDocumentsBlock.razor.rz.scp.css */
.docs-spark[b-ny3l6vma8q] {
	margin-bottom: 10px;
}

.docs-spark-title[b-ny3l6vma8q] {
	margin-bottom: 2px;
}

.docs-spark-bar[b-ny3l6vma8q] {
	background: rgba(0, 217, 197, 0.10);
	border: 1px solid rgba(0, 217, 197, 0.25);
}

.docs-spark-bar--hi[b-ny3l6vma8q] {
	background: #00d9c5;
	border-color: #00d9c5;
}
/* /Components/Pages/User/Dashboard/Blocks/UserEntitiesBlock.razor.rz.scp.css */
.myListboxClass[b-r8m2g2mqts] {
	height: 100% !important;
}

.myListboxClass2[b-r8m2g2mqts] {
	height: fit-content !important;
}

.listbox-height[b-r8m2g2mqts] {
	height: 300px !important;
}

.listbox-item-template[b-r8m2g2mqts] {
	display: flex;
	align-items: center;
}

	.listbox-item-template > img[b-r8m2g2mqts] {
		border-radius: 50%;
		width: 2rem;
		height: 2rem;
	}

.listbox-item-template-initials[b-r8m2g2mqts] {
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
}

img + .listbox-item-template-text[b-r8m2g2mqts] {
	margin-left: 0.5rem;
}

.dxbl-sm img + .listbox-item-template-text[b-r8m2g2mqts] {
	margin-left: 0.375rem;
}

.key-rel-initials2 + .listbox-item-template-text[b-r8m2g2mqts] {
	margin-left: 0.375rem;
}

.dxbl-lg img + .listbox-item-template-text[b-r8m2g2mqts] {
	margin-left: 0.625rem;
}

.listbox-item-template-text[b-r8m2g2mqts] {
	display: flex;
	flex-flow: column;
}

.listbox-item-template-text-phone[b-r8m2g2mqts] {
	opacity: 0.65;
}

.key-rel-initials2[b-r8m2g2mqts] {
	display: inline-block;
	width: 30px; /* Adjust as needed */
	height: 30px; /* Adjust as needed */
	background-color: #007bff; /* Example background color */
	color: white; /* Text color */
	text-align: center;
	line-height: 30px; /* Vertically center the text */
}

.key-rel-image[b-r8m2g2mqts] {
	width: 30px; /* Adjust as needed */
	height: 30px; /* Adjust as needed */
}

/* Recent entity avatar colour by entity type (POC .qa-chip-avatar.company / .trust / .person).
   The base .dash-avatar rule lives in site.css. */
.dash-avatar.dash-avatar--company[b-r8m2g2mqts] { background: linear-gradient(135deg, #1a4a7a, #1e6fb5); }
.dash-avatar.dash-avatar--trust[b-r8m2g2mqts] { background: linear-gradient(135deg, #553c9a, #6d28d9); }
.dash-avatar.dash-avatar--person[b-r8m2g2mqts] { background: linear-gradient(135deg, #276749, #059669); }

/* LW+CL:11.11.26 C47: muted "N recently visited" in the card footer, as the POC. */
.dash-foot-count[b-r8m2g2mqts] { color: #94a3b8; font-weight: 400; }
/* /Components/Pages/User/Dashboard/Blocks/UserSARSummaryBlock.razor.rz.scp.css */
/* Click-through badges (decision + status). `text-decoration-none` on an
   anchor with `.badge` strips the underline that would usually signal
   "this is a link" — add a subtle visual cue so MLROs know they can click. */
.sar-badge-link[b-riq1tgvozg] {
    cursor: pointer;
    transition: filter 120ms ease-in-out, transform 120ms ease-in-out;
}

.sar-badge-link:hover[b-riq1tgvozg],
.sar-badge-link:focus[b-riq1tgvozg] {
    filter: brightness(0.9);
    transform: translateY(-1px);
    text-decoration: none;
}
/* /Components/Pages/User/Dashboard/UserDashboard.razor.rz.scp.css */
.razorpagemain[b-q3nbvi6bh4] {
    overflow-y: auto;
    background: #e8eaed !important;
    box-shadow: none !important;
    border: none !important;
    min-height: 400px;
}
/* /Components/Routes.razor.rz.scp.css */
.portal-page-closed[b-q58tebmn68] {
    max-width: 480px;
    margin: 3rem auto;
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.portal-page-closed p[b-q58tebmn68] {
    margin-bottom: 1rem;
    font-size: .95rem;
}
