.cmsa-home {
    background: #f4f7f8 !important;
}

.cmsa-home-main {
    color: #17212b;
    font-size: 15px;
    line-height: 1.6;
}

.cmsa-container {
    width: min(100% - 64px, 1180px);
    margin-inline: auto;
}

.cmsa-section {
    padding: 56px 0;
    border-bottom: 1px solid #dbe3e7;
}

.cmsa-home .cmsa-reveal {
    opacity: 0;
    transition: opacity 200ms ease;
}

.cmsa-home .cmsa-reveal.cmsa-reveal-visible { opacity: 1; }

.cmsa-section-heading {
    margin-bottom: 28px;
}

.cmsa-section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.cmsa-section-heading h2 {
    margin: 0;
    color: #102a3a;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.cmsa-section-heading a,
.cmsa-section-heading span {
    color: #51616c;
    font-size: 13px;
}

.cmsa-section-heading a {
    color: #087eaa;
    font-weight: 600;
    text-decoration: none;
}

.cmsa-section-heading a:hover {
    text-decoration: underline;
}

.cmsa-page-loader {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    background: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.cmsa-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cmsa-page-loader-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(320px, calc(100vw - 40px));
    color: #0b3650;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.cmsa-page-loader-inner img {
    width: auto;
    max-width: 190px;
    height: 54px;
    margin-bottom: 14px;
    object-fit: contain;
}

.cmsa-page-loader-line {
    position: relative;
    width: 160px;
    height: 2px;
    margin-top: 14px;
    overflow: hidden;
    background: #dbe3e7;
}

.cmsa-page-loader-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #19afe3;
    transform-origin: left;
    animation: cmsaLoader 560ms ease-out both;
}

@keyframes cmsaLoader {
    from { transform: scaleX(0.08); }
    to { transform: scaleX(1); }
}

/* Hero */
.cmsa-hero {
    padding: 0;
    background: #102a3a;
}

.cmsa-hero-track {
    position: relative;
    width: 100%;
    height: clamp(420px, 50vw, 640px);
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #102a3a;
}

.cmsa-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms ease, visibility 400ms ease;
}

.cmsa-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.cmsa-hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmsa-hero-slide::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(7, 29, 43, 0.88));
}

.cmsa-hero-brand-slide {
    background: linear-gradient(115deg, #dff6fe 0%, #8edcf2 58%, #35bce7 100%);
}

.cmsa-hero-brand-slide::after {
    inset: 0;
    background: linear-gradient(90deg, rgba(223, 246, 254, 0.96) 0%, rgba(223, 246, 254, 0.7) 52%, rgba(53, 188, 231, 0.08) 100%);
}

.cmsa-hero-brand-slide .cmsa-hero-copy,
.cmsa-hero-brand-slide .cmsa-hero-copy h1,
.cmsa-hero-brand-slide .cmsa-hero-copy div {
    color: #0b3650;
}

.cmsa-hero-brand-mark {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: max(52px, calc((100vw - 1140px) / 2));
    width: min(38vw, 450px);
    transform: translateY(-50%);
}

.cmsa-hero-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(11, 54, 80, 0.12));
}

.cmsa-hero-track:has(.cmsa-hero-brand-slide.is-active) .cmsa-hero-status { color: #0b3650; }

.cmsa-hero-copy {
    position: absolute;
    z-index: 2;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 46px;
    width: min(760px, calc(100% - 140px));
    color: #fff;
}

.cmsa-hero-copy h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.cmsa-hero-copy div {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(14px, 1.5vw, 18px);
}

.cmsa-hero-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    background: rgba(7, 45, 65, 0.86);
    color: #fff;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.cmsa-hero-control:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(255, 255, 255, 0.9);
    color: #102a3a;
}

.cmsa-hero-control:focus-visible {
    outline: 3px solid #f4c430;
    outline-offset: 3px;
}

.cmsa-hero-previous { left: max(20px, calc((100vw - 1280px) / 2)); }
.cmsa-hero-next { right: max(20px, calc((100vw - 1280px) / 2)); }

.cmsa-hero-status {
    position: absolute;
    z-index: 4;
    right: max(32px, calc((100vw - 1180px) / 2));
    bottom: 46px;
    display: flex;
    gap: 5px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}

/* Core functions */
.cmsa-functions {
    padding: 46px 0 50px;
    border-bottom: 1px solid #e4ebee;
    background: #edf4f7;
}

.cmsa-functions-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.cmsa-functions-heading h2 {
    margin: 0;
    color: #102a3a;
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.cmsa-functions-heading p {
    max-width: 430px;
    margin: 0;
    color: #61717b;
    font-size: 13px;
    line-height: 1.6;
    text-align: right;
}

.cmsa-functions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.cmsa-function {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-height: 176px;
    padding: 24px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(111, 143, 158, 0.24);
    border-radius: 10px;
    color: #25343d;
    transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1), border-color 180ms ease, box-shadow 220ms ease, color 180ms ease, filter 180ms ease;
}

.cmsa-function::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--function-accent);
    transform: scaleX(0.28);
    transform-origin: left;
    transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.cmsa-function-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(16, 42, 58, 0.34);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cmsa-function i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 6px 0 26px;
    border: 1px solid color-mix(in srgb, var(--function-accent) 32%, transparent);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--function-accent);
    font-size: 22px;
    transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1), background-color 180ms ease;
}

.cmsa-function strong {
    margin-top: auto;
    color: #193342;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}

.cmsa-function:nth-child(1) { --function-accent: #078bb8; background: linear-gradient(145deg, #fff 4%, #e2f7fd 100%); }
.cmsa-function:nth-child(2) { --function-accent: #bf8a00; background: linear-gradient(145deg, #fff 4%, #fff3c9 100%); }
.cmsa-function:nth-child(3) { --function-accent: #16855b; background: linear-gradient(145deg, #fff 4%, #e1f4e9 100%); }
.cmsa-function:nth-child(4) { --function-accent: #2f6f98; background: linear-gradient(145deg, #fff 4%, #dfedf6 100%); }
.cmsa-function:nth-child(5) { --function-accent: #b83b45; background: linear-gradient(145deg, #fff 4%, #f8e3e5 100%); }
.cmsa-function:hover {
    border-color: color-mix(in srgb, var(--function-accent) 48%, #dbe3e7);
    box-shadow: 0 8px 18px rgba(15, 73, 99, 0.13);
    color: #0b3650;
    filter: saturate(1.08);
    transform: translateY(-4px);
}

.cmsa-function:hover::before { transform: scaleX(1); }

.cmsa-function:hover i {
    background: #fff;
    transform: translateY(-2px) scale(1.06) rotate(-2deg);
}

/* Welcome and news */
.cmsa-intro-section { background: #f4f7f8; }

.cmsa-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
    gap: 32px;
}

.cmsa-welcome,
.cmsa-news {
    padding: 30px;
    border: 1px solid #dbe3e7;
    border-radius: 10px;
    background: #fff;
}

.cmsa-welcome-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
}

.cmsa-ceo {
    margin: 0;
}

.cmsa-ceo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid #dbe3e7;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
}

.cmsa-ceo figcaption {
    padding-top: 10px;
}

.cmsa-ceo strong,
.cmsa-ceo span {
    display: block;
}

.cmsa-ceo strong { color: #102a3a; font-size: 14px; }
.cmsa-ceo span { color: #687781; font-size: 12px; }

.cmsa-welcome-copy p {
    margin: 0 0 20px;
    color: #43535e;
    font-size: 15px;
    line-height: 1.8;
}

.cmsa-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.cmsa-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #087eaa;
    border-radius: 8px;
    background: #087eaa;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cmsa-button:hover { background: #066f96; }

.cmsa-text-link {
    color: #087eaa;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cmsa-news-list {
    border-top: 1px solid #dbe3e7;
}

.cmsa-news-item {
    border-bottom: 1px solid #dbe3e7;
}

.cmsa-news-item > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    color: inherit;
    text-decoration: none;
    transition: background-color 160ms ease;
}

.cmsa-news-item > a:hover { background: #f4fafc; }

.cmsa-news-item > a:has(img) { grid-template-columns: 92px minmax(0, 1fr); }

.cmsa-news-item img {
    width: 92px;
    height: 76px;
    border-radius: 6px;
    object-fit: cover;
}

.cmsa-news-item time,
.cmsa-publication time {
    color: #71808a;
    font-size: 11px;
}

.cmsa-news-item h3,
.cmsa-record h3,
.cmsa-publication h3 {
    margin: 2px 0 4px;
    color: #17212b;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.cmsa-news-item p {
    margin: 0;
    color: #687781;
    font-size: 12px;
    line-height: 1.45;
}

/* Markets */
.cmsa-market-section { background: #f4f7f8; }

.cmsa-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.cmsa-market-panel {
    --market-accent: #087eaa;
    --market-soft: #e8f7fc;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d4dde2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 59, 78, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.cmsa-market-panel-tmx {
    --market-accent: #16855b;
    --market-soft: #e9f6ee;
}

.cmsa-market-panel:hover {
    border-color: color-mix(in srgb, var(--market-accent) 48%, #d4dde2);
    box-shadow: 0 5px 14px rgba(20, 59, 78, 0.09);
}

.cmsa-market-card-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 92px;
    padding: 20px 22px;
    border-bottom: 1px solid #dbe3e7;
    background: linear-gradient(120deg, var(--market-soft), #fff 72%);
}

.cmsa-market-card-head::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--market-accent);
}

.cmsa-market-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.cmsa-market-badge {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid color-mix(in srgb, var(--market-accent) 28%, transparent);
    border-radius: 9px;
    background: #fff;
    color: var(--market-accent);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.cmsa-market-identity small {
    display: block;
    margin-bottom: 3px;
    color: var(--market-accent);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cmsa-market-panel h3 {
    margin: 2px 0 0;
    color: #17212b;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
}

.cmsa-market-card-head > a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--market-accent) 34%, #dbe3e7);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--market-accent);
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.cmsa-market-card-head > a:hover {
    border-color: var(--market-accent);
    background: #fff;
}

.cmsa-table-wrap {
    flex: 1 1 auto;
    margin: 0;
    overflow-x: auto;
}

.cmsa-market-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.cmsa-market-instrument { width: 46%; }
.cmsa-market-value { width: 31%; }
.cmsa-market-change { width: 23%; }

.cmsa-market-table th,
.cmsa-market-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e5eaed;
    text-align: right;
    vertical-align: middle;
}

.cmsa-market-table th:first-child,
.cmsa-market-table td:first-child { text-align: left; }

.cmsa-market-table th {
    background: #f6f9fa;
    color: #61717b;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.cmsa-market-table td {
    height: 48px;
    color: #2f3e47;
    font-size: 13px;
}
.cmsa-market-table tr:last-child td { border-bottom: 0; }
.cmsa-market-table tbody tr { transition: background-color 160ms ease; }
.cmsa-market-table tbody tr:hover { background: var(--market-soft); }

.market-symbol { display: block; color: #17212b; font-size: 12px; }
.market-name { display: block; color: #71808a; font-size: 10px; }
.market-price { font-variant-numeric: tabular-nums; font-weight: 600; }
.price-up { color: #13795b !important; }
.price-down { color: #b4232c !important; }
.price-neutral { color: #64727b !important; }

.cmsa-market-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 43px;
    padding: 10px 20px;
    border-top: 1px solid #dbe3e7;
    background: #fafcfc;
    color: #687781;
    font-size: 11px;
}

.cmsa-market-card-foot > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cmsa-market-card-foot i { color: var(--market-accent); }
.cmsa-market-card-foot strong { color: #33434d; font-weight: 650; }

/* Events and announcements */
.cmsa-updates-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(37, 183, 210, 0.11), transparent 28%),
        radial-gradient(circle at 92% 80%, rgba(243, 186, 57, 0.1), transparent 26%),
        #f3f8fa;
}

.cmsa-updates-grid,
.cmsa-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.cmsa-updates-grid > section,
.cmsa-services-grid > section {
    position: relative;
    isolation: isolate;
    padding: clamp(26px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(24, 126, 151, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 20px 55px rgba(19, 60, 78, 0.08);
    transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease, border-color 280ms ease;
}

.cmsa-updates-grid > section::before,
.cmsa-services-grid > section::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    top: -150px;
    right: -100px;
    border-radius: 50%;
    background: var(--panel-glow, rgba(28, 171, 197, 0.15));
    filter: blur(2px);
    transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.cmsa-updates-grid > section:hover,
.cmsa-updates-grid > section:focus-within,
.cmsa-services-grid > section:hover,
.cmsa-services-grid > section:focus-within {
    transform: translateY(-5px);
    border-color: rgba(24, 126, 151, 0.26);
    box-shadow: 0 30px 72px rgba(19, 60, 78, 0.13);
}

.cmsa-updates-grid > section:hover::before,
.cmsa-services-grid > section:hover::before {
    transform: scale(1.35) translate(-12px, 12px);
}

.cmsa-events-panel { --panel-glow: rgba(20, 166, 195, 0.18); }
.cmsa-announcements-panel { --panel-glow: rgba(242, 181, 48, 0.19); }
.cmsa-services-panel { --panel-glow: rgba(24, 144, 180, 0.17); }
.cmsa-howdoi-panel { --panel-glow: rgba(37, 173, 141, 0.16); }

.cmsa-panel-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cmsa-panel-title > span {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(16, 133, 157, 0.16);
    border-radius: 15px;
    color: #087eaa;
    font-size: 20px;
    background: linear-gradient(145deg, #e8f8fb, #fff);
    box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(18, 126, 154, 0.12);
}

.cmsa-announcements-panel .cmsa-panel-title > span {
    color: #9b6b00;
    border-color: rgba(191, 135, 15, 0.18);
    background: linear-gradient(145deg, #fff6dc, #fff);
}

.cmsa-howdoi-panel .cmsa-panel-title > span {
    color: #178064;
    background: linear-gradient(145deg, #e8f8f3, #fff);
}

.cmsa-panel-title small {
    display: block;
    margin-bottom: 3px;
    color: #70838c;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cmsa-feature-panel .cmsa-section-heading { margin-bottom: 24px; }

.cmsa-feature-panel .cmsa-section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(8, 126, 170, 0.15);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    transition: gap 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cmsa-feature-panel .cmsa-section-heading > a:hover {
    gap: 9px;
    color: #fff;
    text-decoration: none;
    background: #087eaa;
}

.cmsa-record-list,
.cmsa-service-links,
.cmsa-howdoi-list {
    display: grid;
    gap: 12px;
}

.cmsa-record {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 12px 42px 12px 12px;
    overflow: hidden;
    border: 1px solid #e2ecef;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(15, 64, 82, .04);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.cmsa-record::after {
    content: '\2197';
    position: absolute;
    right: 16px;
    top: 50%;
    color: #91a3aa;
    font-size: 17px;
    transform: translateY(-50%);
    transition: color 180ms ease, transform 180ms ease;
}

.cmsa-record:hover,
.cmsa-record:focus-visible {
    transform: translateX(5px);
    border-color: #a9dbe4;
    background: linear-gradient(90deg, #fff, #f0fbfd);
    box-shadow: 0 14px 30px rgba(15, 111, 139, .11);
}

.cmsa-record:hover::after,
.cmsa-record:focus-visible::after { color: #087eaa; transform: translate(2px, -3px); }

.cmsa-record:focus-visible,
.cmsa-service-links > a:focus-visible,
.cmsa-howdoi-list > details:focus-within {
    outline: 3px solid rgba(19, 141, 163, .22);
    outline-offset: 2px;
}

.cmsa-record:hover h3,
.cmsa-publication:hover h3 { color: #087eaa; }

.cmsa-record time {
    display: grid;
    min-height: 56px;
    place-content: center;
    padding: 6px;
    border: 1px solid #cce8ee;
    border-radius: 13px;
    color: #617983;
    font-size: 10px;
    text-align: center;
    background: linear-gradient(145deg, #e9f9fc, #fff);
}

.cmsa-record time strong {
    display: block;
    color: #087eaa;
    font-size: 23px;
    line-height: 1;
}

.cmsa-record time span { display: block; margin-top: 4px; }
.cmsa-record h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.cmsa-record p { margin: 0; color: #71808a; font-size: 12px; }

.cmsa-document-record {
    grid-template-columns: 48px minmax(0, 1fr);
}

.cmsa-document-record > i {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #f1dfaa;
    border-radius: 13px;
    color: #9b6b00;
    font-size: 20px;
    background: linear-gradient(145deg, #fff4d6, #fff);
}

.cmsa-publications-section { background: #f4f7f8; }

.cmsa-publication-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d4dde2;
    border-left: 1px solid #d4dde2;
}

.cmsa-publication {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 82px;
    padding: 14px 18px;
    border-right: 1px solid #d4dde2;
    border-bottom: 1px solid #d4dde2;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.cmsa-publication:hover { background: #f1fafd; }

.cmsa-publication > i { color: #b4232c; font-size: 20px; }
.cmsa-publication h3 { margin-top: 0; }
.cmsa-publication > span { color: #687781; font-size: 11px; }

/* Services and guidance */
.cmsa-services-section {
    background:
        linear-gradient(135deg, rgba(224, 247, 251, .42), transparent 38%),
        #fff;
}

.cmsa-service-links > a {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 14px;
    align-items: center;
    min-height: 78px;
    padding: 12px 14px;
    overflow: hidden;
    border: 1px solid #dfecef;
    border-radius: 16px;
    color: #17212b;
    background: rgba(255,255,255,.88);
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cmsa-service-links > a::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(100deg, rgba(24, 166, 194, .1), transparent 68%);
    transition: opacity 220ms ease;
}

.cmsa-service-links > a:nth-child(2)::before { background: linear-gradient(100deg, rgba(43, 143, 185, .11), transparent 68%); }
.cmsa-service-links > a:nth-child(3)::before { background: linear-gradient(100deg, rgba(35, 170, 137, .11), transparent 68%); }
.cmsa-service-links > a:nth-child(4)::before { background: linear-gradient(100deg, rgba(234, 177, 45, .13), transparent 68%); }

.cmsa-service-links > a:hover,
.cmsa-service-links > a:focus-visible { transform: translateY(-3px); border-color: #acdce4; color: #087eaa; box-shadow: 0 13px 28px rgba(15, 92, 118, .1); }
.cmsa-service-links > a:hover::before,
.cmsa-service-links > a:focus-visible::before { opacity: 1; }

.cmsa-service-links > a > i:first-child {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: #087eaa;
    font-size: 20px;
    background: #e9f8fb;
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease;
}
.cmsa-service-links > a:nth-child(2) > i:first-child { color: #236f9b; background: #eaf3fb; }
.cmsa-service-links > a:nth-child(3) > i:first-child { color: #178064; background: #e8f8f3; }
.cmsa-service-links > a:nth-child(4) > i:first-child { color: #946700; background: #fff4d6; }
.cmsa-service-links > a:hover > i:first-child,
.cmsa-service-links > a:focus-visible > i:first-child { transform: scale(1.08) rotate(-4deg); color: #fff; background: #138da3; }
.cmsa-service-links strong,
.cmsa-service-links small { display: block; }
.cmsa-service-links strong { font-size: 14px; }
.cmsa-service-links small { margin-top: 2px; color: #71808a; font-size: 12px; }
.cmsa-service-links > a > i:last-child { position: relative; color: #71808a; transition: transform 180ms ease, color 180ms ease; }
.cmsa-service-links > a:hover > i:last-child { color: #087eaa; transform: translateX(4px); }

.cmsa-howdoi-list > details {
    overflow: hidden;
    border: 1px solid #e0ecea;
    border-radius: 15px;
    color: #17212b;
    background: rgba(255,255,255,.88);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.cmsa-howdoi-list summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 14px;
    align-items: center;
    min-height: 66px;
    padding: 9px 12px;
    cursor: pointer;
    list-style: none;
}

.cmsa-howdoi-list summary::-webkit-details-marker { display: none; }

.cmsa-howdoi-list > details:hover,
.cmsa-howdoi-list > details:focus-within,
.cmsa-howdoi-list > details[open] { transform: translateX(5px); border-color: #addfd3; color: #13785e; background: #f3fcf9; box-shadow: 0 12px 26px rgba(20, 116, 91, .09); }

.cmsa-howdoi-list summary > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #178064; font-size: 10px; font-weight: 800; background: #e8f8f3; }
.cmsa-howdoi-list summary > strong { font-size: 13px; font-weight: 650; line-height: 1.35; }
.cmsa-howdoi-list summary > i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #71808a; background: #eef7f5; transition: transform 180ms ease, color 180ms ease, background-color 180ms ease; }
.cmsa-howdoi-list > details[open] summary > i { color: #fff; background: #178064; transform: rotate(45deg); }

.cmsa-howdoi-answer {
    margin: 0 12px 12px 64px;
    padding: 12px 14px;
    border-left: 3px solid #28a787;
    border-radius: 0 10px 10px 0;
    color: #526d66;
    font-size: 12px;
    background: rgba(255,255,255,.72);
}

.cmsa-howdoi-answer > :last-child { margin-bottom: 0; }

/* Partners */
.cmsa-partners-section { padding-block: 32px; background: #f4f7f8; }

.cmsa-partners-viewport {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.cmsa-partners-track {
    display: flex;
    width: max-content;
    animation: cmsaPartnersScroll 34s linear infinite;
    will-change: transform;
}

.cmsa-partners-viewport:hover .cmsa-partners-track,
.cmsa-partners-viewport:focus-within .cmsa-partners-track {
    animation-play-state: paused;
}

.cmsa-partners-group {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

.cmsa-partners-group a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 0 0 210px;
    width: 210px;
    min-height: 138px;
    padding: 20px;
    border: 1px solid #d4dde2;
    border-radius: 9px;
    background: #fff;
    color: #52616b;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.cmsa-partners-group a:hover,
.cmsa-partners-group a:focus-visible {
    border-color: #8bcfe6;
    background: #e8f8fe;
    box-shadow: 0 3px 10px rgba(15, 73, 99, 0.08);
    color: #0b3650;
    outline: 0;
}

.cmsa-partners-group img {
    width: auto;
    max-width: 120px;
    height: 58px;
    margin-bottom: 12px;
    object-fit: contain;
    filter: saturate(0.8);
    opacity: 0.82;
    transition: filter 160ms ease, opacity 160ms ease;
}

.cmsa-partners-group a:hover img,
.cmsa-partners-group a:focus-visible img { filter: saturate(1); opacity: 1; }

.cmsa-partners-group span { font-size: 10px; line-height: 1.3; }

@keyframes cmsaPartnersScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cmsa-empty {
    margin: 0;
    padding: 18px 0;
    color: #71808a;
    font-size: 13px;
}

/* Fixed utilities */
.cmsa-dira {
    position: fixed;
    z-index: 50;
    left: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    overflow: hidden;
    border: 2px solid #f4c430;
    border-radius: 50%;
    background: #16855b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.cmsa-dira img { width: 100%; height: 100%; object-fit: cover; }

.cmsa-assistant {
    position: fixed;
    z-index: 60;
    right: 18px;
    bottom: 18px;
}

.cmsa-assistant-toggle {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: #087eaa;
    color: #fff;
    font-size: 21px;
}

.cmsa-assistant-window {
    width: min(360px, calc(100vw - 36px));
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #cfd9de;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 35, 55, 0.1);
}

.cmsa-assistant-window > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #dbe3e7;
}

.cmsa-assistant-window > header strong { font-size: 13px; }
.cmsa-assistant-window > header button { border: 0; background: transparent; color: #52616b; font-size: 22px; }
.cmsa-assistant-messages { max-height: 240px; padding: 14px; overflow-y: auto; }
.cmsa-assistant-messages p { width: fit-content; max-width: 88%; margin: 0 0 8px; padding: 9px 11px; border-radius: 8px; background: #edf4f7; color: #33434d; font-size: 12px; }
.cmsa-assistant-messages p.is-user { margin-left: auto; background: #dff6fe; }
.cmsa-assistant-window form { display: grid; grid-template-columns: 1fr 42px; border-top: 1px solid #dbe3e7; }
.cmsa-assistant-window input { min-width: 0; height: 44px; padding: 0 12px; border: 0; outline: 0; font-size: 13px; }
.cmsa-assistant-window form button { border: 0; background: #087eaa; color: #fff; }

@media (max-width: 991.98px) {
    .cmsa-container { width: min(100% - 40px, 1180px); }
    .cmsa-section { padding: 44px 0; }
    .cmsa-functions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cmsa-intro-grid,
    .cmsa-market-grid,
    .cmsa-updates-grid,
    .cmsa-services-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 575.98px) {
    .cmsa-container { width: min(100% - 28px, 1180px); }
    .cmsa-section { padding: 36px 0; }
    .cmsa-section-heading { margin-bottom: 16px; }
    .cmsa-section-heading-row { align-items: flex-start; }
    .cmsa-section-heading-row > span { display: none; }
    .cmsa-hero { padding: 0; }
    .cmsa-hero-track { width: 100%; height: 390px; border-radius: 0; }
    .cmsa-hero-copy { left: 18px; bottom: 30px; width: calc(100% - 82px); }
    .cmsa-hero-copy h1 { font-size: 28px; }
    .cmsa-hero-control { width: 38px; height: 44px; }
    .cmsa-hero-previous { left: 10px; }
    .cmsa-hero-next { right: 10px; }
    .cmsa-hero-status { right: 16px; bottom: 30px; }
    .cmsa-hero-brand-mark { top: 25%; right: 24px; width: min(64vw, 300px); }
    .cmsa-functions { padding: 24px 0; }
    .cmsa-functions-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
    .cmsa-functions-heading p { text-align: left; }
    .cmsa-functions-grid { grid-template-columns: 1fr; gap: 12px; }
    .cmsa-function {
        min-height: 94px;
        padding: 18px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    .cmsa-function i { flex: 0 0 46px; margin: 0 16px 0 0; }
    .cmsa-function strong { max-width: calc(100% - 88px); margin: 0; }
    .cmsa-function-number { top: 50%; transform: translateY(-50%); }
    .cmsa-welcome,
    .cmsa-news,
    .cmsa-updates-grid > section,
    .cmsa-services-grid > section { padding: 20px; }
    .cmsa-welcome-layout { grid-template-columns: 1fr; }
    .cmsa-ceo { max-width: 220px; }
    .cmsa-news-item > a:has(img) { grid-template-columns: 76px minmax(0, 1fr); }
    .cmsa-news-item img { width: 76px; height: 68px; }
    .cmsa-publication-list { grid-template-columns: 1fr; }
    .cmsa-market-card-head { min-height: 84px; padding: 16px; }
    .cmsa-market-badge { flex-basis: 42px; width: 42px; height: 42px; }
    .cmsa-market-card-head > a { padding-inline: 9px; }
    .cmsa-market-card-head > a span { display: none; }
    .cmsa-market-table th,
    .cmsa-market-table td { padding-inline: 12px; }
    .cmsa-market-card-foot { padding-inline: 12px; }
    .market-name { display: none; }
    .cmsa-howdoi-list summary { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 10px; padding-inline: 10px; }
    .cmsa-howdoi-list summary > span { width: 34px; height: 34px; }
    .cmsa-howdoi-answer { margin: 0 10px 10px; }
    .cmsa-partners-group a { flex-basis: 178px; width: 178px; min-height: 120px; padding: 16px; }
    .cmsa-partners-group img { max-width: 104px; height: 50px; }
    .cmsa-dira { width: 62px; height: 62px; left: 12px; bottom: 12px; }
    .cmsa-assistant { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .cmsa-page-loader-line::after { animation: none; }
    .cmsa-hero-slide { transition: none; }
    .cmsa-function,
    .cmsa-function::before,
    .cmsa-function i { transition: none; }
    .cmsa-function:hover,
    .cmsa-function:hover i { transform: none; }
    .cmsa-updates-grid > section,
    .cmsa-services-grid > section,
    .cmsa-record,
    .cmsa-service-links > a,
    .cmsa-howdoi-list > details,
    .cmsa-service-links > a > i { transition: none; }
    .cmsa-updates-grid > section:hover,
    .cmsa-services-grid > section:hover,
    .cmsa-record:hover,
    .cmsa-service-links > a:hover,
    .cmsa-howdoi-list > details:hover,
    .cmsa-service-links > a:hover > i { transform: none; }
    .cmsa-partners-viewport {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .cmsa-partners-track { animation: none; }
    .cmsa-partners-group[aria-hidden="true"] { display: none; }
    .cmsa-home .cmsa-reveal { opacity: 1; transition: none; }
}

/* Homepage updates */
.cmsa-hero-caption {
    width: min(500px, calc(100% - 190px));
    padding: 9px 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

.cmsa-hero-caption h1 {
    color: #fff;
}

.cmsa-hero-caption div {
    color: rgba(255, 255, 255, 0.96);
}

.cmsa-hero-control {
    border-color: transparent;
    background: transparent;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.cmsa-hero-control i {
    font-size: 24px;
    font-weight: 700;
    -webkit-text-stroke: 0.9px currentColor;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.82);
}

.cmsa-hero-control:hover {
    border-color: transparent;
    background: transparent;
    color: #fff;
    opacity: 0.78;
}

.cmsa-hero-previous { left: 14px; }
.cmsa-hero-next { right: 14px; }

.cmsa-hero-caption h1 {
    margin-bottom: 3px;
    font-size: clamp(19px, 2.5vw, 30px);
}

.cmsa-hero-caption div {
    font-size: clamp(12px, 1.05vw, 13px);
}

.cmsa-hero-brand-slide .cmsa-hero-caption {
    border-color: transparent;
    background: transparent;
}

.cmsa-regulatory-stats {
    overflow: hidden;
    margin-top: 32px;
    padding: 0;
    border: 1px solid #dbe3e7;
    border-top: 3px solid #138da3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 42, 58, 0.06);
}

.cmsa-regulatory-stats-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #dbe3e7;
    background: #f3f9fa;
}

.cmsa-regulatory-stats-heading h3 {
    margin: 0;
    color: #102a3a;
    font-size: 17px;
    font-weight: 700;
}

.cmsa-regulatory-stats-heading p {
    margin: 0;
    color: #687781;
    font-size: 12px;
}

.cmsa-regulatory-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    margin: 0;
    background: #e5eaed;
}

.cmsa-regulatory-stats-grid > div {
    min-width: 0;
    padding: 20px;
    background: #fff;
}

.cmsa-regulatory-stats-grid dt {
    min-height: 2.5em;
    color: #526871;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.cmsa-regulatory-stats-grid dd {
    margin: 8px 0 0;
    color: #0b3650;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .cmsa-hero-caption { padding: 8px 10px; width: calc(100% - 82px); }
    .cmsa-hero-caption h1 { font-size: 19px; }
    .cmsa-hero-caption div { font-size: 12px; }
    .cmsa-regulatory-stats-heading { padding: 16px; }
    .cmsa-regulatory-stats-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .cmsa-regulatory-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmsa-regulatory-stats-grid > div { padding: 16px; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cmsa-regulatory-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
