/* ==========================================================================
   Command Center — the page an organisation opens first.
   Built on the command canvas defined in ilms-theme.css.
   ========================================================================== */
.cc { max-width: 1480px; margin: 0 auto; padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 20px; }

.cc-live {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25);
}
.cc-live__dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: cc-pulse 2.2s infinite; }
@keyframes cc-pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---- Hero ------------------------------------------------------------------ */
.cc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px;
  padding: 40px 44px; border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(560px 300px at 92% 20%, rgba(59, 130, 246, 0.3), transparent 70%),
    linear-gradient(135deg, #12274f 0%, #0c1a38 58%, #0a1530 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cc-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 380px at 80% 45%, #000, transparent 78%);
          mask-image: radial-gradient(720px 380px at 80% 45%, #000, transparent 78%);
}
.cc-hero__title {
  margin: 14px 0 6px; font: 700 clamp(30px, 3.1vw, 46px)/1.05 var(--font-display); letter-spacing: -0.03em; color: #f6f7f9;
}
.cc-hero__name { color: #60a5fa; }
.cc-hero__lede { margin: 0; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.25; color: #d6dbe3; max-width: 34ch; }
.cc-hero__lede b { font-weight: 400; color: #fff; }
.cc-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.cc-ready { display: flex; align-items: center; gap: 28px; }
.cc-ring { position: relative; width: 216px; height: 216px; flex: none; }
.cc-ring svg { width: 100%; height: 100%; overflow: visible; }
.cc-ring__orbit { fill: none; stroke: rgba(201, 211, 225, 0.22); stroke-width: 1; }
.cc-ring__track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 14; }
.cc-ring__value {
  fill: none; stroke: url(#ccRingGrad); stroke-width: 14; stroke-linecap: round;
  transform: rotate(-90deg); transform-origin: 120px 120px;
  stroke-dasharray: 603.2; stroke-dashoffset: 603.2;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cc-ring__sat { transform-origin: 120px 120px; animation: cc-orbit 22s linear infinite; }
.cc-ring__target { transform-origin: 120px 120px; opacity: 0; transition: opacity 0.6s ease 1.2s; }
.cc-ring__target line { stroke: #fbbf24; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.8)); }
.cc-ring__sat circle { fill: #dbeafe; filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.9)); }
@keyframes cc-orbit { to { transform: rotate(360deg); } }
.cc-ring__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cc-ring__num { font: 700 62px/1 var(--font-display); letter-spacing: -0.04em; color: #fff; }
.cc-ring__num small { font-size: 24px; font-weight: 600; color: #93c5fd; margin-left: 2px; }
.cc-ring__cap { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #98a1b0; }
.cc-ready__text { max-width: 250px; }
.cc-ready__line { margin-top: 10px; font-size: 17px; line-height: 1.35; color: #d6dbe3; }
.cc-ready__line b { color: #fff; font-weight: 700; }
.cc-ready__gap { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-ready__how { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #98a1b0; }

/* ---- Headline numbers --------------------------------------------------------- */
.cc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cc-kpi {
  position: relative; overflow: hidden; display: block; text-decoration: none; color: inherit;
  padding: 20px 22px 18px; border-radius: 20px;
  background: var(--ix-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cc-kpi:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45); }
.cc-kpi::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tone); opacity: 0.9; }
.cc-kpi__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-kpi__label { font-size: 13px; font-weight: 600; color: #c2c9d4; }
.cc-kpi__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); }
.cc-kpi__value { margin-top: 12px; font: 700 40px/1 var(--font-display); letter-spacing: -0.035em; color: #fff; }
.cc-kpi__value small { font-size: 16px; font-weight: 600; color: #98a1b0; letter-spacing: 0; margin-left: 6px; }
.cc-kpi__foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.cc-kpi__note { font-size: 12.5px; line-height: 1.35; color: #a8b0bd; }
.cc-kpi__note b { color: #eceff4; font-weight: 600; }
.cc-kpi__note .up { color: #6ee7b7; font-weight: 700; }
.cc-kpi__note .down { color: #fca5a5; font-weight: 700; }
.cc-spark { flex: none; width: 92px; height: 28px; }
.cc-spark path { fill: none; stroke: var(--tone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc-spark .area { fill: color-mix(in srgb, var(--tone) 16%, transparent); stroke: none; }

/* ---- Panels -------------------------------------------------------------------- */
.cc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.cc-span-4 { grid-column: span 4; } .cc-span-5 { grid-column: span 5; } .cc-span-6 { grid-column: span 6; }
.cc-span-7 { grid-column: span 7; } .cc-span-8 { grid-column: span 8; }
.cc-panel { padding: 22px 24px 24px; display: flex; flex-direction: column; min-width: 0; }
.cc-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cc-panel__head h2 { margin: 0; font: 700 18px/1.2 var(--font-display); letter-spacing: -0.015em; color: #f6f7f9; }
.cc-panel__head p { margin: 5px 0 0; font-size: 13px; line-height: 1.4; color: #98a1b0; }
.cc-link { flex: none; font-size: 13px; font-weight: 600; color: #93c5fd; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding-top: 3px; }
.cc-link:hover { color: #bfdbfe; }
.cc-link i { font-size: 11px; transition: transform 0.15s ease; }
.cc-link:hover i { transform: translateX(3px); }


.cc-list { display: flex; flex-direction: column; }
.cc-row { display: flex; align-items: center; gap: 13px; padding: 11px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.14s ease; }
.cc-row + .cc-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cc-row:hover { background: rgba(255, 255, 255, 0.045); }
.cc-row__main { min-width: 0; flex: 1; }
.cc-row__title { display: block; font-size: 14px; font-weight: 600; color: #f3f5f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-row__sub { display: block; margin-top: 3px; font-size: 12.5px; color: #a8b0bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-row__side { flex: none; display: flex; align-items: center; gap: 8px; }
.cc-more { margin-top: 12px; font-size: 12.5px; color: #98a1b0; }
.cc-more a { color: #93c5fd; text-decoration: none; font-weight: 600; }

.cc-date { flex: none; width: 46px; height: 50px; border-radius: 12px; display: grid; place-content: center; text-align: center; background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(96, 165, 250, 0.26); }
.cc-date b { display: block; font: 700 18px/1 var(--font-display); color: #fff; }
.cc-date span { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #93c5fd; }

/* pipeline */
.cc-pipe { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.08); gap: 2px; }
.cc-pipe span { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cc-pipe__legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cc-pipe__legend div { min-width: 0; }
.cc-pipe__legend b { display: block; font: 700 22px/1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.cc-pipe__legend span { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11.5px; color: #a8b0bd; white-space: nowrap; }
.cc-pipe__legend i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.cc-plans { margin-top: 18px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.07); display: flex; flex-direction: column; }
.cc-plan { display: block; padding: 12px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: inherit; }
.cc-plan:hover { background: rgba(255, 255, 255, 0.045); }
.cc-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cc-plan__title { font-size: 13.5px; font-weight: 600; color: #f3f5f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-plan__meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: #98a1b0; }

/* charts */
.cc-stats { flex: none; display: flex; gap: 22px; }
.cc-stats div { text-align: right; }
.cc-stats b { display: block; font: 700 22px/1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.cc-stats span { display: block; margin-top: 5px; font-size: 11.5px; color: #98a1b0; }
.cc-chart { position: relative; height: 270px; }
.cc-donut { position: relative; height: 190px; }
.cc-donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.cc-donut__center b { font: 700 30px/1 var(--font-display); letter-spacing: -0.03em; color: #fff; }
.cc-donut__center span { margin-top: 4px; font-size: 11.5px; color: #98a1b0; }
.cc-legend { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.cc-legend div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #c2c9d4; min-width: 0; }
.cc-legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.cc-legend span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-legend b { color: #fff; font-weight: 600; }

/* heat matrix */
.cc-scale { flex: none; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #98a1b0; padding-top: 4px; }
.cc-scale i { width: 96px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #991b1b, #92400e, #065f46); }
.cc-heat { overflow-x: auto; }
.cc-heat table { width: 100%; border-collapse: separate; border-spacing: 5px; table-layout: fixed; min-width: 620px; }
.cc-heat th { font-size: 11.5px; font-weight: 600; color: #a8b0bd; padding: 0 0 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-heat th:first-child { text-align: left; width: 24%; }
.cc-heat th.is-total { color: #c2c9d4; width: 13%; }
.cc-heat td { padding: 0; }
.cc-heat__dept { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-right: 6px; }
.cc-heat__dept b { font-size: 13.5px; font-weight: 600; color: #f3f5f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-heat__dept span { flex: none; font-size: 11.5px; color: #98a1b0; }
.cc-cell { height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; cursor: default; transition: transform 0.14s ease, box-shadow 0.14s ease; }
.cc-cell:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
.cc-cell--none { background: repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.06) 0 6px, transparent 6px 12px); color: #6f7886; font-weight: 500; }
.cc-cell--total { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11); }

/* credentials */
.cc-cred { display: flex; flex-direction: column; gap: 12px; }
.cc-cred__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 40px; align-items: center; gap: 12px; }
.cc-cred__label { font-size: 12.5px; color: #c2c9d4; white-space: nowrap; }
.cc-cred__n { text-align: right; font: 700 16px/1 var(--font-display); color: #fff; }
.cc-cred__cta { margin-top: 8px; padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.45; color: #d6dbe3; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.22); }
.cc-cred__cta b { color: #fcd34d; }
.cc-cred__cta a { display: inline-block; margin-top: 8px; color: #93c5fd; font-weight: 600; text-decoration: none; }

/* courses + activity */
.cc-courses { display: flex; flex-direction: column; gap: 11px; }
.cc-course { display: grid; grid-template-columns: minmax(0, 1fr) 120px 34px; align-items: center; gap: 12px; }
.cc-course__name { font-size: 13.5px; font-weight: 600; color: #f3f5f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-course__name small { margin-left: 8px; font-size: 11.5px; font-weight: 500; color: #98a1b0; }
.cc-course b { text-align: right; font-size: 13.5px; color: #fff; }
.cc-recent { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cc-act { display: flex; gap: 11px; padding: 9px 0; font-size: 13px; line-height: 1.4; color: #c2c9d4; }
.cc-act i { flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16); }
.cc-act time { display: block; margin-top: 2px; font-size: 11.5px; color: #8b94a3; }

.cc-foot { display: flex; justify-content: space-between; gap: 16px; padding: 4px 4px 0; font-size: 12px; color: #8b94a3; }
.cc-foot a { color: #98a1b0; text-decoration: none; }
.cc-foot a:hover { color: #c2c9d4; }

.cc-skel { border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06)); background-size: 200% 100%; animation: cc-shimmer 1.4s infinite; }
@keyframes cc-shimmer { to { background-position: -200% 0; } }

/* ---- Responsive ------------------------------------------------------------------ */
@media (max-width: 1360px) {
  .cc-ready__how { display: none; }
  .cc-ring { width: 188px; height: 188px; }
  .cc-ring__num { font-size: 54px; }
}
@media (max-width: 1180px) {
  .cc-hero { grid-template-columns: 1fr; padding: 32px 28px; }
  .cc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-span-4, .cc-span-5, .cc-span-6, .cc-span-7, .cc-span-8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .cc { padding: 16px 14px 28px; gap: 14px; }
  .cc-hero { padding: 24px 20px; border-radius: 20px; }
  .cc-ready { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cc-kpis { grid-template-columns: 1fr; }
  .cc-panel { padding: 18px 16px 20px; }
  .cc-panel__head { flex-direction: column; }
  .cc-pipe__legend { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .cc-legend { grid-template-columns: 1fr; }
  .cc-stats div { text-align: left; }
  .cc-course { grid-template-columns: minmax(0, 1fr) 70px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-ring__sat, .cc-live__dot, .cc-skel { animation: none; }
  .cc-ring__value, .cc-pipe span { transition: none; }
}

/* The heat matrix is a figure, not a data table: its column heads stay light. */
.cc .cc-heat table th { background: none; letter-spacing: 0; font: 600 11.5px/1.2 var(--font-base); color: var(--ix-text-3); }
.cc .cc-heat table td { border: 0; }

/* ---- First run: what a new organisation still has to put in ----------------- */
.cc-setup { padding: 22px 24px; }
.cc-setup[hidden] { display: none; }
.cc-setup__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cc-setup__head h2 { margin: 6px 0 0; font: 700 20px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ix-text); }
.cc-setup__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cc-setup__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ix-line); }
.cc-setup__steps li > div { flex: 1; min-width: 0; }
.cc-setup__steps b { display: block; font: 600 14.5px/1.3 var(--font-base); color: var(--ix-text); }
.cc-setup__steps p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--ix-text-3); }
.cc-setup__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-base); color: var(--ix-text-2); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--ix-line-strong); }
.cc-setup__steps li.is-next .cc-setup__n { color: #fff; background: #2563eb; border-color: transparent; }
.cc-setup__steps li.is-done .cc-setup__n { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.3); }
.cc-setup__steps li.is-done b { color: var(--ix-text-3); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.cc-setup__steps li.is-done p { display: none; }
@media (max-width: 640px) { .cc-setup__steps li { flex-wrap: wrap; } .cc-setup__head .ix-bar { display: none; } }

/* ==========================================================================
   Enterprise pass — a compact frame, priorities with a next step, charts
   that can be read at a glance. No glow, no lift, no decoration.
   ========================================================================== */
.cc { padding: 20px 24px 36px; gap: 16px; }

/* Hero: a third shorter, three actions on one row. */
.cc-hero { gap: 28px; padding: 28px 30px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(120deg, #11254c 0%, #0c1a38 70%); box-shadow: var(--ix-shadow); }
.cc-hero__grid { display: none; }
.cc-hero__title { margin: 8px 0 4px; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.cc-hero__lede { max-width: 62ch; font: 400 15px/1.45 var(--font-base); font-style: normal; color: #cbd5e6; }
.cc-hero__lede b { font-weight: 600; color: #fff; }
.cc-hero__actions { flex-wrap: nowrap; gap: 8px; margin-top: 16px; }
.cc-hero__actions .ix-btn { height: 36px; padding: 0 14px; font-size: 13.5px; }
.cc-ready { gap: 20px; }
.cc-ring { width: 148px; height: 148px; }
.cc-ring__orbit, .cc-ring__sat { display: none; }
.cc-ring__value { stroke: #3b82f6; stroke-width: 16; }
.cc-ring__track { stroke-width: 16; }
.cc-ring__target line { filter: none; }
.cc-ring__num { font-size: 40px; letter-spacing: -0.03em; }
.cc-ring__num small { font-size: 16px; color: #a9c6ff; }
.cc-ring__cap { margin-top: 3px; font-size: 9.5px; letter-spacing: 0.14em; color: #a6afbd; }
.cc-ready__text { max-width: 270px; }
.cc-ready__line { margin-top: 6px; font-size: 14.5px; }
.cc-ready__gap { margin-top: 8px; }
.cc-ready__how { display: none; }

/* Headline numbers: the figure is the loudest thing on the card. */
.cc-kpis { gap: 12px; }
.cc-kpi { padding: 16px 20px; border-radius: 14px; box-shadow: var(--ix-shadow); transition: border-color 0.14s ease, background 0.14s ease; }
.cc-kpi::before { content: none; }
.cc-kpi:hover { transform: none; box-shadow: var(--ix-shadow); border-color: rgba(255, 255, 255, 0.18); background: #151920; }
.cc-kpi__icon { display: none; }
.cc-kpi__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: #cbd2dc; }
.cc-kpi__label::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.cc-kpi__value { margin-top: 8px; font-size: 30px; letter-spacing: -0.03em; }
.cc-kpi__value small { font-size: 14px; }
.cc-kpi__foot { margin-top: 6px; min-height: 24px; }
.cc-kpi__note { font-size: 12.5px; color: #a6afbd; }
/* Importance is contrast: a brighter surface and a coloured figure. */
.cc-kpi.is-alert { background: #1a1517; border-color: rgba(248, 113, 113, 0.32); }
.cc-kpi.is-alert .cc-kpi__value { color: #fecaca; }
.cc-kpi.is-loading { pointer-events: none; }
.cc-kpi.is-loading .ix-skel + .ix-skel { margin-top: 12px; }

/* Priorities: what needs doing, and the button that starts it. */
.cc-prio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cc-prio:empty { display: none; }
.cc-alert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 16px 20px; border-radius: 14px; background: var(--ix-card); border: 1px solid var(--ix-line); box-shadow: var(--ix-shadow); }
.cc-alert__icon { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.cc-alert__level { font: 600 11px/1.2 var(--font-base); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone); }
.cc-alert__title { grid-column: 2; margin: 0; font: 600 14.5px/1.35 var(--font-base); color: #f3f5f8; }
.cc-alert__text { grid-column: 2; margin: 0; font-size: 12.5px; line-height: 1.45; color: #a6afbd; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-alert__cta { grid-column: 2; justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-base); color: #8ab4ff; text-decoration: none; }
.cc-alert__cta:hover { color: #fff; }
.cc-alert__cta i { font-size: 10px; transition: transform 0.14s ease; }
.cc-alert__cta:hover i { transform: translateX(3px); }
.cc-alert--bad { --tone: #f87171; }
.cc-alert--warn { --tone: #fbbf24; }
.cc-alert--info { --tone: #60a5fa; }
.cc-alert--good { --tone: #34d399; grid-column: 1 / -1; }

/* Panels */
.cc-grid { gap: 12px; }
.cc-panel { padding: 20px 22px 22px; }
.cc-panel__head { margin-bottom: 16px; }
.cc-panel__head h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cc-panel__head p { margin-top: 4px; font-size: 12.5px; color: #a6afbd; }
.cc-row { border-radius: 10px; }
.cc-row__sub, .cc-plan__meta, .cc-stats span, .cc-donut__center span, .cc-more, .cc-scale, .cc-heat__dept span, .cc-course__name small, .cc-foot, .cc-foot a { color: #a6afbd; }
.cc-act i { box-shadow: none; }
.cc-act time { color: #a6afbd; }
.cc-date { border-radius: 10px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
.cc-date span { color: #a6afbd; }
.cc-cell { height: 34px; border-radius: 8px; font-size: 12.5px; }
.cc-cell:hover { transform: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55) inset; }
.cc-cred__cta { border-radius: 10px; }
.cc-chart { height: 280px; }
.cc-heat__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12px; color: #a6afbd; }
.cc-heat__key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.cc .ix-card { border-radius: 14px; box-shadow: var(--ix-shadow); }
.cc-setup { padding: 20px 22px; }

@media (max-width: 1360px) { .cc-ring { width: 120px; height: 120px; } .cc-ring__num { font-size: 32px; } }
@media (max-width: 1180px) { .cc-hero { padding: 22px 24px; } .cc-prio { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cc-hero__actions { flex-wrap: wrap; } .cc-ready { flex-direction: row; align-items: center; } }
