/* Control Contre reporting materials — Joseph El-Kadi - FL1GHT5 Network. */
.cc-report {
  --cc-line: var(--cc-border, #cbd1d9);
  --cc-raised: var(
    --cc-shadow,
    0 10px 28px -14px #26344942,
    inset 0 1px 0 #fff
  );
  color: var(--cc-ink);
  font: 14px/1.55 var(--cc-font, system-ui, sans-serif);
  min-width: 0;
}
.cc-report * {
  box-sizing: border-box;
}
.cc-report button,
.cc-report select,
.cc-report input {
  font: inherit;
  color: inherit;
}
.cc-report button,
.cc-report summary,
.cc-mark {
  cursor: pointer;
}
.cc-report [hidden] {
  display: none !important;
}
.cc-report :focus-visible {
  outline: 3px solid var(--cc-accent);
  outline-offset: 4px;
}
.cc-table-report {
  margin-top: 20px;
  border: 1px solid var(--cc-glass-edge);
  border-radius: 18px;
  background: var(--cc-glass);
  box-shadow: var(--cc-inset);
  overflow: hidden;
}
.cc-table-report > summary {
  display: flex;
  align-items: center;
  gap: 13px;
  list-style: none;
  padding: 16px 18px;
  transition: background 0.25s;
}
.cc-table-report > summary::-webkit-details-marker {
  display: none;
}
.cc-table-report > summary:hover {
  background: var(--cc-accent-soft);
}
.cc-report-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--cc-surface);
  border: 1px solid var(--cc-glass-edge);
  border-radius: 12px;
  box-shadow: var(--cc-raised);
  font-size: 21px;
  color: var(--cc-accent);
}
.cc-table-report summary strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.cc-table-report summary small {
  display: block;
  font-size: 11px;
  color: var(--cc-muted);
}
.cc-summary-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--cc-muted);
}
.cc-summary-chevron {
  font-size: 19px;
  transition: transform 0.3s;
}
.cc-table-report[open] .cc-summary-chevron {
  transform: rotate(180deg);
}
.cc-table-report-body {
  border-top: 1px solid var(--cc-line);
  padding: 20px;
  animation: cc-enter 0.35s ease both;
}
.cc-report-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: flex-end;
}
.cc-report-controls label {
  display: grid;
  gap: 6px;
  flex: 1;
  min-width: 110px;
  font-size: 11px;
  color: var(--cc-muted);
}
.cc-report select,
.cc-report input:not([type="file"]) {
  width: 100%;
  border: 1px solid #ffffffa9;
  background: var(--cc-surface);
  border-radius: 10px;
  padding: 9px 11px;
  min-height: 39px;
  box-shadow: var(--cc-inset);
  font-size: 12px;
  color: var(--cc-ink);
}
.cc-report select:focus,
.cc-report input:focus {
  background: var(--cc-surface);
}
.cc-chart-host {
  margin-top: 16px;
  min-width: 0;
}
.cc-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  overflow: visible;
}
.cc-chart-svg .cc-svg-label {
  font:
    12px "Segoe UI",
    sans-serif;
  fill: var(--cc-muted);
}
.cc-chart-svg .cc-svg-total {
  font:
    600 31px "Segoe UI",
    sans-serif;
  fill: var(--cc-ink);
  letter-spacing: -1.5px;
}
.cc-chart-grid {
  fill: none;
  stroke: var(--cc-line);
  stroke-dasharray: 3 5;
  stroke-width: 1;
}
.cc-chart-baseline {
  fill: none;
  stroke: var(--cc-muted);
  opacity: 0.4;
}
.cc-mark {
  transition:
    opacity 0.3s,
    filter 0.25s;
}
.cc-mark:hover,
.cc-mark:focus-visible {
  filter: brightness(1.12);
  outline: none;
}
.cc-mark:focus-visible {
  stroke: var(--cc-ink);
  stroke-width: 3;
}
.cc-mark[aria-pressed="true"] {
  filter: drop-shadow(0 0 4px #0066cc44);
}
.cc-chart-bar {
  transform-origin: center bottom;
  animation: cc-grow 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--cc-i) * 18ms);
}
.cc-trend-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: cc-draw 1.2s ease forwards;
}
.cc-chart-point {
  animation: cc-enter 0.4s ease both;
}
.cc-report-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.cc-report-toolbar > [role="status"] {
  font-size: 11px;
  color: var(--cc-muted);
  flex: 1;
  min-width: 180px;
}
.cc-report .cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 13px;
  min-height: 44px;
  border: 1px solid #ffffffc9;
  border-radius: 10px;
  background: var(--cc-glass);
  box-shadow: var(--cc-raised);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--cc-ink);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  cursor: pointer;
}
.cc-report .cc-button:hover {
  transform: translateY(-2px);
  background: var(--cc-surface);
}
.cc-report .cc-button:active {
  transform: translateY(1px);
  box-shadow: var(--cc-inset);
}
.cc-report .cc-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.cc-report .cc-button.primary {
  background: var(--cc-accent);
  color: var(--cc-on-accent);
  border-color: #ffffff45;
}
.cc-note {
  color: var(--cc-muted);
  font-size: 11px;
  line-height: 1.65;
  margin: 12px 0 0;
}
.cc-source-selected {
  background: color-mix(
    in srgb,
    var(--accent, var(--ff-accent, #0066cc)) 14%,
    transparent
  ) !important;
  box-shadow: inset 3px 0 var(--accent, var(--ff-accent, #0066cc));
}
.cc-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: 210px;
  border: 1px dashed var(--cc-line);
  border-radius: 15px;
  color: var(--cc-muted);
  gap: 9px;
  font-size: 13px;
}
.cc-empty > span {
  font-size: 40px;
  color: var(--cc-accent);
}
.cc-empty p {
  margin: 0;
  font-size: 12px;
}
.cc-empty strong {
  color: var(--cc-ink);
}
.cc-report-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes cc-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cc-grow {
  from {
    transform: scaleY(0.01);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes cc-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 700px) {
  .cc-table-report-body {
    padding: 14px;
  }
  .cc-report-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cc-report-controls label {
    min-width: 0;
  }
  .cc-summary-count {
    display: none;
  }
  .cc-summary-chevron {
    margin-left: auto;
  }
  .cc-table-report > summary {
    padding: 14px;
  }
  .cc-chart-host {
    overflow-x: auto;
  }
  .cc-chart-svg {
    min-width: 470px;
  }
  .cc-report-toolbar .cc-button {
    flex: 1;
  }
  .cc-report-toolbar > [role="status"] {
    flex-basis: 100%;
  }
  .cc-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc-report *,
  .cc-report *::before,
  .cc-report *::after {
    animation: none !important;
    transition: none !important;
  }
  .cc-trend-line {
    stroke-dashoffset: 0;
  }
}
html[data-motion="paused"] .cc-report *,
html[data-ff-motion="off"] .cc-report * {
  animation: none !important;
  transition: none !important;
}
html[data-motion="paused"] .cc-trend-line,
html[data-ff-motion="off"] .cc-trend-line {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-transparency: reduce) {
  .cc-table-report {
    background: var(--cc-surface);
  }
  .cc-report select,
  .cc-report input {
    background: var(--cc-surface);
  }
}
