:root {
  --cc-bg: #070d14;
  --cc-panel: rgba(12, 22, 32, .92);
  --cc-panel-2: rgba(14, 27, 39, .96);
  --cc-border: rgba(58, 218, 255, .19);
  --cc-border-strong: rgba(58, 218, 255, .43);
  --cc-cyan: #35d8ff;
  --cc-teal: #20e3c2;
  --cc-white: #f5fbff;
  --cc-muted: #88a1b2;
  --cc-green: #45e6a9;
}

body {
  background:
    radial-gradient(circle at 75% -10%,
      rgba(27, 146, 187, .14), transparent 34%),
    #070d14 !important;
  color: var(--cc-white);
}

.cc-clock {
  padding: 0 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #dff9ff;
}

.cc-banner,
.cc-panel,
.cc-kpi {
  background: linear-gradient(
    145deg,
    rgba(16, 29, 41, .96),
    rgba(8, 17, 26, .96)
  );
  border: 1px solid var(--cc-border);
  box-shadow:
    0 18px 45px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.018);
}

.cc-banner {
  min-height: 150px;
  border-radius: 20px;
  padding: 28px 30px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.cc-banner:after {
  content: "";
  width: 260px;
  height: 260px;
  position: absolute;
  right: -60px;
  top: -120px;
  background: radial-gradient(circle,
    rgba(53,216,255,.14), transparent 68%);
  pointer-events: none;
}

.cc-eyebrow,
.cc-section-label {
  color: var(--cc-cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.cc-banner h1 {
  font-size: clamp(27px, 3vw, 39px);
  margin: 7px 0 5px;
  color: #fff;
  font-weight: 750;
}

.cc-banner p {
  color: var(--cc-muted);
  margin: 0;
  font-size: 14px;
}

.cc-banner-badge,
.cc-small-badge {
  border: 1px solid var(--cc-border-strong);
  color: #c9f6ff;
  background: rgba(32, 167, 204, .08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 8px 12px;
  white-space: nowrap;
}

.cc-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--cc-teal);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 12px var(--cc-teal);
}

.cc-panel {
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
}

.cc-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.cc-panel-heading.compact {
  margin-bottom: 13px;
}

.cc-panel-heading h2 {
  color: #f4fbff;
  font-size: 18px;
  margin: 4px 0 0;
}

.cc-reset {
  border: 1px solid rgba(143, 170, 188, .24);
  background: rgba(255,255,255,.025);
  color: #afc4d2;
  border-radius: 10px;
  padding: 8px 14px;
}

.cc-reset:hover {
  border-color: var(--cc-border-strong);
  color: #fff;
}

.cc-input-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(135px, 1fr));
  gap: 14px;
}

.cc-field {
  min-width: 0;
}

.cc-field > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #9cb3c3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.cc-input-wrap {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(98, 131, 151, .25);
  background: rgba(4, 12, 20, .62);
  border-radius: 12px;
  overflow: hidden;
}

.cc-input-wrap:focus-within {
  border-color: var(--cc-cyan);
  box-shadow: 0 0 0 3px rgba(53,216,255,.08);
}

.cc-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0 13px;
}

.cc-input-wrap input:disabled {
  opacity: .38;
}

.cc-prefix,
.cc-suffix {
  color: #7f9baa;
  font-weight: 800;
}

.cc-prefix {
  padding-left: 14px;
}

.cc-suffix {
  padding-right: 14px;
}

.cc-segmented {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(98,131,151,.25);
  border-radius: 12px;
  background: rgba(4,12,20,.62);
}

.cc-segment {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #879eac;
  font-weight: 750;
}

.cc-segment.active {
  color: #031016;
  background: linear-gradient(135deg,
    var(--cc-cyan), var(--cc-teal));
  box-shadow: 0 4px 15px rgba(45,210,239,.15);
}

.cc-leverage-toggle-row {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-leverage-toggle-row strong {
  color: #899fac;
  font-size: 12px;
}

.cc-switch {
  width: 50px;
  height: 28px;
  border: 1px solid rgba(98,131,151,.33);
  border-radius: 999px;
  background: #111d27;
  padding: 3px;
  transition: .2s;
}

.cc-switch span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #708491;
  transition: .2s;
}

.cc-switch.on {
  border-color: rgba(32,227,194,.45);
  background: rgba(32,227,194,.13);
}

.cc-switch.on span {
  transform: translateX(20px);
  background: var(--cc-teal);
  box-shadow: 0 0 10px rgba(32,227,194,.5);
}

.cc-contract-note {
  margin-top: 15px;
  border-top: 1px solid rgba(118,151,171,.12);
  padding-top: 14px;
  color: #7893a4;
  font-size: 12px;
}

.cc-contract-note i {
  color: var(--cc-cyan);
  margin-right: 6px;
}

.cc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.cc-kpi {
  border-radius: 16px;
  padding: 18px 17px;
  min-width: 0;
}

.cc-kpi span {
  display: block;
  color: #819aaa;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 9px;
}

.cc-kpi strong {
  display: block;
  color: #f3fbff;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.cc-kpi-highlight {
  border-color: rgba(53,216,255,.38);
}

.cc-kpi-highlight strong {
  color: #66e5ff;
}

.cc-profit strong {
  color: var(--cc-green);
}

.cc-chart-shell {
  height: 310px;
  width: 100%;
}

.cc-summary-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cc-subtotal-list {
  display: grid;
  gap: 8px;
}

.cc-subtotal-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 45px;
  padding: 9px 12px;
  border: 1px solid rgba(99,132,150,.14);
  background: rgba(4,11,18,.36);
  border-radius: 10px;
}

.cc-subtotal-row strong {
  color: var(--cc-green);
}

.cc-subtotal-pot {
  color: #a9c4d2;
  font-size: 12px;
  min-width: 105px;
  text-align: right;
}

.cc-table-count {
  color: #7793a2;
  font-size: 12px;
}

.cc-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.cc-table th {
  color: #7895a6;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(85,119,139,.19);
  text-align: right;
  white-space: nowrap;
}

.cc-table th:first-child {
  text-align: left;
}

.cc-table td {
  color: #c8d9e2;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(75,106,124,.1);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.cc-table td:first-child {
  text-align: left;
  color: #eff9ff;
  font-weight: 700;
}

.cc-table td.cc-positive {
  color: var(--cc-green);
  font-weight: 700;
}

.cc-table tbody tr:hover {
  background: rgba(53,216,255,.025);
}

.cc-footer {
  text-align: center;
  color: #536d7c;
  font-size: 11px;
  padding: 4px 0 24px;
}

@media (max-width: 1350px) {
  .cc-input-grid,
  .cc-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {

  #content.app-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .cc-banner {
    min-height: auto;
    padding: 22px 20px;
  }

  .cc-banner-badge {
    display: none;
  }

  .cc-input-grid,
  .cc-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cc-summary-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cc-chart-shell {
    height: 250px;
  }
}

@media (max-width: 520px) {

  .cc-banner {
    border-radius: 15px;
    margin-bottom: 14px;
  }

  .cc-panel {
    border-radius: 15px;
    padding: 16px;
    margin-bottom: 14px;
  }

  .cc-input-grid {
    grid-template-columns: 1fr;
  }

  .cc-kpi-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    margin-bottom: 14px;
  }

  .cc-kpi {
    padding: 14px 12px;
    border-radius: 13px;
  }

  .cc-kpi strong {
    font-size: 17px;
  }

  .cc-panel-heading {
    margin-bottom: 15px;
  }

  .cc-chart-shell {
    height: 220px;
  }

  .cc-subtotal-row {
    grid-template-columns: 1fr auto;
  }

  .cc-subtotal-pot {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* =========================================================
   STANDARD 888 PAGE TITLE BAR
   Matches the compact identity treatment of main site pages.
   ========================================================= */

.cc-standard-titlebar {
  margin: 0 0 20px;
  padding: 8px 2px 18px;
  border-bottom: 1px solid rgba(100, 145, 170, .15);
}

.cc-standard-kicker {
  color: #35d8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 5px;
}

.cc-standard-titlebar h1 {
  margin: 0;
  color: #f5fbff;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 750;
}

.cc-standard-subtitle {
  margin-top: 6px;
  color: #7894a5;
  font-size: 12px;
}

@media (max-width: 600px) {
  .cc-standard-titlebar {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .cc-standard-titlebar h1 {
    font-size: 25px;
  }
}
