@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #0B0B0C;
  --bg-2: #151312;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hi: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --text: #EDEFF3;
  --muted: #8B93A7;
  --muted-2: #5C6478;
  --teal: #FF7A29;
  --amber: #FFB25B;
  --violet: #F5F1EA;
  --red: #EF6461;
  --disp: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(245, 241, 234, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(255, 122, 41, 0.10), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(255, 122, 41, 0.3);
}

a {
  color: inherit;
}

button {
  font-family: var(--body);
  cursor: pointer;
  color: var(--text);
}

.mono {
  font-family: var(--mono);
}

select {
  color-scheme: dark;
}

select option {
  background: #12141c;
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--surface-hi);
  border-radius: 8px;
}

/* ---------- layout shells ---------- */
#root {
  min-height: 100vh;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #D8560A);
  color: #1B0E05;
  box-shadow: 0 8px 30px -8px rgba(255, 122, 41, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 10px 34px -6px rgba(255, 122, 41, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
  border-radius: 10px;
}

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

/* focus visibility */
button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -16px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 41, .35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 122, 41, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.fade-up {
  animation: fadeUp .7s cubic-bezier(.16, 1, .3, 1) both;
}

.fade-in {
  animation: fadeIn .8s ease both;
}

.d1 { animation-delay: .05s; }
.d2 { animation-delay: .15s; }
.d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; }
.d5 { animation-delay: .45s; }
.d6 { animation-delay: .55s; }

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatBlob 14s ease-in-out infinite;
}

.glass {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hero-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 41, 0.35);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5);
}

.usp-chip {
  transition: transform .2s ease, border-color .2s ease;
}

.usp-chip:hover {
  transform: translateY(-3px);
  border-color: var(--muted-2);
}

.card:hover, .metric-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- landing ---------- */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
}

.brand span {
  color: var(--teal);
}

.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero h1 .l2 {
  color: var(--muted);
}

.hero p.sub {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  margin-top: 46px;
  flex-wrap: wrap;
}

.hstat {
  text-align: center;
}

.hstat b {
  display: block;
  font-family: var(--disp);
  font-size: 24px;
  color: var(--teal);
}

.hstat span {
  font-size: 12px;
  color: var(--muted-2);
}

.hero-card {
  text-align: left;
  padding: 22px 24px;
  min-width: 270px;
  border-radius: 16px;
}

.hero-card h3 {
  font-family: var(--disp);
  font-size: 17px;
  margin-bottom: 4px;
}

.hero-card p {
  color: var(--muted);
  font-size: 13px;
}

.usp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 80px 0 40px;
}

.usp-chip {
  padding: 16px 14px;
  text-align: center;
  border-radius: 14px;
}

.usp-chip .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}

.usp-chip .t {
  font-family: var(--disp);
  font-size: 14px;
  margin-top: 6px;
}

.final-line {
  text-align: center;
  padding: 60px 0 90px;
}

.final-line h2 {
  font-family: var(--disp);
  font-size: 26px;
  color: var(--muted);
}

.final-line h2 b {
  color: var(--text);
  font-weight: 600;
}

@media(max-width:800px) {
  .usp-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- landing: how it works ---------- */
.section-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.section-heading .eyebrow {
  justify-content: center;
  display: flex;
}

.section-heading h2 {
  font-family: var(--disp);
  font-size: clamp(24px, 3.4vw, 32px);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.section-heading p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 12px;
  line-height: 1.55;
}

.how-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0 90px;
  counter-reset: step;
}

.how-step {
  padding: 28px 24px;
  position: relative;
}

.how-step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: .1em;
}

.how-step h3 {
  font-family: var(--disp);
  font-size: 17px;
  margin: 10px 0 8px;
}

.how-step p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

@media(max-width:800px) {
  .how-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- landing: evidence vs guesswork ---------- */
.compare-section {
  margin: 0 0 90px;
}

.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.compare-col {
  padding: 26px 26px 22px;
}

.compare-col.old {
  opacity: .72;
}

.compare-col h4 {
  font-family: var(--disp);
  font-size: 15.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-col.new h4 {
  color: var(--teal);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.compare-col.new .compare-list li {
  color: var(--text);
}

.compare-mark {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 1px;
}

.compare-col.old .compare-mark {
  color: var(--red);
}

.compare-col.new .compare-mark {
  color: var(--teal);
}

@media(max-width:800px) {
  .compare-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- landing: career tracks ---------- */
.tracks-section {
  text-align: center;
  margin: 0 0 90px;
}

.track-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.track-chip {
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- landing: news link styling ---------- */
.mnews-link {
  color: var(--text);
  text-decoration: none;
  transition: color .15s;
}

.mnews-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* ---------- upload / discover ---------- */
.center-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 28px 90px;
}

.step-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.dropzone {
  border: 1.5px dashed var(--border);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  cursor: pointer;
  background: var(--surface);
  transition: border-color .2s, background .2s, transform .15s;
}

.dropzone:hover {
  border-color: var(--muted-2);
  transform: translateY(-2px);
}

.dropzone.drag {
  border-color: var(--teal);
  background: rgba(255, 122, 41, 0.06);
}

.dz-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 41, 0.1);
  color: var(--teal);
  font-size: 22px;
  animation: pulseGlow 2.6s ease-in-out infinite;
}

.dz-title {
  font-family: var(--disp);
  font-size: 17px;
  margin-bottom: 6px;
}

.dz-sub {
  color: var(--muted);
  font-size: 13px;
}

.dz-formats {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 122, 41, 0.07);
  border: 1px solid rgba(255, 122, 41, 0.3);
  margin-top: 18px;
  text-align: left;
  animation: fadeUp .3s ease both;
}

.file-chip .fname {
  font-weight: 600;
  font-size: 13.5px;
}

.file-chip .fsize {
  color: var(--muted-2);
  font-size: 11.5px;
}

.file-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  padding: 4px 8px;
}

.file-remove:hover {
  color: var(--red);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 41, 0.25);
  border-top-color: var(--teal);
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.quiz-opt {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  transition: all .15s;
}

.quiz-opt:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  border-color: var(--muted-2);
}

.quiz-opt.sel {
  border-color: var(--teal);
  background: rgba(255, 122, 41, 0.09);
  color: var(--teal);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.progress-steps {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pstep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 13.5px;
  font-family: var(--mono);
}

.pstep .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
  flex-shrink: 0;
}

.pstep.active {
  color: var(--text);
}

.pstep.active .dot {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.pstep.done {
  color: var(--muted);
}

.pstep.done .dot {
  background: var(--teal);
}

/* ---------- app shell ---------- */
.appnav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.appnav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.appnav-fixed {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.appnav-scroll-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.appnav-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 2px 22px 2px 2px;
}

.appnav-scroll::-webkit-scrollbar {
  height: 4px;
}

.appnav-scroll::-webkit-scrollbar-thumb {
  background: var(--surface-hi);
  border-radius: 4px;
}

.appnav-scroll-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 26px;
  background: linear-gradient(90deg, transparent, rgba(11, 13, 18, 0.92) 80%);
  pointer-events: none;
}

.navbtn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 9px;
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}

.navbtn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.navbtn.active {
  color: var(--bg);
  background: var(--text);
}

.appmain {
  padding: 36px 0 90px;
}

@media (max-width: 640px) {
  .appnav-inner {
    padding: 10px 12px;
    gap: 6px;
  }
  .navbtn {
    font-size: 12.5px;
    padding: 7px 10px;
  }
  .brand {
    font-size: 13px;
  }
}

.pagehead {
  margin-bottom: 26px;
}

.pagehead h2 {
  font-family: var(--disp);
  font-size: 26px;
}

.pagehead p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}

.grid2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

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

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

@media(max-width:850px) {
  .grid2, .grid3, .grid4 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 22px;
}

.card h3 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card .hint {
  color: var(--muted-2);
  font-size: 12px;
}

.metric-card {
  padding: 20px;
}

.metric-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.metric-val {
  font-family: var(--disp);
  font-size: 34px;
  font-weight: 700;
  margin-top: 8px;
}

.metric-val small {
  font-size: 15px;
  color: var(--muted-2);
  font-weight: 500;
}

.metric-bar {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 12px;
  overflow: hidden;
}

.metric-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
}

.ringwrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ring-num {
  font-family: var(--disp);
  font-size: 30px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-family: var(--mono);
  border: 1px solid var(--border);
}

.badge.verified {
  color: var(--teal);
  border-color: rgba(255, 122, 41, 0.4);
  background: rgba(255, 122, 41, 0.08);
}

.badge.supported {
  color: var(--violet);
  border-color: rgba(245, 241, 234, 0.4);
  background: rgba(245, 241, 234, 0.08);
}

.badge.claimed {
  color: var(--amber);
  border-color: rgba(255, 178, 91, 0.4);
  background: rgba(255, 178, 91, 0.08);
}

.badge.high {
  color: var(--red);
  border-color: rgba(239, 100, 97, .4);
  background: rgba(239, 100, 97, .08);
}

.badge.medium {
  color: var(--amber);
  border-color: rgba(255, 178, 91, .4);
  background: rgba(255, 178, 91, .08);
}

.badge.low {
  color: var(--muted);
}

.skillrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.skillrow:last-child {
  border-bottom: none;
}

.skillrow .sname {
  font-weight: 600;
  font-size: 14px;
}

.skillrow .sev {
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 2px;
}

.skillbar {
  width: 110px;
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.skillbar i {
  display: block;
  height: 100%;
  background: var(--teal);
}

.compare-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
}

.compare-row .lbl {
  color: var(--muted);
}

.compare-track {
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.compare-track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}

.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 12.5px;
  margin: 3px 4px 3px 0;
}

.gap-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

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

.gap-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.gap-title {
  font-family: var(--disp);
  font-size: 16px;
  font-weight: 600;
}

.gap-why {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 16px;
  padding-bottom: 26px;
  position: relative;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-line {
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-item:last-child .tl-line {
  display: none;
}

.tl-dot {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  z-index: 1;
}

.tl-dot.done {
  background: var(--teal);
  color: #1B0E05;
  border-color: var(--teal);
}

.tl-body h4 {
  font-family: var(--disp);
  font-size: 14.5px;
  margin-bottom: 3px;
}

.tl-body p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.status-pill {
  font-size: 11px;
  font-family: var(--mono);
  padding: 2px 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  margin-top: 6px;
  display: inline-block;
}

.sim-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255, 255, 255, 0.045) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'><path d='M1 1l4.5 4.5L10 1' stroke='%238B93A7' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 13px center;
  background-size: 11px 7px;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 34px 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

select:hover {
  border-color: var(--muted-2);
  background-color: rgba(255, 255, 255, 0.075);
}

select:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(255, 122, 41, 0.18);
}

.select-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-right: 6px;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.ba-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.ba-arrow {
  color: var(--muted-2);
  padding: 0 18px;
  font-size: 20px;
}

.ba-metric {
  margin-bottom: 16px;
}

.ba-metric .v {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 700;
}

.ba-metric .l {
  color: var(--muted);
  font-size: 12px;
}

.delta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
}

.assess-q {
  margin-bottom: 20px;
}

.assess-q p.q {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}

.aopt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  margin-bottom: 8px;
  font-size: 13.5px;
  transition: background .15s, border-color .15s, transform .1s;
}

.aopt:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.aopt.picked {
  border-color: var(--violet);
  background: rgba(245, 241, 234, 0.1);
  color: var(--violet);
}

.progress-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 150px;
  margin-top: 20px;
}

.pc-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  height: 100%;
}

.pc-fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal), rgba(255, 122, 41, 0.25));
}

.pc-lbl {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}

.empty {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
}

.empty .big {
  font-family: var(--disp);
  color: var(--text);
  font-size: 16px;
  margin-bottom: 6px;
}

.disclaimer {
  font-size: 11.5px;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 12px;
  line-height: 1.5;
}

.section-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 30px 0 12px;
}

.section-title:first-child {
  margin-top: 0;
}

/* ---------------- API KEY SETTINGS (gear button + modal) ---------------- */
.settings-fab {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.settings-fab:hover {
  background: var(--surface-hi);
  border-color: var(--muted-2);
}

.settings-fab-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
  border: 2px solid var(--bg);
}

.settings-fab-dot.on {
  background: var(--teal);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-card {
  max-width: 440px;
  width: 100%;
  padding: 24px;
}
