.bme-curriculum-data{margin:42px 0;color:#173653}
.bme-data-heading{max-width:820px;margin:0 0 22px}
.bme-data-eyebrow{margin:0 0 7px;color:#079b91;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.bme-data-heading h2{margin:0 0 10px;color:#123a63;font-size:clamp(25px,3vw,34px);line-height:1.18;letter-spacing:-.025em}
.bme-data-heading p{margin:0;color:#61758b;line-height:1.75}
.bme-curriculum-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.bme-curriculum-stats article{display:flex;flex-direction:column;gap:5px;border:1px solid #dbe8ee;border-radius:14px;background:#fff;padding:19px 20px;box-shadow:0 8px 22px rgba(18,58,99,.04)}
.bme-curriculum-stats strong{color:#123a63;font-size:32px;line-height:1.05;letter-spacing:-.04em}
.bme-curriculum-stats span{color:#64768a;font-size:13px}
.bme-curriculum-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bme-curriculum-groups article{display:flex;align-items:center;gap:13px;border-radius:12px;background:#f0f8f7;border:1px solid #d7ece9;padding:16px}
.bme-curriculum-groups strong{font-size:19px;color:#087e79;white-space:nowrap}
.bme-curriculum-groups span{font-size:13px;font-weight:700;color:#31516c}
.bme-course-filters{display:flex;gap:12px;margin:18px 0 14px}
.bme-course-filters label{flex:1}
.bme-course-filters input,.bme-course-filters select{width:100%;min-height:46px;border:1px solid #d5e2e9;border-radius:10px;padding:10px 13px;background:#fff;color:#173653;font:inherit}
.bme-table-wrap{max-width:100%;overflow:auto;border:1px solid #dce7ed;border-radius:13px;background:#fff}
.bme-data-table{width:100%;border-collapse:collapse;min-width:780px;font-size:13px}
.bme-data-table th{background:#103755;color:#fff;text-align:left;font-size:12px;padding:13px 14px;white-space:nowrap}
.bme-data-table td{padding:13px 14px;border-top:1px solid #e9eff3;color:#344d65;vertical-align:top}
.bme-data-table tbody tr:nth-child(even){background:#f7fafb}
.bme-data-table td code{color:#117e7b;font-weight:750;white-space:nowrap}
.bme-data-note{display:block;margin-top:5px;color:#8a5a16;font-size:11px;line-height:1.5;max-width:450px}
.bme-data-caveat{margin:16px 0;padding:14px 16px;border-left:3px solid #d4a84b;background:#fff9eb;color:#725826;font-size:12px;line-height:1.7;border-radius:0 8px 8px 0}
.bme-data-source{margin:12px 0 0;color:#8997a5;font-size:11px;line-height:1.6}
.bme-data-empty{padding:22px;border:1px dashed #cbd9e1;border-radius:12px;background:#f8fbfc;color:#64768a}
.bme-profile-data-grid,.bme-cluster-grid,.bme-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bme-profile-data-grid article,.bme-cluster-grid article,.bme-insight-grid article{background:#fff;border:1px solid #dce8ee;border-radius:14px;padding:21px;box-shadow:0 8px 24px rgba(18,58,99,.04)}
.bme-profile-data-grid article>span{display:inline-block;margin-bottom:12px;padding:6px 9px;border-radius:7px;background:#e5f7f4;color:#087f79;font-size:11px;font-weight:850}
.bme-profile-data-grid h3,.bme-cluster-grid h3,.bme-insight-grid h3{margin:0 0 9px;color:#123a63;font-size:17px;line-height:1.35}
.bme-profile-data-grid p,.bme-cluster-grid p,.bme-insight-grid p{margin:0 0 12px;color:#60748a;font-size:13px;line-height:1.7}
.bme-profile-data-grid small,.bme-cluster-grid small{display:block;color:#536b80;font-size:12px;line-height:1.65}
.bme-cluster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bme-cluster-grid article>strong{display:inline-block;margin:0 0 12px;padding:7px 10px;border-radius:8px;background:#e6f6f3;color:#07867e;font-size:14px}
.bme-cpl-data-list{display:grid;gap:10px}
.bme-cpl-data-list article{display:grid;grid-template-columns:80px 1fr;gap:15px;padding:17px 19px;border:1px solid #dce8ee;border-radius:12px;background:#fff}
.bme-cpl-data-list article>span{display:inline-flex;align-items:center;justify-content:center;align-self:start;min-height:36px;border-radius:8px;background:#e7f7f4;color:#087e79;font-size:12px;font-weight:850}
.bme-cpl-data-list p{margin:0 0 6px;color:#294962;line-height:1.7;font-size:13px}
.bme-cpl-data-list small{color:#8190a0;font-size:11px}
.bme-bok-level{margin:24px 0}
.bme-bok-level>h3{margin:0 0 12px;color:#123a63;font-size:20px}
.bme-bok-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.bme-bok-grid article{padding:17px;border:1px solid #dce8ee;border-radius:12px;background:#fff}
.bme-bok-grid article>small{color:#07867e;font-size:10px;font-weight:750;line-height:1.6}
.bme-bok-grid h4{margin:6px 0;color:#123a63;font-size:15px}
.bme-bok-grid p{margin:0 0 9px;color:#61758b;font-size:12px;line-height:1.65}
.bme-bok-grid article>small:last-child{display:block;color:#778798;font-weight:500}
.bme-program-info{display:grid;gap:13px}
.bme-program-info>article{padding:20px 22px;background:#f7fbfc;border:1px solid #dce8ee;border-radius:12px}
.bme-program-info>article h3{margin:0 0 8px;color:#123a63;font-size:18px}
.bme-program-info>article p{margin:0;color:#425d76;line-height:1.8}
.bme-dynamic-curriculum-sections{margin:34px 0}
.bme-curriculum-data .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.bme-profile-data-grid,.bme-insight-grid,.bme-bok-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bme-curriculum-groups{grid-template-columns:1fr}}
@media(max-width:620px){.bme-curriculum-stats,.bme-profile-data-grid,.bme-cluster-grid,.bme-insight-grid,.bme-bok-grid{grid-template-columns:1fr}.bme-course-filters{flex-direction:column}.bme-cpl-data-list article{grid-template-columns:58px 1fr;padding:14px}.bme-curriculum-data{margin:30px 0}}

/* OBE curriculum data components are styled in the plugin as well as the BME ITERA theme. */
.bme-cpmk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bme-cpmk-list article{background:#fff;border:1px solid #dce8ee;border-radius:13px;padding:17px 18px;box-shadow:0 7px 20px rgba(18,58,99,.035)}
.bme-cpmk-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.bme-cpmk-top strong{color:#087e79;font-size:12px;font-weight:850}
.bme-cpmk-top span{display:inline-flex;border-radius:7px;padding:5px 8px;background:#e8f7f4;color:#087e79;font-size:10px;font-weight:800}
.bme-cpmk-list article p{margin:0 0 10px;color:#344f69;font-size:13px;line-height:1.7}
.bme-cpmk-list article small{display:block;padding-top:9px;border-top:1px solid #edf1f4;color:#77889a;font-size:11px;line-height:1.6}
.bme-mlps-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 28px}
.bme-mlps-program-grid article{border:1px solid #dce8ee;border-radius:13px;padding:18px;background:#fff}
.bme-mlps-program-grid h4{margin:0 0 8px;color:#123a63;font-size:15px}
.bme-mlps-program-grid p{margin:0 0 14px;color:#62758a;font-size:12px;line-height:1.65}
.bme-mlps-program-grid article>div{display:flex;flex-wrap:wrap;gap:7px}
.bme-mlps-program-grid article>div span{padding:5px 8px;border-radius:7px;background:#eaf7f5;color:#087f79;font-size:10px;font-weight:800}
.bme-mlps-rules{margin:25px 0}
.bme-mlps-rules h3{margin:0 0 12px;color:#123a63;font-size:21px}
.bme-mlps-rules ol{margin:0;padding-left:22px;display:grid;gap:10px}
.bme-mlps-rules li{padding:12px 15px;border:1px solid #e1eaf0;border-radius:10px;background:#fff;color:#405a72;font-size:13px;line-height:1.7}
.bme-mlps-rules li strong{color:#123a63}
.bme-mlps-rules li p{margin:5px 0 0}
.bme-semester-totals{margin:24px 0 10px}
.bme-semester-totals>h3{margin:0 0 12px;color:#123a63;font-size:18px}
.bme-semester-totals>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bme-semester-totals>div>span{display:flex;flex-direction:column;gap:4px;padding:13px;border:1px solid #dce8ee;border-radius:10px;background:#f7fbfc}
.bme-semester-totals>div>span strong{color:#6b7e90;font-size:11px}
.bme-semester-totals>div>span b{color:#087f79;font-size:19px}
@media(max-width:900px){.bme-mlps-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bme-semester-totals>div{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.bme-cpmk-list,.bme-mlps-program-grid{grid-template-columns:1fr}.bme-semester-totals>div{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* BME ITERA theme v2.5.0 compatibility layer */
.bme-curriculum-data { color: var(--bme-ink, #173653); }
.bme-data-eyebrow { color: var(--bme-accent, #20b5a6); }
.bme-data-heading h2 { color: var(--bme-primary, #123a63); }
.bme-curriculum-stats article,
.bme-profile-data-grid article,
.bme-cluster-grid article,
.bme-insight-grid article {
  border-color: var(--bme-line, #dce8ee);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(12,39,65,.075);
}
.bme-data-table th { background: var(--bme-primary, #123a63); }
.bme-table-wrap { border-color: var(--bme-line, #dce8ee); border-radius: 14px; }
.bme-course-filters input:focus,
.bme-course-filters select:focus {
  outline: 3px solid rgba(32,181,166,.18);
  border-color: var(--bme-accent, #20b5a6);
}
@media (max-width: 640px) {
  .bme-course-filters { flex-direction: column; }
  .bme-data-table { min-width: 720px; }
}


/* v1.7.4 — refreshed frontend surfaces for BME ITERA Theme 2.5.1 */
.bme-curriculum-stats { gap: 18px; }
.bme-curriculum-stats article,
.bme-profile-data-grid article,
.bme-cluster-grid article,
.bme-insight-grid article {
  border: 1px solid #e1eaf0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(8,39,65,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bme-curriculum-stats article:hover,
.bme-profile-data-grid article:hover,
.bme-cluster-grid article:hover,
.bme-insight-grid article:hover {
  transform: translateY(-3px);
  border-color: #b8ded8;
  box-shadow: 0 18px 42px rgba(8,39,65,.1);
}
.bme-data-heading { margin-bottom: 26px; }
.bme-data-heading h2 { font-size: clamp(27px,3vw,36px); letter-spacing: -.04em; }
.bme-data-table th { padding: 15px 16px; background: #0b3552; }
.bme-data-table td { padding: 14px 16px; }
.bme-table-wrap { box-shadow: 0 8px 26px rgba(8,39,65,.04); }
.bme-course-filters input,
.bme-course-filters select { border-radius: 11px; }


/* ==========================================================================
   BME Academic Data v1.7.5 — Theme v2.5.4 integration
   - Uses theme color tokens in light mode.
   - Supports html[data-bme-theme="dark"] for visitor-selected dark mode.
   - Keeps all CPT, shortcode and data rendering logic untouched.
   ========================================================================== */

/* Align plugin data sections with the shared theme container without imposing
   a second fixed width when a shortcode is embedded inside an existing column. */
.bme-curriculum-data,
.bme-dynamic-curriculum-sections {
  max-width: 100%;
  min-width: 0;
  color: var(--bme-ink, #173653);
}
.bme-data-eyebrow,
.bme-cpmk-top strong,
.bme-bok-grid article > small,
.bme-mlps-rules li strong { color: var(--bme-accent, #20b5a6); }
.bme-data-heading h2,
.bme-profile-data-grid h3,
.bme-insight-grid h3,
.bme-cpl-data-list article > span,
.bme-bok-level > h3,
.bme-bok-grid h4,
.bme-program-info > article h3,
.bme-mlps-program-grid h4,
.bme-mlps-rules h3,
.bme-semester-totals > h3 {
  color: var(--bme-primary, #123a63);
}
.bme-data-table th { background: var(--bme-primary, #103755); }
.bme-data-table td code,
.bme-curriculum-groups strong { color: var(--bme-accent, #087e79); }
.bme-profile-data-grid article,
.bme-cluster-grid article,
.bme-insight-grid article,
.bme-cpmk-list article,
.bme-mlps-program-grid article,
.bme-bok-grid article,
.bme-cpl-data-list article {
  border-radius: 16px;
}
.bme-course-filters input,
.bme-course-filters select {
  color: var(--bme-ink, #173653);
  border-color: var(--bme-line, #d5e2e9);
  font-family: inherit;
}
.bme-course-filters input:focus,
.bme-course-filters select:focus {
  outline-color: color-mix(in srgb, var(--bme-accent, #20b5a6) 22%, transparent);
  border-color: var(--bme-accent, #20b5a6);
}

/* Dark mode for all public shortcodes/data views shipped by this plugin. */
html[data-bme-theme="dark"] .bme-curriculum-data,
html[data-bme-theme="dark"] .bme-dynamic-curriculum-sections {
  color: #dbe5ef;
}
html[data-bme-theme="dark"] .bme-data-heading h2,
html[data-bme-theme="dark"] .bme-profile-data-grid h3,
html[data-bme-theme="dark"] .bme-cluster-grid h3,
html[data-bme-theme="dark"] .bme-insight-grid h3,
html[data-bme-theme="dark"] .bme-bok-level > h3,
html[data-bme-theme="dark"] .bme-bok-grid h4,
html[data-bme-theme="dark"] .bme-program-info > article h3,
html[data-bme-theme="dark"] .bme-mlps-program-grid h4,
html[data-bme-theme="dark"] .bme-mlps-rules h3,
html[data-bme-theme="dark"] .bme-semester-totals > h3 {
  color: #f1f5f9;
}
html[data-bme-theme="dark"] .bme-data-heading p,
html[data-bme-theme="dark"] .bme-profile-data-grid p,
html[data-bme-theme="dark"] .bme-cluster-grid p,
html[data-bme-theme="dark"] .bme-insight-grid p,
html[data-bme-theme="dark"] .bme-profile-data-grid small,
html[data-bme-theme="dark"] .bme-cluster-grid small,
html[data-bme-theme="dark"] .bme-bok-grid p,
html[data-bme-theme="dark"] .bme-mlps-program-grid p,
html[data-bme-theme="dark"] .bme-program-info > article p,
html[data-bme-theme="dark"] .bme-cpl-data-list p,
html[data-bme-theme="dark"] .bme-data-source {
  color: #aebed0;
}
html[data-bme-theme="dark"] .bme-curriculum-stats article,
html[data-bme-theme="dark"] .bme-profile-data-grid article,
html[data-bme-theme="dark"] .bme-cluster-grid article,
html[data-bme-theme="dark"] .bme-insight-grid article,
html[data-bme-theme="dark"] .bme-cpmk-list article,
html[data-bme-theme="dark"] .bme-mlps-program-grid article,
html[data-bme-theme="dark"] .bme-bok-grid article,
html[data-bme-theme="dark"] .bme-cpl-data-list article,
html[data-bme-theme="dark"] .bme-program-info > article,
html[data-bme-theme="dark"] .bme-mlps-rules li,
html[data-bme-theme="dark"] .bme-semester-totals > div > span {
  color: #dbe5ef;
  border-color: #2b3e53;
  background: #111e30;
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}
html[data-bme-theme="dark"] .bme-curriculum-stats strong,
html[data-bme-theme="dark"] .bme-semester-totals > div > span b {
  color: #f8fafc;
}
html[data-bme-theme="dark"] .bme-curriculum-stats span,
html[data-bme-theme="dark"] .bme-curriculum-groups span,
html[data-bme-theme="dark"] .bme-cpmk-list article p,
html[data-bme-theme="dark"] .bme-cpmk-list article small,
html[data-bme-theme="dark"] .bme-mlps-rules li {
  color: #c2cfdd;
}
html[data-bme-theme="dark"] .bme-curriculum-groups article,
html[data-bme-theme="dark"] .bme-profile-data-grid article > span,
html[data-bme-theme="dark"] .bme-cluster-grid article > strong,
html[data-bme-theme="dark"] .bme-cpmk-top span,
html[data-bme-theme="dark"] .bme-mlps-program-grid article > div span,
html[data-bme-theme="dark"] .bme-cpl-data-list article > span {
  border-color: #28534f;
  color: #99f6e4;
  background: #123b3b;
}
html[data-bme-theme="dark"] .bme-table-wrap {
  border-color: #2b3e53;
  background: #111e30;
}
html[data-bme-theme="dark"] .bme-data-table {
  color: #dbe5ef;
  background: #111e30;
}
html[data-bme-theme="dark"] .bme-data-table th { background: #172f47; }
html[data-bme-theme="dark"] .bme-data-table td {
  color: #c8d4e1;
  border-top-color: #2a3b50;
}
html[data-bme-theme="dark"] .bme-data-table tbody tr:nth-child(even) {
  background: #17263a;
}
html[data-bme-theme="dark"] .bme-course-filters input,
html[data-bme-theme="dark"] .bme-course-filters select {
  color: #e2e8f0;
  border-color: #34475d;
  background: #101c2c;
}
html[data-bme-theme="dark"] .bme-data-note {
  color: #f5d58b;
}
html[data-bme-theme="dark"] .bme-data-caveat {
  color: #f5d58b;
  border-left-color: #d6a84b;
  background: #332b1b;
}
html[data-bme-theme="dark"] .bme-data-empty {
  color: #cbd5e1;
  border-color: #3b4d61;
  background: #142338;
}
html[data-bme-theme="dark"] .bme-bok-grid article > small,
html[data-bme-theme="dark"] .bme-cpl-data-list small,
html[data-bme-theme="dark"] .bme-semester-totals > div > span strong {
  color: #9fb1c4;
}
