

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1C2833;
  background: #F8F9FA;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: #003C6C; text-decoration: none; }
a:hover { text-decoration: underline; }

button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4 { line-height: 1.3; }



.view {
  display: none;
}
.view.active {
  display: block;
}



.navbar {
  background: #003C6C;
  color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.2s;
  padding: 6px 4px;
  margin: -6px -4px;
}

.navbar-brand:hover {
  opacity: 0.85;
}

.navbar-brand:focus-visible {
  outline: 2px solid #FDC700;
  outline-offset: 3px;
}

.navbar-brand .logo-text {
  color: #FDC700;
  font-weight: 700;
}

.navbar-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.navbar-links a,
.navbar-links button {
  color: white;
  background: none;
  border: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.navbar-links a:hover,
.navbar-links button:hover {
  opacity: 1;
  text-decoration: none;
}

.navbar-links button.nav-review-link {
  background: #FDC700;
  color: #003C6C;
  opacity: 1;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(253, 199, 0, 0.28);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.navbar-links button.nav-review-link:hover,
.navbar-links button.nav-review-link:focus {
  background: #FFE066;
  color: #003C6C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 199, 0, 0.42);
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}



.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #003C6C 0%, #005A9E 50%, #003C6C 100%);
  color: white;
}

.landing-content {
  max-width: 700px;
}

.landing h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing .subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 12px;
  color: #FDC700;
  font-weight: 600;
}

.landing .tagline {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-start {
  background: #FDC700;
  color: #003C6C;
  border: none;
  padding: 16px 48px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(253, 199, 0, 0.4);
}
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 199, 0, 0.6);
  background: #ffe033;
}

.landing-mode-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 14px;
  margin: 0 auto;
  max-width: 520px;
  align-items: start;
}

.landing-mode-choices .btn-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  min-height: 96px;
  width: 100%;
  text-align: center;
}

.btn-mode-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #003C6C;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.18);
}

.btn-mode-secondary:hover {
  background: white;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.28);
}

.mode-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.mode-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.78;
}

.landing-continue {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.btn-continue {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-continue:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.resume-import-hint {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.72;
  max-width: 420px;
}

.btn-start-legacy {
  display: none;
}

.constructor-rules-list {
  margin: 12px 0 0 20px;
  padding: 0;
}

.constructor-rules-list li {
  margin-bottom: 9px;
}


.landing-guide {
  width: 100%;
  max-width: 880px;
  margin: 64px auto 0;
  text-align: left;
}

.guide-section {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 36px;
}

.guide-section:first-child {
  padding-top: 0;
  border-top: none;
}

.guide-heading {
  font-size: 22px;
  font-weight: 700;
  color: #FDC700;
  margin-bottom: 18px;
}

.guide-lead {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FDC700;
  color: #003C6C;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.82;
}

.guide-grid {
  display: grid;
  gap: 16px;
}

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

.guide-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.guide-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.guide-card-accent {
  border-color: rgba(253, 199, 0, 0.55);
  background: rgba(253, 199, 0, 0.08);
}

.guide-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #FDC700;
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.85;
}

.guide-card p + p {
  margin-top: 10px;
}

.guide-notes {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-notes li {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}




.landing-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand .logo-text {
  color: #FDC700;
  font-weight: 800;
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: #FDC700;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col li,
.footer-note {
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.78;
}

.footer-col a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-col a:hover {
  color: #FDC700;
  border-bottom-color: #FDC700;
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: white;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-link-btn:hover {
  color: #FDC700;
  border-bottom-color: #FDC700;
}

.footer-note {
  margin-top: 10px;
}

.footer-legal {
  margin-top: 26px;
  padding-bottom: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0.6;
}


.landing { position: relative; }

.landing-content,
.landing-guide { position: relative; z-index: 1; }

.hero-forest {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 680px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-forest .tree {
  position: absolute;
  bottom: 0;
  image-rendering: pixelated;
  opacity: 1;
  transform-origin: 50% 100%;
  animation: tree-sway 11s ease-in-out infinite alternate;
}

.hero-forest .tree-left      { left: -5%; width: 500px; }
.hero-forest .tree-right     { right: -5%; width: 500px; }
.hero-forest .tree-far-left  { left: 15%; width: 200px; top: 470px; }
.hero-forest .tree-far-right { right: 15%; width: 200px; top: 475px; }

@keyframes tree-sway {
  from { transform: rotate(-0.7deg); }
  to   { transform: rotate(0.7deg); }
}

.guide-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-slug {
  flex: 0 0 auto;
  width: 54px;
  height: auto;
  image-rendering: pixelated;
}


@media (prefers-reduced-motion: reduce) {
  .hero-forest .tree {
    animation: none;
  }
}


.wizard-container {
  max-width: 680px;
  margin: 40px auto;
  padding: 0 20px;
}

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  gap: 8px;
}

.progress-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 400px;
}

.progress-bar-bg {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #DEE2E6;
  transform: translateY(-50%);
  border-radius: 2px;
}

.progress-fill {
  position: absolute;
  top: 50%;
  left: 20px;
  height: 3px;
  background: #003C6C;
  transform: translateY(-50%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-dots {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid #DEE2E6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  transition: all 0.3s;
}
.progress-dot.active {
  border-color: #003C6C;
  color: #003C6C;
  background: #E3F2FD;
}
.progress-dot.completed {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.wizard-step {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.wizard-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
  color: #003C6C;
  margin-bottom: 4px;
  font-size: 24px;
}

.wizard-step .step-desc {
  color: #666;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.math-readiness-group {
  border: 0;
  margin-inline: 0;
  min-width: 0;
  padding: 0;
}

.math-readiness-group legend {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="range"] {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
  background: white;
  font-family: inherit;
}
.form-group select:focus,
.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus {
  border-color: #003C6C;
  outline: none;
}

.form-row {
  display: flex;
  gap: 14px;
}
.form-half {
  flex: 1;
}
.form-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
  line-height: 1.5;
}
.program-coming-soon-note {
  background: #FFF3CD;
  border: 1px solid #E0C66A;
  border-radius: 6px;
  box-shadow: none;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 4px 0 16px;
  padding: 9px 12px;
}
.required-marker {
  color: #C62828;
  font-weight: 800;
}
.form-error {
  margin-top: 6px;
  color: #C62828;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.form-group select.input-error {
  border-color: #C62828;
  background: #FFF5F5;
}
.sub-label {
  font-size: 12px !important;
  color: #6c757d !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-unit input[type="number"] {
  padding-right: 60px !important;
}
.input-unit {
  position: absolute;
  right: 14px;
  color: #6c757d;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

.unit-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.unit-preset {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  border: 2px solid #DEE2E6;
  background: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: #495057;
}
.unit-preset:hover {
  border-color: #003C6C;
  color: #003C6C;
}
.unit-preset.active {
  background: #003C6C;
  color: white;
  border-color: #003C6C;
}

.course-search-wrapper {
  position: relative;
}
.course-search-input {
  width: 100%;
}
.course-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 2px solid #003C6C;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  z-index: 100;
  display: none;
}
.course-search-results.active {
  display: block;
}
.search-result {
  padding: 10px 14px;
  border-bottom: 1px solid #F1F3F5;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
}
.search-result:last-child {
  border-bottom: none;
}
.search-result:hover {
  background: #E3F2FD;
}
.search-result.already {
  opacity: 0.55;
  background: #F8F9FA;
}
.search-result-main {
  font-size: 14px;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-result-units {
  font-size: 12px;
  color: #6c757d;
  margin-left: auto;
}
.search-result-meta {
  font-size: 11px;
  color: #6c757d;
  margin-top: 3px;
  line-height: 1.4;
}
.search-result-badge {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 10px;
  background: #FDC700;
  color: #003C6C;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.search-empty {
  padding: 14px;
  text-align: center;
  color: #6c757d;
  font-size: 13px;
}

.selected-courses-list {
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  padding: 12px;
  background: #FAFAFA;
  min-height: 60px;
}
.selected-empty {
  text-align: center;
  color: #adb5bd;
  font-size: 13px;
  padding: 10px 0;
  margin: 0;
  font-style: italic;
}
.selected-total {
  font-size: 12px;
  font-weight: 600;
  color: #003C6C;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #DEE2E6;
}
.selected-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.selected-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: white;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  font-size: 13px;
}
.selected-chip .chip-main {
  flex: 1;
  color: #212529;
}
.selected-chip .chip-main strong {
  color: #003C6C;
  margin-right: 6px;
}
.selected-chip .chip-side {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chip-units {
  font-size: 11px;
  color: #6c757d;
}
.chip-remove {
  background: transparent;
  border: none;
  color: #adb5bd;
  font-size: 18px;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.15s;
}
.chip-remove:hover {
  background: #FEE2E2;
  color: #c62828;
}

.req-unit-note {
  font-size: 11px;
  color: #6c757d;
  padding: 6px 10px;
  font-style: italic;
  line-height: 1.4;
}

.acad-year-range {
  font-size: 13px;
  font-weight: 400;
  color: #6c757d;
  margin-left: 8px;
}

.form-group input[type="range"] {
  padding: 0;
  height: 6px;
  border: none;
  -webkit-appearance: none;
  background: #DEE2E6;
  border-radius: 3px;
}
.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #003C6C;
  cursor: pointer;
}

.slider-label {
  text-align: center;
  font-weight: 600;
  color: #003C6C;
  margin-top: 6px;
  font-size: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #003C6C;
}

.checkbox-card {
  border: 0;
  border-radius: 0;
  padding: 0 0 18px;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid #E3E8EC;
}

.checkbox-card:hover {
  background: transparent;
}

.checkbox-card:has(input[type="checkbox"]:checked) {
  background: transparent;
  box-shadow: none;
}

.checkbox-card .checkbox-row:first-child label {
  font-size: 15px;
  color: #003C6C;
}

.checkbox-card-hint {
  margin: 2px 0 0 30px;
}

.ahi-options {
  margin-top: 12px;
  margin-left: 30px;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkbox-subrow {
  align-items: flex-start;
  padding: 8px 0;
}

.checkbox-subrow label {
  font-weight: 500;
}

.courses-checklist {
  max-height: 260px;
  overflow-y: auto;
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  padding: 12px;
  background: #FAFAFA;
}

.course-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.course-checkbox:hover {
  background: #E3F2FD;
}
.course-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #003C6C;
}
.check-label {
  font-size: 13px;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.interest-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid #DEE2E6;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  flex-wrap: wrap;
}
.interest-option:hover {
  border-color: #003C6C;
  background: #E3F2FD;
}
.interest-option:has(input:checked) {
  border-color: #003C6C;
  background: #E3F2FD;
}
.interest-option input:checked ~ .interest-label {
  color: #003C6C;
  font-weight: 600;
}
.interest-option input {
  width: 16px;
  height: 16px;
  accent-color: #003C6C;
  flex-shrink: 0;
}
.interest-label {
  font-size: 14px;
}
.interest-desc {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 2px;
  width: 100%;
  padding-left: 26px;
}

.interest-coming-soon-card {
  background: #FFF9D8;
  border: 2px dashed #FDC700;
  border-radius: 12px;
  color: #3B3200;
  grid-column: 1 / -1;
  line-height: 1.45;
  padding: 14px 16px;
}

.interest-coming-soon-card strong {
  color: #003C6C;
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  gap: 12px;
}

.btn-wizard {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
}

.btn-wizard-primary {
  background: #003C6C;
  color: white;
}
.btn-wizard-primary:hover {
  background: #005A9E;
}

.btn-wizard-secondary {
  background: #E9ECEF;
  color: #333;
}
.btn-wizard-secondary:hover {
  background: #DEE2E6;
}

.btn-wizard-generate {
  background: #FDC700;
  color: #003C6C;
  font-size: 16px;
  padding: 14px 36px;
}
.btn-wizard-generate:hover {
  background: #ffe033;
}



.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}

.schedule-main {
  padding: 24px;
}

.schedule-top-bar {
  margin: 0 0 12px;
}

.schedule-title {
  font-size: 22px;
  color: #003C6C;
  font-weight: 700;
}

.schedule-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-workspace-tools {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.btn-export {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid #003C6C;
  background: white;
  color: #003C6C;
  transition: all 0.2s;
}
.btn-export:hover {
  background: #003C6C;
  color: white;
}

.btn-export.btn-resume-download {
  background: #FDC700;
  border-color: #FDC700;
  border-radius: 999px;
  color: #003C6C;
  font-weight: 800;
  padding: 9px 18px;
}

.btn-export.btn-resume-download:hover,
.btn-export.btn-resume-download:focus {
  background: #FFE066;
  border-color: #FFE066;
  color: #003C6C;
  transform: translateY(-1px);
  outline: 2px solid rgba(0, 60, 108, 0.18);
  outline-offset: 2px;
}

.btn-back-wizard {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid #6C757D;
  background: white;
  color: #6C757D;
  transition: all 0.2s;
}
.btn-back-wizard:hover {
  background: #6C757D;
  color: white;
}

#btn-edit-preferences {
  box-shadow: none;
  color: #111;
  font-weight: 800;
}

#btn-edit-preferences:hover,
#btn-edit-preferences:focus-visible {
  background: #111;
  border-color: #111;
  box-shadow: none;
  color: white;
}


.alert-box {
  display: none;
  margin-bottom: 16px;
}

.alert-warning {
  background: white;
  border: 1px solid #E4D7A8;
  border-left: 4px solid #B58A00;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  color: #856404;
}
.alert-warning ul {
  margin-top: 6px;
  padding-left: 18px;
}
.alert-warning li {
  margin-bottom: 3px;
}

.alert-success {
  background: white;
  border: 1px solid #C9D8CC;
  border-left: 4px solid #28A745;
  color: #155724;
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
}

.alert-timing-note {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(21, 87, 36, 0.18);
  line-height: 1.45;
}

.alert-error {
  background: white;
  border: 1px solid #E1C8CB;
  border-left: 4px solid #B00020;
  color: #842029;
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
}

.year-section {
  margin-bottom: 28px;
}

.year-header {
  background: #003C6C;
  color: white;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
}
.year-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.quarters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #DEE2E6;
  border: 1px solid #DEE2E6;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.quarters-row:has(.quarter-column:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}

.quarters-row.partial-year-row {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #CFE5F8;
}

.year-completion-note {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #E8F5E9;
}

.year-complete-partial .quarters-row {
  border-radius: 0;
}

.year-complete-partial .quarter-units.tier-over {
  background: #E3F2FD;
  color: #003C6C;
}

.quarter-column {
  background: white;
  padding: 12px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quarter-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 0 28px 8px;
  border-bottom: 2px solid #E9ECEF;
  margin-bottom: 4px;
}

.quarter-controls {
  position: absolute;
  inset: 0 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.quarter-control-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #B8CBD9;
  border-radius: 50%;
  background: #F7FAFC;
  color: #315A78;
  font: 700 16px/1 system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.quarter-control-btn:hover {
  color: #003C6C;
  border-color: #F1B521;
  background: #FFF7D6;
  transform: translateY(-1px);
}

.quarter-control-btn:focus-visible {
  outline: 3px solid rgba(241, 181, 33, 0.42);
  outline-offset: 2px;
}

.quarter-remove-btn:hover {
  color: #A3261D;
  border-color: #D99A94;
  background: #FFF1F0;
}

.quarter-name {
  font-weight: 700;
  font-size: 14px;
  color: #003C6C;
}

.quarter-units {
  font-size: 12px;
  color: #666;
  background: #F0F0F0;
  padding: 2px 8px;
  border-radius: 10px;
}
.quarter-units.tier-target { background: #E8F5E9; color: #2E7D32; }
.quarter-units.tier-accept { background: #FFF8E1; color: #F57F17; }
.quarter-units.tier-over   { background: #FFEBEE; color: #C62828; }


.course-card {
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 4px solid #999;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: none;
}
.course-card:hover {
  box-shadow: none;
  transform: none;
  outline: 1px solid #9AAEBC;
  outline-offset: -1px;
}

.course-card:focus-visible {
  outline: 2px solid #003C6C;
  outline-offset: 2px;
}

.schedule-edit-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #D6E0E7;
  border-left: 4px solid #003C6C;
  border-radius: 6px;
  background: white;
  box-shadow: none;
  color: #003C6C;
  font-size: 13px;
  font-weight: 600;
}

.course-card[draggable="true"] {
  cursor: grab;
  position: relative;
}

.course-card[draggable="true"]::after {
  content: "⋮⋮";
  position: absolute;
  right: 9px;
  bottom: 7px;
  color: rgba(0,60,108,0.35);
  font-weight: 800;
  letter-spacing: -2px;
}

.course-card[draggable="true"]:active {
  cursor: grabbing;
}

.course-card.dragging {
  opacity: 0.5;
  transform: rotate(1deg) scale(0.98);
  box-shadow: none;
  border-style: dashed;
}

.course-card.drag-over-card {
  outline: 2px solid #F1B521;
  outline-offset: 2px;
  transform: translateY(-2px);
}

.course-card.drop-denied-card {
  animation: drop-denied-shake 0.35s ease;
  outline: 2px solid #C62828;
}

.quarter-column.drag-over {
  outline: 3px solid #003C6C;
  outline-offset: -5px;
  background: #F7FAFC;
  box-shadow: none;
}

.quarter-column.drag-over .quarter-header {
  border-bottom-color: #003C6C;
}

.quarter-column.drop-denied {
  animation: drop-denied-shake 0.35s ease;
  outline: 3px solid #C62828;
  outline-offset: -5px;
}

.quarter-drop-disabled {
  background: #F8F9FA;
}

.schedule-edit-toast {
  position: sticky;
  top: 68px;
  z-index: 20;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #003C6C;
  color: white;
  font-weight: 700;
  box-shadow: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.schedule-edit-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drop-denied-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-code {
  font-weight: 700;
  font-size: 13px;
  color: #1C2833;
}

.card-units {
  font-size: 11px;
  color: #666;
  background: rgba(0,0,0,0.06);
  padding: 1px 6px;
  border-radius: 8px;
}

.card-title {
  font-size: 11px;
  color: #555;
  margin-top: 3px;
  line-height: 1.3;
}

.card-badges {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.section-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ge-badge {
  font-size: 10px;
  font-weight: 600;
  background: #FDC700;
  color: #003C6C;
  padding: 1px 6px;
  border-radius: 6px;
}

.rmp-badge {
  font-size: 10px;
  font-weight: 600;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 1px 6px;
  border-radius: 6px;
}

.course-type-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ctype-major_core     { background: #E3F2FD; color: #1565C0; }
.ctype-major_elective { background: #F3E5F5; color: #7B1FA2; }
.ctype-ge             { background: #E8F5E9; color: #2E7D32; }
.ctype-uc, .ctype-prereq { background: #FFF3E0; color: #E65100; }
.ctype-filler         { background: #F5F5F5; color: #757575; }

.btn-add-course {
  margin-top: auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid #003C6C;
  border-radius: 8px;
  background: #F4FAFF;
  color: #003C6C;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-add-course:hover {
  border-color: #F1B521;
  color: #003C6C;
  background: #FFF3C4;
  box-shadow: none;
  transform: none;
}
.btn-add-course:focus-visible {
  outline: 3px solid #F1B521;
  outline-offset: 2px;
}



.requirements-sidebar {
  background: white;
  border-left: 1px solid #DEE2E6;
  padding: 20px;
  overflow-y: auto;
  height: fit-content;
  max-height: calc(100vh - 56px);
  position: sticky;
  top: 56px;
  align-self: start;
  scrollbar-color: #8EA9BA #EDF2F5;
  scrollbar-width: thin;
}

.requirements-sidebar::-webkit-scrollbar { width: 9px; }
.requirements-sidebar::-webkit-scrollbar-track { background: #EDF2F5; }
.requirements-sidebar::-webkit-scrollbar-thumb {
  background: #8EA9BA;
  border: 2px solid #EDF2F5;
  border-radius: 999px;
}

.req-summary h3 {
  color: #003C6C;
  font-size: 18px;
  margin-bottom: 10px;
}

.req-progress-bar {
  height: 8px;
  background: #E9ECEF;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.req-progress-fill {
  height: 100%;
  background: #003C6C;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.req-progress-text {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.requirements-tabs {
  background: #EEF3F7;
  border: 1px solid #D5E0E8;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 14px;
  padding: 4px;
}

.requirements-tabs-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.requirements-tab {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #4A6072;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  gap: 5px;
  justify-content: center;
  min-height: 56px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 7px 8px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.requirements-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #003C6C;
}

.requirements-tab[aria-selected="true"] {
  background: white;
  box-shadow: none;
  border-color: #003C6C;
  color: #003C6C;
}

#requirements-tab-minor[aria-selected="true"] {
  background: white;
  border-color: #B999CF;
  color: #5F2B8A;
}

.requirements-tab:focus-visible {
  outline: 3px solid rgba(19, 165, 220, 0.42);
  outline-offset: 2px;
}

.requirements-tab-progress {
  background: #DCEAF3;
  border-radius: 999px;
  color: #31566F;
  font-size: 10px;
  line-height: 1;
  padding: 4px 6px;
  white-space: nowrap;
}

.requirements-tab[aria-selected="true"] .requirements-tab-progress {
  background: #DDF4FC;
  color: #00628D;
}

#requirements-tab-minor[aria-selected="true"] .requirements-tab-progress {
  background: #E5D3F1;
  color: #5F2B8A;
}

.requirements-tab-panel[hidden] {
  display: none;
}

.requirements-tabs-help {
  color: #667A89;
  font-size: 10px;
  line-height: 1.35;
  margin: -7px 2px 12px;
  text-align: center;
}

.requirements-tab-panel:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(19, 165, 220, 0.32);
  outline-offset: 3px;
}

.requirements-panel-heading {
  border-bottom: 1px solid #E0E8EE;
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 2px 0 11px;
}

.requirements-panel-heading strong {
  color: #123C5B;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.requirements-panel-heading > span:last-child:not(:first-child) {
  color: #687B89;
  font-size: 11px;
  font-weight: 600;
}

.requirements-panel-kicker {
  color: #6B7F8E;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirements-panel-heading-minor {
  border-bottom-color: #DCCAE9;
}

.requirements-panel-heading-minor strong,
.requirements-panel-heading-minor .requirements-panel-kicker {
  color: #63318B;
}

.req-units {
  margin: 14px 0;
  padding: 10px 0;
  background: transparent;
  border-radius: 0;
  border-top: 1px solid #E4E9ED;
  border-bottom: 1px solid #E4E9ED;
}

.req-unit-item {
  font-size: 13px;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.req-unit-item.met { color: #28a745; }
.req-unit-item.unmet { color: #dc3545; }

.req-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.req-section {
  margin-top: 16px;
}

.req-section h4 {
  font-size: 14px;
  color: #003C6C;
  border-bottom: 2px solid #E9ECEF;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.req-item {
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  transition: background 0.2s;
}
.req-item:hover {
  background: #F8F9FA;
}

.req-item-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.req-item.met .req-icon { color: #28a745; }
.req-item.unmet .req-icon { color: #dc3545; }

.req-name {
  font-weight: 600;
  color: #333;
}

.req-courses {
  font-size: 11px;
  color: #666;
  margin-left: 22px;
  margin-top: 2px;
}

.missing {
  font-size: 11px;
  color: #dc3545;
  margin-left: 22px;
  display: block;
}

.req-complete {
  margin-top: 20px;
  padding: 10px 0 10px 12px;
  background: transparent;
  border-radius: 0;
  border: 0;
  border-left: 3px solid #28A745;
}
.req-complete h4 {
  color: #155724;
  border: none;
  margin: 0 0 4px 0;
  padding: 0;
}
.req-complete p {
  font-size: 12px;
  color: #155724;
}



.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px;
  overflow-y: auto;
}
.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: modalIn 0.25s ease;
}

.modal-warning-content {
  max-width: 620px;
}

.schedule-warning-header h2 {
  color: #003C6C;
}

.schedule-warning-blocked h2,
.schedule-warning-overload h2 {
  color: #8A4B00;
}

.schedule-warning-body {
  padding-top: 8px;
}

.schedule-warning-card {
  border-radius: 12px;
  padding: 16px;
  line-height: 1.55;
}

.schedule-warning-card p {
  margin: 0 0 10px;
}

.schedule-warning-card p:last-child {
  margin-bottom: 0;
}

.warning-blocked {
  background: #FFF3CD;
  border: 1px solid #FFD166;
  color: #5D4100;
}

.warning-overload {
  background: #FFF8E1;
  border: 1px solid #FBC02D;
  color: #5F4300;
}

.review-invite-card {
  background: #F5FBFF;
  border: 1px solid #9BD0F5;
  color: #17324D;
}

.review-invite-card ul {
  margin: 8px 0 12px 20px;
  padding: 0;
}

.review-invite-card li {
  margin-bottom: 6px;
}

.anonymous-reminder {
  background: #EAF7EA;
  border-left: 4px solid #2E7D32;
  padding: 10px 12px;
  border-radius: 8px;
}

.review-setup-note {
  background: #FFF3CD;
  border: 1px solid #FFD166;
  border-radius: 10px;
  margin-top: 12px;
  padding: 12px;
}

.review-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.review-actions-centered {
  justify-content: center;
}

.review-primary-action {
  background: #003C6C;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 60, 108, 0.18);
}

.review-primary-action:hover,
.review-primary-action:focus {
  background: #005A9E;
  color: #fff;
}

.review-secondary-note {
  color: #5E6A73;
  font-size: 13px;
}

.btn-warning-ok {
  cursor: pointer;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


.loading-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: linear-gradient(135deg, rgba(0, 60, 108, 0.94), rgba(0, 90, 158, 0.92));
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.loading-screen.active {
  display: flex;
}
.loading-card {
  width: min(620px, 100%);
  background: #fff;
  border: 4px solid #FDC700;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.32);
}
.loading-card h2 {
  color: #003C6C;
  font-size: 24px;
  margin: 18px 0 8px;
}
.loading-card p {
  color: #495057;
  font-size: 14px;
}
.loading-track {
  position: relative;
  height: 16px;
  border: 2px solid #003C6C;
  border-radius: 8px;
  background: #FFF3CD;
  overflow: hidden;
}
.loading-progress-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 28%;
  height: 100%;
  background: #FDC700;
  animation: progressSlide 2.4s ease-in-out infinite;
}
@keyframes progressSlide {
  from { left: 0; }
  to { left: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-progress-indicator {
    animation: none;
    left: 36%;
    transform: none;
  }
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px;
  border-bottom: 1px solid #E9ECEF;
}

.detail-header h2 {
  font-size: 18px;
  color: #003C6C;
  padding-right: 16px;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  padding: 0;
  line-height: 1;
}
.btn-close-modal:hover { color: #333; }

.detail-body {
  padding: 20px 24px;
}

.detail-row {
  display: flex;
  padding: 6px 0;
  border-bottom: 1px solid #F5F5F5;
  font-size: 14px;
  gap: 12px;
}

.detail-label {
  font-weight: 600;
  color: #555;
  min-width: 110px;
  flex-shrink: 0;
}

.detail-section-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
}

.rmp-display {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star { font-size: 16px; }
.star.full { color: #FDC700; }
.star.half { color: #FDC700; opacity: 0.6; }
.star.empty { color: #DEE2E6; }

.detail-desc {
  margin-top: 12px;
  padding: 12px;
  background: #F8F9FA;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
}

.detail-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btn-link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: #003C6C;
  color: white;
  transition: background 0.2s;
}
.btn-link:hover {
  background: #005A9E;
  text-decoration: none;
  color: white;
}
.btn-link-secondary {
  background: #6C757D;
}
.btn-link-secondary:hover {
  background: #545B62;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E9ECEF;
}

.btn-action {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
}

.btn-swap {
  background: #E3F2FD;
  color: #003C6C;
}
.btn-swap:hover {
  background: #BBDEFB;
}

.btn-remove {
  background: #FDEDEE;
  color: #dc3545;
}
.btn-remove:hover {
  background: #F5C6CB;
}



.swap-info {
  padding: 12px 24px;
  color: #666;
  font-size: 13px;
}

.modal-search-input {
  display: block;
  width: calc(100% - 48px);
  margin: 0 24px 12px;
  padding: 10px 14px;
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
.modal-search-input:focus {
  border-color: #003C6C;
}

.swap-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.swap-option {
  padding: 12px;
  border: 2px solid #E9ECEF;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.swap-option:hover {
  border-color: #003C6C;
  background: #E3F2FD;
}

.swap-option-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.swap-units {
  font-size: 12px;
  color: #666;
  background: #F0F0F0;
  padding: 2px 8px;
  border-radius: 8px;
}

.swap-option-desc {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.swap-option-badges {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.suggestion-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.suggestion-reason-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 60, 108, 0.18);
  border-radius: 999px;
  background: #F0F7FC;
  color: #003C6C;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 8px;
}

.no-results {
  text-align: center;
  color: #999;
  padding: 30px;
  font-style: italic;
}

.suggestion-empty-state {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 2px;
  padding: 18px;
  border: 1px solid #D6E4F0;
  border-radius: 12px;
  background: #F7FBFF;
  color: #243B53;
}

.suggestion-empty-label {
  flex: 0 0 auto;
  min-width: 54px;
  border-radius: 4px;
  background: #E3F2FD;
  color: #003C6C;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  text-align: center;
  text-transform: uppercase;
}

.suggestion-empty-title {
  margin: 0 0 4px;
  color: #003C6C;
  font-size: 14px;
  font-weight: 700;
}

.suggestion-empty-guidance {
  margin: 0;
  color: #52616B;
  font-size: 13px;
  line-height: 1.45;
}



@media (max-width: 1024px) {
  .schedule-layout {
    grid-template-columns: 1fr;
  }
  .requirements-sidebar {
    border-left: none;
    border-top: 1px solid #DEE2E6;
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .landing h1 { font-size: 30px; }
  .landing-mode-choices { grid-template-columns: 1fr; }
  .guide-grid-2,
  .guide-grid-3 { grid-template-columns: 1fr; }
  .landing-guide { margin-top: 44px; }
  .guide-heading { font-size: 20px; }
  .hero-forest { display: none; }
  .guide-slug { width: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .landing-footer { margin-top: 48px; }

  .quarters-row {
    grid-template-columns: 1fr !important;
  }

  .wizard-container {
    padding: 0 12px;
  }
  .wizard-step {
    padding: 20px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .schedule-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    padding: 10px 16px;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .navbar-links { width: 100%; justify-content: center; flex-wrap: wrap; }

  .wizard-container {
    margin: 20px auto;
  }

  .wizard-step {
    padding: 16px;
  }

  .form-row {
    flex-direction: column;
  }

  .wizard-buttons { flex-direction: column-reverse; gap: 10px; }
  .btn-wizard { width: 100%; min-height: 44px; }

  .schedule-actions { width: 100%; flex-direction: column; }
  .schedule-actions button { width: 100%; min-height: 44px; }

  .modal-overlay { padding: 12px; }
  .modal-content { max-height: calc(100vh - 24px); overflow-y: auto; }
  .detail-header { padding: 16px; }
  .btn-close-modal { min-width: 44px; min-height: 44px; }
  .modal-search-input { width: calc(100% - 32px); margin: 0 16px 12px; }
  .swap-info { padding: 12px 16px; }
  .swap-list { padding: 0 16px 16px; }

  .suggestion-empty-state {
    flex-direction: column;
    padding: 16px;
  }
}



.label-optional {
  font-weight: 400;
  font-size: 12px;
  color: #6c757d;
  margin-left: 4px;
}

.transcript-upload-area {
  border: 2px dashed #B0C8E0;
  border-radius: 10px;
  background: #F7FBFF;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 8px;
}
.transcript-upload-area:hover,
.transcript-upload-area.drag-over {
  border-color: #003C6C;
  background: #EEF5FB;
}

.transcript-upload-icon {
  display: inline-block;
  border: 2px solid #003C6C;
  border-radius: 4px;
  color: #003C6C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  line-height: 1.2;
  padding: 6px 8px;
}

.transcript-upload-text {
  font-size: 14px;
  color: #444;
  margin: 0 0 6px;
}

.transcript-upload-hint {
  font-size: 12px;
  color: #6c757d;
  margin: 0;
}

.transcript-privacy-note {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  color: #4F6254;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  margin: 12px auto 0;
  max-width: 520px;
  padding: 0;
}

.transcript-status {
  margin-top: 10px;
  font-size: 13px;
  border-radius: 6px;
  padding: 0;
  min-height: 0;
}
.transcript-status.loading {
  padding: 10px 14px;
  background: #EEF5FB;
  color: #003C6C;
}
.transcript-status.success {
  padding: 10px 14px;
  background: #E8F5E9;
  color: #2E7D32;
  border-left: 3px solid #4CAF50;
}
.transcript-status.error {
  padding: 10px 14px;
  background: #FDEDEE;
  color: #c62828;
  border-left: 3px solid #f44336;
}

.btn-browse-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: #003C6C;
  text-decoration: underline;
  cursor: pointer;
}
.btn-browse-link:hover {
  color: #005A9E;
}



.summer-quarter-panel {
  margin-top: 12px;
  padding: 4px 0 4px 16px;
  background: transparent;
  border-left: 3px solid #003C6C;
  box-shadow: none;
  border-radius: 0;
}

.summer-quarter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.summer-year-chip {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  background: #fff;
  border: 1px solid #B8C5CE;
  border-radius: 999px;
  color: #003C6C;
  cursor: pointer;
  font-weight: 700;
  padding: 9px 13px;
}

.summer-year-chip input {
  accent-color: #003C6C;
}


.gap-options {
  margin-top: 12px;
  padding: 4px 0 4px 16px;
  background: transparent;
  border-left: 3px solid #003C6C;
  box-shadow: none;
  border-radius: 0;
}

.gap-range-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

@media (max-width: 480px) {
  .gap-options .gap-range-grid {
    grid-template-columns: 1fr;
  }
}



.quarter-gap {
  border: 2px dashed #B0C8E0;
  border-radius: 10px;
  background: #F4F8FC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  gap: 6px;
  color: #6c757d;
  margin-bottom: 8px;
}

.quarter-gap-mark {
  border: 1px solid #9AAFC2;
  border-radius: 4px;
  color: #5A748C;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  text-transform: uppercase;
}

.quarter-gap-label {
  font-size: 15px;
  font-weight: 600;
  color: #5a748c;
}

.quarter-gap-note {
  font-size: 12px;
  color: #9aabba;
  text-align: center;
}

.schedule-profile-summary {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #DDE4E9;
  border-radius: 0;
  color: #342050;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
  padding: 10px 14px;
}

.schedule-profile-summary[hidden] {
  display: none;
}

.minor-role-badge {
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  padding: 3px 7px;
}
.minor-role-badge.role-minor { background: #f1b521; border-color: #f1b521; color: #002b4d; }
.minor-role-badge.role-shared { background: #334155; border-color: #334155; color: #fff; }
.minor-role-badge.role-primary { background: #b42318; border-color: #b42318; color: #fff; }
.minor-role-badge.role-secondary { background: var(--ucsc-blue); border-color: var(--ucsc-blue); color: #fff; }
.minor-role-badge.role-both { background: #334155; border-color: #334155; color: #fff; }
.minor-role-badge.role-primary_minor { background: #b42318; border-color: #b42318; color: #fff; }
.minor-role-badge.role-secondary_minor { background: var(--ucsc-blue); border-color: var(--ucsc-blue); color: #fff; }
.minor-role-badge.role-both_minor { background: #334155; border-color: #334155; color: #fff; }

.course-card.course-minor {
  border-left-color: #7c3fb0 !important;
  box-shadow: none;
}

.course-card.course-shared {
  border-left-color: #087f75 !important;
  box-shadow: none;
}

.course-card.course-primary { border-left-color: #a3261d !important; box-shadow: none; }
.course-card.course-secondary { border-left-color: #006da3 !important; box-shadow: none; }
.course-card.course-both { border-left-color: #087f75 !important; box-shadow: none; }
.course-card.course-primary_minor { border-left-color: #9c3562 !important; box-shadow: none; }
.course-card.course-secondary_minor { border-left-color: #5552a3 !important; box-shadow: none; }
.course-card.course-both_minor { border-left-color: #8a6500 !important; box-shadow: none; }

.req-section-minor { border-left: 3px solid #7c3fb0; padding-left: 12px; }
.req-catalog-link { font-size: 12px; margin: -4px 0 10px; }
.minor-unique-credit-status {
  background: transparent;
  border: 0;
  border-left: 3px solid #7c3fb0;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 10px;
  padding: 10px;
}
.minor-unique-credit-status.unmet { background: transparent; border-color: #c95f53; }
.minor-unique-credit-status p { margin: 6px 0 0; }
.program-allocation-status,
.double-major-policy-status {
  background: transparent;
  border: 0;
  border-left: 3px solid #003C6C;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 10px;
  overflow-wrap: anywhere;
  padding: 10px;
}
.program-allocation-status.unmet,
.double-major-policy-status.unmet { background: transparent; border-color: #c95f53; }
.double-major-policy-status { margin: 0 0 14px; }
.req-section-primary { border-left: 3px solid #a3261d; padding-left: 12px; }
.req-section-secondary { border-left: 3px solid #006da3; padding-left: 12px; }

@media (max-width: 700px) {
  .schedule-profile-summary { align-items: flex-start; flex-direction: column; }
  .minor-role-badge { font-size: 9px; white-space: normal; }
}

@media (max-width: 480px) {
  .requirements-tabs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 3px; }
  .requirements-tab { flex-direction: column; font-size: 10px; gap: 3px; min-height: 52px; padding: 5px 3px; }
  .requirements-tab-progress { font-size: 9px; padding: 3px 5px; }
  .requirements-panel-heading strong { font-size: 13px; }
}


@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ucsc-blue: #003c6c;
  --ucsc-blue-dark: #002b4d;
  --ucsc-blue-light: #0b5f97;
  --ucsc-gold: #f1b521;
  --page-bg: #f3f5f6;
  --surface: #ffffff;
  --ink: #18242d;
  --muted: #5d6b75;
  --line: #d5dde2;
  --line-strong: #aebbc4;
}

html { background: var(--page-bg); }

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.navbar {
  min-height: 58px;
  padding: 10px 28px;
  background: var(--ucsc-blue-dark);
  border-bottom: 2px solid var(--ucsc-gold);
  box-shadow: none;
}

.navbar-brand {
  gap: 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.navbar-links { gap: 20px; }

.navbar-links a,
.navbar-links button {
  font-size: 13px;
  opacity: 0.88;
}

.navbar-links button.nav-review-link {
  padding: 7px 11px;
  border: 1px solid var(--ucsc-gold);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.navbar-links button.nav-review-link:hover,
.navbar-links button.nav-review-link:focus {
  background: var(--ucsc-gold);
  color: var(--ucsc-blue-dark);
  transform: none;
  box-shadow: none;
}

.landing {
  min-height: calc(100vh - 58px);
  justify-content: flex-start;
  padding: 0 24px 44px;
  background: var(--ucsc-blue);
  color: #fff;
}

.landing-content {
  width: 100%;
  max-width: 780px;
  min-height: 590px;
  padding: 92px 20px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.landing h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 760;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.landing .subtitle {
  margin-bottom: 18px;
  color: var(--ucsc-gold);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.landing .tagline {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.7;
  opacity: 1;
  text-wrap: pretty;
}

.landing-mode-choices {
  width: min(540px, 100%);
  gap: 10px;
}

.landing-mode-choices .btn-start {
  min-height: 82px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,0.74);
  border-radius: 5px;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-mode-primary {
  background: var(--ucsc-gold);
  border-color: var(--ucsc-gold) !important;
  color: var(--ucsc-blue-dark);
}

.btn-mode-secondary {
  background: transparent;
  color: #fff;
}

.btn-start:hover,
.btn-mode-secondary:hover {
  transform: none;
  box-shadow: none;
}

.btn-mode-primary:hover { background: #ffd45c; }
.btn-mode-secondary:hover { background: rgba(255,255,255,0.1); }

.mode-title {
  font-size: 16px;
  font-weight: 750;
}

.mode-subtitle {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.78;
}

.landing-continue {
  margin-top: 18px;
  gap: 5px;
}

.btn-continue {
  min-height: 40px;
  padding: 8px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 4px;
}

.btn-continue:hover {
  background: transparent;
  text-decoration-color: var(--ucsc-gold);
}

.resume-import-hint {
  max-width: 440px;
  color: rgba(255,255,255,0.66);
  font-size: 11px;
  opacity: 1;
}

.hero-forest { height: 660px; }
.hero-forest .tree { opacity: 0.78; animation: none; }
.hero-forest .tree-far-left,
.hero-forest .tree-far-right { opacity: 0.5; }

.landing-guide {
  max-width: 900px;
  margin: 14px auto 0;
}

.guide-section {
  margin-bottom: 0;
  padding: 38px 0;
  border-top: none;
}

.guide-section:first-child {
  padding-top: 38px;
  border-top: none;
}

.guide-heading {
  display: block;
  margin-bottom: 20px;
  color: var(--ucsc-gold);
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.015em;
}

.guide-steps {
  gap: 0;
  border-top: none;
}

.guide-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.step-num {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--ucsc-gold);
  font-size: 14px;
  font-weight: 750;
  text-align: left;
}

.step-num::after { content: "."; }

.step-body h3,
.guide-list h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.step-body p,
.guide-list p,
.guide-lead,
.guide-notes li {
  color: rgba(255,255,255,0.76);
  font-size: 13.5px;
  line-height: 1.65;
  opacity: 1;
}

.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: none;
}

.guide-list li {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 26px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.guide-list p { margin: 0; }
.guide-lead { margin-bottom: 16px; }

.guide-notes {
  gap: 0;
  border-top: none;
}

.guide-notes li {
  padding: 13px 4px 13px 0;
  border-bottom: none;
}

.landing-footer {
  max-width: 900px;
  margin-top: 26px;
  padding-top: 34px;
  border-top-color: rgba(255,255,255,0.22);
}

.footer-inner { gap: 38px; }
.footer-col h3 { color: var(--ucsc-gold); }
.footer-col li,
.footer-note { color: rgba(255,255,255,0.72); opacity: 1; }
.footer-legal { color: rgba(255,255,255,0.55); opacity: 1; }

.wizard-step {
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}

.wizard-step.active { animation: none; }
.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="range"] { border-width: 1px; border-radius: 4px; }
.btn-wizard { border-radius: 4px; }

#view-schedule { background: var(--page-bg); }

.schedule-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: calc(100vh - 58px);
}

.schedule-main {
  min-width: 0;
  padding: 30px clamp(18px, 3vw, 42px) 46px;
}

.schedule-top-bar {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.schedule-title {
  color: var(--ucsc-blue-dark);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.schedule-actions { gap: 7px; }

.btn-export,
.btn-back-wizard,
.btn-export.btn-resume-download {
  min-height: 38px;
  padding: 8px 13px;
  border-width: 1px;
  border-radius: 4px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  transform: none;
}

.btn-export.btn-resume-download {
  border-color: var(--ucsc-gold);
  border-radius: 4px;
  background: var(--ucsc-gold);
  color: var(--ucsc-blue-dark);
}

.btn-export.btn-resume-download:hover,
.btn-export.btn-resume-download:focus {
  border-color: #d99c00;
  background: #ffd45c;
  transform: none;
  outline: 2px solid rgba(0,60,108,0.18);
}

.schedule-profile-summary {
  margin: -8px 0 14px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
  color: #384957;
}

.minor-role-badge {
  border-radius: 3px;
  box-shadow: none;
  font-weight: 700;
}

.schedule-edit-hint {
  flex: 1 1 360px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
}

.schedule-workspace-tools {
  margin: 0 0 20px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.alert-warning,
.alert-success,
.alert-error {
  border-left-width: 1px;
  border-radius: 4px;
  background: var(--surface);
}

.year-section { margin-bottom: 34px; }

.year-header {
  padding: 0 0 10px;
  border-bottom: 3px solid var(--ucsc-blue);
  border-radius: 0;
  background: transparent;
  color: var(--ucsc-blue-dark);
}

.year-header h3 {
  font-size: 17px;
  font-weight: 730;
  letter-spacing: -0.01em;
}

.year-completion-note { color: #397346; }

.quarters-row,
.quarters-row:has(.quarter-column:nth-child(4)),
.quarters-row.partial-year-row {
  gap: 10px;
  padding-top: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.quarter-column {
  min-width: 0;
  min-height: 190px;
  padding: 11px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.quarter-header {
  padding: 1px 27px 9px;
  border-bottom-width: 1px;
}

.quarter-control-btn {
  width: 23px;
  height: 23px;
  border-radius: 3px;
  background: #fff;
  font-family: "Inter", sans-serif;
}

.quarter-control-btn:hover {
  background: #fff8dc;
  transform: none;
}

.quarter-name { color: var(--ucsc-blue-dark); }

.quarter-units,
.card-units,
.ge-badge,
.course-type-badge {
  border-radius: 3px;
}

.course-card,
.course-card.course-minor,
.course-card.course-shared,
.course-card.course-primary,
.course-card.course-secondary,
.course-card.course-both,
.course-card.course-primary_minor,
.course-card.course-secondary_minor,
.course-card.course-both_minor {
  padding: 10px;
  border: 1px solid #d9e0e4;
  border-left-width: 1px !important;
  border-radius: 4px;
  background: #fff !important;
}

.course-card:hover {
  border-color: #91a4b1;
  outline: 0;
}

.course-card[draggable="true"]::after {
  color: rgba(0,60,108,0.28);
}

.card-code { color: var(--ucsc-blue-dark); }
.card-title { color: #4e5d68; }

.btn-add-course {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px dashed #8fa6b5;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}

.btn-add-course:hover {
  border-color: var(--ucsc-blue);
  background: #f6fafc;
}

.schedule-disclaimer {
  margin-top: 28px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-strong);
  color: #765714;
  font-size: 12.5px;
  line-height: 1.6;
}

.schedule-disclaimer a {
  color: var(--ucsc-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.requirements-sidebar {
  top: 58px;
  max-height: calc(100vh - 58px);
  padding: 26px 22px 34px;
  border-left-color: var(--line-strong);
  background: #fafbfb;
}

.req-summary h3 {
  color: var(--ucsc-blue-dark);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.req-progress-bar { height: 6px; border-radius: 2px; }
.req-progress-fill { border-radius: 2px; }

.requirements-tabs {
  gap: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.requirements-tab {
  min-height: 50px;
  padding: 7px 5px 9px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.requirements-tab:hover { background: transparent; }
.requirements-tab[aria-selected="true"] {
  border-color: var(--ucsc-blue);
  background: transparent;
}

#requirements-tab-minor[aria-selected="true"] {
  background: transparent;
  border-color: #5f2b8a;
}

.req-complete {
  margin-top: 18px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

.req-complete h4 {
  color: #245f37;
  font-size: 14px;
  font-weight: 750;
  margin: 0 0 4px;
}

.req-complete p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.review-modal .modal-warning-content {
  max-width: 600px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--ucsc-gold);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 43, 77, 0.22);
}

.review-modal .schedule-warning-header {
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ucsc-blue-dark);
}

.review-modal .schedule-warning-header h2 {
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.review-modal .btn-close-modal,
.review-modal .btn-close-modal:hover {
  color: #fff;
}

.review-modal .schedule-warning-body {
  padding: 22px 24px 20px;
}

.review-modal .review-invite-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink);
}

.review-modal .anonymous-reminder {
  margin: 16px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

.review-modal .review-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.review-modal .review-primary-action {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ucsc-gold);
  border-radius: 4px;
  background: var(--ucsc-gold);
  color: var(--ucsc-blue-dark);
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
}

.review-modal .review-primary-action:hover,
.review-modal .review-primary-action:focus {
  border-color: #d99c00;
  background: #ffd45c;
  color: var(--ucsc-blue-dark);
}

.review-modal .detail-links {
  justify-content: flex-start;
  margin-top: 10px;
}

.review-modal .btn-warning-ok {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ucsc-blue);
  font-weight: 700;
}

.loading-screen {
  background: rgba(0,43,77,0.96);
}

.loading-card {
  width: min(520px, 100%);
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}

.loading-card h2 {
  margin-top: 16px;
  font-size: 21px;
}

.loading-track {
  height: 5px;
  border: 0;
  border-radius: 0;
  background: #dfe6ea;
}

.loading-progress-indicator {
  background: var(--ucsc-gold);
}

@media (max-width: 1180px) {
  .quarters-row:has(.quarter-column:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .schedule-layout { grid-template-columns: 1fr; }
  .requirements-sidebar {
    position: static;
    max-height: none;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 10px 16px; }
  .landing { padding-inline: 18px; }
  .landing-content { min-height: 520px; padding: 72px 0 46px; }
  .landing h1 { font-size: 38px; }
  .landing-guide { margin-top: 0; }
  .guide-section { padding: 30px 0; }
  .guide-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { gap: 26px; }
  .schedule-main { padding: 24px 14px 38px; }
  .schedule-top-bar { gap: 16px; }
  .schedule-workspace-tools { align-items: stretch; flex-direction: column; gap: 12px; }
  .schedule-actions { width: 100%; }
  .schedule-actions button { flex: 1 1 140px; }
}

@media (max-width: 480px) {
  .landing h1 { font-size: 32px; }
  .landing .tagline { font-size: 14px; }
  .landing-mode-choices { grid-template-columns: 1fr; }
  .landing-mode-choices .btn-start { min-height: 70px; }
  .guide-step { grid-template-columns: 30px minmax(0, 1fr); }
  .schedule-title { font-size: 24px; }
  .schedule-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .schedule-actions button { width: auto; min-width: 0; }
  .quarter-column { min-height: 170px; }
}
