.executive-cockpit {
  --erc-ink: #203e50;
  --erc-muted: #58707e;
  --erc-blue: #27749b;
  --erc-teal: #087f82;
  --erc-line: #dce5eb;
  --erc-ground: #f2f5f7;
  --erc-paper: #fff;
  --erc-gold: #98722f;
  box-sizing: border-box;
  padding: 24px;
  background: var(--erc-ground);
  color: var(--erc-ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  min-width: 0;
  border-radius: 16px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.executive-cockpit * {
  box-sizing: border-box;
}
.executive-cockpit ::selection {
  background: #cce8ec;
  color: #153f51;
}
.executive-cockpit button,
.executive-cockpit select {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.executive-cockpit button {
  border: 1px solid var(--erc-line);
  background: var(--erc-paper);
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 14px;
  line-height: 1.45;
  transition: background-color 0.16s ease-out, border-color 0.16s ease-out;
}
.executive-cockpit button:hover {
  background: #eaf2f5;
  border-color: #aec8d6;
}
.executive-cockpit button:disabled {
  cursor: default;
  opacity: 0.6;
}
.executive-cockpit button:focus-visible,
.executive-cockpit select:focus-visible {
  outline: 3px solid #338fac;
  outline-offset: 3px;
}
.executive-cockpit svg {
  display: block;
}
.executive-cockpit button > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: none;
}
.executive-cockpit p {
  margin: 0;
}
.executive-cockpit h1,
.executive-cockpit h2 {
  margin: 0;
  color: var(--erc-ink);
  letter-spacing: 0;
}
.executive-cockpit .erc-primary {
  background: #235d7b;
  color: white;
  border-color: #235d7b;
}
.executive-cockpit .erc-primary:hover {
  background: #194a63;
  color: white;
}
.erc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.erc-heading h1 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 650;
}
.erc-heading p {
  margin-top: 5px;
  color: var(--erc-muted);
  font-size: 14px;
}
.erc-heading p span {
  padding: 0 10px;
}
.erc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.erc-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.erc-filterbar {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 13px 0;
  border-top: 1px solid var(--erc-line);
  border-bottom: 1px solid var(--erc-line);
}
.erc-filterbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.erc-filterbar label > span {
  color: var(--erc-muted);
  white-space: nowrap;
  font-size: 13px;
}
.erc-filterbar select {
  min-height: 36px;
  max-width: 260px;
  padding: 6px 26px 6px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background-color: transparent;
  outline-offset: 1px;
}
.erc-filterbar select:hover {
  background: white;
  border-color: var(--erc-line);
}
.erc-activity-filter {
  flex: 1;
}
.erc-activity-filter select {
  width: 100%;
}
.erc-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 20px 0 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--erc-line);
  overflow: hidden;
}
.erc-kpis > button {
  position: relative;
  text-align: left;
  border: 0;
  border-radius: 0;
  padding: 16px 18px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.erc-kpis > button + button {
  border-left: 1px solid var(--erc-line);
}
.erc-kpis > button > span {
  font-size: 14px;
  font-weight: 500;
}
.erc-kpis strong {
  font-size: 30px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}
.erc-kpis em {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  margin-left: 6px;
  color: var(--erc-muted);
}
.erc-kpis small {
  font-size: 12px;
  color: var(--erc-muted);
  line-height: 1.45;
  min-height: 18px;
}
.erc-kpis > button > svg {
  position: absolute;
  right: 10px;
  top: 17px;
  width: 16px;
  height: 16px;
  opacity: 0;
}
.erc-kpis > button:hover > svg,
.erc-kpis > button:focus-visible > svg {
  opacity: 1;
}
.erc-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid #bfcfd8;
}
.erc-tabs > button {
  position: relative;
  padding: 7px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  min-height: 44px;
  color: var(--erc-muted);
}
.erc-tabs > button[aria-selected=true] {
  color: #185f7c;
  font-weight: 650;
}
.erc-tabs > button[aria-selected=true]:after {
  content: "";
  height: 3px;
  background: #227795;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.erc-tabs > span {
  margin-left: auto;
  color: var(--erc-muted);
  font-size: 12px;
}
.erc-board {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 16px;
  grid-template-rows: minmax(280px, auto) minmax(280px, auto);
}
.erc-panel {
  background: white;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--erc-line);
}
.erc-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: none;
}
.erc-panel h2 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}
.erc-panel > header p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
  color: var(--erc-muted);
}
.erc-panel .erc-link {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  background: transparent;
  padding: 2px 0 2px 8px;
  min-height: 28px;
  border: 0;
  font-size: 12px;
  color: #287693;
}
.erc-link svg {
  width: 16px !important;
  height: 16px !important;
}
.erc-panel-content {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.erc-years {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  justify-content: center;
}
.erc-years > svg {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 230px;
  overflow: visible;
}
.erc-gridline {
  stroke: #e5edf1;
  stroke-width: 1;
}
.erc-axis {
  fill: #5b7280;
  font-size: 12px;
}
.erc-data-label {
  fill: #294757;
  font-size: 12px;
  font-weight: 600;
}
.erc-year-label {
  font-weight: 500;
}
.erc-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.erc-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--erc-muted);
}
.erc-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.erc-coverage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  flex: 1;
}
.erc-coverage-value {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.erc-coverage-value > strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  color: #14777b;
}
.erc-coverage-value small {
  font-size: 18px;
  margin-left: 3px;
}
.erc-coverage-value > span {
  color: var(--erc-muted);
  font-size: 13px;
}
.erc-coverage-track {
  height: 8px;
  background: #e8f0f1;
  border-radius: 4px;
  overflow: hidden;
}
.erc-coverage-track > i {
  display: block;
  height: 100%;
  background: #177f82;
  border-radius: 4px;
}
.erc-pairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 8px;
}
.erc-pairs > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.erc-pairs span {
  font-size: 12px;
  color: var(--erc-muted);
}
.erc-pairs b {
  font-weight: 600;
  font-size: 22px;
  white-space: nowrap;
}
.erc-pairs small {
  font-size: 12px;
  margin-left: 4px;
  color: var(--erc-muted);
  font-weight: 400;
}
.erc-note {
  font-size: 12px !important;
  line-height: 1.45;
  color: var(--erc-muted) !important;
  margin-top: 5px !important;
}
.erc-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
  justify-content: center;
  flex: 1;
}
.executive-cockpit .erc-bar-row {
  display: grid;
  grid-template-columns: minmax(65px, 26%) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  min-height: 25px;
  background: transparent;
  opacity: 1;
  border-radius: 3px;
  text-align: left;
}
.erc-bar-row:has(.erc-bar-note) {
  grid-template-columns: minmax(70px, 26%) minmax(0, 1fr) auto 59px;
}
.erc-bar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.erc-bar-track {
  height: 10px;
  background: #eef2f5;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.erc-bar-track > i,
.erc-bar-track > em {
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 2px;
}
.erc-bar-track > em {
  height: 4px;
  top: 3px;
  background: #087f82;
}
.erc-bar-row strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.erc-bar-row small {
  font-size: 11px;
  margin-left: 3px;
  font-weight: 400;
  color: var(--erc-muted);
}
.erc-bar-note {
  font-size: 12px;
  text-align: right;
  color: #176d76;
}
.erc-result-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
}
.erc-result-steps > button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
}
.erc-result-steps > button + button {
  border-top: 1px solid #e9eef1;
}
.erc-result-steps > button > i {
  width: 7px;
  height: 28px;
  border-radius: 4px;
  flex: none;
}
.erc-result-steps > button > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.erc-result-steps span {
  font-weight: 500;
}
.erc-result-steps small {
  font-size: 12px;
  color: var(--erc-muted);
}
.erc-result-steps strong {
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}
.erc-result-steps em {
  font-size: 12px;
  color: var(--erc-muted);
  font-style: normal;
  margin-left: 5px;
}
.erc-result-steps > button > svg {
  color: #5b7f91;
  width: 17px;
  height: 17px;
}
.erc-compact-table {
  min-height: 0;
  flex: 1;
}
.executive-cockpit table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}
.executive-cockpit th,
.executive-cockpit td {
  padding: 9px 8px;
  text-align: right;
  border-bottom: 1px solid #e9eef1;
  font-weight: 400;
}
.executive-cockpit th {
  color: var(--erc-muted);
  font-size: 12px;
  background: #f5f8fa;
  white-space: nowrap;
}
.executive-cockpit th:first-child,
.executive-cockpit td:first-child {
  text-align: left;
}
.executive-cockpit td:first-child {
  font-weight: 500;
}
.erc-compact-table button {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 22px;
  text-align: left;
  color: #226d8c;
}
.erc-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.erc-links > div {
  display: grid;
  grid-template-columns: 1fr minmax(70px, 25%) 1fr;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}
.erc-links > div > span {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erc-links > div > span:last-child {
  text-align: right;
}
.erc-links i {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}
.erc-links svg {
  width: 100%;
  height: 17px;
  fill: #5e9ba6;
  stroke: #b5cbd3;
  stroke-width: 1.5;
}
.erc-links small {
  font-size: 11px;
  font-style: normal;
  color: var(--erc-muted);
  white-space: nowrap;
}
.erc-quality {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: center;
}
.erc-quality-main {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.erc-quality-main strong {
  font-size: 40px;
  font-weight: 600;
  color: #14777b;
  white-space: nowrap;
  line-height: 1.15;
}
.erc-quality-main small {
  font-size: 17px;
  margin-left: 3px;
}
.erc-quality-main p {
  font-size: 12px;
  color: var(--erc-muted);
  line-height: 1.6;
}
.erc-quality-meter {
  height: 8px;
  background: #e8f0f1;
  border-radius: 4px;
  overflow: hidden;
}
.erc-quality-meter i {
  height: 100%;
  display: block;
  background: #177f82;
}
.erc-quality .erc-pairs {
  grid-template-columns: 1fr 1fr;
}
.erc-pairs button {
  display: flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  border: 0;
  border-radius: 3px;
  padding: 0;
  min-height: 26px;
  background: transparent;
  font-size: 22px;
  font-weight: 600;
  color: #245d7c;
}
.erc-pairs button svg {
  width: 16px;
  height: 16px;
}
.erc-measures {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}
.erc-measures > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #e9eef1;
  gap: 15px;
}
.erc-measures dt {
  font-size: 13px;
}
.erc-measures dd {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}
.erc-measures small {
  font-size: 12px;
  font-weight: 400;
  color: var(--erc-muted);
  margin-left: 5px;
}
.erc-award-head {
  display: flex;
  gap: 25px;
  align-items: baseline;
  border-bottom: 1px solid var(--erc-line);
  padding-bottom: 10px;
  margin-bottom: 2px;
}
.erc-award-head > span {
  font-size: 12px;
  color: var(--erc-muted);
}
.erc-award-head strong {
  font-size: 25px;
  font-weight: 600;
  color: #856327;
  margin-right: 3px;
}
.erc-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  color: var(--erc-muted);
  margin-top: 16px;
  min-height: 28px;
}
.erc-footer > span:first-child {
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.erc-footer > span:nth-child(2) {
  white-space: nowrap;
}
.erc-footer > button {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 28px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.erc-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 8px 14px;
  background: #e1f0ee;
  border: 1px solid #b8d5d1;
  border-radius: 8px;
  margin-top: 12px;
  color: #205f5b;
  font-size: 13px;
}
.erc-notice button {
  padding: 0 4px;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: #205f5b;
  font-size: 12px;
}
.erc-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  height: 100%;
  font-size: 13px;
  color: var(--erc-muted);
  line-height: 1.7;
  padding: 20px;
  text-align: center;
}
.erc-load {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.erc-load h2 {
  font-size: 19px;
}
.erc-load p {
  color: var(--erc-muted);
  font-size: 14px;
}
.erc-skeleton {
  height: 8px;
  border-radius: 4px;
  width: 160px;
  background: #cbdde6;
  animation: erc-pulse 1s ease-in-out infinite alternate;
}
@keyframes erc-pulse {
  to {
    background: #e3edf1;
  }
}
.erc-dialog {
  color: var(--erc-ink);
  width: min(1040px, calc(100vw - 36px));
  max-height: 85vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 70px #142e4355;
  background: white;
  overflow: hidden;
}
.erc-dialog::backdrop {
  background: #17344966;
}
.erc-dialog > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--erc-line);
  background: #f5f8fa;
}
.erc-dialog h2 {
  font-size: 20px;
  line-height: 1.45;
}
.erc-dialog > header p {
  margin-top: 5px;
  font-size: 12px;
  color: var(--erc-muted);
}
.erc-dialog > header > button {
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.erc-dialog-body {
  max-height: calc(85vh - 104px);
  overflow: auto;
  padding: 22px 26px;
  overscroll-behavior: contain;
  scrollbar-color: #98b4c1 #edf2f5;
  scrollbar-width: thin;
}
.erc-definitions {
  margin: 0;
  display: grid;
  gap: 0;
}
.erc-definitions > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #e7eef1;
}
.erc-definitions dt {
  font-weight: 600;
}
.erc-definitions dd {
  margin: 0;
  line-height: 1.8;
  color: #4e6775;
  max-width: 72ch;
}
.erc-table-wrap {
  width: 100%;
  overflow: auto;
  scrollbar-color: #98b4c1 #edf2f5;
  scrollbar-width: thin;
}
.erc-dialog table {
  min-width: 640px;
}
.erc-dialog th,
.erc-dialog td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
}
.erc-dialog td > strong {
  font-weight: 500;
  display: block;
  max-width: 420px;
}
.erc-dialog td > small {
  display: block;
  color: var(--erc-muted);
  font-size: 11px;
  margin-top: 5px;
}
.erc-total {
  font-size: 13px;
  color: var(--erc-muted);
  margin-bottom: 12px !important;
}
.erc-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
}
.erc-inline-error {
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: #974d3d;
  background: #fbf2ee;
  border-radius: 8px;
}
.executive-cockpit.erc-fullscreen {
  height: 100dvh;
  width: 100vw;
  max-height: 100dvh;
  border-radius: 0;
  padding: 20px 28px;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  gap: 0;
  overflow: hidden;
}
.erc-fullscreen .erc-header {
  margin-bottom: 12px;
}
.erc-fullscreen .erc-filterbar {
  padding: 7px 0;
}
.erc-fullscreen .erc-kpis {
  margin: 12px 0 10px;
}
.erc-fullscreen .erc-kpis > button {
  padding: 10px 16px 9px;
}
.erc-fullscreen .erc-tabs {
  margin-bottom: 12px;
}
.erc-fullscreen .erc-board {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  gap: 12px;
}
.erc-fullscreen .erc-panel {
  padding: 14px 18px;
  gap: 8px;
  overflow: hidden;
}
.erc-fullscreen .erc-panel-content {
  overflow: hidden;
}
.erc-fullscreen .erc-panel h2 {
  font-size: 16px;
}
.erc-fullscreen .erc-bars {
  gap: 6px;
}
.erc-fullscreen .erc-bar-row {
  min-height: 21px;
}
.erc-fullscreen .erc-years > svg {
  max-height: none;
}
.erc-fullscreen .erc-result-steps > button {
  padding: 8px 0;
}
.erc-fullscreen .erc-coverage {
  gap: 10px;
}
.erc-fullscreen .erc-measures > div {
  padding: 8px 0;
}
.erc-fullscreen .erc-links {
  gap: 5px;
}
.erc-fullscreen .erc-links > div {
  min-height: 26px;
}
.erc-fullscreen .erc-compact-table td,
.erc-fullscreen .erc-compact-table th {
  padding: 5px 8px;
}
.erc-fullscreen .erc-footer {
  margin-top: 8px;
  min-height: 22px;
}
.erc-fullscreen .erc-notice {
  position: absolute;
  top: 85px;
  right: 28px;
  z-index: 3;
  max-width: 380px;
  box-shadow: 0 5px 15px #233d4a15;
}
.erc-fullscreen .erc-load {
  grid-row: 3/7;
}
.erc-fullscreen .erc-dialog {
  max-height: 88vh;
}
.erc-fullscreen .erc-panel > header p {
  font-size: 11px;
}
.erc-fullscreen .erc-quality {
  gap: 10px;
}
.erc-fullscreen .erc-quality-main strong,
.erc-fullscreen .erc-coverage-value > strong {
  font-size: 34px;
}
.erc-fullscreen .erc-legend {
  gap: 14px;
  margin-top: 5px;
}
.erc-fullscreen .erc-award-head {
  padding-bottom: 7px;
}
.erc-fullscreen .erc-award-head strong {
  font-size: 22px;
}
@media (min-width: 1600px) {
  .erc-fullscreen {
    font-size: 16px;
  }
  .erc-fullscreen .erc-heading h1 {
    font-size: 30px;
  }
  .erc-fullscreen .erc-panel {
    padding: 20px 25px;
    gap: 15px;
  }
  .erc-fullscreen .erc-panel h2 {
    font-size: 19px;
  }
  .erc-fullscreen .erc-panel > header p {
    font-size: 13px;
  }
  .erc-fullscreen .erc-kpis > button {
    padding: 17px 24px;
  }
  .erc-fullscreen .erc-kpis strong {
    font-size: 36px;
  }
  .erc-fullscreen .erc-bars {
    gap: 13px;
  }
  .erc-fullscreen .erc-bar-name {
    font-size: 15px;
  }
  .erc-fullscreen .erc-bar-row strong {
    font-size: 16px;
  }
  .erc-fullscreen .erc-compact-table td,
  .erc-fullscreen .erc-compact-table th {
    padding: 10px;
    font-size: 14px;
  }
  .erc-fullscreen .erc-coverage-value > strong,
  .erc-fullscreen .erc-quality-main strong {
    font-size: 48px;
  }
  .erc-fullscreen .erc-measures > div {
    padding: 14px 0;
  }
  .erc-fullscreen .erc-result-steps > button {
    padding: 14px 0;
  }
  .erc-fullscreen .erc-result-steps span {
    font-size: 16px;
  }
  .erc-fullscreen .erc-result-steps strong {
    font-size: 30px;
  }
  .erc-fullscreen .erc-links > div {
    min-height: 36px;
  }
  .erc-fullscreen .erc-links > div > span {
    font-size: 15px;
  }
}
@media (max-width: 1150px) {
  .executive-cockpit {
    padding: 18px;
  }
  .erc-header {
    align-items: flex-start;
    gap: 12px;
  }
  .erc-heading h1 {
    font-size: 23px;
  }
  .erc-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .erc-kpis > button:nth-child(4) {
    border-left: 0;
  }
  .erc-kpis > button:nth-child(n+4) {
    border-top: 1px solid var(--erc-line);
  }
  .erc-board {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .erc-panel {
    padding: 17px;
  }
  .erc-fullscreen .erc-kpis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .erc-fullscreen .erc-kpis > button:nth-child(n) {
    border-top: 0;
    border-left: 1px solid var(--erc-line);
  }
  .erc-fullscreen .erc-kpis > button:first-child {
    border-left: 0;
  }
  .erc-fullscreen .erc-kpis > button {
    padding: 10px;
  }
  .erc-fullscreen .erc-kpis strong {
    font-size: 27px;
  }
}
@media (max-width: 800px) {
  .erc-header {
    flex-direction: column;
  }
  .erc-actions {
    justify-content: flex-start;
  }
  .erc-filterbar {
    gap: 10px;
  }
  .erc-filterbar label {
    flex: 1 1 42%;
    display: flex;
  }
  .erc-filterbar select {
    width: 100%;
    max-width: none;
    font-size: 13px;
  }
  .erc-kpis strong {
    font-size: 28px;
  }
  .erc-kpis > button {
    padding: 14px 12px;
  }
  .erc-board {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }
  .erc-panel {
    min-height: 280px;
  }
  .erc-panel-content {
    min-height: 190px;
  }
  .erc-tabs {
    gap: 22px;
  }
  .erc-tabs > span {
    display: none;
  }
  .erc-footer {
    gap: 9px;
    flex-wrap: wrap;
  }
  .erc-footer > span:first-child {
    flex: 1 1 100%;
    white-space: normal;
  }
  .erc-footer > span:nth-child(2) {
    margin-right: auto;
  }
  .erc-dialog-body {
    padding: 14px 16px;
  }
  .erc-dialog > header {
    padding: 18px 16px;
  }
  .erc-dialog h2 {
    font-size: 18px;
  }
  .erc-definitions > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .erc-pagination {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .erc-quality-main {
    flex-direction: column;
    gap: 8px;
  }
  .executive-cockpit.erc-fullscreen {
    display: block;
    overflow: auto;
    height: 100dvh;
    padding: 16px;
  }
  .erc-fullscreen .erc-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .erc-fullscreen .erc-kpis > button:nth-child(4) {
    border-left: 0;
  }
  .erc-fullscreen .erc-kpis > button:nth-child(n+4) {
    border-top: 1px solid var(--erc-line);
  }
  .erc-fullscreen .erc-board {
    display: grid;
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }
  .erc-fullscreen .erc-panel {
    min-height: 280px;
  }
  .erc-fullscreen .erc-notice {
    position: static;
  }
  .erc-fullscreen .erc-panel-content {
    overflow: visible;
  }
}
@media (max-width: 480px) {
  .executive-cockpit {
    padding: 14px 10px;
    border-radius: 10px;
  }
  .erc-heading h1 {
    font-size: 22px;
  }
  .erc-heading p {
    font-size: 12px;
  }
  .erc-actions {
    width: 100%;
  }
  .erc-actions button {
    font-size: 12px;
    padding: 8px 11px;
    min-height: 40px;
    flex: 1;
    justify-content: center;
  }
  .erc-filterbar {
    padding: 10px 0;
  }
  .erc-filterbar label > span {
    font-size: 12px;
  }
  .erc-filterbar select {
    padding-left: 4px;
  }
  .erc-kpis {
    margin-top: 14px;
    margin-bottom: 14px;
  }
  .erc-kpis > button {
    padding: 12px 9px;
    gap: 4px;
  }
  .erc-kpis strong {
    font-size: 24px;
  }
  .erc-kpis > button > span {
    font-size: 12px;
  }
  .erc-kpis small {
    font-size: 10px;
    line-height: 1.55;
  }
  .erc-kpis em {
    font-size: 10px;
    margin-left: 3px;
  }
  .erc-tabs {
    gap: 24px;
  }
  .erc-tabs > button {
    font-size: 14px;
  }
  .erc-panel {
    padding: 16px 14px;
    gap: 12px;
  }
  .erc-panel h2 {
    font-size: 16px;
  }
  .erc-panel > header p {
    font-size: 11px;
  }
  .erc-bars {
    gap: 13px;
  }
  .erc-bar-name {
    font-size: 12px;
  }
  .erc-bar-row strong {
    font-size: 13px;
  }
  .erc-panel .erc-link {
    font-size: 11px;
  }
  .erc-bar-row:has(.erc-bar-note) {
    grid-template-columns: minmax(60px, 26%) minmax(0, 1fr) auto 46px;
    gap: 6px;
  }
  .erc-bar-note {
    font-size: 11px;
  }
  .erc-compact-table td,
  .erc-compact-table th {
    font-size: 11px;
    padding: 8px 5px;
  }
  .erc-coverage-value > strong {
    font-size: 38px;
  }
  .erc-pairs {
    gap: 7px;
  }
  .erc-pairs b {
    font-size: 20px;
  }
  .erc-coverage {
    gap: 18px;
  }
  .erc-quality {
    gap: 19px;
  }
  .erc-dialog {
    width: calc(100vw - 20px);
  }
  .erc-links > div {
    gap: 7px;
  }
  .erc-links > div > span {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .executive-cockpit * {
    animation: none !important;
    transition: none !important;
  }
}
.erc-year-plot {
  position: relative;
  min-height: 105px;
  flex: 1;
  margin: 11px 6px 26px 42px;
}
.erc-year-axis {
  position: absolute;
  inset: 0 auto 0 -42px;
  width: 35px;
}
.erc-year-axis > span {
  position: absolute;
  right: 0;
  font-size: 11px;
  color: var(--erc-muted);
  line-height: 14px;
  transform: translateY(50%);
}
.erc-year-grid {
  position: absolute;
  inset: 0;
}
.erc-year-grid > i {
  position: absolute;
  height: 1px;
  background: #e5edf1;
  left: 0;
  right: 0;
}
.erc-year-groups {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  gap: 12px;
}
.erc-year-group {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  flex: 1;
  max-width: 95px;
}
.erc-year-group > i {
  width: 22%;
  max-width: 25px;
  min-width: 5px;
  border-radius: 2px 2px 0 0;
  position: relative;
}
.erc-year-group > span {
  position: absolute;
  top: 100%;
  padding-top: 7px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--erc-muted);
}
.erc-fullscreen.executive-cockpit {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}
.erc-fullscreen .erc-filterbar {
  position: absolute;
  top: 86px;
  left: 28px;
  right: 28px;
  z-index: 4;
  background: white;
  border: 1px solid var(--erc-line);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 24px #233d4a22;
}
.erc-fullscreen .erc-filters-collapsed {
  display: none;
}
.erc-fullscreen .erc-kpis > button {
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 3px;
}
.erc-fullscreen .erc-kpis strong {
  line-height: 1.1;
}
.erc-fullscreen .erc-heading h1 {
  font-size: 25px;
  line-height: 1.25;
}
.erc-fullscreen .erc-heading p {
  margin-top: 4px;
  line-height: 1.4;
}
.erc-fullscreen .erc-header {
  margin-bottom: 8px;
  min-height: 48px;
}
.erc-fullscreen .erc-year-plot {
  min-height: 70px;
}
.executive-cockpit .erc-compact-table th,
.executive-cockpit .erc-compact-table td {
  height: auto;
  min-height: 0;
  line-height: 1.4;
}
.executive-cockpit .erc-compact-table tr {
  height: auto;
  min-height: 0;
}
@media (min-width: 801px) and (max-height: 820px) {
  .executive-cockpit.erc-fullscreen {
    padding: 15px 24px;
  }
  .erc-fullscreen .erc-kpis {
    margin: 7px 0 6px;
  }
  .erc-fullscreen .erc-kpis > button {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .erc-fullscreen .erc-kpis strong {
    font-size: 28px;
  }
  .erc-fullscreen .erc-tabs {
    margin-bottom: 10px;
  }
  .erc-fullscreen .erc-panel {
    padding: 12px 16px;
    gap: 7px;
  }
  .erc-fullscreen .erc-panel > header p {
    margin-top: 3px;
    line-height: 1.4;
  }
  .erc-fullscreen .erc-bars {
    gap: 7px;
  }
  .erc-fullscreen .erc-bars > .erc-bar-row:nth-child(n+5) {
    display: none;
  }
  .erc-fullscreen .erc-bars > .erc-bar-row {
    min-height: 23px;
  }
  .erc-fullscreen .erc-note {
    display: none;
  }
  .erc-fullscreen .erc-result-steps > button {
    min-height: 38px;
    padding: 7px 0;
  }
  .erc-fullscreen .erc-result-steps small {
    display: none;
  }
  .erc-fullscreen .erc-result-steps strong {
    font-size: 22px;
  }
  .erc-fullscreen .erc-compact-table th,
  .erc-fullscreen .erc-compact-table td {
    padding: 5px 7px;
    font-size: 12px;
    line-height: 1.3;
  }
  .erc-fullscreen .erc-compact-table tbody > tr:nth-child(n+5) {
    display: none;
  }
  .erc-fullscreen .erc-measures > div {
    padding: 5px 0;
  }
  .erc-fullscreen .erc-measures dd {
    font-size: 19px;
  }
  .erc-fullscreen .erc-links {
    gap: 2px;
  }
  .erc-fullscreen .erc-links > div {
    min-height: 23px;
  }
  .erc-fullscreen .erc-links > div:nth-child(n+5) {
    display: none;
  }
  .erc-fullscreen .erc-quality {
    gap: 8px;
  }
  .erc-fullscreen .erc-coverage {
    gap: 8px;
  }
  .erc-fullscreen .erc-pairs {
    padding-top: 3px;
    gap: 10px;
  }
  .erc-fullscreen .erc-pairs > div {
    gap: 4px;
  }
  .erc-fullscreen .erc-quality-main strong,
  .erc-fullscreen .erc-coverage-value > strong {
    font-size: 32px;
  }
  .erc-fullscreen .erc-panel-content > .erc-bars {
    justify-content: space-evenly;
  }
  .erc-fullscreen .erc-legend {
    font-size: 11px;
  }
  .erc-fullscreen .erc-award-head {
    gap: 20px;
    padding-bottom: 5px;
  }
  .erc-fullscreen .erc-footer {
    margin-top: 6px;
  }
  .erc-fullscreen .erc-footer > button {
    min-height: 22px;
  }
}
@media (max-width: 800px) {
  .erc-fullscreen .erc-filterbar {
    position: static;
    margin: 10px 0;
    box-shadow: none;
    padding: 12px;
  }
  .erc-year-plot {
    min-height: 135px;
    margin-left: 34px;
  }
  .erc-year-axis {
    left: -34px;
    width: 29px;
  }
  .erc-year-axis > span {
    font-size: 10px;
  }
  .erc-year-groups {
    gap: 8px;
  }
  .erc-year-group {
    gap: 3px;
  }
  .erc-year-group > span {
    font-size: 11px;
  }
}
.executive-cockpit.erc-fullscreen .erc-compact-table th,
.executive-cockpit.erc-fullscreen .erc-compact-table td {
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.35;
}
.executive-cockpit.erc-fullscreen .erc-compact-table button {
  min-height: 0;
  line-height: 1.35;
  padding: 0;
  font-size: 13px;
}
@media (min-width: 801px) and (max-height: 820px) {
  .executive-cockpit.erc-fullscreen .erc-compact-table th,
  .executive-cockpit.erc-fullscreen .erc-compact-table td {
    padding: 4px 7px;
    font-size: 12px;
    line-height: 1.3;
  }
  .executive-cockpit.erc-fullscreen .erc-compact-table button {
    font-size: 12px;
    line-height: 1.3;
  }
  .erc-fullscreen .erc-board-2 > .erc-panel:nth-child(3) .erc-bars > .erc-bar-row:nth-child(n+4) {
    display: none;
  }
}
