/* Source-list classification only. Existing logo dimensions and asset bytes remain intact. */
.broker-regulation-mark{--broker-stamp-font-size:7.5px;--broker-stamp-border:1.5px;--broker-stamp-padding:2px 3px;position:relative;display:inline-grid;grid-template-areas:"logo";align-items:center;justify-items:center;isolation:isolate;flex-shrink:0;vertical-align:middle;width:var(--broker-mark-width,max-content);height:var(--broker-mark-height,max-content);max-width:100%;border-radius:6px}
.broker-regulation-mark>.broker-logo{grid-area:logo;position:relative;z-index:1;background-color:transparent;mix-blend-mode:multiply}
.broker-regulation-watermark{position:absolute;inset:0;display:grid;place-items:center;z-index:0;overflow:hidden;pointer-events:none;user-select:none;color:var(--mast,#323947);opacity:.07;font-family:Arial,'Segoe UI',sans-serif;font-size:var(--broker-watermark-size,38px);line-height:1;font-weight:900;letter-spacing:-4px;transform:rotate(-12deg);text-shadow:none;filter:none}
.broker-regulation-mark.is-large{--broker-stamp-font-size:14px;--broker-stamp-border:2px;--broker-stamp-padding:4px 6px;--broker-watermark-size:82px}
.broker-regulation-overlay{position:absolute;inset:0;z-index:2;border-radius:inherit;overflow:hidden;pointer-events:none;user-select:none}
.broker-regulation-stamp{position:absolute;top:46%;left:50%;z-index:2;transform:translate(-50%,-50%) rotate(-13deg);display:flex;align-items:center;justify-content:center;width:94%;max-width:164px;pointer-events:none;user-select:none;color:var(--red,#ad3b48);border:var(--broker-stamp-border) solid currentColor;outline:1px solid currentColor;outline-offset:-4px;border-radius:2px;padding:var(--broker-stamp-padding);background:#ffffffb8;font-family:Arial,'Segoe UI',sans-serif;font-size:var(--broker-stamp-font-size);font-weight:900;line-height:1.3;letter-spacing:.15px;white-space:nowrap;text-align:center;text-shadow:none;filter:none}
.broker-regulation-stamp>span{display:block}
.broker-regulation-mark.is-large .broker-regulation-stamp{letter-spacing:.7px;outline-offset:-5px}
.broker-regulation-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:3px 7px;border:1px solid currentColor;border-radius:4px;font-size:11px;font-weight:700;line-height:1.4;vertical-align:middle;white-space:normal;text-align:left;text-shadow:none;filter:none}
.broker-regulation-badge.is-regulated{color:var(--green,#287b5b);background:#edf7f0}
.broker-regulation-badge.is-unregulated{color:var(--red,#ad3b48);background:#fff1f2}
.broker-regulation-badge.is-unknown{color:var(--muted,#68717e);background:var(--bg,#f7f8fa);border-color:var(--line,#e4e7ed)}
.broker-regulation-badge>svg{flex:0 0 13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.broker-regulation-context{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.broker-regulation-mark.is-large{--broker-stamp-font-size:11px;--broker-stamp-padding:3px 4px;--broker-watermark-size:62px}}

.broker-regulation-mark>.broker-regulation-overlay-badge{position:absolute;top:0;left:0;z-index:3;max-width:100%;gap:3px;padding:2px 3px;border-radius:3px;font-size:8px;line-height:1.2;pointer-events:none}
.broker-regulation-mark>.broker-regulation-overlay-badge>svg{width:9px;height:9px;flex-basis:9px}
.broker-regulation-mark.is-large>.broker-regulation-overlay-badge{top:2px;left:2px;font-size:11px;padding:3px 5px;gap:4px}
.broker-regulation-mark.is-large>.broker-regulation-overlay-badge>svg{width:12px;height:12px;flex-basis:12px}

/* Opaque source-logo white blends with the faint mark without changing asset
   bytes, tile dimensions or the surrounding page flow. Small stamps wrap at the
   word boundary so the complete label fits even inside a 60px logo tile. */
.broker-regulation-mark:not(.is-large) .broker-regulation-stamp{top:auto;bottom:3px;transform:translateX(-50%) rotate(-13deg);white-space:normal;letter-spacing:0;line-height:1.1}
.broker-regulation-mark:not(.is-large) .broker-regulation-stamp>span{width:min-content;white-space:normal;line-height:1.1}
.broker-regulation-mark.is-large .broker-regulation-stamp>span{white-space:nowrap}
@media(max-width:1200px){.broker-regulation-mark.is-large{--broker-stamp-font-size:12px}.broker-regulation-mark.is-large .broker-regulation-stamp{letter-spacing:.3px}}
@media(max-width:600px){.broker-regulation-mark.is-large{--broker-stamp-font-size:10.5px}.broker-regulation-mark.is-large .broker-regulation-stamp{letter-spacing:.1px}}
