:root {
  --rr-ink: #17242e;
  --rr-muted: #5b6b78;
  --rr-border: #e1e7ee;
  --rr-card: #ffffff;
  --rr-bg: #f7f9fb;
  --rr-hero: linear-gradient(135deg, #eaf3fb 0%, #f3f6f0 100%);
  --rr-accent: #006da0;
  --rr-accent-strong: #005a84;
  --rr-accent-soft: #d9f1ef;
  --rr-amber: #f6d9a5;
  --rr-shadow: 0 18px 40px rgba(23, 36, 46, 0.08);
}

.dashboard-page .content {
  background: var(--rr-bg);
  padding-bottom: 64px;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.dashboard-hero {
  background: var(--rr-hero);
  border-bottom: 1px solid var(--rr-border);
  padding: 36px 0 40px;
}

.dashboard-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6f4f8;
  color: var(--rr-accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.dashboard-hero h1 {
  margin: 16px 0 8px;
  font-size: 34px;
  color: var(--rr-ink);
}

.hero-subhead {
  font-size: 18px;
  color: var(--rr-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-support {
  max-width: 640px;
  color: var(--rr-muted);
  font-size: 16px;
}

.hero-actions { margin-top: 22px; }

.dashboard-container {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 24px;
  display: grid;
  gap: 24px;
}

.card {
  background: var(--rr-card);
  border: 1px solid var(--rr-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--rr-shadow);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  color: var(--rr-ink);
}

.section-pill {
  background: #eef4f8;
  color: var(--rr-muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e6f4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--rr-accent);
  stroke-width: 1.8;
  fill: none;
}

.section-icon.amber { background: #fbf2de; }
.section-icon.amber svg { stroke: #d79b3f; }
.section-icon.green { background: #e6f4f8; }

.section-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--rr-accent);
  color: #fff;
  border-color: var(--rr-accent);
}

.btn-primary:hover { background: var(--rr-accent-strong); }

.btn-outline {
  background: #fff;
  color: var(--rr-accent-strong);
  border-color: #e0e6df;
}

.text-link {
  color: var(--rr-accent);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.progress-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
}

.progress-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--rr-accent) var(--progress, 0%), #e4eaf1 0%);
  display: grid;
  place-items: center;
}

.progress-ring-inner {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid #f0ede7;
}

.progress-value { font-size: 28px; font-weight: 700; color: var(--rr-ink); }
.progress-label { font-size: 13px; color: var(--rr-muted); }

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

.progress-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f2ede6;
}

.progress-item:last-child { border-bottom: none; }

.progress-status {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4f8;
  color: var(--rr-muted);
}

.progress-status svg {
  width: 18px;
  height: 18px;
  stroke: var(--rr-accent);
  stroke-width: 2;
  fill: none;
}

.progress-status.is-done { background: #e2efe6; }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #93a79b;
}

.progress-title { margin: 0; font-weight: 700; color: var(--rr-ink); }
.progress-sub { margin: 4px 0 0; color: var(--rr-muted); font-size: 13px; }
.progress-arrow { color: #b8c2b7; font-size: 20px; }

.thought-card .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rr-muted);
  margin-bottom: 6px;
}

.thought-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thought-title { display: flex; align-items: center; gap: 12px; }
.thought-pagination { font-size: 12px; color: #b1b8b2; margin-top: 2px; }

.thought-body h3 { margin: 8px 0 10px; color: var(--rr-ink); font-size: 18px; }
.thought-body p { color: var(--rr-muted); line-height: 1.5; }

.thought-body.is-fading { opacity: 0; transform: translateY(6px); }
.thought-body { transition: opacity 0.25s ease, transform 0.25s ease; }
.thought-card { cursor: pointer; }
.thought-card:hover { box-shadow: 0 22px 44px rgba(23, 36, 46, 0.12); }

.jobs-card .section-header { margin-bottom: 16px; }

.jobs-placeholder {
  background: #f3f7fb;
  border: 1px solid #dfe8f2;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  display: grid;
  gap: 14px;
}

.jobs-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e6f4f8;
  border: 1px solid #d3e6f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.jobs-placeholder-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--rr-accent);
  stroke-width: 1.8;
  fill: none;
}

.jobs-placeholder h3 { margin: 6px 0 0; color: var(--rr-ink); }
.jobs-placeholder p { color: var(--rr-muted); max-width: 520px; margin: 0 auto; }

.jobs-carousel {
  display: grid;
  gap: 16px;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--rr-muted);
}

.carousel-actions { display: inline-flex; gap: 8px; }

.carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e0e6df;
  background: #fff;
  color: var(--rr-muted);
  cursor: pointer;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: #e3e7e0; border-radius: 999px; }

.job-card {
  background: #f3f7fb;
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
  scroll-snap-align: start;
}

.job-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
}

.job-badge--invited {
  background: #fef3c7;
  color: #92400e;
}

.job-location { font-size: 12px; color: var(--rr-muted); margin-bottom: 6px; }
.job-card h3 { margin: 0; font-size: 16px; color: var(--rr-ink); }

.jobs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobs-empty {
  padding: 16px;
  color: var(--rr-muted);
}

.muted { color: var(--rr-muted); }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.mini-card {
  border: 1px solid #dfe8f2;
  background: #f5f8fc;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.mini-card p { margin: 0 0 4px; font-weight: 700; color: var(--rr-muted); }
.mini-card span { font-size: 12px; color: #b0b8b1; }

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.org-card {
  border: 1px solid #dfe8f2;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

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

.org-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e6f4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.org-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--rr-accent);
  stroke-width: 1.8;
  fill: none;
}

.org-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6f4f8;
  color: var(--rr-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
}

.org-link { color: #c1c8c0; }

.org-placeholder {
  background: #f3f7fb;
  border: 1px dashed #d6e4f0;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.learning-list {
  display: grid;
  gap: 16px;
}

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

.module-reco-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  background: #fff;
}

.module-reco-copy h3 {
  margin: 0;
  font-size: 16px;
  color: var(--rr-ink);
}

.module-reco-copy p {
  margin: 8px 0 0;
}

.module-reco-meta {
  margin: 0.35rem 0 0;
  color: #7d8e9f;
  font-size: 0.82rem;
}

.action-plan-card {
  display: grid;
  gap: 12px;
}

.action-plan-body p {
  margin: 0;
  max-width: 760px;
}

.action-plan-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.learning-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe8f2;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}

.learning-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fbf2de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.learning-icon svg {
  width: 20px;
  height: 20px;
  stroke: #d79b3f;
  stroke-width: 1.8;
  fill: none;
}

.learning-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.learning-title h3 { margin: 0; font-size: 16px; color: var(--rr-ink); }
.learning-time { font-size: 12px; color: #a1a9a3; }

.learning-progress {
  margin-top: 8px;
  background: #f0e6d6;
  border-radius: 999px;
  height: 8px;
  position: relative;
}

.learning-bar {
  height: 100%;
  background: #d79b3f;
  border-radius: 999px;
}

.learning-progress span {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 12px;
  color: #d79b3f;
}

.jobs-tracker-grid {
  margin-top: -2px;
}

.jobs-placeholder--left {
  text-align: left;
  justify-items: start;
}

.applied-job-list {
  display: grid;
  gap: 12px;
}

.applied-job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eaf0f6;
}

.applied-job-item:last-child {
  border-bottom: none;
}

.applied-job-item h3 {
  margin: 0;
  font-size: 16px;
  color: var(--rr-ink);
}

.applied-job-item p {
  margin: 4px 0 0;
}

@media (max-width: 1024px) {
  .section-grid { grid-template-columns: 1fr; }
  .progress-body { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card-grid { grid-template-columns: 1fr 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dashboard-hero h1 { font-size: 26px; }
  .dashboard-container { padding: 0 16px; }
  .dashboard-hero-inner { padding: 0 16px; }
  .org-grid { grid-template-columns: 1fr; }
  .module-card-grid { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .jobs-footer { flex-direction: column; align-items: flex-start; }
}
