:root {
  --navy: #1e3a5f;
  --navy-light: #2d4a73;
  --blue: #2563eb;
  --green: #16a34a;
  --yellow: #ca8a04;
  --red: #dc2626;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  --radius: 12px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.5;
}

button {
  font: inherit;
  cursor: pointer;
}

.page {
  min-height: 100vh;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

/* Home Page */
.home-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.home-header {
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.site-logo-sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-logo-lg {
  width: 96px;
  height: 96px;
  border-radius: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-copy p {
  margin: 0;
  color: var(--gray-500);
}

.brand h1 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--navy);
}

.brand-copy p,
.brand p {
  margin: 0;
  color: var(--gray-500);
}

.hero {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.hero h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.75rem;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--gray-700);
  max-width: 720px;
}

.hero-subtitle {
  margin: -0.25rem 0 1rem !important;
  color: var(--cq-blue) !important;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.hero-subtitle-lead,
.hero-subtitle-detail {
  display: block;
}

.hero-subtitle-lead {
  margin-bottom: 0.35em;
}

.hero-subtitle-detail {
  line-height: 1.15;
}

.resume-banner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.stages-overview,
.categories-list {
  margin-bottom: 2rem;
}

.stages-overview h3,
.categories-list h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stage-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--stage-color);
}

.stage-card h4 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.stage-card > p {
  margin: 0 0 0.75rem;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.stage-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stage-card li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.stage-card li.done {
  color: var(--green);
  font-weight: 600;
}

.stage-card li.partial {
  color: var(--blue);
}

.dimension-link {
  border: none;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-weight: inherit;
}

.dimension-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-align: left;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}

.category-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.category-card.complete {
  border-color: #86efac;
  background: #f0fdf4;
}

.category-icon {
  font-size: 1.5rem;
}

.category-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.category-card small {
  color: var(--gray-500);
  font-size: 0.78rem;
}

.category-progress {
  margin-left: auto;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.category-card::after {
  content: 'View';
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Dimension Detail Page */
.dimension-page {
  min-height: 100vh;
  background: var(--gray-50);
}

.dimension-hero {
  position: relative;
  padding: 1.5rem;
  background-image:
    linear-gradient(180deg, rgba(7, 26, 68, 0.72), rgba(7, 26, 68, 0.9)),
    var(--dimension-bg);
  background-size: cover;
  background-position: center;
}

.dimension-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}

.dimension-title-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

.dimension-title-card .eyebrow {
  color: rgba(255, 255, 255, 0.78) !important;
}

.dimension-title-card h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

.dimension-title-card p {
  margin: 0;
  max-width: 720px;
}

.dimension-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  background: white;
  font-size: 2rem;
}

.dimension-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.dimension-score-card {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 1rem;
  margin: -2rem 0 1.25rem;
  position: relative;
  z-index: 1;
}

.dimension-score-card > div,
.dimension-panel {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.dimension-score-card > div {
  padding: 1.1rem;
}

.dimension-score-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dimension-score-card strong {
  display: block;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.dimension-score-card small {
  display: block;
  margin-top: 0.4rem;
  font-weight: 800;
}

.dimension-score-card p {
  margin: 0;
  color: var(--gray-700);
  font-weight: 700;
}

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

.dimension-panel {
  padding: 1.25rem;
}

.dimension-panel.wide {
  grid-column: 1 / -1;
}

.dimension-panel h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dimension-panel p {
  margin: 0;
  color: var(--gray-700);
}

.dimension-panel ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gray-700);
}

.dimension-video-link {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dimension-video-link:hover,
.dimension-video-link:focus {
  color: var(--blue);
}

.radar-focus-grid .dimension-video-link {
  color: #bfdbfe;
}

.radar-focus-grid .dimension-video-link:hover,
.radar-focus-grid .dimension-video-link:focus {
  color: #fff;
}

.dimension-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.journey-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: 1.35rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.journey-intro h3 {
  margin: 0 0 0.5rem;
}

.journey-intro p {
  margin: 0;
  color: var(--gray-700);
  font-weight: 600;
}

.journey-intro ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-intro li {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.journey-intro li::before {
  content: '✓';
  margin-right: 0.45rem;
  color: var(--green);
}

/* My CQ Account */
.loading-page {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.loading-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  color: var(--navy);
  font-weight: 800;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--navy);
  font-size: 0.78rem;
}

.account-strip > div {
  display: grid;
  gap: 0.1rem;
  min-width: 92px;
}

.account-strip strong {
  line-height: 1.15;
}

.account-strip span {
  color: var(--gray-500);
  font-weight: 700;
}

.account-strip .btn {
  padding: 0.48rem 0.7rem;
  font-size: 0.76rem;
}

.account-strip-compact {
  justify-content: flex-end;
  gap: 0.65rem;
}

.home-header .account-strip-compact {
  width: auto;
  margin-left: auto;
}

.account-strip-dark {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(12px);
}

.account-strip-dark span {
  color: rgba(255, 255, 255, 0.76);
}

.my-cq-overview,
.auth-panel,
.cq-journey-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.my-cq-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  max-width: none;
}

.my-cq-panel {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}

.my-cq-stats-panel {
  flex: 1 1 340px;
}

.my-cq-cta-panel {
  flex: 1 1 280px;
  justify-content: space-between;
}

.my-cq-cta-panel-full {
  flex: 1 1 100%;
}

.my-cq-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.my-cq-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}

.my-cq-overview span,
.cq-journey-card p,
.auth-panel p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.my-cq-overview strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.my-cq-description {
  flex: 1 1 auto;
  margin: 0;
  color: var(--gray-700);
  line-height: 1.5;
  font-size: 0.95rem;
}

.my-cq-overview .resume-banner {
  flex: 1 1 100%;
  margin: 0;
}

.my-cq-stats-panel .history-btn,
.my-cq-start-btn {
  align-self: flex-start;
  white-space: nowrap;
}

.auth-panel,
.cq-journey-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.3rem !important;
  color: var(--blue) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-panel h3,
.cq-journey-card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.auth-panel p,
.cq-journey-card p {
  margin: 0;
}

.auth-actions {
  display: grid;
  gap: 0.75rem;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-google:hover {
  background: var(--gray-50);
}

.btn-google-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: var(--gray-200);
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.auth-toggle {
  border: none;
  background: transparent;
  color: var(--blue);
  padding: 0;
  text-align: left;
  font-weight: 800;
}

.auth-message,
.auth-error {
  font-weight: 700;
}

.auth-message {
  color: var(--green) !important;
}

.auth-error {
  color: var(--red) !important;
}

.cq-journey-card {
  margin-top: 0;
}

.cq-journey-card ol {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cq-journey-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 800;
}

.cq-journey-card li strong {
  font-size: 1.2rem;
}

/* My Profile Page */
.profile-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.profile-hero-card,
.profile-history-panel,
.profile-detail-panel {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.profile-hero-card h1 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.profile-hero-card p {
  margin: 0;
  color: var(--gray-700);
  font-weight: 700;
}

.profile-hero-score {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  color: var(--navy);
}

.profile-hero-score span,
.profile-hero-score small {
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-hero-score strong {
  font-size: 3.8rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.profile-account-panel {
  display: grid;
  gap: 1rem;
}

.profile-account-panel p {
  margin: 0 0 0.75rem;
  color: var(--gray-700);
  font-weight: 700;
}

.profile-history-panel,
.profile-detail-panel {
  padding: 1rem;
}

.profile-history-panel h2,
.profile-detail-heading h2,
.profile-detail-card h3 {
  margin: 0;
  color: var(--navy);
}

.profile-history-panel p,
.profile-detail-heading p {
  margin: 0.25rem 0 0;
  color: var(--gray-500);
  font-weight: 700;
}

.profile-run-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.profile-run-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  width: 100%;
  padding: 0.85rem;
  text-align: left;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.profile-run-card:hover,
.profile-run-card.selected {
  border-color: var(--blue);
  background: #eff6ff;
  transform: translateY(-1px);
}

.profile-run-card span,
.profile-run-card small {
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 800;
}

.profile-run-card strong {
  grid-row: span 2;
  align-self: center;
  color: var(--navy);
  font-size: 1.35rem;
}

.profile-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.profile-detail-score {
  white-space: nowrap;
  color: var(--navy);
}

.profile-detail-score strong {
  font-size: 3rem;
  line-height: 0.9;
}

.profile-detail-score span {
  font-weight: 900;
}

.profile-detail-score small {
  display: block;
  margin-top: 0.25rem;
  text-align: right;
  font-weight: 900;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.profile-detail-card {
  padding: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
}

.profile-detail-card.wide {
  grid-column: 1 / -1;
}

.profile-detail-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-detail-card h3 span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.profile-radar-card,
.profile-dimensions-card {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.profile-radar-card:hover,
.profile-radar-card:focus-visible,
.profile-dimensions-card:hover,
.profile-dimensions-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(7, 95, 201, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.profile-detail-card ol,
.profile-detail-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gray-700);
}

.profile-detail-card li span {
  float: right;
  color: var(--navy);
  font-weight: 900;
}

.profile-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.profile-domain-grid div {
  padding: 0.85rem;
  background: white;
  border: 1px solid color-mix(in srgb, var(--stage-color) 35%, white);
  border-left: 5px solid var(--stage-color);
  border-radius: 10px;
}

.profile-domain-grid span,
.profile-domain-grid em {
  display: block;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

.profile-domain-grid strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--stage-color);
  font-size: 0.9rem;
}

.profile-trend-svg {
  width: 100%;
  height: auto;
  max-height: 190px;
}

.profile-trend-svg line {
  stroke: #d8e2f0;
  stroke-width: 2;
}

.profile-trend-svg polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-trend-svg circle {
  fill: var(--green);
  stroke: white;
  stroke-width: 2;
}

.profile-trend-svg text {
  fill: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.profile-radar-wrap {
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
}

.profile-radar-svg {
  width: min(100%, 620px);
  max-height: 420px;
}

.profile-dimension-list {
  overflow: hidden;
}

.profile-dimension-list .expanded-score-row {
  grid-template-columns: minmax(210px, 1.4fr) minmax(150px, 1fr) 48px 112px;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

.profile-dimension-list .row-name {
  font-size: 0.82rem;
}

.profile-dimension-list .row-band {
  font-size: 0.78rem;
  white-space: nowrap;
}

.profile-dimension-list .row-score {
  font-size: 1rem;
}

.clickable-score-row {
  cursor: pointer;
  border-radius: 9px;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.clickable-score-row:hover,
.clickable-score-row:focus-visible {
  background: #eff6ff;
  box-shadow: inset 3px 0 0 var(--blue);
  outline: none;
  transform: translateX(2px);
}

.profile-empty {
  padding: 1rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: 12px;
  font-weight: 700;
}

.profile-empty.large {
  padding: 3rem;
  text-align: center;
}

@media (max-width: 820px) {
  .home-header,
  .assessment-header,
  .results-nav,
  .dimension-header,
  .profile-header,
  .profile-detail-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .account-strip {
    width: 100%;
  }

  .my-cq-overview,
  .auth-panel,
  .cq-journey-card {
    grid-template-columns: 1fr;
  }

  .dimension-title-card,
  .dimension-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dimension-score-card,
  .dimension-grid,
  .profile-hero-card,
  .profile-layout,
  .profile-detail-grid,
  .profile-domain-grid,
  .profile-dimension-list .expanded-score-row {
    grid-template-columns: 1fr;
  }

  .profile-radar-wrap {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .my-cq-overview {
    flex-direction: column;
  }

  .my-cq-stats-grid {
    grid-template-columns: 1fr;
  }

  .my-cq-stats-panel .history-btn,
  .my-cq-start-btn {
    width: 100%;
    white-space: normal;
  }

  .account-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Assessment Page */
.assessment-page {
  position: relative;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.assessment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.assessment-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  min-height: 100vh;
}

.assessment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.assessment-meta {
  text-align: right;
  color: white;
}

.category-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.question-count {
  font-size: 0.85rem;
  opacity: 0.85;
}

.category-progress-bar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.progress-segment {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.progress-segment.filled {
  background: #4ade80;
}

.progress-segment.current {
  box-shadow: 0 0 0 2px white;
}

.overall-progress {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.question-panel {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.question-stage {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.question-text {
  margin: 0 0 1.75rem;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
}

.rating-instruction {
  margin: 0 0 1rem;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.rating-options {
  display: grid;
  gap: 0.625rem;
}

.rating-option {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 0.875rem;
  text-align: left;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  transition: border-color 0.15s, background 0.15s;
}

.rating-option:hover {
  border-color: var(--blue);
}

.rating-option.selected {
  border-color: var(--navy);
  background: #eff6ff;
}

.rating-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.rating-label {
  color: var(--gray-700);
  font-size: 0.92rem;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

/* Calculating Page */
.calculating-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(7, 95, 201, 0.16), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.calculating-card {
  width: min(560px, 100%);
  padding: 2.25rem;
  text-align: center;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(7, 26, 68, 0.16);
}

.calculating-gauge {
  width: 220px;
  margin: 0 auto 1rem;
}

.calculating-gauge svg {
  width: 100%;
  overflow: visible;
}

.calculating-gauge path {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
}

.calculating-gauge-bg {
  stroke: #e8edf5;
}

.calculating-gauge-fill {
  stroke: url(#calculatingGaugeGradient);
  stroke-dasharray: 268;
  stroke-dashoffset: 268;
  animation: cqGaugeFill 2.6s ease-out forwards;
}

.calculating-gauge circle {
  fill: var(--cq-navy);
}

.calculating-kicker {
  margin: 0 0 0.65rem;
  color: var(--cq-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calculating-card h1 {
  margin: 0;
  color: var(--cq-navy);
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

.calculating-copy {
  margin: 1rem auto 0;
  max-width: 390px;
  color: var(--gray-700);
  font-weight: 700;
}

@keyframes cqGaugeFill {
  to {
    stroke-dashoffset: 42;
  }
}

/* Results Page */
.results-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.results-header h1 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
}

.results-subtitle {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--gray-700);
}

.results-description {
  margin: 0;
  color: var(--gray-500);
  max-width: 640px;
}

.results-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.overall-score-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.gauge-container {
  text-align: center;
}

.gauge-svg {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  display: block;
}

.gauge-score {
  margin-top: -1.5rem;
}

.score-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
}

.score-max {
  color: var(--gray-500);
  font-size: 1.1rem;
}

.gauge-label {
  margin: 0.25rem 0 0;
  font-weight: 700;
}

.gauge-label.exceptional,
.exceptional {
  color: var(--green);
}

.gauge-label.strong,
.strong {
  color: var(--yellow);
}

.gauge-label.developing,
.developing {
  color: var(--red);
}

.benchmark-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 1rem;
}

.benchmark-note p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.92rem;
}

.category-scores {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.category-scores h2,
.detailed-scores h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.score-table-header,
.score-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 1fr) 48px 120px;
  gap: 0.75rem;
  align-items: center;
}

.score-table-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0.5rem;
}

.score-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.score-row-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.row-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.row-icon {
  flex-shrink: 0;
}

.row-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-900);
}

.segmented-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}

.segment {
  height: 10px;
  border-radius: 2px;
  background: var(--gray-200);
}

.segment.exceptional {
  background: var(--green);
}

.segment.strong {
  background: var(--yellow);
}

.segment.developing {
  background: var(--red);
}

.row-score {
  font-weight: 800;
  color: var(--navy);
  text-align: center;
}

.row-band {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.band-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.detailed-scores {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.detail-category {
  margin-bottom: 1.5rem;
}

.detail-category h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.detail-table th,
.detail-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}

.detail-table th {
  background: var(--gray-50);
  color: var(--gray-500);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.total-row td {
  font-weight: 700;
  color: var(--navy);
}

.results-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.sidebar-card ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.sidebar-card li {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.sidebar-card li span {
  float: right;
  font-weight: 700;
  color: var(--navy);
}

.sidebar-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.strengths {
  border-left: 4px solid var(--green);
}

.opportunities {
  border-left: 4px solid #ea580c;
}

.score-key ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.score-key li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.score-key .band-dot.exceptional {
  background: var(--green);
}

.score-key .band-dot.strong {
  background: var(--yellow);
}

.score-key .band-dot.developing {
  background: var(--red);
}

.tip-banner {
  display: flex;
  gap: 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1rem;
}

.tip-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--navy);
}

@media (max-width: 960px) {
  .results-layout {
    grid-template-columns: 1fr;
  }

  .overall-score-card {
    grid-template-columns: 1fr;
  }

  .score-table-header {
    display: none;
  }

  .score-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .segmented-bar {
    max-width: 280px;
  }

  .results-header {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .journey-intro,
  .journey-intro ul {
    grid-template-columns: 1fr;
  }

  .question-text {
    font-size: 1.15rem;
  }

  .question-panel {
    padding: 1.25rem;
  }

  .assessment-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .assessment-meta {
    text-align: left;
  }
}

/* CQ dashboard visual system inspired by the reference outputs */
:root {
  --cq-navy: #071a44;
  --cq-blue: #075fc9;
  --cq-light-blue: #eef6ff;
  --cq-border: #dbe4f2;
  --cq-green: #159947;
  --cq-yellow: #f6b100;
  --cq-red: #ed1c24;
  --cq-orange: #f27b13;
  --cq-purple: #5b2ca0;
  --shadow: 0 8px 24px rgba(7, 26, 68, 0.08);
  --radius: 10px;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(7, 95, 201, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  color: var(--cq-navy);
}

.btn {
  border-radius: 9px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cq-blue), var(--cq-navy));
}

.btn-secondary {
  color: var(--cq-navy);
  border-color: var(--cq-border);
}

.home-page {
  max-width: 1180px;
}

.home-header,
.hero,
.stage-card,
.category-card,
.question-panel,
.category-progress-bar,
.overall-score-card,
.category-scores,
.detailed-scores,
.sidebar-card,
.dashboard-card {
  border: 1px solid var(--cq-border);
  box-shadow: var(--shadow);
}

.row-number {
  background: linear-gradient(180deg, #0a61ce 0%, #064caa 100%);
}

.brand h1,
.hero h2,
.stages-overview h3,
.categories-list h3 {
  color: var(--cq-navy);
  letter-spacing: -0.03em;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--cq-blue), var(--cq-green), var(--cq-yellow), var(--cq-purple));
}

.hero h2 {
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.stage-card {
  border-radius: 11px;
  border-top: 0;
  border-left: 6px solid var(--stage-color);
}

.stage-card h4 {
  color: var(--stage-color);
  text-transform: uppercase;
  font-size: 0.84rem;
}

.category-card {
  border-radius: 9px;
}

.category-card strong {
  color: var(--cq-navy);
}

.category-progress {
  color: var(--cq-blue);
}

.assessment-overlay {
  background:
    linear-gradient(90deg, rgba(7, 26, 68, 0.9) 0%, rgba(7, 26, 68, 0.68) 50%, rgba(7, 26, 68, 0.9) 100%),
    rgba(7, 26, 68, 0.55);
}

.assessment-content {
  max-width: 960px;
}

.assessment-header {
  background: rgba(7, 26, 68, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.85rem;
  backdrop-filter: blur(10px);
}

.category-progress-bar {
  background: #ffffff;
  padding: 1.1rem 1.25rem;
}

.progress-labels {
  color: var(--cq-navy);
}

.progress-segment {
  height: 12px;
  background: #e9eef6;
  border-radius: 4px;
}

.progress-segment.filled {
  background: var(--cq-green);
}

.progress-segment.current {
  box-shadow: 0 0 0 2px var(--cq-blue);
}

.overall-progress {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.question-panel {
  border-radius: 16px;
  padding: 2.25rem;
}

.question-stage {
  color: var(--cq-blue);
}

.question-text {
  color: var(--cq-navy);
  font-size: 1.35rem;
  font-weight: 700;
}

.rating-option {
  border-color: #e3eaf5;
  background: #fbfdff;
}

.rating-option:hover,
.rating-option.selected {
  border-color: var(--cq-blue);
  background: var(--cq-light-blue);
}

.rating-number {
  background: var(--cq-blue);
}

.dashboard-page {
  max-width: none;
  padding: 0.65rem;
  background: #ffffff;
}

.dashboard-actions {
  max-width: 1500px;
  margin: 0 auto 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.results-triptych {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.08fr 1.08fr;
  gap: 1rem;
  align-items: start;
}

.dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cq-navy);
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 0.9rem 1rem;
  min-height: 76px;
  box-shadow: var(--shadow);
}

.column-number {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.column-header h1 {
  margin: 0;
  color: white;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.column-header p {
  margin: 0.3rem 0 0;
  color: #dceaff;
  font-size: 0.82rem;
  font-weight: 700;
}

.panel,
.dashboard-card,
.overall-score-card,
.category-scores,
.sidebar-card,
.tip-banner {
  background: white;
  border: 1px solid var(--cq-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.definition-panel {
  padding: 1rem 1.2rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.stage-timeline {
  display: grid;
  gap: 0.75rem;
}

.framework-stage {
  display: grid;
  grid-template-columns: 58px 58px 1fr 76px;
  gap: 0.75rem;
  align-items: center;
  min-height: 118px;
  padding: 0.8rem;
  border: 1px solid var(--cq-border);
  border-radius: 9px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--stage-color) 12%, white), #ffffff 72%);
}

.stage-badge {
  align-self: stretch;
  background: var(--stage-color);
  color: white;
  border-radius: 7px;
  display: grid;
  place-content: center;
  text-align: center;
}

.stage-badge span {
  font-size: 0.62rem;
  font-weight: 800;
}

.stage-badge strong {
  font-size: 2rem;
  line-height: 1;
}

.stage-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid white;
  background: var(--stage-color);
  color: white;
  font-size: 1.55rem;
  box-shadow: 0 0 0 1px var(--stage-color);
}

.stage-copy h3 {
  margin: 0;
  color: var(--stage-color);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.stage-copy p {
  margin: 0.2rem 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.stage-copy small {
  display: block;
  color: #243550;
  font-size: 0.7rem;
  line-height: 1.35;
}

.stage-count {
  text-align: center;
  color: var(--stage-color);
  font-weight: 800;
  text-transform: uppercase;
}

.stage-count strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.stage-count span {
  display: block;
  font-size: 0.64rem;
}

.roadmap-tile {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-weight: 900;
  font-size: 0.92rem;
}

.dark-tile {
  background: var(--cq-navy);
  color: white;
}

.quote-tile {
  background: var(--cq-light-blue);
  border: 1px solid var(--cq-border);
  color: var(--cq-blue);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
}

.overall-score-card.dashboard-card {
  margin-bottom: 0;
  grid-template-columns: 1fr 1fr;
  padding: 1.05rem;
}

.card-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--cq-navy);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gauge-svg {
  max-width: 190px;
}

.score-value {
  color: var(--cq-navy);
  font-size: 3rem;
}

.profile-label {
  color: var(--cq-blue);
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.benchmark-note {
  background: white;
  border-left: 1px solid var(--cq-border);
  border-radius: 0;
  align-items: center;
  position: relative;
}

.benchmark-note strong {
  color: var(--cq-blue);
  font-size: 1.55rem;
}

.trend-icon {
  color: var(--cq-blue);
  font-size: 2.5rem;
  font-weight: 900;
  margin-left: auto;
}

.category-scores.dashboard-card {
  padding: 1rem;
  margin-bottom: 0;
}

.category-scores h2,
.stage-score-card h2,
.radar-card h2,
.roadmap-card h2 {
  color: var(--cq-navy);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.score-row {
  grid-template-columns: minmax(200px, 1.55fr) minmax(110px, 1fr) 34px 92px;
  gap: 0.55rem;
  padding: 0.46rem 0;
}

.row-number {
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
}

.row-icon {
  width: 22px;
  text-align: center;
  font-size: 0.9rem;
  filter: grayscale(1);
}

.row-name {
  color: var(--cq-navy);
  font-size: 0.74rem;
  font-weight: 900;
}

.segment {
  height: 8px;
  border-radius: 3px;
  background: #e7ebf2;
}

.segment.exceptional {
  background: var(--cq-green);
}

.segment.strong {
  background: var(--cq-yellow);
}

.segment.developing {
  background: var(--cq-red);
}

.row-score {
  font-size: 0.9rem;
}

.row-band {
  font-size: 0.68rem;
}

.band-dot {
  width: 9px;
  height: 9px;
}

.axis-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-left: min(45%, 260px);
  margin-top: 0.35rem;
  color: #53627d;
  font-size: 0.7rem;
}

.tip-banner {
  align-items: center;
  border-radius: 8px;
  background: var(--cq-light-blue);
  padding: 0.95rem;
}

.tip-banner span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cq-blue);
  color: white;
  font-size: 1.2rem;
}

.tip-banner p {
  color: var(--cq-navy);
  font-size: 0.78rem;
  font-weight: 600;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: center;
  padding: 1rem;
}

.profile-summary > div + div {
  border-left: 1px solid var(--cq-border);
}

.profile-summary strong {
  color: var(--cq-navy);
  font-size: 2.8rem;
  line-height: 1;
}

.profile-summary span {
  color: #6b7892;
  font-size: 1.15rem;
  font-weight: 800;
}

.profile-summary p:last-child {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-score-card {
  padding: 1rem;
}

.stage-score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.stage-score {
  border: 1px solid color-mix(in srgb, var(--stage-color) 40%, white);
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  padding: 0 0 0.7rem;
}

.stage-score p {
  margin: 0 0 0.45rem;
  padding: 0.55rem 0.25rem;
  color: white;
  background: var(--stage-color);
  font-size: 0.66rem;
  font-weight: 900;
}

.stage-score h3 {
  min-height: 31px;
  margin: 0 0 0.35rem;
  color: var(--stage-color);
  font-size: 0.62rem;
  text-transform: uppercase;
  padding: 0 0.25rem;
}

.stage-score strong {
  color: var(--stage-color);
  font-size: 1.55rem;
}

.stage-score span {
  color: #52617d;
  font-size: 0.78rem;
  font-weight: 800;
}

.stage-score small {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 0.75rem;
}

.radar-card {
  padding: 1rem;
  overflow: hidden;
}

.radar-svg {
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  display: block;
}

.profile-side-stack {
  display: grid;
  gap: 0.75rem;
}

.sidebar-card {
  padding: 0.9rem;
}

.sidebar-card h3 {
  color: var(--cq-navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.sidebar-card li {
  color: var(--cq-navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.strengths {
  border-left: 0;
  background: linear-gradient(180deg, #f4fff7, #ffffff);
}

.strengths h3 {
  color: var(--cq-green);
}

.opportunities {
  border-left: 0;
  background: linear-gradient(180deg, #fff8ed, #ffffff);
}

.opportunities h3 {
  color: var(--cq-orange);
}

.roadmap-card {
  padding: 1rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.roadmap-grid div {
  border-left: 3px solid var(--cq-blue);
  padding-left: 0.65rem;
}

.roadmap-grid strong {
  color: var(--cq-blue);
  font-size: 0.68rem;
  font-weight: 900;
}

.roadmap-grid p {
  margin: 0.25rem 0 0;
  color: var(--cq-navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.score-key.dashboard-card {
  padding: 0.9rem;
}

.score-key h3 {
  margin: 0 0 0.6rem;
  color: var(--cq-blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.score-key .band-dot.exceptional,
.band-dot.exceptional {
  color: var(--cq-green);
  background: var(--cq-green);
}

.score-key .band-dot.strong,
.band-dot.strong {
  color: var(--cq-yellow);
  background: var(--cq-yellow);
}

.score-key .band-dot.developing,
.band-dot.developing {
  color: var(--cq-red);
  background: var(--cq-red);
}

.empty-dot {
  background: #aab3c2;
}

.results-header,
.results-layout {
  display: none;
}

@media (max-width: 1180px) {
  .results-triptych {
    grid-template-columns: 1fr;
  }

  .framework-stage {
    grid-template-columns: 58px 58px 1fr 76px;
  }

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

@media (max-width: 720px) {
  .dashboard-page {
    padding: 0.5rem;
  }

  .column-header {
    min-height: auto;
  }

  .framework-stage {
    grid-template-columns: 48px 48px 1fr;
  }

  .stage-count {
    grid-column: 2 / -1;
    text-align: left;
  }

  .overall-score-card.dashboard-card,
  .profile-summary,
  .stage-score-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary > div + div {
    border-left: 0;
    border-top: 1px solid var(--cq-border);
    padding-top: 1rem;
  }

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

  .axis-labels {
    margin-left: 0;
  }
}

/* High-fidelity results dashboard tuning */
.dashboard-page {
  min-height: 100vh;
  padding: 8px;
  background: #ffffff;
}

.dashboard-actions {
  height: 0;
  margin: 0;
  overflow: hidden;
}

.results-triptych {
  width: min(1500px, calc(100vw - 32px));
  max-width: none;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.08fr) minmax(360px, 1.08fr);
  justify-content: center;
  gap: 14px;
}

.dashboard-column {
  gap: 8px;
}

.column-header {
  min-height: 66px;
  padding: 10px 14px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #06235c 0%, #061942 100%);
}

.column-number {
  font-size: 25px;
}

.column-header h1 {
  font-size: 21px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.profile-column .column-header h1 {
  font-size: 18px;
}

.column-header p {
  margin-top: 3px;
  font-size: 11px;
}

.definition-panel {
  padding: 10px 22px;
  font-size: 8.8px;
  line-height: 1.45;
}

.stage-timeline {
  gap: 8px;
  position: relative;
}

.stage-timeline::before {
  content: '';
  position: absolute;
  left: 61px;
  top: 94px;
  bottom: 92px;
  width: 3px;
  background: var(--cq-navy);
}

.framework-stage {
  min-height: 92px;
  grid-template-columns: 48px 58px 1fr 58px;
  gap: 7px;
  padding: 8px;
  border-radius: 7px;
}

.stage-badge {
  border-radius: 6px;
}

.stage-badge span {
  font-size: 8px;
}

.stage-badge strong {
  font-size: 30px;
}

.stage-icon {
  width: 58px;
  height: 58px;
  z-index: 1;
}

.stage-icon svg,
.row-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-icon svg {
  width: 31px;
  height: 31px;
  stroke: #ffffff;
}

.stage-copy h3 {
  font-size: 10px;
  line-height: 1.1;
}

.stage-copy p {
  font-size: 8.7px;
  line-height: 1.25;
}

.stage-copy small {
  font-size: 8px;
  line-height: 1.24;
}

.stage-count strong {
  font-size: 24px;
}

.stage-count span {
  font-size: 7.5px;
  line-height: 1.2;
}

.roadmap-tile {
  min-height: 45px;
  padding: 9px 14px 9px 52px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 13px;
  position: relative;
}

.roadmap-tile::before {
  content: '';
  position: absolute;
  left: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.quote-tile {
  min-height: 46px;
  padding: 10px 12px 10px 46px;
  font-size: 10px;
  line-height: 1.3;
  text-align: left;
  position: relative;
}

.quote-tile::before {
  content: '◌';
  position: absolute;
  left: 17px;
  top: 9px;
  color: var(--cq-blue);
  font-size: 24px;
}

.overall-score-card.dashboard-card {
  min-height: 106px;
  padding: 10px;
  grid-template-columns: 1fr 1fr;
}

.card-eyebrow {
  font-size: 9px;
}

.gauge-svg {
  max-width: 132px;
  margin-top: -5px;
}

.gauge-score {
  margin-top: -21px;
}

.score-value {
  font-size: 38px;
}

.score-max {
  font-size: 13px;
}

.benchmark-note {
  padding: 10px 6px 8px 18px;
}

.profile-label {
  font-size: 14px;
}

.benchmark-note p {
  font-size: 10px;
  line-height: 1.35;
}

.benchmark-note strong {
  font-size: 19px;
}

.trend-icon {
  position: absolute;
  right: 8px;
  bottom: 5px;
  font-size: 34px;
}

.category-scores.dashboard-card {
  padding: 10px 12px;
}

.category-scores h2,
.stage-score-card h2,
.radar-card h2,
.roadmap-card h2 {
  font-size: 10px;
  margin-bottom: 8px;
}

.score-row {
  grid-template-columns: minmax(160px, 1.35fr) minmax(110px, 1fr) 32px 68px;
  gap: 5px;
  padding: 5px 0;
  border-bottom: 0;
}

.score-row-info {
  gap: 6px;
}

.row-number {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.row-icon {
  width: 18px;
  height: 18px;
  color: var(--cq-navy);
  filter: none;
}

.row-name {
  font-size: 8.2px;
  line-height: 1.12;
}

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

.segment {
  height: 6px;
  border-radius: 2px;
}

.row-score {
  font-size: 11px;
}

.row-band {
  gap: 4px;
  font-size: 7.5px;
}

.band-dot {
  width: 7px;
  height: 7px;
}

.axis-labels {
  margin-left: 44px;
  font-size: 8px;
}

.tip-banner {
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 7px;
}

.tip-banner span {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 17px;
}

.tip-banner p {
  font-size: 9.5px;
  line-height: 1.35;
}

.profile-summary {
  min-height: 83px;
  padding: 10px;
}

.profile-summary strong {
  font-size: 37px;
}

.profile-summary span {
  font-size: 14px;
}

.profile-summary p:last-child {
  font-size: 9px;
}

.stage-score-card {
  padding: 10px;
}

.stage-score-grid {
  gap: 6px;
}

.stage-score {
  border-radius: 7px;
  padding-bottom: 7px;
}

.stage-score p {
  padding: 7px 2px;
  font-size: 8px;
}

.stage-score h3 {
  min-height: 28px;
  font-size: 7.5px;
  line-height: 1.15;
}

.stage-score strong {
  font-size: 22px;
}

.stage-score small,
.stage-score span {
  font-size: 8px;
}

.profile-grid {
  grid-template-columns: 1.08fr 0.86fr;
  gap: 8px;
}

.radar-card,
.sidebar-card,
.roadmap-card,
.score-key.dashboard-card {
  padding: 9px;
}

.radar-svg {
  max-height: 232px;
}

.radar-grid {
  fill: none;
  stroke: #d7e1f2;
  stroke-width: 1;
}

.radar-grid polygon {
  fill: rgba(238, 246, 255, 0.32);
}

.radar-grid line {
  stroke: #e1e8f4;
}

.radar-scale text {
  fill: #42526f;
  font-size: 8px;
  font-weight: 700;
}

.radar-area {
  fill: rgba(29, 78, 216, 0.2);
  stroke: #174bd7;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.radar-dots circle {
  fill: #174bd7;
  stroke: #ffffff;
  stroke-width: 1;
}

.radar-point-trigger {
  cursor: pointer;
  outline: none;
}

.radar-hit-area {
  fill: transparent !important;
  stroke: transparent !important;
}

.radar-dot {
  fill: #174bd7;
  stroke: #ffffff;
  stroke-width: 1.3;
  transition: r 0.15s ease, fill 0.15s ease, stroke-width 0.15s ease;
}

.radar-point-trigger:hover .radar-dot,
.radar-point-trigger:focus-visible .radar-dot {
  r: 5;
  fill: var(--cq-green);
  stroke-width: 2;
}

.radar-label {
  fill: var(--cq-navy);
  font-size: 8.2px;
  font-weight: 800;
  line-height: 1;
}

.expandable-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.expandable-card:hover,
.expandable-card:focus-visible {
  border-color: var(--cq-blue);
  box-shadow: 0 12px 30px rgba(7, 95, 201, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.expandable-card h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.expandable-card h2 span {
  color: var(--cq-blue);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.results-fullscreen-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow: auto;
}

.results-fullscreen-header {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.results-fullscreen-header h2 {
  margin: 0;
  color: var(--cq-navy);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.results-fullscreen-body {
  width: min(1320px, calc(100vw - 32px));
  margin: 0 auto;
  flex: 1;
  display: grid;
  align-items: center;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.expanded-diagnostics {
  width: 100%;
}

.expanded-score-row {
  grid-template-columns: minmax(280px, 1.25fr) minmax(300px, 1fr) 70px 150px;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #edf2f8;
}

.expanded-score-row .row-number {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
}

.expanded-score-row .row-icon {
  width: 30px;
  height: 30px;
}

.expanded-score-row .row-name {
  font-size: 1rem;
}

.expanded-score-row .segment {
  height: 13px;
  border-radius: 4px;
}

.expanded-score-row .row-score {
  font-size: 1.3rem;
}

.expanded-score-row .row-band {
  font-size: 0.95rem;
}

.expanded-axis-labels {
  margin-left: min(44%, 430px);
  font-size: 0.85rem;
}

.expanded-radar-wrap {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.expanded-radar-svg {
  max-height: none;
  height: min(76vh, 800px);
}

.expanded-radar-svg .radar-label {
  font-size: 8.4px;
}

.radar-focus-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 26, 68, 0.66);
  backdrop-filter: blur(10px);
}

.radar-focus-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 2rem);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(7, 26, 68, 0.28);
  overflow: auto;
  animation: radarZoomIn 0.18s ease-out;
}

.radar-focus-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--cq-light-blue);
  color: var(--cq-navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.radar-focus-visual {
  position: sticky;
  top: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.75rem;
  min-height: 300px;
  color: white;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.2), transparent 8rem),
    linear-gradient(160deg, var(--cq-blue), var(--cq-navy));
  border-radius: 20px;
}

.radar-focus-visual .dimension-icon {
  color: var(--cq-navy);
}

.radar-focus-score {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.radar-focus-score strong {
  font-size: 5rem;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.radar-focus-score span {
  font-size: 1.3rem;
  font-weight: 900;
}

.radar-focus-visual small {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.radar-focus-content {
  padding: 0.65rem 0.5rem 0.35rem 0;
}

.radar-focus-content h2 {
  margin: 0 2.5rem 0.4rem 0;
  color: var(--cq-navy);
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.radar-focus-content > p {
  margin: 0 0 1rem;
  color: #526176;
  font-weight: 700;
}

.radar-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.radar-focus-grid section {
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid var(--cq-border);
  border-radius: 14px;
}

.radar-focus-grid .wide {
  grid-column: 1 / -1;
}

.radar-focus-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--cq-navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.radar-focus-grid p {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.radar-focus-grid ul,
.radar-focus-grid ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.9rem;
}

@keyframes radarZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 760px) {
  .results-fullscreen-header {
    flex-direction: column;
    align-items: stretch;
  }

  .results-fullscreen-header .btn {
    width: 100%;
  }

  .expanded-score-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .radar-focus-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 2rem);
    overflow: auto;
  }

  .radar-focus-visual {
    min-height: 220px;
  }

  .radar-focus-grid {
    grid-template-columns: 1fr;
  }

  .expanded-axis-labels {
    margin-left: 0;
  }
}

/* Full-screen layout overrides */
html,
body,
#app {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.home-page,
.profile-page,
.dashboard-page {
  width: 100%;
  max-width: none;
}

.home-page,
.profile-page {
  padding-left: clamp(1rem, 2.5vw, 3rem);
  padding-right: clamp(1rem, 2.5vw, 3rem);
}

.home-header,
.hero,
.stages-overview,
.categories-list,
.auth-panel,
.cq-journey-card,
.profile-header,
.profile-hero-card,
.profile-layout {
  width: 100%;
}

.dimension-header,
.dimension-title-card,
.dimension-detail,
.assessment-content {
  width: min(100%, calc(100vw - clamp(2rem, 5vw, 6rem)));
}

.results-nav,
.results-triptych {
  width: 100%;
  max-width: none;
}

.home-header {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.profile-side-stack {
  gap: 8px;
}

.sidebar-card {
  min-height: 103px;
}

.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  margin-bottom: 6px;
}

.side-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
}

.trophy-icon {
  color: var(--cq-green);
  background: #e9f9ee;
}

.target-icon {
  color: var(--cq-orange);
  background: #fff0db;
}

.sidebar-card ol {
  padding-left: 17px;
  margin-bottom: 0;
}

.sidebar-card li {
  font-size: 8.4px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.roadmap-card {
  min-height: 80px;
}

.roadmap-grid {
  gap: 6px;
}

.roadmap-grid strong {
  font-size: 8px;
}

.roadmap-grid p {
  font-size: 8px;
  line-height: 1.3;
}

.score-key.dashboard-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.score-key.dashboard-card::before {
  content: '▥';
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cq-light-blue);
  color: var(--cq-blue);
  font-size: 28px;
}

.score-key h3 {
  grid-column: 2;
  margin: 0 0 4px;
  font-size: 11px;
}

.score-key ul {
  grid-column: 2;
}

.score-key li {
  font-size: 8.5px;
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .results-triptych {
    grid-template-columns: 1fr;
    width: min(640px, calc(100vw - 24px));
    max-width: none;
  }

  .score-row {
    grid-template-columns: minmax(190px, 1fr) minmax(100px, 1fr) 36px 80px;
  }

  .column-header h1,
  .profile-column .column-header h1 {
    white-space: normal;
  }
}

/* Assessment stage progress and results navigation */
.main-progress-card {
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
}

.main-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.main-progress-heading strong {
  display: block;
  color: var(--cq-navy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.main-progress-heading span {
  display: block;
  margin-top: 0.15rem;
  color: #66738f;
  font-size: 0.82rem;
  font-weight: 700;
}

.overall-percent {
  min-width: 70px;
  text-align: right;
  color: var(--cq-blue) !important;
  font-size: 1.55rem;
}

.section-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.section-progress {
  border: 1px solid color-mix(in srgb, var(--stage-color) 30%, white);
  border-radius: 10px;
  padding: 0.65rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--stage-color) 8%, white), #ffffff 65%);
}

.section-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--stage-color);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-progress-label strong {
  color: var(--stage-color);
  font-size: 0.88rem;
}

.section-progress-track {
  height: 9px;
  margin: 0.45rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.section-progress-track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--stage-color);
  transition: width 0.2s ease;
}

.section-progress small {
  display: block;
  color: var(--cq-navy);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.results-nav {
  width: min(1500px, calc(100vw - 32px));
  max-width: none;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.results-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.results-nav-brand strong {
  display: block;
  color: var(--cq-navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.results-nav-brand small {
  display: block;
  color: #66738f;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .section-progress-grid,
  .results-nav {
    grid-template-columns: 1fr;
  }

  .section-progress-grid {
    display: grid;
  }

  .results-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .results-nav .btn {
    width: 100%;
  }
}
