:root {
  --pdu-navy: #124265;
  --pdu-blue: #2487ce;
  --pdu-blue-dark: #196fa9;
  --pdu-text: #3d5a73;
  --pdu-border: #cde3f5;
  --pdu-pale: #edf4fb;
  --pdu-pale-strong: #e0eff9;
  --pdu-white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--pdu-text);
  background: var(--pdu-white);
}

a { color: var(--pdu-blue); text-decoration: none; }
a:hover { color: var(--pdu-blue-dark); }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }

.pdu-layout { display: flex; min-height: 100vh; }
.pdu-content-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.pdu-sidebar {
  width: 286px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  background: var(--pdu-pale);
  border-right: 1px solid var(--pdu-border);
  transition: width 0.22s ease, left 0.28s ease;
}

.pdu-sidebar::-webkit-scrollbar { display: none; }

.pdu-sidebar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 18px 15px 16px;
  background: var(--pdu-pale-strong);
  border-bottom: 1px solid #bdd8ef;
}

.pdu-sidebar-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pdu-navy);
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.pdu-sidebar-title:hover { color: var(--pdu-blue); }
.pdu-sidebar-mark { color: var(--pdu-blue); font-size: 19px; }

.pdu-sidebar-close,
.pdu-topbar-toggle {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--pdu-blue);
  cursor: pointer;
}

.pdu-sidebar-close { padding: 0 0 0 8px; font-size: 17px; }
.pdu-sidebar-close:hover, .pdu-topbar-toggle:hover { color: var(--pdu-navy); }
.pdu-sidebar-nav { padding: 8px 0 24px; }

.pdu-sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 15px;
  border-left: 3px solid transparent;
  color: var(--pdu-text);
  font-size: 13.5px;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease;
}

.pdu-sidebar-link:hover { color: var(--pdu-navy); background: #d8ecf8; }
.pdu-sidebar-link.active { color: var(--pdu-navy); background: #c8e3f5; border-left-color: var(--pdu-blue); font-weight: 700; }
.pdu-sidebar-link.disabled { cursor: default; opacity: 0.58; }
.pdu-sidebar-icon { min-width: 18px; padding-top: 1px; color: var(--pdu-blue); }
.pdu-sidebar-state { margin-left: auto; padding-top: 2px; color: #708aa0; font-size: 11px; }
.pdu-guide-link { color: var(--pdu-navy); font-weight: 700; }
.pdu-sidebar-divider { height: 1px; margin: 12px 12px 0; background: #bdd8ef; }
.pdu-sidebar-label { padding: 9px 16px 5px; color: #638daa; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.pdu-sidebar-badge { margin-left: auto; padding: 1px 6px; border-radius: 10px; background: var(--pdu-border); color: var(--pdu-blue); font-size: 9px; font-weight: 700; text-transform: uppercase; }

.pdu-topbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 47px;
  padding: 10px 32px;
  border-bottom: 2px solid var(--pdu-border);
  background: var(--pdu-white);
  color: #72879a;
  font-size: 13px;
}

.pdu-topbar a { font-weight: 500; }
.pdu-topbar-home { font-weight: 700 !important; }
.pdu-topbar-divider { color: #abc0d0; }
.pdu-topbar-current { color: var(--pdu-text); }
.pdu-topbar-toggle { padding: 0 10px 0 0; font-size: 20px; line-height: 1; }

.pdu-content { width: 100%; max-width: 1020px; padding: 42px 48px 68px; flex: 1; }
.pdu-page-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--pdu-border); }
.pdu-page-label { margin: 0 0 7px; color: var(--pdu-blue); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.pdu-page-header h1 { margin: 0; color: var(--pdu-navy); font-size: 2.15rem; font-weight: 700; line-height: 1.25; }
.pdu-page-lede { max-width: 820px; margin: 13px 0 0; color: #58738a; font-size: 1.08rem; line-height: 1.7; }

.pdu-page-body p,
.pdu-page-body li { font-size: 1.03rem; line-height: 1.78; }
.pdu-page-body p { margin-bottom: 1.2rem; }
.pdu-page-body ul, .pdu-page-body ol { margin: 0 0 1.35rem; padding-left: 1.5rem; }
.pdu-page-body li { margin-bottom: 0.48rem; }
.pdu-page-body h2 { margin: 2.65rem 0 0.85rem; color: var(--pdu-navy); font-size: 1.48rem; font-weight: 700; }
.pdu-page-body h3 { margin: 1.85rem 0 0.65rem; color: var(--pdu-blue-dark); font-size: 1.15rem; font-weight: 700; }
.pdu-page-body h4 { margin: 1.5rem 0 0.55rem; color: var(--pdu-navy); font-size: 1.02rem; font-weight: 700; }
.pdu-page-body strong { color: var(--pdu-navy); }
.pdu-page-body code { padding: 0.12rem 0.35rem; border-radius: 4px; background: #edf4fb; color: #9c3d4a; font-size: 0.9em; }

.pdu-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 1.4rem 0 2rem;
}

.pdu-summary-card { padding: 20px; border: 1px solid var(--pdu-border); border-radius: 8px; background: #f8fbfe; }
.pdu-summary-card .value { display: block; color: var(--pdu-navy); font-family: "Raleway", sans-serif; font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.pdu-summary-card .caption { display: block; margin-top: 6px; color: #647f94; font-size: 0.86rem; line-height: 1.4; }

.pdu-callout { margin: 1.6rem 0; padding: 18px 20px; border-left: 4px solid var(--pdu-blue); border-radius: 0 7px 7px 0; background: #eef7fd; }
.pdu-callout.warning { border-left-color: #e0a800; background: #fff8df; }
.pdu-callout.success { border-left-color: #23945e; background: #edf9f3; }
.pdu-callout p:last-child { margin-bottom: 0; }
.pdu-callout-title { display: block; margin-bottom: 4px; color: var(--pdu-navy); font-weight: 700; }

.pdu-table-wrap { width: 100%; margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--pdu-border); border-radius: 7px; }
.pdu-table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; font-size: 0.92rem; }
.pdu-table th { padding: 11px 13px; background: var(--pdu-navy); color: #fff; font-family: "Raleway", sans-serif; font-weight: 600; text-align: left; }
.pdu-table td { padding: 11px 13px; border-bottom: 1px solid #dceaf5; vertical-align: top; line-height: 1.55; }
.pdu-table tr:last-child td { border-bottom: 0; }
.pdu-table tbody tr:nth-child(even) td { background: #f8fbfe; }
.pdu-table .pdu-total-row td { background: var(--pdu-pale-strong) !important; color: var(--pdu-navy); font-weight: 700; }

.pdu-copy-block { position: relative; margin: 1.4rem 0; padding: 20px; overflow-x: auto; border-radius: 7px; background: #102f46; color: #eef7fd; font-family: Consolas, "Courier New", monospace; font-size: 0.9rem; line-height: 1.65; white-space: pre-wrap; }
.pdu-course-cta { display: inline-flex; align-items: center; gap: 8px; margin: 0.5rem 0 1rem; padding: 11px 20px; border-radius: 5px; background: var(--pdu-blue); color: #fff; font-family: "Raleway", sans-serif; font-weight: 600; }
.pdu-course-cta:hover { background: var(--pdu-navy); color: #fff; }
.pdu-student-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 1.6rem 0 2.4rem; overflow: hidden; border: 1px solid var(--pdu-border); border-radius: 8px; background: var(--pdu-border); }
.pdu-student-path-step { display: flex; gap: 11px; padding: 16px; background: #fff; color: #647f94; font-size: 0.84rem; line-height: 1.45; }
.pdu-student-path-step > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pdu-student-path-step strong { color: var(--pdu-navy); font-family: "Raleway", sans-serif; font-size: 0.91rem; }
.pdu-student-path-number { display: flex; flex: 0 0 25px; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: var(--pdu-pale-strong); color: var(--pdu-blue-dark); font-weight: 700; }
.pdu-source-note { color: #71879a; font-size: 0.83rem !important; }

.pdu-footer { padding: 17px 28px; border-top: 1px solid var(--pdu-border); background: #f4f9fd; color: #668198; font-size: 13px; }
.pdu-footer-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

.pdu-sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.45); }
.pdu-sidebar-overlay.visible { display: block; }
#pduLayout.sidebar-collapsed .pdu-sidebar { width: 4px; overflow: hidden; border-right: 0; background: var(--pdu-border); }

.pdu-back-to-top { position: fixed; right: 15px; bottom: 15px; z-index: 996; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; visibility: hidden; opacity: 0; background: var(--pdu-blue); color: #fff; transition: all 0.25s; }
.pdu-back-to-top.active { visibility: visible; opacity: 1; }
.pdu-back-to-top:hover { background: var(--pdu-navy); color: #fff; }
.pdu-back-to-top i { font-size: 27px; }

#cookie-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; right: 0; bottom: 0; left: 0; z-index: 9999; padding: 12px 24px; background: var(--pdu-navy); box-shadow: 0 -2px 10px rgba(0,0,0,0.2); color: #fff; font-size: 13px; }
#cookie-banner span { flex: 1; }
#cookie-banner button { padding: 7px 20px; border: 0; border-radius: 4px; background: var(--pdu-blue); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
#cookie-banner button:hover { background: #fff; color: var(--pdu-navy); }

@media (max-width: 991px) {
  .pdu-sidebar { width: 235px; }
  .pdu-content { padding: 34px 30px 60px; }
  .pdu-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdu-student-path { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .pdu-sidebar { position: fixed; left: -296px; width: 286px; box-shadow: none; }
  .pdu-sidebar.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.18); }
  .pdu-topbar { padding: 10px 18px; }
  .pdu-topbar-current { display: none; }
  .pdu-content { padding: 27px 20px 52px; }
  .pdu-page-header h1 { font-size: 1.65rem; }
  .pdu-page-lede { font-size: 1rem; }
  .pdu-summary-grid { grid-template-columns: 1fr; gap: 10px; }
  .pdu-summary-card { padding: 16px; }
  .pdu-page-body p, .pdu-page-body li { font-size: 1rem; }
  .pdu-footer { padding-bottom: 68px; }
  #cookie-banner { align-items: flex-start; padding: 11px 14px; }
}
