/* NEXROC Compliance only. Every selector is rooted to the compliance template. */
.cpage--compliance .cband--compliance-frameworks {
  background: #f7f7f4;
  padding: 0 !important;
  overflow: visible;
  text-align: left;
}
.cpage--compliance .cband--compliance-frameworks > .cband__in {
  max-width: none;
  width: 100%;
  margin: 0;
}
.cpage--compliance .nx-compliance-rebuild,
.cpage--compliance .nx-compliance-rebuild * { box-sizing: border-box; }
.cpage--compliance .nx-compliance-rebuild {
  width: 100%;
  max-width: 100%;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  background: #f7f7f4;
  color: #111;
  overflow: clip;
}
.cpage--compliance .nx-cr-module {
  width: 100%;
  margin: 0;
  padding: clamp(40px, 5vw, 74px) clamp(14px, 4vw, 64px);
  background: #f7f7f4;
  border-bottom: 1px solid #d8d8d4;
}
.cpage--compliance .nx-cr-module:nth-child(even) { background: #fff; }
.cpage--compliance .nx-cr-module-inner {
  width: min(100%, 1500px);
  margin-inline: auto;
  min-width: 0;
}
.cpage--compliance .nx-cr-module-header {
  text-align: center;
  margin: 0 0 clamp(24px, 3vw, 38px);
  padding: 0 10px;
}
.cpage--compliance .nx-cr-module-title {
  margin: 0;
  color: #111;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
}
.cpage--compliance .nx-cr-module-subtitle {
  margin: 12px 0 0;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  color: #555;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.cpage--compliance .nx-cr-explain {
  max-width: 1100px;
  margin: 0 auto 22px;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  color: #565656;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.cpage--compliance .nx-cr-frame {
  width: 100%;
  min-width: 0;
  padding: clamp(12px, 2.2vw, 36px);
  background: #f7f7f4;
  border: 1px solid #252525;
}
.cpage--compliance .nx-cr-frame--table,
.cpage--compliance .nx-cr-frame--ethics { background: #fff; }
.cpage--compliance .nx-cr-svg-track,
.cpage--compliance .nx-cr-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #aaa #f4f4f2;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.cpage--compliance .nx-cr-svg-track::-webkit-scrollbar,
.cpage--compliance .nx-cr-table-scroll::-webkit-scrollbar { height: 10px; }
.cpage--compliance .nx-cr-svg-track::-webkit-scrollbar-thumb,
.cpage--compliance .nx-cr-table-scroll::-webkit-scrollbar-thumb { background: #aaa; border-radius: 20px; }
.cpage--compliance svg.nx-cr-svg {
  display: block;
  width: 100%;
  min-width: 860px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
/* Uploaded institutional and licensing charts use these same box/line roles. */
.cpage--compliance .nx-cr-svg .box { fill: #fff; stroke: #111; stroke-width: 1.1px; }
.cpage--compliance .nx-cr-svg .box-top { stroke-width: 1.6px; }
.cpage--compliance .nx-cr-svg .box-mid { stroke: #333; stroke-width: 1.1px; }
.cpage--compliance .nx-cr-svg .box-sub { stroke: #666; stroke-width: .9px; }
.cpage--compliance .nx-cr-svg .box-dark { fill: #202020; stroke: #111; stroke-width: 1.5px; }
.cpage--compliance .nx-cr-svg .line { stroke: #111; stroke-width: 1.1px; fill: none; shape-rendering: geometricPrecision; }
.cpage--compliance .nx-cr-svg .text {
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  fill: #111;
  text-anchor: middle;
  dominant-baseline: middle;
}
.cpage--compliance .nx-cr-svg .subtext { font-size: 10px; font-weight: 500; letter-spacing: .4px; fill: #555; }
.cpage--compliance .nx-cr-svg .dark-text { fill: #fff; }
.cpage--compliance .nx-cr-svg .dark-subtext { fill: #ddd; }
.cpage--compliance .nx-cr-org-svg .nx-cr-org-line {
  stroke: #111; fill: none; stroke-width: 1.5;
  shape-rendering: crispEdges;
}
.cpage--compliance .nx-cr-org-svg .nx-cr-org-box {
  fill: #fff; stroke: #111; stroke-width: 1.5;
}
.cpage--compliance .nx-cr-org-svg .nx-cr-org-box--black { fill: #111; }
.cpage--compliance .nx-cr-org-svg .nx-cr-org-label {
  fill: #111;
  font: 700 17px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 1.1px;
  dominant-baseline: middle;
  text-anchor: middle;
}
.cpage--compliance .nx-cr-org-svg .nx-cr-org-label--light { fill: #fff; }
/* RISK MATRIX: fixed column grid with true row groups, not display:block rows. */
.cpage--compliance .nx-cr-risk-table {
  width: 100%; min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.cpage--compliance .nx-cr-risk-table .nx-cr-col-category { width: 15%; }
.cpage--compliance .nx-cr-risk-table .nx-cr-col-item { width: 24%; }
.cpage--compliance .nx-cr-risk-table .nx-cr-col-score { width: 7%; }
.cpage--compliance .nx-cr-risk-table .nx-cr-col-level { width: 13%; }
.cpage--compliance .nx-cr-risk-table .nx-cr-col-counter { width: 34%; }
.cpage--compliance .nx-cr-risk-table th,
.cpage--compliance .nx-cr-risk-table td {
  padding: 15px 13px;
  border: 1px solid #d2d2d2;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.cpage--compliance .nx-cr-risk-table thead th {
  padding: 17px 13px;
  background: #0b6eb8;
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: .035em;
}
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-category {
  background: #f7f7f7;
  color: #333;
  text-align: center;
  font-weight: 700;
}
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-item { background: #f4e5e5; color: #222; }
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-number { font-weight: 800; }
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-score { background: #e2e9f2; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-level { background: #ececec; text-align: center; font-weight: 600; }
.cpage--compliance .nx-cr-risk-table .nx-cr-risk-counter { background: #fbfbfb; color: #333; }
/* ETHICS TABLE: preserve all original rows, colors and responsible parties. */
.cpage--compliance .nx-cr-ethics-table {
  width: 100%; min-width: 940px;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  background: #fff;
}
.cpage--compliance .nx-cr-ethics-table thead {
  border-top: 1px solid #111; border-bottom: 1px solid #111;
}
.cpage--compliance .nx-cr-ethics-table th {
  padding: 17px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-align: left;
}
.cpage--compliance .nx-cr-ethics-table td {
  padding: 23px 16px;
  border-bottom: 1px solid #e5e2db;
  vertical-align: top;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.cpage--compliance .nx-cr-ethics-table .code-section { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.cpage--compliance .nx-cr-ethics-table .code-desc { font-size: 13px; line-height: 1.65; color: #555; }
.cpage--compliance .nx-cr-ethics-table .value { font-size: 13px; line-height: 1.65; color: #333; }
.cpage--compliance .nx-cr-ethics-table .tag {
  display: inline-flex;
  max-width: 100%; padding: 7px 11px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #555;
  background: #ececec;
  white-space: normal;
}
.cpage--compliance .nx-cr-ethics-table .tag.green { background:#dcecdf; color:#2b6a3f; }
.cpage--compliance .nx-cr-ethics-table .tag.blue { background:#dfe8f7; color:#2456a8; }
.cpage--compliance .nx-cr-ethics-table .tag.gold { background:#efe5c6; color:#8b6510; }
@media (max-width: 900px) {
  .cpage--compliance .nx-cr-module { padding-inline: 16px; }
  .cpage--compliance .nx-cr-frame { padding: 12px; }
  .cpage--compliance svg.nx-cr-svg { min-width: 920px; }
}
@media (max-width: 560px) {
  .cpage--compliance .nx-cr-module { padding: 36px 10px; }
  .cpage--compliance .nx-cr-frame { padding: 8px; }
  .cpage--compliance .nx-cr-module-title { font-size: 17px; letter-spacing: .08em; }
  .cpage--compliance .nx-cr-module-subtitle { font-size: 10px; }
  .cpage--compliance .nx-cr-svg-track,
  .cpage--compliance .nx-cr-table-scroll { scrollbar-width: auto; }
}

/* Profit allocation section: preserve the supplied SVG's 24px allocations. */
.cpage--compliance .nx-cr-allocation-svg .text.percentage {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}
.cpage--compliance .nx-cr-allocation-note {
  margin: 24px auto 0;
}
