/* ─── TEST ─── */
/* RIASEC TEST (Holland) — quiz UI + results */
/* Extracted verbatim από prototype_v2.html (authoritative <style>) */

/* ============ RIASEC TEST (Holland) ============ */
/* Hero band & SEO section στο homepage */
.test-hero-band {
  margin: 16px 0 48px;
  background: linear-gradient(135deg, #fff7ed 0%, #ecfdf5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  position: relative;
  overflow: hidden;
}
.test-hero-band::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, rgba(249,115,22,0.08), transparent 70%);
  pointer-events: none;
}
.test-hero-grid {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 36px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 880px) {
  .test-hero-band { padding: 28px 22px; }
  .test-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .test-hero-visual { order: -1; max-width: 240px; margin: 0 auto; }
}
.test-hero-eyebrow {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.usp-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--petrol);
  color: var(--petrol-dim);
  letter-spacing: -0.005em;
}
#test-hero-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--text);
}
.test-hero-sub {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 560px;
}
.test-hero-sub strong { color: var(--text); }
.test-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 22px 0;
  max-width: 460px;
}
@media (max-width: 480px) { .test-hero-stats { grid-template-columns: repeat(2, 1fr); } }
.ths-stat {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}
.ths-stat-val {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-dim);
  line-height: 1;
}
.ths-stat-lbl {
  font-size: 10.5px; color: var(--text-dim);
  margin-top: 4px; font-weight: 600;
}
.test-hero-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 22px 0 14px;
}
.btn-test-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 24px -8px rgba(249,115,22,0.45);
  transition: all 0.2s;
}
.btn-test-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(249,115,22,0.55);
}
.btn-test-primary .arrow {
  transition: transform 0.2s;
  display: inline-block;
}
.btn-test-primary:hover .arrow { transform: translateX(3px); }
.btn-test-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border-2);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-test-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dim);
}
.test-hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 18px;
  font-size: 12px; color: var(--text-dim);
}
.trust-item { font-weight: 500; }

.hex-mini-wrap {
  width: 100%; max-width: 320px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.06));
}
.hex-mini { width: 100%; height: auto; }
.chip-test {
  background: linear-gradient(135deg, var(--petrol-soft), var(--accent-soft));
  border: 1px solid #99f6e4;
  color: var(--petrol-dim);
  font-weight: 700;
}
.chip-test:hover {
  background: linear-gradient(135deg, var(--petrol), var(--accent));
  color: white;
  border-color: var(--petrol-dim);
}

/* SEO-rich section — Τι είναι το Τεστ */
.test-seo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 48px 0;
}
.test-seo-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 8px;
  color: var(--text);
}
.faq-item p {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.65; margin: 0;
}

.test-seo-section .tss-intro {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.7; margin: 0 0 32px;
  max-width: 760px;
}
.test-seo-section .tss-intro strong { color: var(--text); }
.tss-types-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
@media (max-width: 800px) { .tss-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tss-types-grid { grid-template-columns: 1fr; } }
.tss-type-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid;
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: all 0.15s;
}
.tss-type-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tss-type-card .tss-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  color: white; font-weight: 800; font-size: 16px;
  margin-bottom: 8px;
}
.tss-type-card h4 {
  font-size: 15px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.tss-type-card .tss-title {
  font-size: 12px; color: var(--text-dim);
  font-style: italic; margin-bottom: 8px;
}
.tss-type-card p {
  font-size: 12.5px; color: var(--text-dim);
  margin: 0; line-height: 1.5;
}

/* FAQ accordion */
.test-faq {
  margin: 32px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.test-faq h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 14.5px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  list-style: none;
  padding-right: 24px;
  position: relative;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 0; top: -2px;
  font-size: 22px; color: var(--accent);
  font-weight: 600;
  transition: transform 0.15s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--accent-dim); }
.faq-item .faq-answer {
  margin-top: 10px;
  font-size: 14px; color: var(--text-dim);
  line-height: 1.65;
}
.faq-item .faq-answer p { margin: 0 0 8px; }
.faq-item .faq-answer p:last-child { margin: 0; }
.faq-item .faq-answer a { color: var(--accent-dim); }

/* Comparison table — Lisari vs άλλα */
.lisari-vs-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.lvs-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.lvs-row:last-child { border-bottom: none; }
.lvs-feature {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
}
.lvs-col {
  padding: 12px 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  border-right: 1px solid var(--border);
}
.lvs-col:last-child { border-right: none; }
.lvs-col small { display: block; font-size: 10.5px; color: var(--text-faint); margin-top: 2px; }
.lvs-col.lvs-lisari {
  background: var(--accent-soft);
  color: var(--accent-dim);
  font-weight: 700;
}
.lvs-row.lvs-header { background: var(--surface-3); }
.lvs-row.lvs-header .lvs-feature { background: var(--surface-3); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); }
.lvs-row.lvs-header .lvs-col { font-weight: 700; font-size: 13px; color: var(--text); }
.lvs-yes { color: var(--petrol-dim); font-weight: 800; font-size: 14px; }
.lvs-no { color: #ef4444; font-weight: 700; }
.lvs-partial { color: #ca8a04; font-weight: 700; }
@media (max-width: 700px) {
  .lvs-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .lvs-feature { font-size: 11.5px; padding: 10px 8px; }
  .lvs-col { font-size: 11px; padding: 10px 4px; }
  .lvs-col small { font-size: 9.5px; }
}

/* CTA mini-band στο τέλος της SEO section */
.test-seo-cta-band {
  margin-top: 32px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--accent-soft), var(--petrol-soft));
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.test-seo-cta-band .cta-text {
  font-size: 15px; font-weight: 700;
}
.test-seo-cta-band .cta-text small {
  display: block;
  font-weight: 500;
  color: var(--text-dim);
  font-size: 12.5px;
  margin-top: 2px;
}

/* View-quiz page header */
.quiz-page-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 8px 0 24px;
}
.quiz-page-h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 14px 0 16px;
  color: var(--text);
}
.quiz-page-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 640px;
}
.quiz-page-sub strong { color: var(--text); }

.test-intro {
  background: linear-gradient(155deg, var(--accent-soft) 0%, var(--petrol-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
}
.test-intro h3 {
  font-size: 24px; font-weight: 800; margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.test-intro p { color: var(--text-dim); margin: 0 0 18px; line-height: 1.6; }
.test-intro .intro-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.test-intro .intro-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  font-size: 11.5px; font-weight: 600; color: var(--text-dim);
}
.riasec-info-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .riasec-info-block { padding: 18px 16px; }
  .riasec-info-block > div[style*="grid"] { grid-template-columns: 1fr !important; }
}

.test-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 20px 0;
}
@media (max-width: 640px) { .test-features { grid-template-columns: 1fr; } }
.test-feature {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.test-feature .feature-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.test-feature h5 { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.test-feature p { font-size: 11.5px; color: var(--text-dim); margin: 0; line-height: 1.45; }

/* test-section-bar — top progress indicator (3 ενότητες) */
.test-section-bar {
  display: flex; gap: 6px; margin-bottom: 18px;
}
.test-section-bar .seg {
  flex: 1; height: 6px; background: var(--surface-3); border-radius: 999px;
  position: relative; overflow: hidden;
}
.test-section-bar .seg.done { background: var(--petrol); }
.test-section-bar .seg.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.test-section-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--text-dim); margin-bottom: 8px;
}
.test-section-meta .section-label {
  font-weight: 700; color: var(--text); font-size: 13px;
  letter-spacing: -0.01em;
}

/* Likert scale */
.likert-q {
  font-size: 19px; font-weight: 600; line-height: 1.4;
  margin: 14px 0 22px; letter-spacing: -0.01em;
  min-height: 56px;
}
.likert-q .item-prefix {
  display: block; font-size: 11.5px; font-weight: 700;
  color: var(--text-faint); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 6px;
}
.likert-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin: 0 0 10px;
}
.likert-btn {
  background: var(--surface-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 18px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: all 0.15s;
  position: relative;
}
.likert-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.likert-btn.selected {
  background: var(--accent);
  border-color: var(--accent-dim);
  color: white;
  box-shadow: 0 4px 14px -4px rgba(249,115,22,0.45);
}
.likert-btn .dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border-2);
  background: var(--surface);
  transition: all 0.15s;
}
.likert-btn.selected .dot { background: white; border-color: white; }
.likert-btn .lbl {
  font-size: 11px; font-weight: 600;
  text-align: center; line-height: 1.25;
  color: var(--text-dim);
}
.likert-btn.selected .lbl { color: white; }
.likert-labels {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--text-faint); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0 4px; margin-bottom: 18px;
}
@media (max-width: 500px) {
  .likert-btn { padding: 14px 4px; }
  .likert-btn .dot { width: 18px; height: 18px; }
  .likert-btn .lbl { font-size: 10px; }
}

.test-nav {
  display: flex; gap: 8px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.test-nav .test-skip {
  background: transparent; border: none; color: var(--text-faint);
  font-size: 12px; padding: 8px 12px; border-radius: 8px;
  cursor: pointer;
}
.test-nav .test-skip:hover { color: var(--text-dim); background: var(--surface-2); }

/* Results — Hexagon + bars + cards */
.riasec-results-hero {
  text-align: center; padding: 12px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.riasec-code-display {
  display: inline-flex; gap: 10px; margin: 14px 0 8px;
  align-items: stretch; max-width: 100%;
}
.riasec-code-letter {
  min-width: 88px; height: 88px; border-radius: 14px;
  padding: 0 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1.5px solid var(--border-2);
  position: relative;
}
.riasec-code-letter.rank-1 {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: white; border-color: var(--accent-dim);
  box-shadow: 0 8px 24px -8px rgba(249,115,22,0.45);
}
.riasec-code-letter.rank-2 {
  background: linear-gradient(155deg, var(--petrol) 0%, var(--petrol-dim) 100%);
  color: white; border-color: var(--petrol-dim);
}
.riasec-code-letter.rank-3 {
  background: var(--indigo); color: white; border-color: #6366f1;
}
.riasec-code-letter .big { font-size: 34px; font-weight: 800; line-height: 1; }
.riasec-code-letter .nm { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; margin-top: 5px; text-transform: uppercase; opacity: 0.9; white-space: nowrap; }
@media (max-width: 480px) {
  .riasec-code-display { display: flex; width: 100%; gap: 6px; }
  .riasec-code-letter { min-width: 0; flex: 1; height: auto; min-height: 80px; padding: 8px 6px; border-radius: 10px; }
  .riasec-code-letter .big { font-size: 28px; }
  .riasec-code-letter .nm { font-size: 9px; white-space: normal; text-align: center; line-height: 1.2; }
}
.riasec-code-label {
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
  margin: 8px 0 4px;
}
.riasec-code-sub { font-size: 13px; color: var(--text-dim); }

.riasec-viz {
  display: grid; grid-template-columns: 280px 1fr; gap: 24px;
  margin: 24px 0;
  align-items: center;
}
@media (max-width: 700px) { .riasec-viz { grid-template-columns: 1fr; } }
.riasec-hexagon-wrap { display: flex; justify-content: center; }
.riasec-bars { display: flex; flex-direction: column; gap: 10px; }
.riasec-bar {
  display: grid; grid-template-columns: 110px 1fr 48px; gap: 12px;
  align-items: center; font-size: 13px;
}
.riasec-bar .nm { font-weight: 600; }
.riasec-bar .nm .ltr {
  display: inline-block; width: 18px; height: 18px; border-radius: 5px;
  font-size: 10.5px; font-weight: 800; text-align: center; line-height: 18px;
  margin-right: 6px; color: white;
}
.riasec-bar .ltr.R { background: #ef4444; }
.riasec-bar .ltr.I { background: #3b82f6; }
.riasec-bar .ltr.A { background: #a855f7; }
.riasec-bar .ltr.S { background: #14b8a6; }
.riasec-bar .ltr.E { background: #f97316; }
.riasec-bar .ltr.C { background: #64748b; }
.riasec-bar-track {
  height: 10px; background: var(--surface-3); border-radius: 999px; overflow: hidden;
}
.riasec-bar-fill {
  height: 100%; border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.riasec-bar.R .riasec-bar-fill { background: linear-gradient(90deg, #ef4444, #f87171); }
.riasec-bar.I .riasec-bar-fill { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.riasec-bar.A .riasec-bar-fill { background: linear-gradient(90deg, #a855f7, #c084fc); }
.riasec-bar.S .riasec-bar-fill { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.riasec-bar.E .riasec-bar-fill { background: linear-gradient(90deg, #f97316, #fb923c); }
.riasec-bar.C .riasec-bar-fill { background: linear-gradient(90deg, #64748b, #94a3b8); }
.riasec-bar .score { text-align: right; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; font-size: 13px; }

.riasec-section {
  margin: 28px 0 16px;
}
.riasec-section h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-dim);
  margin: 0 0 12px;
}
.riasec-type-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 8px 0 20px;
}
.riasec-type-summary h5 {
  font-size: 16px; font-weight: 700; margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.riasec-type-summary p {
  margin: 0; color: var(--text-dim); line-height: 1.6; font-size: 14px;
}
.riasec-type-summary .traits {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.riasec-type-summary .trait {
  background: white; border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 999px; font-size: 11px;
  font-weight: 600; color: var(--text-dim);
}

/* RIASEC card μέσα στο school detail modal */
.detail-riasec-card {
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
}
.detail-riasec-card.excellent { background: linear-gradient(135deg, var(--petrol-soft), #d1fae5); border-color: #6ee7b7; }
.detail-riasec-card.good { background: var(--accent-soft); border-color: #fed7aa; }
.detail-riasec-card.low { background: var(--surface-2); border-color: var(--border); }
.detail-riasec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.detail-riasec-grade {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-dim);
}
.detail-riasec-card.excellent .detail-riasec-grade { color: var(--petrol-dim); }
.detail-riasec-card.good .detail-riasec-grade { color: var(--accent-dim); }
.detail-riasec-match {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-dim);
}
.detail-riasec-card.excellent .detail-riasec-match { color: var(--petrol-dim); }
.detail-riasec-card.low .detail-riasec-match { color: var(--text-dim); }
.detail-riasec-codes {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-dim);
  margin-bottom: 6px;
}
.detail-riasec-label { display: inline-flex; align-items: center; gap: 6px; }
.detail-riasec-why {
  margin: 6px 0 0; font-size: 13px; line-height: 1.55;
  color: var(--text);
}
.detail-riasec-cta {
  background: linear-gradient(135deg, var(--accent-soft), var(--petrol-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 16px 0;
}

.why-match {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent-2);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--accent-dim);
  line-height: 1.5;
}

/* Share section στα results */
.riasec-share-section {
  background: linear-gradient(135deg, var(--petrol-soft), var(--accent-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 24px 0;
}
.riasec-share-section h4 {
  font-size: 16px; font-weight: 800;
  margin: 0 0 6px; letter-spacing: -0.01em;
  text-transform: none; letter-spacing: -0.005em;
  color: var(--text);
}
.riasec-share-section .share-sub {
  font-size: 13px; color: var(--text-dim);
  margin: 0 0 16px; line-height: 1.55;
}
.share-buttons {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: white;
  color: var(--text);
  transition: all 0.15s;
}
.share-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.share-btn.whatsapp { background: #25d366; color: white; border-color: #128c7e; }
.share-btn.whatsapp:hover { background: #128c7e; }
.share-btn.copy { background: var(--accent); color: white; border-color: var(--accent-dim); }
.share-btn.copy:hover { background: var(--accent-dim); }

/* Shared profile banner — όταν φτάνει κάποιος από link */
.shared-profile-banner {
  background: linear-gradient(135deg, var(--accent-soft), var(--petrol-soft));
  border: 2px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 20px;
}
.shared-profile-banner h4 {
  font-size: 15px; font-weight: 800;
  margin: 0 0 4px; letter-spacing: -0.01em;
}
.shared-profile-banner p {
  font-size: 13px; color: var(--text-dim);
  margin: 0; line-height: 1.5;
}

.riasec-careers {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.riasec-career {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; flex-direction: column;
  cursor: pointer; transition: all 0.15s;
  text-align: left;
}
.riasec-career:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.riasec-career .name { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
.riasec-career .desc { font-size: 11px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.riasec-career .match-bar {
  margin-top: 8px; display: flex; align-items: center; gap: 6px;
}
.riasec-career .match-track { flex: 1; height: 4px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.riasec-career .match-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.riasec-career .match-val { font-size: 10px; font-weight: 700; color: var(--accent-dim); }

.riasec-actions {
  display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--border);
}

/* Profile chip στο header */
.riasec-profile-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px 5px 7px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--petrol-soft));
  border: 1px solid var(--border-2);
  color: var(--text); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  margin-left: 4px;
}
.riasec-profile-chip:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px -4px rgba(249,115,22,0.2);
}
.riasec-profile-chip .code {
  display: inline-flex; gap: 1px;
  font-weight: 800; font-size: 11px;
}
.riasec-profile-chip .code span {
  background: var(--accent); color: white;
  width: 18px; height: 18px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.riasec-profile-chip .code span:nth-child(2) { background: var(--petrol); }
.riasec-profile-chip .code span:nth-child(3) { background: var(--indigo); }

/* Banner στο browse view (όπως το region) */
#riasec-banner h4 { color: var(--petrol-dim); }
#riasec-banner .mini-bars {
  display: flex; gap: 8px; margin-top: 8px;
}
#riasec-banner .mini-bar {
  display: flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 600; color: var(--text-dim);
}
#riasec-banner .mini-bar .ltr {
  display: inline-block; width: 16px; height: 16px; border-radius: 4px;
  font-size: 10px; font-weight: 800; text-align: center; line-height: 16px;
  color: white;
}
.riasec-school-badge {
  display: inline-flex; gap: 2px;
  margin-left: 6px; vertical-align: middle;
}
.riasec-school-badge span {
  width: 14px; height: 14px; border-radius: 4px;
  font-size: 9px; font-weight: 800; color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.riasec-school-badge .R { background: #ef4444; }
.riasec-school-badge .I { background: #3b82f6; }
.riasec-school-badge .A { background: #a855f7; }
.riasec-school-badge .S { background: #14b8a6; }
.riasec-school-badge .E { background: #f97316; }
.riasec-school-badge .C { background: #64748b; }
.riasec-school-badge .match {
  font-size: 9.5px; font-weight: 700; color: var(--accent-dim);
  background: var(--accent-soft); padding: 0 5px; border-radius: 4px;
  display: inline-flex; align-items: center;
}
.test-resume-hint {
  background: var(--accent-soft);
  border: 1px dashed var(--accent-2);
  border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 14px;
  font-size: 12.5px; color: var(--accent-dim);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.test-resume-hint button {
  background: var(--accent); color: white; border: none;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.ai-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 420px;
}
.msg { display: flex; gap: 12px; margin-bottom: 20px; }
.msg.user { flex-direction: row-reverse; }
.avatar {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.avatar.bot { background: var(--accent); color: #fff; }
.avatar.user { background: var(--surface-3); }
.msg-content { flex: 1; }
.msg-sender { font-size: 11px; color: var(--text-faint); margin-bottom: 4px; }
.msg.user .msg-sender { text-align: right; }
.bubble {
  background: var(--surface-2);
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px; line-height: 1.6;
}
.msg.user .bubble {
  background: var(--petrol-soft);
  border-radius: 16px 16px 4px 16px;
  display: inline-block;
}
.msg.user .msg-content { text-align: right; }
.cite { font-size: 11px; color: var(--text-faint); font-style: italic; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-2); }
.msg-actions { display: flex; gap: 6px; margin-top: 8px; }
.msg-actions button { padding: 4px 10px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-dim); font-size: 11px; border-radius: 6px; }
.msg-actions button:hover { background: var(--surface-3); }
.ai-input-wrap { position: relative; margin-top: 20px; }
.ai-input {
  width: 100%; padding: 16px 110px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text); font-size: 14px;
  outline: none;
}
.ai-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,0.1); }
.ai-send {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  padding: 9px 16px;
  background: var(--accent);
  color: #fff; font-size: 13px; font-weight: 600;
  border: none; border-radius: 9px;
}
.fab {
  position: fixed; z-index: 35;
  border: none; border-radius: 14px;
  transition: transform 0.15s;
  box-shadow: var(--shadow-lg);
}
.fab:hover { transform: scale(1.05); }
.fab-ai {
  bottom: 20px; left: 20px;
  width: 54px; height: 54px;
  background: var(--accent);
  color: #fff; font-size: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fab-compare {
  bottom: 20px; right: 20px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--petrol-2), var(--petrol-dim));
  color: #fff; font-size: 13px; font-weight: 600;
  display: none;
  align-items: center; gap: 8px;
}
.fab-compare.show { display: flex; }
@media (max-width: 480px) {
  body { padding-bottom: 80px; }
  .fab-ai { bottom: 14px; left: 14px; width: 48px; height: 48px; font-size: 18px; }
  .fab-compare { bottom: 14px; right: 14px; padding: 10px 14px; font-size: 12px; }
}
.result-count { font-size: 13px; color: var(--text-dim); }
.result-count span { color: var(--text); font-weight: 600; }

/* Detail page enhancements */
.dept-ref {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}
.ed-body p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.ed-body p:last-child { margin-bottom: 0; }
/* Aggregate Trends */
.trend-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.trend-legend {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  justify-content: center;
}
.trend-legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text);
  background: var(--surface-2);
  padding: 5px 12px;
  border-radius: 999px;
}
.trend-swatch { width: 14px; height: 4px; border-radius: 2px; }
.trend-summary-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 14px;
}
@media (max-width: 760px) { .trend-summary-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trend-summary-grid { grid-template-columns: 1fr; } }
.trend-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.trend-card-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.trend-name { font-size: 11.5px; color: var(--text-dim); }
.trend-num { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.trend-meta { font-size: 11px; color: var(--text-faint); margin-top: 3px; }

.cmp-chart-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.cmp-chart { width: 100%; height: auto; display: block; }
.cmp-chart-legend {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cmp-chart-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  background: var(--surface);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  flex: 1; min-width: 200px;
}
.cmp-legend-swatch {
  width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0;
}
.cmp-legend-label { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-legend-meta { color: var(--text-faint); font-size: 11px; margin-left: auto; }

.vasi-chart-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.vasi-chart { width: 100%; height: auto; display: block; }
.vasi-chart-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
@media (max-width: 500px) { .vasi-chart-summary { grid-template-columns: 1fr; gap: 6px; } }
.vcs-l { font-size: 10.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.vcs-v { font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.vcs-prediction {
  background: linear-gradient(135deg, var(--petrol-soft) 0%, var(--accent-soft) 100%);
  padding: 8px 12px;
  margin: -4px -8px;
  border-radius: 8px;
  border: 1px solid #a5e8f0;
}
.vcs-prediction-conf {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
}
.conf-high { background: #dcfce7; color: #15803d; }
.conf-med  { background: #fef9c3; color: #ca8a04; }
.conf-low  { background: #fee2e2; color: #b91c1c; }
.history-fallback {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px; color: #78350f;
  line-height: 1.55;
}
.history-fallback strong { color: #422006; }

.vcs-disclaimer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-2);
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.5;
  font-style: italic;
}

.editorial-source-notice {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--petrol-soft) 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  font-size: 12px; color: var(--text);
  line-height: 1.5;
}
.editorial-source-notice a { color: var(--accent-dim); font-weight: 600; text-decoration: none; }
.editorial-source-notice a:hover { text-decoration: underline; }
.ed-missing {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
}
details.expand .content p {
  margin: 0 0 10px 0;
}
details.expand .content p:last-child { margin-bottom: 0; }
.career-list {
  margin: 12px 0 0 0;
  padding-left: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}
@media (max-width: 600px) { .career-list { grid-template-columns: 1fr; } }
.career-list li {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.45;
  padding: 2px 0;
}
.career-list li::marker { color: var(--accent); font-weight: 700; }
.vaseis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.vaseis-table thead {
  background: var(--surface-2);
}
.vaseis-table th {
  text-align: left;
  padding: 8px 10px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.vaseis-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.vaseis-table tr:last-child td { border-bottom: none; }
@media (max-width: 480px) {
  .vaseis-table { font-size: 11px; }
  .vaseis-table th { padding: 6px 6px; font-size: 9.5px; }
  .vaseis-table td { padding: 7px 6px; }
}
.vaseis-table td:first-child {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 280px;
}
.vasi-cell {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  text-align: right;
}

/* ─── LEAD GATE (soft gate τεστ — email πριν τα αποτελέσματα) ─── */
.lead-gate {
  max-width: 460px; margin: 24px auto; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center;
}
.lead-gate-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; height: 56px; padding: 0 14px; margin-bottom: 14px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-dim);
  font-weight: 800; font-size: 20px; letter-spacing: 0.04em;
}
.lead-gate h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.lead-gate > p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.lead-gate-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.lead-input {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
}
.lead-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lead-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.lead-consent input { margin-top: 2px; flex: 0 0 auto; }
.lead-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; }
.lead-submit { margin-top: 4px; width: 100%; justify-content: center; }
.lead-submit:disabled { opacity: 0.6; cursor: default; }
.lead-gate-note { font-size: 11.5px; color: var(--text-faint); margin: 14px 0 0; }

.lead-privacy-link { color: var(--accent-dim); text-decoration: underline; font-weight: 600; }

/* ─── Results PDF bar (μετά την επιβεβαίωση email) ─── */
.results-pdf-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: var(--petrol-soft); border: 1px solid var(--petrol-2);
  border-radius: var(--radius); padding: 14px 18px; margin: 0 0 20px;
}
.results-pdf-ok { font-weight: 800; color: var(--petrol-dim); }
.results-pdf-btn { white-space: nowrap; }

/* ─── Lead gate: optional marketing consent + resend banner ─── */
.lead-consent.lead-consent-optional { opacity: .9; font-size: 13px; margin-top: -2px; }
.lead-consent.lead-consent-optional span { color: #64748b; }
#lead-resend-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 9998; background: #0f172a; color: #fff;
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  font-size: 13px; display: flex; align-items: center; gap: 8px;
  max-width: 94vw; flex-wrap: wrap; justify-content: center;
}
#lead-resend-banner .lrb-text strong { color: #fbbf24; }
#lead-resend-banner .lrb-resend {
  background: #ea580c; color: #fff; border: 0; border-radius: 8px;
  padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer;
}
#lead-resend-banner .lrb-resend:disabled { opacity: .6; cursor: default; }
#lead-resend-banner .lrb-close {
  background: transparent; color: #94a3b8; border: 0;
  font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px;
}
