:root {
  --bg: #f3f7fb;
  --bg-accent: #e8f0fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-strong: #eef4fb;
  --ink: #102033;
  --ink-soft: #44556b;
  --muted: #6b7c93;
  --line: #d7e1ec;
  --line-strong: #c2d1e0;
  --primary: #1d4ed8;
  --primary-strong: #163ea9;
  --primary-soft: #dce9ff;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warning: #b45309;
  --warning-soft: #ffedd5;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --info: #0f766e;
  --info-soft: #ccfbf1;
  --shadow-lg: 0 24px 54px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #f2f6fb 100%);
  font-family:
    "Plus Jakarta Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(194, 209, 224, 0.7);
  background: rgba(247, 250, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.top-nav {
  display: flex;
  gap: 12px;
}

.top-nav a,
.side-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.top-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.top-nav a:hover {
  color: var(--primary);
  border-color: rgba(29, 78, 216, 0.15);
  background: rgba(255, 255, 255, 0.72);
}

.layout {
  display: grid;
  grid-template-columns: minmax(285px, 348px) minmax(0, 1fr);
  gap: 24px;
  width: min(1440px, calc(100% - 36px));
  margin: 28px auto 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
}

.side-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(194, 209, 224, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.side-nav__heading {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav a {
  display: block;
  min-height: 56px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.3;
}

.side-nav a:hover {
  color: var(--ink);
  border-color: rgba(29, 78, 216, 0.12);
  background: var(--surface-soft);
}

.side-nav a.active {
  color: var(--primary-strong);
  border-color: rgba(29, 78, 216, 0.22);
  background: linear-gradient(180deg, #eef5ff 0%, #e1edff 100%);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.04);
}

.content {
  display: grid;
  gap: 20px;
}

.hero-panel,
.tool-card,
.sitemap-panel,
.ad-slot {
  border: 1px solid rgba(194, 209, 224, 0.82);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.06), transparent 42%),
    linear-gradient(315deg, rgba(15, 118, 110, 0.07), transparent 36%);
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
}

.hero-panel img {
  width: 100%;
  max-height: 220px;
}

.hero-panel.hidden,
.sitemap-panel.hidden,
.unit-group.hidden {
  display: none;
}

.unit-group {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.1rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 700px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.65;
}

.ad-slot {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94)),
    repeating-linear-gradient(135deg, rgba(29, 78, 216, 0.02) 0 16px, rgba(15, 23, 42, 0.01) 16px 32px);
  font-weight: 800;
  text-align: center;
}

.ad-slot small {
  display: block;
  margin-top: 5px;
  font-weight: 700;
}

.ad-square {
  min-height: 250px;
}

.ad-banner {
  min-height: 104px;
}

.tool-mount {
  display: grid;
  gap: 20px;
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.overview-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(194, 209, 224, 0.76);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--shadow-md);
}

.overview-card--primary {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(15, 118, 110, 0.06)), #ffffff;
}

.overview-card__label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-card strong {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary-strong);
}

.overview-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-section {
  display: grid;
  gap: 16px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-link {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 128px;
  border: 1px solid rgba(194, 209, 224, 0.76);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tool-link:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 78, 216, 0.28);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.tool-link span {
  color: var(--muted);
  line-height: 1.45;
}

.tool-link h3,
.tool-link .tool-description {
  grid-column: 2;
}

.tool-link h3 {
  align-self: center;
  color: var(--ink);
}

.tool-description {
  font-size: 0.92rem;
}

.tool-kicker {
  grid-column: 2;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-link--featured {
  min-height: 144px;
}

.tool-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-strong);
  background: linear-gradient(180deg, #eef4ff 0%, #dce9ff 100%);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.tool-card {
  overflow: hidden;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 28px;
  border-bottom: 1px solid rgba(194, 209, 224, 0.72);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.tool-header p:last-child {
  max-width: 760px;
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.form-area,
.gpa-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(280px, 1.18fr);
  gap: 24px;
  padding: 24px 28px 28px;
}

.tool-support {
  display: grid;
  gap: 22px;
  padding: 0 28px 28px;
}

.support-grid,
.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-card,
.faq-item,
.related-link {
  border: 1px solid rgba(194, 209, 224, 0.76);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--shadow-md);
}

.support-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.support-card--accent {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.06), rgba(15, 118, 110, 0.05)), #ffffff;
}

.support-card p,
.faq-item p,
.related-link span {
  color: var(--ink-soft);
  line-height: 1.65;
}

.support-label {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-block,
.related-block {
  display: grid;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}

.related-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.related-link:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.24);
}

.related-link__kicker {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-link strong {
  color: var(--ink);
  font-size: 1rem;
}

.input-grid,
.course-list {
  display: grid;
  gap: 14px;
}

.input-row,
.course-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-row {
  grid-template-columns: minmax(0, 1.4fr) 120px 120px auto;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(194, 209, 224, 0.7);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  padding: 0 14px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

input:hover,
select:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.22);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #1d4ed8 0%, #163ea9 100%);
}

.secondary-button {
  border: 1px solid rgba(194, 209, 224, 0.9);
  color: var(--ink);
  background: #fff;
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.24);
  background: var(--surface-soft);
}

.remove-course {
  color: var(--danger);
}

.result-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 100%;
  border: 1px solid rgba(194, 209, 224, 0.76);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.result-value {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--primary-strong);
}

.result-note,
.fine-print {
  color: var(--ink-soft);
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid rgba(194, 209, 224, 0.72);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.metric:nth-child(4n + 1) {
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

.metric:nth-child(4n + 2) {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fffb 100%);
}

.metric:nth-child(4n + 3) {
  background: linear-gradient(180deg, #fff7ed 0%, #fffdfa 100%);
}

.metric:nth-child(4n + 4) {
  background: linear-gradient(180deg, #f0fdfa 0%, #fbffff 100%);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
  color: var(--ink);
}

.world-clock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.clock-card {
  border: 1px solid rgba(194, 209, 224, 0.72);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.clock-card strong {
  display: block;
  font-size: 1.25rem;
}

.clock-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.sitemap-panel {
  padding: 28px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sitemap-grid a {
  border: 1px solid rgba(194, 209, 224, 0.76);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 14px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.sitemap-grid a:hover {
  border-color: rgba(29, 78, 216, 0.26);
  background: #f8fbff;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 24px 34px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .layout,
  .form-area,
  .gpa-layout,
  .home-overview {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .side-nav,
  .world-clock-grid,
  .sitemap-grid,
  .support-grid,
  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-square {
    min-height: 120px;
  }
}

@media (max-width: 820px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading--split {
    align-items: start;
    flex-direction: column;
  }

  .course-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .layout {
    width: min(100% - 24px, 1440px);
  }

  .hero-panel,
  .input-row,
  .metric-grid,
  .world-clock-grid,
  .sitemap-grid,
  .tool-grid,
  .support-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .tool-header,
  .form-area,
  .gpa-layout,
  .sitemap-panel,
  .tool-support {
    padding-left: 18px;
    padding-right: 18px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }
}

/* PrimeCalc refresh */
:root {
  --pc-blue: #1e40af;
  --pc-blue-2: #2563eb;
  --pc-blue-3: #1d4ed8;
  --pc-blue-soft: #dbeafe;
  --pc-bg: #edf2fb;
  --pc-text: #111827;
  --pc-text-soft: #374151;
  --pc-text-muted: #6b7280;
  --pc-line: #e5e7eb;
  --pc-radius: 12px;
  --pc-sidebar: 282px;
}

body {
  background: var(--pc-bg);
  color: var(--pc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
}

.site-header {
  min-height: auto;
  padding: 18px;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.brand {
  gap: 12px;
  font-size: 1rem;
  color: var(--pc-text);
}

.brand img {
  width: 38px;
  height: 38px;
}

.top-nav {
  gap: 10px;
}

.top-nav a {
  padding: 10px 14px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--pc-text-soft);
}

.top-nav a:hover {
  color: var(--pc-blue-2);
  border-color: #c7d2fe;
  background: #ffffff;
}

.layout {
  display: flex;
  gap: 18px;
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 0;
  align-items: flex-start;
}

.sidebar {
  width: var(--pc-sidebar);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--pc-line);
}

.content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-slot {
  background: #ffffff;
  border: 1.5px dashed #c7d2fe;
  border-radius: var(--pc-radius);
  box-shadow: none;
  padding: 18px;
  color: var(--pc-text-muted);
  text-align: center;
}

.ad-square {
  min-height: 250px;
  justify-content: center;
}

.ad-banner {
  min-height: 76px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--pc-line);
  font-size: 13px;
  font-weight: 600;
}

.side-nav {
  display: block;
  padding: 16px 18px;
  background: #ffffff;
  border: none;
  border-radius: var(--pc-radius);
  box-shadow: none;
}

.side-nav__heading {
  margin: 14px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--pc-blue-soft);
  color: var(--pc-blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.side-nav__heading:first-child {
  margin-top: 0;
}

.side-nav a {
  display: inline-block;
  width: calc(50% - 6px);
  min-height: auto;
  margin: 0 6px 3px 0;
  padding: 4px 2px;
  border: none;
  border-radius: 4px;
  color: var(--pc-text-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  vertical-align: top;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--pc-blue-2);
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-panel,
.tool-card,
.sitemap-panel {
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  background: #ffffff;
  box-shadow: none;
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 36px;
}

.hero-panel::before {
  display: none;
}

.hero-panel img {
  width: 140px;
  height: 110px;
  flex-shrink: 0;
  max-height: none;
}

.hero-copy {
  max-width: 520px;
}

.hero-tag {
  margin: 0 0 10px;
  color: var(--pc-blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-h {
  margin: 0 0 12px;
  color: var(--pc-text);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-p {
  margin: 0;
  color: var(--pc-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.home-section,
.calc-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-tag {
  color: var(--pc-blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.section-title {
  color: var(--pc-text);
  font-size: 24px;
  font-weight: 700;
}

.section-count {
  color: var(--pc-text-muted);
  font-size: 14px;
}

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

.calc-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  background: #ffffff;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.calc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30, 64, 175, 0.12);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.badge {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--pc-blue-soft);
  color: var(--pc-blue);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}

.card-cat {
  color: var(--pc-blue-2);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-name {
  margin-bottom: 5px;
  color: var(--pc-text);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.card-desc {
  flex: 1;
  color: var(--pc-text-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--pc-text-muted);
  font-size: 13px;
}

.breadcrumb-home {
  color: var(--pc-blue-2);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-home:hover {
  text-decoration: underline;
}

.bc-sep {
  font-size: 11px;
  color: var(--pc-text-muted);
}

.page-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-h {
  color: var(--pc-text);
  font-size: 28px;
  font-weight: 800;
}

.page-d {
  color: var(--pc-text-muted);
  font-size: 15px;
}

.tool-header {
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--pc-line);
  background: transparent;
}

.tool-header p:last-child {
  margin-top: 10px;
  color: var(--pc-text-muted);
}

.form-area,
.gpa-layout {
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: 16px;
  padding: 24px 28px 28px;
}

.tool-support {
  gap: 16px;
  padding: 0 28px 28px;
}

.support-grid,
.related-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-card,
.faq-item,
.related-link,
.result-panel,
.metric,
.clock-card,
.sitemap-grid a {
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: none;
}

.support-card,
.faq-item,
.related-link,
.metric,
.clock-card,
.sitemap-grid a,
.result-panel {
  background: #ffffff;
}

.support-card,
.faq-item,
.related-link {
  padding: 18px;
}

.support-card--accent {
  background: #ffffff;
}

.faq-item h4,
.related-link strong,
.support-label,
.support-card h3,
.section-heading h3,
.section-heading h2 {
  color: var(--pc-text);
}

.support-label,
.related-link__kicker,
.eyebrow {
  color: var(--pc-blue-2);
}

.input-grid,
.course-list {
  gap: 16px;
}

label {
  gap: 6px;
  color: var(--pc-text-soft);
  font-size: 13px;
  font-weight: 600;
}

input,
select {
  min-height: 44px;
  padding: 10px 13px;
  border: 1.5px solid var(--pc-line);
  border-radius: 8px;
}

input:focus,
select:focus {
  border-color: var(--pc-blue-2);
  box-shadow: none;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 15px;
}

.primary-button {
  background: var(--pc-blue-2);
  box-shadow: none;
}

.primary-button:hover {
  background: var(--pc-blue-3);
}

.secondary-button {
  border: 1px solid var(--pc-line);
}

.result-panel {
  padding: 22px 24px;
  background: var(--pc-blue-soft);
}

.result-value {
  color: var(--pc-blue);
  font-size: 34px;
}

.result-note,
.fine-print,
.support-card p,
.faq-item p,
.related-link span,
.tool-description {
  color: var(--pc-text-muted);
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.metric {
  padding: 14px 16px;
}

.metric:nth-child(4n + 1),
.metric:nth-child(4n + 2),
.metric:nth-child(4n + 3),
.metric:nth-child(4n + 4) {
  background: #ffffff;
}

.metric span {
  color: var(--pc-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric strong {
  margin-top: 4px;
  color: var(--pc-text);
  font-size: 18px;
}

.sitemap-panel {
  padding: 28px;
}

.site-footer {
  padding: 24px 24px 34px;
  color: var(--pc-text-muted);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-area,
  .gpa-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .layout {
    flex-direction: column;
    width: min(100% - 20px, 1320px);
  }

  .sidebar {
    width: 100%;
    position: static;
    max-height: none;
  }

  .hero-panel {
    padding: 20px;
    flex-direction: column;
  }

  .hero-panel img {
    display: none;
  }

  .side-nav a {
    width: calc(50% - 6px);
  }
}

@media (max-width: 400px) {
  .card-grid,
  .support-grid,
  .related-links,
  .metric-grid,
  .side-nav {
    grid-template-columns: 1fr;
  }

  .side-nav a {
    width: 100%;
  }
}

/* PrimeCalc redesign overrides */
:root {
  --pc-slate: #0d1629;
  --pc-slate3: #1a2d50;
  --pc-blue: #3b82f6;
  --pc-blue2: #2563eb;
  --pc-blue-glow: rgba(59, 130, 246, 0.12);
  --pc-green: #10b981;
  --pc-green-l: #ecfdf5;
  --pc-purple: #8b5cf6;
  --pc-purple-l: #f5f3ff;
  --pc-amber: #f59e0b;
  --pc-amber-l: #fffbeb;
  --pc-bg: #f5f7ff;
  --pc-card: #ffffff;
  --pc-t: #0f172a;
  --pc-t2: #334155;
  --pc-t3: #64748b;
  --pc-t4: #94a3b8;
  --pc-bd: #e2e8f0;
  --pc-bd2: #cbd5e1;
  --pc-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --pc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --pc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

body {
  background: var(--pc-bg);
  color: var(--pc-t);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.site-header,
.site-footer,
.hero-panel,
.ad-slot,
.sitemap-panel { display: none !important; }

.layout { display: block; width: 100%; margin: 0; }

.sidebar.sb-shell {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  width: 260px;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: var(--pc-slate);
}

.sb-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sb-logo { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--pc-blue); color: #fff; font-size: 16px; font-weight: 800; }
.sb-name { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.sb-tagline { margin-top: 1px; color: rgba(255,255,255,.35); font-size: 10px; }
.sb-search { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sb-search-btn { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); font-size: 13px; text-align: left; }
.sb-search-kbd { margin-left: auto; border-radius: 4px; background: rgba(255,255,255,.1); padding: 2px 6px; font-family: "DM Mono", monospace; font-size: 10px; }
.sb-scroll { flex: 1; overflow-y: auto; padding: 8px 0 80px; }
.sb-scroll::-webkit-scrollbar { width: 3px; }
.sb-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }
.side-nav.sb-scroll {
  padding: 8px 0 80px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.sb-cat-label { padding: 12px 20px 5px; color: rgba(255,255,255,.3); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sb-item { display: flex; width: 100%; align-items: center; gap: 10px; margin: 1px 0; border: none; border-left: 3px solid transparent; background: transparent; padding: 8px 16px 8px 20px; color: rgba(255,255,255,.6); font-size: 13px; text-align: left; }
.sb-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.92); }
.sb-item.active { border-left-color: var(--pc-blue); background: rgba(59,130,246,.15); color: #fff; }
.si-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 999px; opacity: .7; }
.si-dot[data-category="money-budgeting"], .si-dot[data-category="money"] { background: var(--pc-blue); }
.si-dot[data-category="converters"], .si-dot[data-category="conv"] { background: var(--pc-green); }
.si-dot[data-category="dates-planning"], .si-dot[data-category="dates"] { background: var(--pc-purple); }
.si-dot[data-category="health-school"], .si-dot[data-category="health"] { background: var(--pc-amber); }
.si-name { flex: 1; }
.side-nav.sb-scroll .sb-item,
.side-nav.sb-scroll .si-name {
  color: rgba(255,255,255,.72);
}

.content { margin-left: 260px; padding: 24px; }
.side-nav.sb-scroll .sb-item:hover,
.side-nav.sb-scroll .sb-item:hover .si-name {
  color: rgba(255,255,255,.94);
}

.side-nav.sb-scroll .sb-item.active,
.side-nav.sb-scroll .sb-item.active .si-name {
  color: #fff;
}

.tool-mount {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 24px;
}

.mobile-header { position: sticky; top: 0; z-index: 90; display: none; height: 56px; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--pc-slate); }
.mh-brand { display: flex; align-items: center; gap: 8px; }
.mh-logo { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; background: var(--pc-blue); color: #fff; font-size: 14px; font-weight: 800; }
.mh-name { color: #fff; font-size: 16px; font-weight: 700; }
.mh-actions { display: flex; align-items: center; gap: 8px; }
.mh-search-btn { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: none; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font-size: 16px; }

.sidebar-scrim {
  position: fixed;
  inset: 56px 0 64px;
  z-index: 95;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}

.sidebar-scrim[hidden] {
  display: none;
}

.bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 100; display: none; height: 64px; border-top: 1px solid rgba(255,255,255,.08); background: var(--pc-slate); }
.bn-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: none; background: none; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 600; }
.bn-item.active { color: var(--pc-blue); }
.bn-icon { font-size: 20px; line-height: 1; }

.search-overlay { position: fixed; inset: 0; z-index: 999; display: none; align-items: flex-start; justify-content: center; padding-top: 80px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 560px; margin: 0 16px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--pc-shadow-lg); }
.search-input-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--pc-bd); padding: 16px 20px; }
.search-icon { flex-shrink: 0; color: var(--pc-t3); font-size: 18px; }
.search-input { flex: 1; border: none; background: none; color: var(--pc-t); font-size: 16px; outline: none; }
.search-close { border: none; border-radius: 6px; background: var(--pc-bg); padding: 4px 10px; color: var(--pc-t3); font-size: 13px; }
.search-results { max-height: 360px; overflow-y: auto; padding: 8px; }
.sr-item { display: flex; width: 100%; align-items: center; gap: 12px; border: none; border-radius: 9px; background: none; padding: 11px 14px; text-align: left; }
.sr-item:hover { background: var(--pc-bg); }
.sr-badge, .cc-abbr { display: flex; align-items: center; justify-content: center; font-family: "DM Mono", monospace; font-weight: 800; }
.sr-badge { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; font-size: 10px; }
.sr-badge[data-category="money-budgeting"], .sr-badge[data-category="money"], .cc-abbr[data-category="money-budgeting"], .cc-abbr[data-category="money"] { background: #eff6ff; color: var(--pc-blue2); }
.sr-badge[data-category="converters"], .sr-badge[data-category="conv"], .cc-abbr[data-category="converters"], .cc-abbr[data-category="conv"] { background: var(--pc-green-l); color: var(--pc-green); }
.sr-badge[data-category="dates-planning"], .sr-badge[data-category="dates"], .cc-abbr[data-category="dates-planning"], .cc-abbr[data-category="dates"] { background: var(--pc-purple-l); color: var(--pc-purple); }
.sr-badge[data-category="health-school"], .sr-badge[data-category="health"], .cc-abbr[data-category="health-school"], .cc-abbr[data-category="health"] { background: var(--pc-amber-l); color: var(--pc-amber); }
.sr-name { color: var(--pc-t); font-size: 14px; font-weight: 600; }
.sr-cat, .sr-empty { color: var(--pc-t3); font-size: 12px; }
.sr-empty { padding: 24px; text-align: center; }

.home-hero { position: relative; overflow: hidden; margin-bottom: 28px; border-radius: 20px; background: linear-gradient(135deg, var(--pc-slate) 0%, var(--pc-slate3) 100%); padding: 36px 40px; }
.home-hero::before, .home-hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.home-hero::before { top: -60px; right: -60px; width: 260px; height: 260px; background: rgba(59,130,246,.12); }
.home-hero::after { right: 80px; bottom: -80px; width: 180px; height: 180px; background: rgba(139,92,246,.08); }
.hh-tag { margin-bottom: 10px; color: var(--pc-blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hh-title { margin: 0 0 10px; color: #fff; font-size: clamp(26px,4vw,40px); font-weight: 800; line-height: 1.1; letter-spacing: -.5px; }
.hh-title em { color: var(--pc-blue); font-style: normal; }
.hh-sub { max-width: 440px; margin-bottom: 28px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.65; }
.hh-search { display: flex; max-width: 500px; gap: 10px; }
.hh-search-btn { border: none; border-radius: 10px; background: var(--pc-blue); padding: 13px 20px; color: #fff; font-size: 14px; font-weight: 600; }
.hh-stats { display: flex; gap: 24px; margin-top: 28px; }
.hh-stat { color: rgba(255,255,255,.72); }
.hh-stat strong { display: block; color: #fff; font-family: "DM Mono", monospace; font-size: 22px; font-weight: 500; }
.hh-stat span { font-size: 12px; }
.home-section { margin-bottom: 32px; }
.hs-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hs-title { display: flex; align-items: center; gap: 8px; color: var(--pc-t); font-size: 16px; font-weight: 700; }
.hs-dot { width: 8px; height: 8px; border-radius: 999px; }
.hs-dot--amber { background: var(--pc-amber); }
.hs-dot--money-budgeting, .hs-dot--money { background: var(--pc-blue); }
.hs-dot--converters, .hs-dot--conv { background: var(--pc-green); }
.hs-dot--dates-planning, .hs-dot--dates { background: var(--pc-purple); }
.hs-dot--health-school, .hs-dot--health { background: var(--pc-amber); }
.hs-more { border: none; background: none; color: var(--pc-blue); font-size: 13px; font-weight: 600; }

.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.calc-card { display: flex; flex-direction: column; border: 1.5px solid var(--pc-bd); border-radius: 12px; background: var(--pc-card); padding: 18px; box-shadow: var(--pc-shadow); text-decoration: none; transition: all .22s ease; }
.calc-card:hover { transform: translateY(-2px); border-color: var(--pc-blue); box-shadow: 0 0 0 4px var(--pc-blue-glow), var(--pc-shadow-md); }
.cc-badge { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cc-abbr { width: 42px; height: 42px; border-radius: 9px; font-size: 10px; letter-spacing: .04em; }
.cc-cat { color: var(--pc-t3); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cc-name { margin-bottom: 5px; color: var(--pc-t); font-size: 14px; font-weight: 700; line-height: 1.35; }
.cc-desc { flex: 1; color: var(--pc-t3); font-size: 12px; line-height: 1.5; }
.cc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; border-top: 1px solid var(--pc-bd); padding-top: 11px; }
.cc-time { color: var(--pc-t4); font-size: 11px; }
.cc-arr { color: var(--pc-blue); font-size: 16px; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.calc-card:hover .cc-arr { opacity: 1; transform: translateX(0); }

.calc-page { display: grid; gap: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--pc-t3); font-size: 13px; }
.breadcrumb-home { color: var(--pc-blue); font-weight: 500; text-decoration: none; }
.bc-sep { color: var(--pc-bd2); }
.page-h { margin-bottom: 5px; color: var(--pc-t); font-size: 26px; font-weight: 800; letter-spacing: -.4px; }
.page-d { color: var(--pc-t3); font-size: 14px; line-height: 1.6; }
.calc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.inputs-panel, .support-card, .faq-item, .related-link, #resultHost > .result-panel, #resultHost > .result-empty { border: 1.5px solid var(--pc-bd); border-radius: 16px; background: var(--pc-card); box-shadow: var(--pc-shadow); }
.ip-head { border-bottom: 1.5px solid var(--pc-bd); background: linear-gradient(to right, rgba(59,130,246,.04), transparent); padding: 18px 22px; }
.ip-head-title { color: var(--pc-t); font-size: 14px; font-weight: 700; }
.ip-head-sub { margin-top: 2px; color: var(--pc-t3); font-size: 12px; }
.ip-body { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; }
.result-panel-shell { position: sticky; top: 20px; }
#resultHost { display: grid; gap: 12px; }
.result-empty { border: none !important; background: linear-gradient(145deg, #0d1d42, #1a3a8f); padding: 36px 28px; text-align: center; }
.re-icon { margin-bottom: 12px; color: rgba(255,255,255,.5); font-size: 36px; }
.re-text { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; }
#resultHost > .result-panel { border: none; background: linear-gradient(145deg,#0d1d42 0%,#1a3a8f 50%,#1e40af 100%); box-shadow: 0 8px 32px rgba(29,78,216,.35), 0 2px 8px rgba(0,0,0,.2); padding: 28px; }
#resultHost > .result-panel .result-value { color: #fff; font-family: "DM Mono", monospace; font-size: 42px; font-weight: 500; line-height: 1; letter-spacing: -.5px; }
#resultHost > .result-panel h3 { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#resultHost > .result-panel .result-note { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.5; }
#resultHost > .result-panel .metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
#resultHost > .result-panel .metric { border: 1.5px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.08); padding: 12px 14px; }
#resultHost > .result-panel .metric span { display: block; margin-bottom: 4px; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600; text-transform: uppercase; }
#resultHost > .result-panel .metric strong { color: #fff; font-family: "DM Mono", monospace; font-size: 16px; font-weight: 500; }

.input-grid, .gpa-layout, .course-list, .input-row, .form-actions { display: grid; gap: 12px; }
.input-row, .support-grid, .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input-grid label, .course-row label { display: flex; flex-direction: column; gap: 6px; color: var(--pc-t2); font-size: 12px; font-weight: 700; }
.input-grid input, .input-grid select, .course-row input, .course-row select { height: 50px; width: 100%; border: 1.5px solid var(--pc-bd); border-radius: 10px; background: var(--pc-bg); padding: 0 14px; color: var(--pc-t); font-family: "DM Sans", sans-serif; font-size: 14px; }
.input-grid input:focus, .input-grid select:focus, .course-row input:focus, .course-row select:focus { border-color: var(--pc-blue); outline: none; box-shadow: 0 0 0 3px var(--pc-blue-glow); background: #fff; }
.primary-button, .secondary-button { border: none; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; }
.primary-button { background: var(--pc-blue); color: #fff; }
.secondary-button { border: 1.5px solid var(--pc-bd); background: #fff; color: var(--pc-t2); }
.course-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; align-items: end; }

.tool-support { display: grid; gap: 18px; }
.support-card, .faq-item, .related-link { padding: 18px; }
.support-card--accent { background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%); }
.support-label, .section-heading .eyebrow { margin-bottom: 8px; color: var(--pc-blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.support-card h3, .section-heading h3 { margin-bottom: 10px; color: var(--pc-t); font-size: 16px; font-weight: 700; }
.support-card p, .faq-item p, .related-link span { color: var(--pc-t3); font-size: 13px; line-height: 1.6; }
.support-list { padding-left: 18px; color: var(--pc-t3); }
.support-list li + li { margin-top: 8px; }
.faq-list, .related-links { display: grid; gap: 12px; }
.faq-item h4 { margin-bottom: 6px; color: var(--pc-t); font-size: 14px; font-weight: 700; }
.related-link { display: grid; gap: 6px; text-decoration: none; }
.related-link:hover { border-color: var(--pc-blue); box-shadow: 0 0 0 3px var(--pc-blue-glow); }
.related-link__kicker { color: var(--pc-blue); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.related-link strong { color: var(--pc-t); font-size: 13px; }
.cat-hero { border-radius: 16px; background: linear-gradient(135deg, var(--pc-slate) 0%, var(--pc-slate3) 100%); padding: 24px 28px; }
.cat-hero[data-category="money-budgeting"], .cat-hero[data-category="money"] { background: linear-gradient(135deg, #1e40af, #2563eb); }
.cat-hero[data-category="converters"], .cat-hero[data-category="conv"] { background: linear-gradient(135deg, #065f46, #059669); }
.cat-hero[data-category="dates-planning"], .cat-hero[data-category="dates"] { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.cat-hero[data-category="health-school"], .cat-hero[data-category="health"] { background: linear-gradient(135deg, #92400e, #d97706); }
.ch-title { margin-bottom: 5px; color: #fff; font-size: 22px; font-weight: 800; }
.ch-count { color: rgba(255,255,255,.7); font-size: 13px; }
.anim-fade { animation: pcFadeUp .3s ease both; }
@keyframes pcFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
  .sidebar.sb-shell { transform: translateX(-100%); }
  .sidebar.sb-shell.open { transform: translateX(0); box-shadow: var(--pc-shadow-lg); }
  .content { margin-left: 0; padding: 16px 14px 88px; }
  .mobile-header, .bottom-nav { display: flex; }
}

@media (max-width: 720px) {
  .calc-layout, .support-grid, .related-links, .input-row, .course-row, #resultHost > .result-panel .metric-grid, .calc-grid { grid-template-columns: 1fr; }
  .result-panel-shell { position: static; }
  .home-hero { padding: 24px 22px; }
  .hh-search { flex-direction: column; }
  .hh-stats { gap: 16px; }
  .primary-button, .secondary-button, .mh-search-btn, .bn-item { min-height: 48px; }
}
