/* Career Translator — dedicated page + report UI. Scoped with .ct- so it never
   collides with site.css. Pulls brand color from the site palette (#2D8990). */

:root {
  --ct-teal: #2D8990;
  --ct-teal-dark: #1f6469;
  --ct-ink: #1a2530;
  --ct-muted: #5b6b7a;
  --ct-line: #e3e9ee;
  --ct-bg: #f5f7fa;
  --ct-emerging: #d9534f;
  --ct-developing: #e0a106;
  --ct-strong: #2e9e5b;
}

.ct-hero { max-width: 760px; margin: 0 auto; padding: 48px 20px 8px; text-align: center; }
.ct-eyebrow { color: var(--ct-teal); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.ct-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; color: var(--ct-ink); }
.ct-hero p { color: var(--ct-muted); font-size: 17px; line-height: 1.55; margin: 0 auto; max-width: 620px; }
.ct-getlist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 0; padding: 0; list-style: none; }
.ct-getlist li { background: #fff; border: 1px solid var(--ct-line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ct-ink); font-weight: 600; }

/* App shell */
.ct-app { max-width: 760px; margin: 24px auto 64px; padding: 0 20px; }
.ct-card { background: #fff; border: 1px solid var(--ct-line); border-radius: 16px; box-shadow: 0 1px 3px rgba(20,37,48,.06); }

/* Intro / upload */
.ct-intro { padding: 28px; }
.ct-drop { border: 2px dashed var(--ct-line); border-radius: 12px; padding: 28px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.ct-drop:hover, .ct-drop.is-drag { border-color: var(--ct-teal); background: #f0fafa; }
.ct-drop strong { color: var(--ct-ink); display: block; margin-bottom: 4px; }
.ct-drop span { color: var(--ct-muted); font-size: 14px; }
.ct-file { font-size: 14px; color: var(--ct-ink); margin-top: 12px; }
.ct-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; color: var(--ct-muted); line-height: 1.5; }
.ct-consent input { margin-top: 3px; }
.ct-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ct-skip { background: none; border: none; color: var(--ct-muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.ct-error { color: var(--ct-emerging); font-size: 14px; margin-top: 10px; }

/* Buttons */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.ct-btn-primary { background: var(--ct-teal); color: #fff; }
.ct-btn-primary:hover { background: var(--ct-teal-dark); }
.ct-btn-secondary { background: #fff; color: var(--ct-teal); border: 1.5px solid var(--ct-teal); }
.ct-btn[disabled] { opacity: .5; cursor: default; }

/* Conversation */
.ct-chat { padding: 18px; max-height: 60vh; overflow-y: auto; }
.ct-msg { margin: 0 0 14px; display: flex; }
.ct-msg-user { justify-content: flex-end; }
.ct-bubble { max-width: 86%; padding: 11px 15px; border-radius: 14px; line-height: 1.55; font-size: 15px; }
.ct-msg-assistant .ct-bubble { background: var(--ct-bg); color: var(--ct-ink); border-bottom-left-radius: 4px; }
.ct-msg-user .ct-bubble { background: var(--ct-teal); color: #fff; border-bottom-right-radius: 4px; }
.ct-bubble p { margin: 0 0 8px; } .ct-bubble p:last-child { margin: 0; }
.ct-bubble ul { margin: 6px 0; padding-left: 20px; }
.ct-bubble a { color: inherit; text-decoration: underline; }
.ct-msg-assistant .ct-bubble a { color: var(--ct-teal); }
.ct-typing { color: var(--ct-muted); font-size: 14px; padding: 4px 6px; }
.ct-composer { display: flex; gap: 10px; border-top: 1px solid var(--ct-line); padding: 14px 18px; }
.ct-composer textarea { flex: 1; resize: none; border: 1px solid var(--ct-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 120px; }
.ct-composer textarea:focus { outline: 2px solid var(--ct-teal); border-color: transparent; }

/* Voice controls */
.ct-voicebar { display: flex; justify-content: flex-end; padding: 8px 18px 0; }
.ct-voice-toggle { background: none; border: 1px solid var(--ct-line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ct-muted); cursor: pointer; }
.ct-voice-toggle.is-on { color: var(--ct-teal); border-color: var(--ct-teal); background: #f0fafa; }
.ct-mic { flex: none; padding: 10px 14px; }
.ct-mic.is-recording { background: var(--ct-emerging); color: #fff; border-color: var(--ct-emerging); animation: ct-pulse 1.2s ease-in-out infinite; }
.ct-mic.is-busy { opacity: .7; cursor: default; }
@keyframes ct-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,83,79,.5); } 50% { box-shadow: 0 0 0 6px rgba(217,83,79,0); } }

/* Report panel (screenshot-friendly) */
.ct-report { margin-bottom: 18px; padding: 22px; }
.ct-report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ct-line); padding-bottom: 14px; margin-bottom: 16px; }
.ct-report-head h2 { margin: 0; font-size: 18px; color: var(--ct-ink); }
.ct-brandtag { font-size: 12px; color: var(--ct-muted); font-weight: 700; }
.ct-score { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ct-dial { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.ct-dial b { font-size: 26px; line-height: 1; } .ct-dial small { font-size: 11px; opacity: .9; }
.ct-band-emerging { background: var(--ct-emerging); }
.ct-band-developing { background: var(--ct-developing); }
.ct-band-strong { background: var(--ct-strong); }
.ct-score-meta { font-size: 14px; color: var(--ct-muted); }
.ct-score-meta b { color: var(--ct-ink); }
.ct-gaps { list-style: none; padding: 0; margin: 0 0 6px; }
.ct-gaps li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--ct-line); font-size: 14px; }
.ct-gaps .ct-gap-score { font-weight: 700; color: var(--ct-ink); }
.ct-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.ct-pill-low { background: #fdeaea; color: var(--ct-emerging); }
.ct-pill-med { background: #fbf3df; color: #9a7400; }
.ct-pill-high { background: #e7f6ed; color: var(--ct-strong); }

.ct-subhead { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ct-muted); margin: 18px 0 8px; }
.ct-resume-lift { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.ct-lift-num { font-size: 30px; font-weight: 800; color: var(--ct-ink); }
.ct-lift-arrow { color: var(--ct-teal); font-size: 22px; }
.ct-lift-after { color: var(--ct-strong); }

/* Report unlock gate */
/* Intro name/email fields */
.ct-fields { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 4px; }

.ct-gate { border: 1px solid var(--ct-teal); border-radius: 12px; padding: 18px; background: #f0fafa; }
.ct-gate-lede { margin: 0 0 14px; font-size: 14px; color: var(--ct-muted); line-height: 1.5; }
.ct-gate-form { display: flex; flex-direction: column; gap: 10px; }
.ct-gate-input { border: 1px solid var(--ct-line); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 15px; }
.ct-gate-input:focus { outline: 2px solid var(--ct-teal); border-color: transparent; }
.ct-gate-form .ct-consent { margin: 2px 0; }
.ct-gate-form .ct-btn { margin-top: 4px; }

.ct-prog { border: 1px solid var(--ct-line); border-radius: 12px; padding: 16px; background: #fafcfc; }
.ct-prog h3 { margin: 0 0 6px; font-size: 17px; color: var(--ct-ink); }
.ct-prog p { margin: 0 0 12px; font-size: 14px; color: var(--ct-muted); line-height: 1.5; }
.ct-prog-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-alts { margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.ct-alts li { color: var(--ct-muted); padding: 3px 0; }
.ct-alts a { color: var(--ct-teal); }

@media (max-width: 560px) {
  .ct-bubble { max-width: 92%; }
  .ct-actions { flex-direction: column; align-items: stretch; }
}
