/* ================================
   Schulich ExecEd look & feel
================================ */
:root {
  --se-navy: #0b1e3b;
  --se-blue: #1e4fa3;
  --se-light: #f5f7fb;
  --se-gray: #6b7280;
  --se-border: #e5e7eb;
  --se-success: #10b981;
  --se-danger: #ef4444;
  --se-gold: #c6a15b;
  --se-text: #111827;
  --se-white: #ffffff;
}

.se-result.container-fluid {
  width: 80%;
  max-width: 1200px;
  /* adjust to taste: 1000–1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

section {
  padding-top: 20px;
}

.se-card__head {
  background-color: #1f223d;
  border-radius: 10px;
}

/* Base */
.se-result {
  background: var(--se-light);
  color: var(--se-text);
}

.se-result h1,
.se-result h2,
.se-result h3 {
  border-radius: 9px;
  background-color: #0b1e3b;
  color: var(--se-white);
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.se-note {
  color: var(--se-gray);
  font-size: 0.925rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.se-kpis .se-kpi {
  background: var(--se-white);
  border: 1px solid var(--se-border);
  border-radius: 16px;
  padding: 14px 16px;
}

.se-kpi__label {
  color: var(--se-gray);
  font-size: 0.8rem;
}

.se-kpi__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--se-blue);
}

.se-kpi__sub {
  color: var(--se-gray);
  font-size: 0.85rem;
}

/* Cards */
.se-card {
  background: var(--se-white);
  border: 1px solid var(--se-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}

.se-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.se-pill {
  background: var(--se-light);
  color: var(--se-blue);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-right: 10px;
}

/* Lists */
.se-list {
  margin: 0;
  padding-left: 1.1rem;
}

.se-list li {
  margin-bottom: 0.5rem;
}

/* Badges */
.se-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.se-badge--high {
  background: #ecfdf5;
  color: var(--se-success);
  border: 1px solid #d1fae5;
}

.se-badge--med {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
}

.se-badge--emg {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.se-badge--plan {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Charts: larger sizing + responsiveness */
.se-chart-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.chart-lg {
  max-width: 900px;
  margin-inline: auto;
}

.chart-lg canvas {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1;
}

/* Accordion */
.se-accordion details {
  border: 1px solid var(--se-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fff;
}

.se-accordion summary {
  cursor: pointer;
  list-style: none;
}

.se-accordion summary::-webkit-details-marker {
  display: none;
}

.se-acc-body {
  margin-top: 12px;
}

.se-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 8px;
}

.se-dot.good {
  background: var(--se-success);
}

.se-dot.warn {
  background: #f59e0b;
}

/* Table */
.se-table thead th {
  background: #f8fafc;
  color: #111827;
  border-bottom: 1px solid var(--se-border);
}

.se-table td,
.se-table th {
  padding: 12px 10px;
}

/* Buttons */
.se-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--se-blue);
  color: #fff;
  background: var(--se-blue);
  font-weight: 600;
  text-align: center;
}

.se-btn:hover {
  filter: brightness(0.95);
}

/* Code block */
.se-pre {
  background: #0b1220;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
}

/* Print styling (nice PDF export via browser) */
@media print {
  .se-result {
    background: #fff;
  }

  .se-card {
    box-shadow: none;
  }

  .chart-lg {
    max-width: 600px;
  }
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
