/* Talent Compass — scoped to match Inkfish Care site forms and palette */
.tc {
  --tc-fill: #E6EFF3;
  --tc-surface: #fff;
  --tc-fg: #16323A;
  --tc-muted: #5A6A72;
  --tc-line: #D3E0E5;
  --e-spark: #F79520;
  --e-glow: #D9A21B;
  --e-rhythm: #00A094;
  --e-anchor: #2E5C8A;
  --wheel-faint: #DCE6EA;
  --teal-dark: #00353F;
  --surface: #fff;
  --fg: #16323A;
  --muted: #5A6A72;
}
.tc [hidden] { display: none !important; }
.tc .wrap { max-width: 760px; margin: 0 auto; }
.tc-main { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); background: var(--steel); }
.tc .stack { display: grid; gap: clamp(28px, 4vw, 44px); }
.tc .card { background: var(--tc-surface); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.tc .card h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; color: var(--deep); }
.tc .note { background: var(--teal); color: #fff; padding: 16px 20px; font-size: 15px; }
.tc .note strong { color: var(--orange); }

.tc-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tc-fact { border: 1px solid rgba(255,255,255,0.28); padding: 5px 12px; font-size: 13px; color: #EAF3F5; }

.tc-progress { position: sticky; top: 0; z-index: 20; background: var(--teal); color: #fff; }
.tc-progress .wrap { padding: 12px 0; display: grid; gap: 8px; }
.tc .ptext { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.tc .ptext b { color: var(--orange); }
.tc .track { height: 8px; background: rgba(255,255,255,0.15); overflow: hidden; }
.tc .fill { height: 100%; width: 0; background: var(--orange); transition: width 0.35s ease; }

.tc .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc .field { display: grid; gap: 6px; min-width: 0; }
.tc .field.full { grid-column: 1 / -1; }
.tc .field label { font-size: 14px; font-weight: 700; color: var(--deep); }
.tc .field input,
.tc .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--tc-line); border-radius: 0;
  background: var(--steel); color: var(--deep); font: inherit; font-size: 16.5px; min-height: 50px;
}
.tc .field input:focus,
.tc .field select:focus { outline: 2px solid var(--orange); outline-offset: 1px; background: #fff; }
.tc .check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--deep); line-height: 1.45; }
.tc .check input { margin-top: 3px; width: 22px; height: 22px; accent-color: var(--orange); flex: none; }
.tc .smallprint { display: grid; gap: 6px; font-size: 13px; color: var(--tc-muted); }
.tc .error { color: #B3261E; font-size: 15px; font-weight: 700; }
.tc .whogets { display: grid; gap: 8px; font-size: 15px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--tc-line); }

.tc .btnrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tc .btn {
  border: 0; border-radius: 0; padding: 14px 24px; font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer; background: var(--orange); color: var(--deep); min-height: 48px;
}
.tc .btn:hover { background: #FFAA45; }
.tc .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tc .btn.ghost { background: var(--deep); color: #fff; }
.tc .btn.ghost:hover { background: var(--teal); }
.tc .link {
  background: none; border: 0; color: var(--teal); text-decoration: underline; cursor: pointer;
  padding: 0; font: inherit; font-size: 14px; font-weight: 700;
}

.tc .qnum { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tc-muted); font-weight: 700; }
.tc .qtext { font-size: clamp(20px, 3.2vw, 26px); font-weight: 700; letter-spacing: -0.025em; color: var(--deep); margin: 0; }
.tc .qhint { font-size: 14px; color: var(--tc-muted); margin: 0; }
.tc .options { display: grid; gap: 10px; }
.tc .opt {
  display: flex; gap: 14px; align-items: center; text-align: left; width: 100%;
  padding: 14px 16px; border: 1px solid var(--tc-line); border-radius: 0;
  background: var(--steel); color: var(--deep); cursor: pointer; font: inherit; transition: background 0.15s, border-color 0.15s;
}
.tc .opt:hover { border-color: var(--orange); background: #fff; }
.tc .opt .key {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: #fff; color: var(--deep); border: 1px solid var(--tc-line);
}
.tc .opt[aria-checked="true"] { background: var(--orange); border-color: var(--orange); color: var(--deep); font-weight: 700; }
.tc .opt[aria-checked="true"] .key { background: var(--deep); color: #fff; border-color: var(--deep); }
.tc .qnav { display: flex; justify-content: space-between; gap: 12px; }

.tc .result-head { display: grid; gap: 6px; }
.tc .eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tc-muted); font-weight: 700; }
.tc .primary-name {
  font-size: clamp(34px, 7vw, 52px); font-weight: 700; color: var(--orange);
  letter-spacing: -0.03em; line-height: 1.05;
}
.tc .secondary-line { font-size: 17px; color: var(--deep); margin: 0; }
.tc .compass-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.tc .compass-row svg { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }
.tc .bars { display: grid; gap: 12px; }
.tc .bar { display: grid; gap: 4px; }
.tc .bar .lab { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.tc .bar .lab span:first-child { font-weight: 700; }
.tc .bar .tr { height: 10px; background: var(--wheel-faint); overflow: hidden; }
.tc .bar .tr div { height: 100%; }
.tc .bar small { color: var(--tc-muted); font-size: 13px; }

.tc .profile { display: grid; gap: 14px; }
.tc .profile h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.03em; margin: 0; color: var(--deep); }
.tc .tagline { font-size: 17px; font-weight: 700; margin: 0; color: var(--deep); }
.tc .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tc .col { min-width: 0; padding: 18px 20px; }
.tc .col h4 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.tc .col.good { background: #00AFA3; color: var(--deep); }
.tc .col.hard { background: var(--orange); color: var(--deep); }
.tc .col.plain { background: none; color: var(--deep); padding: 0; }
.tc .col.plain h4 { color: var(--deep); }
.tc .col ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }
.tc .famous { background: var(--teal); color: #fff; padding: 16px 20px; margin: 0; }
.tc .famous b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); }
.tc .famous.plain { background: none; color: var(--deep); padding: 0; }
.tc .famous.plain b { color: var(--tc-muted); }
.tc .sendstatus { font-size: 15px; font-weight: 700; color: var(--deep); }
.tc .sample-flag { color: var(--tc-muted); font-size: 14px; font-style: italic; }

/* When the quiz or report is open, shrink the header to the nav rail only */
.tc.tc-focus .cr-head .hwrap { display: none !important; }
.tc.tc-focus .cr-head { padding-bottom: 20px; }

@media (max-width: 620px) {
  .tc .fields,
  .tc .cols,
  .tc .compass-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tc .fill, .tc .opt { transition: none !important; }
}
