/* Horizon Product Shell V3
 * La feuille historique conserve les composants métier. Cette feuille est
 * l'unique autorité pour le shell, l'accueil et leurs adaptations responsive.
 */

:root {
  --sidebar-width: 244px;
  --product-blue: #5e86c8;
  --product-blue-dark: #5279ba;
  --product-blue-soft: #eaf1fb;
  --product-navy: #17365d;
  --product-text: #17365d;
  --product-muted: #617694;
  --product-line: #d9e3f0;
  --product-canvas: #f8fbff;
  --product-surface: #fff;
  --product-green: #139b75;
  --product-orange: #ed762c;
  --product-violet: #7656e8;
  --product-cyan: #17a5b7;
  --product-coach: #68beb7;
  --product-coach-soft: #8ed8d1;
  --product-radius: 11px;
  --product-shadow: 0 7px 24px rgb(24 54 105 / 6%);
}

body {
  min-width: 320px;
  background: var(--product-canvas);
  color: var(--product-text);
  font-size: 14px;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-toggle {
  visibility: hidden;
  pointer-events: none;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  grid-template-rows: 24px minmax(calc(100vh - 24px), auto);
  padding: 0;
  background: var(--product-canvas);
}

.demo-banner {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  height: 24px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-bottom: 1px solid #e7ebf3;
  background: #f1f5fc;
  color: #6c7a93;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.demo-banner strong {
  border-radius: 999px;
  background: #e5edff;
  color: #2456c5;
  padding: 1px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* AppShell / Sidebar ----------------------------------------------------- */

.sidebar {
  position: sticky;
  z-index: 30;
  top: 24px;
  display: flex;
  width: var(--sidebar-width);
  height: calc(100vh - 24px);
  grid-row: 2;
  flex-direction: column;
  border-right: 1px solid var(--product-line);
  background: rgb(255 255 255 / 98%);
  box-shadow: none;
  color: var(--product-text);
  padding: 20px 15px 14px;
}

.sidebar-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.sidebar .brand {
  width: 100%;
  color: var(--product-navy);
  padding: 1px 12px 28px;
}

.sidebar .brand-logo {
  width: 174px;
  max-width: 100%;
}

.sidebar .brand-logo-name {
  fill: var(--product-navy);
  font-family: Manrope, "Avenir Next", sans-serif;
  font-size: 30px;
  font-weight: 350;
}

.sidebar .brand-logo-sun,
.sidebar .brand-logo-line {
  stroke: var(--product-blue);
}

.sidebar .brand-logo-tagline {
  fill: #8190aa;
  font-family: Manrope, "Avenir Next", sans-serif;
  letter-spacing: 2.45px;
}

.main-nav {
  display: grid;
  min-height: 0;
  gap: 18px;
  overflow-y: auto;
  padding: 0 0 8px;
  scrollbar-width: thin;
}

.nav-group {
  display: grid;
  gap: 2px;
}

.nav-group-label {
  margin: 0 11px 5px;
  color: #7b879c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #50617d;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 590;
  text-align: left;
  transition:
    background 140ms ease,
    color 140ms ease;
}

.nav-item:hover:not(:disabled) {
  background: #f3f6fb;
  color: #1d4888;
  transform: none;
}

.nav-item.active {
  background: #edf2ff;
  box-shadow: none;
  color: #1f58d3;
  font-weight: 720;
}

.nav-item.active::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -5px;
  width: 2px;
  border-radius: 99px;
  background: var(--product-blue);
  content: "";
}

.nav-icon,
.nav-item.active .nav-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 7px;
  background: transparent;
  color: currentcolor;
  font-size: 17px;
}

/* Alignee sur les autres entrees de navigation : l'orbe reste la signature du
   Coach, l'etoile violette decorative a ete retiree du balisage. */
.nav-item-assistant {
  color: inherit;
}

.nav-item-assistant .coach-nav-orb {
  opacity: 0.92;
}

.sidebar-support {
  flex: none;
  margin-top: auto;
  border: 0;
  border-top: 1px solid var(--product-line);
  border-radius: 0;
  background: transparent;
  padding: 9px 8px 7px;
}

.sidebar .sidebar-support summary {
  display: flex;
  min-height: 31px;
  align-items: center;
  gap: 8px;
  color: #6b7890;
  cursor: pointer;
  font-size: 10px;
  list-style: none;
}

.sidebar .sidebar-support summary::-webkit-details-marker {
  display: none;
}

.sidebar .sidebar-support summary span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #c9d2e0;
  border-radius: 50%;
  color: #2b5fc7;
  font-weight: 800;
}

.sidebar .help-steps {
  max-height: 130px;
  overflow-y: auto;
  color: #6f7e97;
  font-size: 9px;
}

/* SidebarAccount -------------------------------------------------------- */

/* Zone utilitaire discrete : la carte dominait le bas de la sidebar avec une
   ombre portee et un avatar en degrade sature. Fond, bordure et ombre allegees,
   ensemble plus compact ; les informations et le chevron sont conserves. */
.sidebar .account-card.profile-card {
  position: relative;
  display: grid;
  min-height: 60px;
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--product-line);
  border-radius: 9px;
  background: var(--product-canvas);
  box-shadow: none;
  color: var(--product-text);
  padding: 8px 8px 8px 9px;
}

.sidebar .avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(94 134 200 / 20%);
  border-radius: 50%;
  background: var(--product-blue-soft);
  color: var(--product-blue-dark);
  font-size: 11px;
  font-weight: 700;
}

.profile-identity {
  min-width: 0;
}

.sidebar .profile-card strong,
.sidebar .profile-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar .profile-card strong {
  color: #1a315b;
  font-size: 11px;
  font-weight: 720;
}

.sidebar .profile-card small {
  margin-top: 1px;
  color: #748199;
  font-size: 8px;
}

.account-card-action,
.profile-preferences > summary {
  display: grid;
  width: 28px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #526580;
  cursor: pointer;
  font-size: 20px;
  list-style: none;
}

.account-card-action:hover,
.profile-preferences > summary:hover {
  background: #f1f5fb;
  color: var(--product-blue);
}

.profile-preferences {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  border: 0;
  padding: 0;
}

.profile-preferences > summary::-webkit-details-marker {
  display: none;
}

.account-card:not(.with-account) .profile-preferences {
  display: none;
}

.profile-preferences-menu {
  position: absolute;
  z-index: 45;
  right: -3px;
  bottom: 40px;
  display: grid;
  width: 205px;
  gap: 6px;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--product-shadow);
  padding: 8px;
}

.sidebar .ai-consent-row {
  margin: 0;
  border: 0;
  border-radius: 7px;
  background: #f5f8fc;
  padding: 8px;
}

.sidebar .ai-consent-state,
.profile-menu-action {
  color: #5e6d86;
  font-size: 9px;
}

.profile-menu-action:hover {
  background: #f2f5fa;
  color: var(--product-navy);
}

.mobile-nav-toggle,
.mobile-nav-close,
.mobile-nav-backdrop {
  display: none;
}

/* Main workspace / HorizonCommandBar ----------------------------------- */

.main-content {
  width: 100%;
  max-width: none;
  grid-row: 2;
  margin: 0;
  padding: 14px 24px 42px;
}

.workspace-topbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
}

.workspace-command {
  display: flex;
  width: min(690px, 72%);
  min-height: 46px;
  align-items: center;
  gap: 11px;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 7%);
  color: #68758e;
  cursor: pointer;
  padding: 8px 10px 8px 15px;
  text-align: left;
}

.workspace-command:hover {
  border-color: #cbd6e8;
  color: #475b7a;
}

.workspace-command-icon {
  color: var(--product-blue);
  font-size: 16px;
}

.workspace-command kbd {
  margin-left: auto;
  border: 0;
  border-radius: 6px;
  background: #f4f6fa;
  color: #8490a5;
  padding: 4px 7px;
  font:
    700 10px Manrope,
    sans-serif;
}

.app-view:not([data-view="overview"]) {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Home composition ------------------------------------------------------ */

.app-view.active[data-view="overview"] {
  display: block;
  width: 100%;
  max-width: none;
}

.app-view[data-view="overview"] > .system-alert {
  margin-bottom: 12px;
}

.overview-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 18px;
  align-items: start;
}

.overview-main-flow,
.overview-rail {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 14px;
}

/* HorizonHero ----------------------------------------------------------- */

.horizon-hero {
  position: relative;
  display: grid;
  min-height: 242px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  background: #edf3fb;
  box-shadow: var(--product-shadow);
  padding: 26px 30px;
}

#assessment-overview.horizon-hero {
  min-height: 242px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  background: #edf3fb;
  padding: 26px 30px;
}

.horizon-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(246 249 255 / 95%) 0%, rgb(246 249 255 / 82%) 42%, transparent 70%),
    url("/assets/horizon-summit-hero.png") 58% center / cover no-repeat;
}

.horizon-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 620px;
  gap: 14px;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Medaillon discret : l'ancien cercle de 84 px dominait le hero et ecrasait le
   titre. On garde l'initiale comme reperage, pas comme point focal. */
.hero-avatar {
  display: grid;
  width: 60px;
  height: 60px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(94 134 200 / 22%);
  border-radius: 50%;
  background: var(--product-blue-soft);
  color: var(--product-blue-dark);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-identity h1 {
  margin: 0 0 7px;
  color: var(--product-navy);
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 670;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-identity p {
  max-width: 410px;
  margin: 0;
  color: #3f5475;
  font-size: 13px;
  line-height: 1.5;
}

.hero-objective {
  display: flex;
  max-width: 560px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: -3px 0 0 104px;
  color: #72809a;
  font-size: 10px;
}

.hero-objective span {
  flex: none;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-objective strong {
  overflow: hidden;
  color: #3e5374;
  font-size: 10px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizon-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 0 104px;
}

/* Boutons du hero : hauteur contenue, rayon franc, aucune ombre portee. Les
   gros blocs bleus pleins faisaient daté et tiraient l'oeil avant le titre. */
.horizon-hero .primary-button,
.horizon-hero .secondary-button,
.hero-coach-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 640;
  letter-spacing: 0.005em;
  box-shadow: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

.horizon-hero .primary-button {
  border-color: var(--product-blue);
  background: var(--product-blue);
  color: #fff;
}

.horizon-hero .primary-button:hover {
  border-color: var(--product-blue-dark);
  background: var(--product-blue-dark);
}

.horizon-hero .secondary-button,
.hero-coach-action {
  border: 1px solid var(--product-line);
  background: var(--product-blue-soft);
  color: var(--product-navy);
  cursor: pointer;
}

.hero-coach-action:hover,
.horizon-hero .secondary-button:hover {
  border-color: rgb(94 134 200 / 34%);
  background: #fff;
}

.hero-progress {
  display: none;
}

.overview-onboarding {
  min-height: 242px;
}

.onboarding-content {
  max-width: 430px;
  gap: 13px;
}

.component-kicker,
.coach-eyebrow {
  margin: 0;
  color: #2d5fd0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.onboarding-content h2 {
  margin: 0;
  color: var(--product-navy);
  font-size: clamp(29px, 2.5vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.onboarding-content .hero-description {
  max-width: 380px;
  margin: 0;
  color: #485e7d;
  font-size: 13px;
  line-height: 1.55;
}

.onboarding-content .hero-actions {
  margin-left: 0;
}

.objective-panel {
  width: min(520px, 100%);
  grid-template-rows: auto minmax(0, 1fr);
}

.objective-form {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.objective-panel-content {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow-y: auto;
  padding: 34px 30px;
}

.objective-panel-intro {
  margin: 0 0 6px;
  color: #52647f;
  font-size: 13px;
  line-height: 1.6;
}

.objective-panel-content > label:not(.consent-label) {
  color: var(--product-navy);
  font-size: 12px;
  font-weight: 720;
}

.objective-panel-content textarea {
  min-height: 164px;
  resize: vertical;
}

.objective-panel-content .consent-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #52647f;
  font-size: 10px;
  line-height: 1.5;
}

.objective-panel-content .consent-label input {
  margin-top: 2px;
}

.objective-panel-content .field-help {
  margin: -5px 0 0 25px;
  font-size: 9px;
}

.objective-panel-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--product-line);
}

/* ProgressStrip --------------------------------------------------------- */

.home-dashboard {
  min-width: 0;
  min-height: 116px;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: #fff;
  box-shadow: 0 4px 16px rgb(34 63 111 / 4%);
  padding: 12px 16px 10px;
}

.progress-strip-heading {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-strip-heading h2,
.home-section-header h2,
.recommendation-list-header h2,
.rail-panel h2 {
  margin: 0;
  color: #16335e;
  font-weight: 700;
}

.progress-strip-heading h2 {
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dashboard-stage {
  border-radius: 999px;
  background: #edf2ff;
  color: #2859cb;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 7px;
}

.progress-step {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  border-left: 1px solid #edf0f5;
  padding: 7px 11px 9px;
}

.progress-step:first-child {
  border-left: 0;
  padding-left: 2px;
}

.progress-step-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--product-blue);
  font-size: 14px;
}

.progress-step-cyan .progress-step-icon {
  background: #e7f7f8;
  color: var(--product-cyan);
}

.progress-step-green .progress-step-icon {
  background: #e9f7f1;
  color: var(--product-green);
}

.progress-step-orange .progress-step-icon {
  background: #fff1e7;
  color: var(--product-orange);
}

.progress-step-violet .progress-step-icon {
  background: #f0edff;
  color: var(--product-violet);
}

.progress-step p {
  min-width: 0;
  margin: 0;
}

.progress-step .dashboard-tile-label {
  color: #334867;
  font-size: 9px;
  font-weight: 720;
}

.progress-step .dashboard-tile-value {
  overflow: hidden;
  margin-top: 1px;
  color: #18365f;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-step .dashboard-tile-note {
  overflow: hidden;
  margin-top: 1px;
  color: #8590a3;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-progress-track,
.progress-state-track {
  position: absolute;
  right: 11px;
  bottom: 3px;
  left: 48px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8ecf3;
}

.dashboard-progress-track span,
.progress-state-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentcolor;
}

.dashboard-progress-track {
  color: var(--product-blue);
}

.dashboard-progress-track span {
  width: var(--questionnaire-progress, 0%);
}

.progress-step-cyan .progress-state-track {
  color: var(--product-cyan);
}

.progress-step-cyan .progress-state-track span {
  width: var(--experience-progress, 0%);
}

.progress-step-green .progress-state-track {
  color: var(--product-green);
}

.progress-step-green .progress-state-track span {
  width: var(--job-progress, 0%);
}

.progress-step-orange .progress-state-track {
  color: var(--product-orange);
}

.progress-step-orange .progress-state-track span {
  width: 100%;
}

.progress-step-violet .progress-state-track {
  color: var(--product-violet);
}

.progress-step-violet .progress-state-track span {
  width: var(--report-progress, 0%);
}

/* RecommendedActionCard ------------------------------------------------- */

.recommended-actions {
  min-width: 0;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: #fff;
  padding: 12px 14px 13px;
}

.home-section-header {
  display: flex;
  min-height: 25px;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.home-section-header h2 {
  font-size: 10px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.home-section-header p {
  margin: 0;
  color: #8a95a8;
  font-size: 8px;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-action {
  min-width: 0;
  min-height: 102px;
  border: 1px solid #dfe7f5;
  border-radius: 9px;
  background: linear-gradient(145deg, #fbfcff, #f3f7ff);
}

.dashboard-action[data-tone="green"] {
  border-color: #dceee8;
  background: linear-gradient(145deg, #fbfffd, #eef9f5);
}

.dashboard-action[data-tone="orange"] {
  border-color: #f5e4d6;
  background: linear-gradient(145deg, #fffdfb, #fff5ed);
}

.dashboard-action[data-tone="violet"] {
  border-color: #e5e0f7;
  background: linear-gradient(145deg, #fefeff, #f5f2ff);
}

.recommended-action-button {
  display: grid;
  width: 100%;
  min-height: 100px;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #1d4ec5;
  cursor: pointer;
  padding: 11px;
  text-align: left;
}

.recommended-action-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: var(--product-blue);
  font-size: 15px;
}

[data-tone="green"] .recommended-action-icon {
  background: #e5f6ef;
  color: var(--product-green);
}

[data-tone="orange"] .recommended-action-icon {
  background: #fff0e4;
  color: var(--product-orange);
}

[data-tone="violet"] .recommended-action-icon {
  background: #eeeaff;
  color: var(--product-violet);
}

.recommended-action-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.recommended-action-copy strong {
  color: #18355f;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.35;
}

.dashboard-action-detail {
  color: #77839a;
  font-size: 8px;
  line-height: 1.45;
}

.recommended-action-arrow {
  align-self: end;
  color: currentcolor;
  font-size: 11px;
}

.dashboard-action[data-tone="green"] .recommended-action-button {
  color: var(--product-green);
}

.dashboard-action[data-tone="orange"] .recommended-action-button {
  color: var(--product-orange);
}

.dashboard-action[data-tone="violet"] .recommended-action-button {
  color: var(--product-violet);
}

.recommended-action-button:hover .recommended-action-copy strong {
  color: currentcolor;
}

/* RecommendationList / EmptyState -------------------------------------- */

.home-recommendations {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recommendation-list {
  min-width: 0;
  min-height: 182px;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: #fff;
  box-shadow: 0 4px 14px rgb(34 63 111 / 4%);
  padding: 12px 13px;
}

.recommendation-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0f5;
  padding: 0 1px 9px;
}

.recommendation-list-header p {
  margin: 0 0 2px;
  color: var(--product-blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendation-list-training .recommendation-list-header p {
  color: var(--product-orange);
}

.recommendation-list-header h2 {
  font-size: 13px;
}

.recommendation-list-header button,
.recommendation-state > button,
.rail-link {
  border: 0;
  background: transparent;
  color: #2458cd;
  cursor: pointer;
  padding: 0;
  font-size: 8px;
  font-weight: 720;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.section-link span {
  line-height: 1;
}

.recommendation-state {
  display: grid;
  min-height: 104px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fbfcff;
  padding: 11px;
}

.recommendation-list-jobs .recommendation-state {
  background: #f8fdfb;
}

.recommendation-list-training .recommendation-state {
  background: #fffbf7;
}

.recommendation-state-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #e7f6f0;
  color: var(--product-green);
  font-size: 17px;
}

.recommendation-list-training .recommendation-state-icon {
  background: #fff0e5;
  color: var(--product-orange);
}

.recommendation-state strong {
  color: #233b62;
  font-size: 10px;
}

.recommendation-state p {
  margin: 3px 0 0;
  color: #7b879b;
  font-size: 8px;
  line-height: 1.45;
}

.recommendation-state > button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  font-size: 14px;
}

.recommendation-state > button:hover {
  background: #edf2fc;
}

/* HorizonCoachPanel / right rail ---------------------------------------- */

.horizon-coach-panel {
  position: relative;
  display: flex;
  min-height: 252px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 29%, rgb(81 143 255 / 75%), transparent 30%),
    linear-gradient(150deg, #235cd9 0%, #123c9a 58%, #0c2b6c 100%);
  box-shadow: 0 10px 28px rgb(17 57 138 / 17%);
  color: #fff;
  padding: 17px 18px 16px;
  text-align: center;
}

.horizon-coach-panel::after {
  position: absolute;
  top: -70px;
  right: -65px;
  width: 170px;
  height: 170px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
}

.coach-eyebrow {
  align-self: flex-start;
  color: #d6e4ff;
}

.coach-orb {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 7px 0 5px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 5%));
  box-shadow:
    inset 0 -12px 18px rgb(7 33 99 / 24%),
    0 0 24px rgb(139 186 255 / 22%);
  color: #fff;
  font-size: 25px;
}

.coach-orb span {
  position: absolute;
  right: 13px;
  bottom: 12px;
  left: 13px;
  height: 13px;
  border-radius: 50% 50% 42% 42%;
  background: rgb(255 255 255 / 92%);
}

.coach-orb .icon {
  position: relative;
  z-index: 1;
  margin-top: -10px;
}

.horizon-coach-panel h2 {
  margin: 1px 0 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 690;
}

.horizon-coach-panel > p:not(.coach-eyebrow) {
  max-width: 235px;
  margin: 0 0 12px;
  color: rgb(255 255 255 / 77%);
  font-size: 9px;
  line-height: 1.45;
}

.coach-primary-action {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #173f8a;
  cursor: pointer;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 750;
}

.coach-primary-action:hover {
  background: #f2f6ff;
}

.rail-panel {
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 15px rgb(34 63 111 / 4%);
  padding: 13px 14px;
}

.rail-panel h2 {
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.coach-suggestions {
  display: grid;
  gap: 0;
}

.coach-suggestions button {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border: 0;
  border-top: 1px solid #edf0f5;
  background: transparent;
  color: #556783;
  cursor: pointer;
  padding: 7px 1px;
  font-size: 9px;
  text-align: left;
}

.coach-suggestions h2 + button {
  margin-top: 7px;
}

.coach-suggestions button:hover {
  color: var(--product-blue);
}

.rail-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rail-panel-heading p {
  margin: 0;
  color: #2859cc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rail-panel-heading span {
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 99px;
  background: #edf2ff;
  color: #2859cc;
  font-size: 9px;
  font-weight: 800;
}

.watch-panel h2 {
  margin: 8px 0 4px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.watch-panel > p {
  margin: 0 0 9px;
  color: #7b879a;
  font-size: 8px;
  line-height: 1.45;
}

.rail-link {
  font-size: 9px;
}

.trust-panel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
}

.trust-panel > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #edf2ff;
  color: var(--product-blue);
  font-size: 17px;
}

.trust-panel p {
  margin: 0;
  color: #7b879a;
  font-size: 8px;
  line-height: 1.45;
}

.trust-panel strong {
  color: #284060;
  font-size: 9px;
}

body[data-current-view="overview"] .assistant-launcher {
  display: none;
}

/* Existing functional views inside the new shell ----------------------- */

.app-view:not([data-view="overview"]) > .page-header,
.job-search-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--product-line);
  padding: 5px 0 17px;
}

.section-block,
.job-search-panel,
.training-search-panel,
.job-offer-card,
.training-card {
  border-color: var(--product-line);
  box-shadow: 0 6px 20px rgb(33 61 108 / 5%);
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1439px) {
  .horizon-hero,
  #assessment-overview.horizon-hero,
  .overview-onboarding.horizon-hero {
    min-height: 220px;
  }

  .progress-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .progress-step {
    min-height: 48px;
    grid-column: span 2;
  }

  .progress-step:nth-child(n + 4) {
    border-top: 1px solid #edf0f5;
  }

  .progress-step:nth-child(4),
  .progress-step:nth-child(5) {
    grid-column: span 3;
  }

  .progress-step:nth-child(4) {
    border-left: 0;
    padding-left: 2px;
  }

  .dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-action,
  .recommended-action-button {
    min-height: 96px;
  }

  .recommended-action-button {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 28px minmax(0, 1fr) auto;
    gap: 5px 8px;
    padding: 10px 11px;
  }

  .recommended-action-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .recommended-action-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .recommended-action-arrow {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 1320px) {
  :root {
    --sidebar-width: 224px;
  }

  .overview-home-grid {
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 14px;
  }

  .main-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .horizon-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  #assessment-overview.horizon-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .dashboard-actions {
    gap: 8px;
  }

  .recommended-action-button {
    padding: 9px;
  }
}

@media (max-width: 1080px) {
  .app-shell {
    display: block;
    padding-top: 24px;
  }

  .demo-banner {
    position: fixed;
    right: 0;
    left: 0;
  }

  .mobile-nav-toggle {
    position: fixed;
    z-index: 34;
    top: 36px;
    left: 18px;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 1px solid #dfe5ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 16px rgb(28 55 102 / 8%);
    color: #193a69;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 720;
  }

  .mobile-nav-close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    background: #f7f9fc;
    color: #2c466d;
    cursor: pointer;
  }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 31;
    inset: 24px 0 0;
    display: block;
    background: rgb(10 29 62 / 33%);
  }

  .mobile-nav-backdrop[hidden] {
    display: none;
  }

  .sidebar {
    position: fixed;
    z-index: 33;
    top: 24px;
    left: 0;
    width: min(264px, calc(100vw - 42px));
    height: calc(100dvh - 24px);
    box-shadow: 18px 0 48px rgb(12 40 82 / 20%);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-content {
    padding-top: 12px;
  }

  .workspace-topbar {
    position: static;
    width: 100%;
    padding-left: 116px;
  }

  .workspace-command {
    width: min(620px, 78%);
  }
}

@media (max-width: 1180px) {
  .overview-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizon-coach-panel {
    min-height: 226px;
    grid-row: 1 / span 2;
  }

  .coach-suggestions {
    grid-column: 2;
  }

  .watch-panel {
    grid-column: 2;
  }

  .trust-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .workspace-command {
    width: 100%;
  }

  .progress-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-step {
    grid-column: auto;
    border-top: 1px solid #edf0f5;
  }

  .progress-step:nth-child(4),
  .progress-step:nth-child(5) {
    grid-column: auto;
  }

  .progress-step:nth-child(4) {
    padding-left: 11px;
  }

  .progress-step:nth-child(even) {
    border-left: 1px solid #edf0f5;
  }

  .progress-step:nth-child(odd) {
    border-left: 0;
  }

  .progress-step:first-child,
  .progress-step:nth-child(2) {
    border-top: 0;
  }

  .progress-step:last-child {
    grid-column: 1 / -1;
  }

  .dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-recommendations {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .main-content {
    padding: 12px 12px 56px;
  }

  .mobile-nav-toggle {
    top: 34px;
    left: 12px;
    min-height: 40px;
  }

  .workspace-topbar {
    min-height: 44px;
    padding-left: 113px;
  }

  .workspace-command {
    min-height: 40px;
    padding-left: 11px;
  }

  .workspace-command span:nth-child(2) {
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .workspace-command span:nth-child(2)::after {
    content: "Coach Horizon";
    font-size: 10px;
  }

  .workspace-command kbd {
    display: none;
  }

  .overview-main-flow,
  .overview-rail {
    gap: 11px;
  }

  .horizon-hero {
    align-items: end;
    padding: 18px 16px;
  }

  #assessment-overview.horizon-hero {
    min-height: 254px;
    align-items: end;
    padding: 18px 16px;
  }

  .overview-onboarding.horizon-hero {
    min-height: 254px;
  }

  .horizon-hero-image {
    background:
      linear-gradient(180deg, transparent 0%, rgb(247 250 255 / 90%) 54%, #f7faff 78%),
      url("/assets/horizon-summit-hero.png") 67% top / auto 180px no-repeat,
      #f7faff;
  }

  .horizon-hero-content {
    gap: 11px;
  }

  .hero-identity {
    align-items: flex-end;
    gap: 12px;
  }

  .hero-avatar {
    width: 56px;
    height: 56px;
    border-width: 3px;
    font-size: 20px;
  }

  .hero-identity h1 {
    margin-bottom: 4px;
    font-size: 27px;
  }

  .hero-identity p {
    font-size: 10px;
    line-height: 1.4;
  }

  .hero-objective,
  .horizon-hero .hero-actions {
    margin-left: 0;
  }

  .hero-objective {
    display: grid;
    gap: 2px;
  }

  .horizon-hero .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .horizon-hero .primary-button,
  .horizon-hero .secondary-button,
  .hero-coach-action {
    width: 100%;
  }

  .home-dashboard,
  .recommended-actions,
  .recommendation-list,
  .rail-panel {
    border-radius: 9px;
  }

  .progress-strip-heading,
  .home-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .dashboard-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-action,
  .recommended-action-button {
    min-height: 88px;
  }

  .objective-panel-content {
    padding: 28px 22px;
  }

  .objective-panel-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .objective-panel-actions button {
    width: 100%;
  }

  .overview-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .horizon-coach-panel,
  .coach-suggestions,
  .watch-panel,
  .trust-panel {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar,
  .nav-item,
  .recommended-action-button {
    transition: none;
  }
}

/* Horizon Coach V1 ------------------------------------------------------
 * L'assistant conserve son moteur et ses contrats historiques. Cette couche
 * ne porte que son identité, ses états et ses deux formats d'affichage.
 */

.coach-orb {
  --coach-orb-size: 28px;
  position: relative;
  isolation: isolate;
  display: grid;
  width: var(--coach-orb-size);
  height: var(--coach-orb-size);
  flex: 0 0 var(--coach-orb-size);
  place-items: center;
  overflow: visible;
  margin: 0;
  border: 1px solid rgb(190 242 255 / 72%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 27%, rgb(255 255 255 / 96%) 0 5%, transparent 19%),
    radial-gradient(circle at 50% 57%, #b9fff1 0, #58cbd6 28%, #277fc2 57%, #12447d 82%);
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 15%),
    inset -8px -10px 14px rgb(6 44 96 / 28%),
    0 5px 14px rgb(8 51 112 / 20%);
  color: #fff;
  transform: translateZ(0);
  transition:
    border-color 420ms ease,
    filter 420ms ease,
    opacity 420ms ease;
}

.coach-orb::before,
.coach-orb::after {
  position: absolute;
  z-index: -1;
  inset: -8%;
  border: 1px solid rgb(141 224 237 / 34%);
  border-radius: 50%;
  content: "";
  opacity: 0.38;
}

.coach-orb::after {
  inset: -18%;
  border-color: rgb(80 172 220 / 18%);
  border-right-color: transparent;
  transform: rotate(-24deg);
}

.coach-orb.coach-orb-micro {
  --coach-orb-size: 22px;
}

.coach-orb.coach-orb-small {
  --coach-orb-size: 31px;
}

.coach-orb.coach-orb-medium {
  --coach-orb-size: 48px;
}

.coach-orb.coach-orb-large {
  --coach-orb-size: 92px;
}

.coach-orb .coach-orb-glass {
  position: absolute;
  inset: 8%;
  width: auto;
  height: auto;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(255 255 255 / 22%), transparent 47%);
  opacity: 0.72;
  transform: scale(0.97);
  transform-origin: center;
}

.coach-orb .coach-orb-branches {
  position: relative;
  z-index: 1;
  width: 66%;
  height: 66%;
  overflow: visible;
  fill: rgb(236 255 252 / 92%);
  filter: drop-shadow(0 1px 2px rgb(4 68 105 / 28%));
  stroke: rgb(238 255 253 / 88%);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.coach-orb .coach-orb-tree {
  opacity: 0.91;
  transform-box: fill-box;
  transform-origin: center;
}

.coach-orb .coach-orb-tree circle {
  opacity: 0.78;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
}

.coach-orb .coach-orb-flow {
  fill: none;
  opacity: 0;
  pointer-events: none;
  stroke: rgb(232 255 251 / 96%);
  stroke-dasharray: 2 34;
  stroke-linecap: round;
  stroke-width: 2.5;
}

.coach-orb .coach-orb-glint {
  position: absolute;
  top: 18%;
  right: 19%;
  bottom: auto;
  left: auto;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 15%);
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb {
  animation: coach-orb-idle 5.2s ease-in-out infinite;
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb::before {
  animation: coach-halo-idle 5.2s ease-in-out infinite;
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-glass {
  animation: coach-light-idle 5.2s ease-in-out infinite;
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-tree {
  animation: coach-branches-idle 6.2s ease-in-out infinite;
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-flow {
  animation: coach-light-flow-idle 6.4s linear infinite;
}

body[data-coach-state="idle"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-tree
  circle {
  animation: coach-node-idle 5.6s ease-in-out infinite;
}

body[data-coach-state="idle"] .coach-orb-tree circle:nth-of-type(2) {
  animation-delay: -1.7s;
}

body[data-coach-state="idle"] .coach-orb-tree circle:nth-of-type(3) {
  animation-delay: -3.9s;
}

body[data-coach-state="idle"] .coach-orb-tree circle:nth-of-type(4) {
  animation-delay: -5.3s;
}

body[data-coach-state="idle"] .coach-orb-tree circle:nth-of-type(5) {
  animation-delay: -6.6s;
}

body[data-coach-state="thinking"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb {
  animation: coach-orb-thinking 3.8s ease-in-out infinite;
}

body[data-coach-state="thinking"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb::before {
  animation: coach-halo-thinking 3.8s ease-in-out infinite;
}

body[data-coach-state="thinking"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-flow {
  animation: coach-light-flow 2.6s linear infinite;
}

body[data-coach-state="thinking"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-tree
  circle {
  animation: coach-node-thinking 3.4s ease-in-out infinite;
}

body[data-coach-state="thinking"] .coach-orb-tree circle:nth-of-type(even) {
  animation-delay: -1.7s;
}

body[data-coach-state="action"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb {
  animation: coach-orb-action 3.2s ease-in-out infinite;
}

body[data-coach-state="action"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb::after {
  animation: coach-orbit 8.5s linear infinite;
}

body[data-coach-state="action"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-flow {
  animation: coach-light-flow-action 3.6s linear infinite;
}

body[data-coach-state="action"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-tree
  circle {
  animation: coach-node-action 2.6s ease-in-out infinite;
}

body[data-coach-state="done"] .coach-orb {
  border-color: rgb(184 255 231 / 92%);
  background:
    radial-gradient(circle at 33% 27%, rgb(255 255 255 / 96%) 0 5%, transparent 19%),
    radial-gradient(circle at 50% 57%, #c6ffed 0, #51cdb7 31%, #168ba1 62%, #115371 88%);
}

body[data-coach-state="done"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb {
  animation: coach-orb-done 800ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

body[data-coach-state="done"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb::before {
  animation: coach-done-wave 800ms cubic-bezier(0.2, 0.7, 0.3, 1) 1;
}

body[data-coach-state="error"] .coach-orb {
  border-color: rgb(255 211 183 / 88%);
  background:
    radial-gradient(circle at 33% 27%, rgb(255 255 255 / 96%) 0 5%, transparent 19%),
    radial-gradient(circle at 50% 57%, #ffe9d9 0, #e89a80 34%, #437aa5 72%, #17426e 92%);
  filter: saturate(0.78) brightness(0.88);
  opacity: 0.9;
}

body[data-coach-state="error"] .coach-orb::before,
body[data-coach-state="error"] .coach-orb::after {
  opacity: 0.2;
}

body[data-coach-state="error"] .coach-orb-tree {
  opacity: 0.64;
}

body[data-coach-state="error"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  > .coach-orb {
  animation: coach-orb-error 850ms ease-in-out 2;
}

body[data-coach-state="error"]
  :is(.coach-widget-orb, .coach-panel-avatar, .coach-nav-orb, .assistant-launcher-icon)
  .coach-orb-flow {
  animation: coach-light-flow-error 3.8s linear infinite;
}

@keyframes coach-orb-idle {
  0%,
  100% {
    transform: translateZ(0) scale(1);
  }
  50% {
    transform: translateZ(0) scale(1.04);
  }
}

@keyframes coach-halo-idle {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.93);
  }
  50% {
    opacity: 0.76;
    transform: scale(1.16);
  }
}

@keyframes coach-light-idle {
  0%,
  100% {
    filter: brightness(0.94);
    opacity: 0.58;
    transform: translate(-1.5%, 1%) scale(0.96);
  }
  50% {
    filter: brightness(1.24);
    opacity: 1;
    transform: translate(1.5%, -1%) scale(1.045);
  }
}

@keyframes coach-branches-idle {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0.8px) scale(0.98);
  }
  54% {
    opacity: 1;
    transform: translateY(-0.8px) scale(1.025);
  }
}

@keyframes coach-node-idle {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.84);
  }
  48% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes coach-light-flow-idle {
  0% {
    filter: drop-shadow(0 0 0 rgb(208 255 247 / 0%));
    opacity: 0.14;
    stroke-dashoffset: 40;
  }
  28%,
  68% {
    filter: drop-shadow(0 0 1.8px rgb(208 255 247 / 88%));
    opacity: 0.82;
  }
  100% {
    filter: drop-shadow(0 0 0 rgb(208 255 247 / 0%));
    opacity: 0.14;
    stroke-dashoffset: 0;
  }
}

@keyframes coach-orb-thinking {
  0%,
  100% {
    transform: translateZ(0) scale(1);
  }
  50% {
    transform: translateZ(0) scale(1.06);
  }
}

@keyframes coach-halo-thinking {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.16);
  }
}

@keyframes coach-light-flow {
  0% {
    opacity: 0.14;
    stroke-dashoffset: 36;
  }
  35%,
  72% {
    opacity: 0.58;
  }
  100% {
    opacity: 0.14;
    stroke-dashoffset: 0;
  }
}

@keyframes coach-node-thinking {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes coach-orb-action {
  0%,
  100% {
    transform: translateZ(0) scale(1.008);
  }
  50% {
    transform: translateZ(0) scale(1.035);
  }
}

@keyframes coach-orb-error {
  0%,
  100% {
    transform: translateZ(0) scale(1);
  }
  50% {
    filter: saturate(0.72) brightness(0.78);
    opacity: 0.76;
    transform: translateZ(0) scale(0.96);
  }
}

@keyframes coach-light-flow-error {
  0% {
    opacity: 0.08;
    stroke: rgb(255 224 202 / 82%);
    stroke-dashoffset: 18;
  }
  50% {
    opacity: 0.46;
    stroke: rgb(255 235 218 / 92%);
  }
  100% {
    opacity: 0.08;
    stroke: rgb(255 224 202 / 82%);
    stroke-dashoffset: 0;
  }
}

@keyframes coach-light-flow-action {
  0% {
    opacity: 0.3;
    stroke-dashoffset: 36;
  }
  42%,
  76% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.3;
    stroke-dashoffset: 0;
  }
}

@keyframes coach-node-action {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes coach-orbit {
  from {
    transform: rotate(-24deg);
  }
  to {
    transform: rotate(336deg);
  }
}

@keyframes coach-orb-done {
  0% {
    filter: brightness(1);
    transform: translateZ(0) scale(1);
  }
  38% {
    filter: brightness(1.12);
    transform: translateZ(0) scale(1.035);
  }
  100% {
    filter: brightness(1);
    transform: translateZ(0) scale(1);
  }
}

@keyframes coach-done-wave {
  0% {
    opacity: 0.65;
    transform: scale(0.78);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

.coach-nav-orb {
  background: transparent;
}

.nav-item:hover .coach-nav-orb,
.nav-item:focus-visible .coach-nav-orb {
  background: transparent;
}

.horizon-coach-panel {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto 1fr auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d6e2f1;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgb(255 255 255 / 74%), transparent 34%),
    linear-gradient(145deg, #ddebff 0%, #eaf2ff 48%, #f7fbff 100%);
  box-shadow: 0 12px 30px rgb(38 76 126 / 10%);
  color: #1e3b61;
  padding: 0;
  text-align: left;
}

.horizon-coach-panel::after {
  content: none;
}

.coach-widget-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  border: 0;
  background: transparent;
  color: #1e3b61;
  cursor: pointer;
  padding: 17px 16px 14px;
  text-align: left;
}

.coach-widget-main:focus-visible {
  outline: 2px solid #6f97d9;
  outline-offset: -4px;
}

.coach-widget-intro {
  display: flex;
  min-width: 0;
  grid-column: 1;
  grid-row: auto;
  align-items: center;
  gap: 12px;
}

.coach-widget-medallion {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid #cbdcf1;
  border-radius: 50%;
  background: rgb(255 255 255 / 74%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 7px 18px rgb(60 100 151 / 11%);
}

.coach-widget-symbol {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #6f97d9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.coach-widget-symbol circle:first-child {
  stroke: #bfd2eb;
  stroke-width: 1.25;
}

.coach-widget-symbol circle:not(:first-child) {
  fill: #f7fbff;
  stroke: #244d86;
  stroke-width: 1.6;
}

.coach-widget-identity {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.coach-widget-main .coach-eyebrow {
  display: inline-flex;
  width: max-content;
  margin: 0;
  border: 1px solid #d6e2f1;
  border-radius: 999px;
  background: rgb(247 251 255 / 78%);
  color: #607695;
  padding: 3px 7px;
  font-size: 7.5px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-widget-title {
  color: #1e3b61;
  font-size: 18px;
  font-weight: 740;
  line-height: 1.15;
}

.coach-widget-description {
  max-width: 245px;
  grid-column: 1;
  grid-row: auto;
  color: #607695;
  font-size: 9.5px;
  line-height: 1.55;
}

.coach-widget-main .coach-primary-action {
  min-height: 38px;
  grid-column: 1;
  grid-row: auto;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1px;
  border: 1px solid #c9dbf3;
  border-radius: 9px;
  background: #d6e5ff;
  color: #244d86;
  padding: 8px 9px 8px 12px;
  font-size: 10px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 65%);
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.coach-widget-main:hover .coach-primary-action {
  border-color: #b9cfea;
  background: #c5daff;
  color: #244d86;
}

.coach-primary-action-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 62%);
  color: #527db8;
  font-size: 12px;
}

.coach-widget-suggestions-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d6e2f1;
  color: #4f6685;
  padding: 11px 16px 8px;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-widget-suggestions-heading span:last-child {
  color: #8293aa;
  font-size: 7px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

.coach-widget-suggestions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 0 10px 11px;
}

.coach-widget-suggestions[hidden] {
  display: none;
}

.coach-widget-suggestion {
  display: grid;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(214 226 241 / 84%);
  border-radius: 9px;
  background: rgb(247 251 255 / 72%);
  color: #1e3b61;
  cursor: pointer;
  padding: 6px 8px;
  text-align: left;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.coach-widget-suggestion:hover {
  border-color: #bfd3ec;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 5px 14px rgb(49 86 133 / 8%);
}

.coach-widget-suggestion:focus-visible {
  outline: 2px solid #6f97d9;
  outline-offset: 1px;
}

.coach-suggestion-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgb(158 235 238 / 17%);
  color: #bdf8f0;
}

.horizon-coach-panel .coach-suggestion-icon {
  background: #e2edfc;
  color: #5e84bb;
}

.coach-suggestion-icon .icon {
  width: 14px;
  height: 14px;
}

.horizon-coach-panel .coach-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.horizon-coach-panel .coach-suggestion-copy strong {
  overflow: hidden;
  color: #2c4b70;
  font-size: 9.5px;
  font-weight: 690;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizon-coach-panel .coach-suggestion-copy small {
  overflow: hidden;
  color: #70829b;
  font-size: 7.75px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizon-coach-panel .coach-suggestion-arrow {
  color: #6f97d9;
  font-size: 13px;
}

.horizon-coach-panel > p.coach-widget-trust {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  border-top: 1px solid #d6e2f1;
  background: rgb(247 251 255 / 56%);
  color: #607695;
  padding: 10px 12px;
  font-size: 7.75px;
  line-height: 1.3;
}

.horizon-coach-panel .coach-widget-trust .icon {
  width: 12px;
  height: 12px;
  color: #6f97d9;
}

/* Conversation ouverte */
.assistant-panel {
  display: grid;
  width: min(520px, 100%);
  height: 100dvh;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  border-left-color: #dce5f1;
  background: #fbfdff;
  box-shadow: -20px 0 55px rgb(17 47 91 / 17%);
}

.coach-panel-header {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e5eaf2;
  background: rgb(255 255 255 / 94%);
  padding: 12px 16px;
  grid-row: 1;
}

.coach-panel-avatar {
  display: grid;
  padding: 5px;
}

.coach-panel-identity {
  min-width: 0;
}

.coach-panel-identity h2 {
  margin: 0;
  color: #0e3268;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.coach-panel-identity p {
  margin: 2px 0 0;
  color: #71809a;
  font-size: 10px;
  line-height: 1.4;
}

.coach-panel-close {
  border-color: transparent;
  background: transparent;
  color: #3d567a;
  font-size: 25px;
  font-weight: 300;
}

.assistant-panel .assistant-context {
  border-bottom-color: #e6ebf3;
  background: #f2f7ff;
  padding: 8px 16px;
  grid-row: 2;
}

.assistant-log {
  display: grid;
  min-height: 0;
  gap: 15px;
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 17px;
  scrollbar-color: #c9d5e7 transparent;
  scrollbar-width: thin;
  grid-row: 3;
}

.assistant-message-row {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
}

.assistant-message-row.beneficiary {
  display: flex;
  justify-content: flex-end;
}

.assistant-message-row > .coach-orb,
.assistant-message-orb > .coach-orb {
  margin-top: 4px;
}

.assistant-message-stack {
  display: grid;
  min-width: 0;
  gap: 9px;
  justify-items: start;
}

.assistant-message-row.beneficiary .assistant-message-stack {
  max-width: 88%;
  justify-items: end;
}

.assistant-panel .assistant-message {
  max-width: 100%;
  border-radius: 11px;
  padding: 10px 12px;
  color: #17365f;
  font-size: 11px;
  line-height: 1.55;
}

.assistant-panel .assistant-message.assistant {
  border: 1px solid #dfe7f2;
  background: #fff;
  box-shadow: 0 4px 14px rgb(27 61 108 / 4%);
}

.assistant-panel .assistant-message-markdown {
  overflow-wrap: anywhere;
  white-space: normal;
}

.assistant-panel .assistant-message-markdown > * {
  margin: 0;
}

.assistant-panel .assistant-message-markdown > * + * {
  margin-top: 0.7em;
}

.assistant-panel .assistant-message-markdown ul,
.assistant-panel .assistant-message-markdown ol {
  padding-inline-start: 1.35em;
}

.assistant-panel .assistant-message-markdown li + li {
  margin-top: 0.32em;
}

.assistant-panel .assistant-message-markdown a {
  color: #135ed6;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.assistant-panel .assistant-message-markdown code {
  border-radius: 4px;
  background: #edf3fb;
  padding: 0.08em 0.32em;
  font:
    0.92em/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

.assistant-panel .assistant-message.beneficiary {
  border: 1px solid #d4e3fb;
  background: #eaf3ff;
  color: #124aa2;
}

.assistant-panel .assistant-message.pending {
  animation: coach-message-pulse 1.2s ease-in-out infinite;
}

@keyframes coach-message-pulse {
  50% {
    opacity: 0.52;
  }
}

.assistant-panel .assistant-actions {
  gap: 6px;
}

.assistant-panel .assistant-actions button {
  min-height: 30px;
  margin: 0;
  border-radius: 7px;
  font-size: 9px;
}

.assistant-panel .assistant-offer-list {
  width: 100%;
  gap: 7px;
}

.assistant-panel .assistant-offer-list li {
  gap: 3px;
  border-color: #e0e8f2;
  border-radius: 9px;
  background: #fff;
  padding: 9px 10px;
  font-size: 10px;
}

.assistant-panel .assistant-offer-meta {
  font-size: 9px;
}

.assistant-suggestions {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid #edf1f6;
  background: #fff;
  padding: 9px 16px 7px;
  scrollbar-width: none;
  grid-row: 4;
}

.assistant-suggestions::-webkit-scrollbar {
  display: none;
}

.assistant-suggestions[hidden] {
  display: none;
}

.assistant-suggestion-chip {
  display: flex;
  min-height: 31px;
  flex: none;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe6f6;
  border-radius: 999px;
  background: #fff;
  color: #1957b8;
  cursor: pointer;
  padding: 4px 10px 4px 5px;
  font-size: 9px;
  font-weight: 660;
  white-space: nowrap;
}

.assistant-suggestion-chip:hover {
  border-color: #9fbfee;
  background: #f4f8ff;
}

.assistant-suggestion-chip:focus-visible {
  outline: 2px solid var(--product-blue);
  outline-offset: 2px;
}

.assistant-suggestion-chip .coach-suggestion-icon {
  width: 21px;
  height: 21px;
  background: #e8f5fa;
  color: #167d9a;
}

.assistant-suggestion-chip .coach-suggestion-icon .icon {
  width: 11px;
  height: 11px;
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  background: #fff;
  padding: 3px 16px 5px;
  grid-row: 5;
}

.assistant-composer {
  display: grid;
  min-height: 48px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 1px solid #a9c6ef;
  border-radius: 10px;
  background: #fff;
  padding: 5px 6px 5px 11px;
  box-shadow: 0 3px 12px rgb(38 91 162 / 5%);
}

.assistant-composer:focus-within {
  border-color: #3a77df;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
}

.assistant-composer-spark {
  color: #2b68d7;
  font-size: 15px;
}

.assistant-form .assistant-composer textarea {
  min-height: 30px;
  max-height: 96px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  padding: 6px 2px;
  color: #18365e;
  font-size: 11px;
  line-height: 1.5;
  resize: none;
}

.assistant-form .assistant-composer textarea::placeholder {
  color: #8592a6;
}

.assistant-send {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #4ccbd0, #2563d8);
  box-shadow: 0 5px 12px rgb(28 93 176 / 21%);
  color: #fff;
  cursor: pointer;
}

.assistant-send:hover:not(:disabled) {
  background: linear-gradient(145deg, #41bbc2, #174fb8);
}

.assistant-send:focus-visible {
  outline: 2px solid #1655ba;
  outline-offset: 2px;
}

.assistant-send:disabled {
  cursor: wait;
  opacity: 0.55;
}

.assistant-send .icon {
  width: 16px;
  height: 16px;
}

.assistant-form .assistant-stop {
  justify-self: center;
  border: 0;
  background: transparent;
  color: #a43c3c;
  padding: 2px 6px;
  font-size: 9px;
}

.coach-disclaimer {
  margin: 0;
  background: #fff;
  color: #8a96a9;
  padding: 3px 16px calc(9px + env(safe-area-inset-bottom, 0px));
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
  grid-row: 6;
}

.assistant-launcher-icon {
  place-items: center;
}

@media (max-width: 1180px) {
  .horizon-coach-panel {
    min-height: 0;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 640px) {
  .assistant-panel {
    width: 100%;
    border-left: 0;
  }

  .coach-panel-header {
    min-height: 68px;
    gap: 9px;
    padding: 9px 12px;
  }

  .coach-panel-avatar .coach-orb {
    --coach-orb-size: 40px;
  }

  .coach-panel-identity h2 {
    font-size: 16px;
  }

  .coach-panel-identity p {
    max-width: 235px;
    font-size: 9px;
  }

  .assistant-log {
    gap: 13px;
    padding: 14px 12px;
  }

  .assistant-message-row {
    gap: 7px;
  }

  .assistant-message-row > .coach-orb,
  .assistant-message-orb > .coach-orb {
    --coach-orb-size: 27px;
  }

  .assistant-message-row.beneficiary .assistant-message-stack {
    max-width: 92%;
  }

  .assistant-suggestions {
    padding-right: 12px;
    padding-left: 12px;
  }

  .assistant-form {
    padding-right: 12px;
    padding-left: 12px;
  }

  .coach-disclaimer {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 420px) {
  .horizon-coach-panel {
    min-height: 0;
  }

  .coach-widget-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .coach-widget-suggestions-heading {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coach-orb,
  .coach-orb::before,
  .coach-orb-glass,
  .coach-orb-branches,
  .coach-orb-tree,
  .coach-orb-tree circle,
  .coach-orb-flow,
  .coach-orb::after,
  .assistant-message.pending {
    animation: none !important;
  }

  .coach-widget-suggestion {
    transition: none;
  }
}

/* Core journeys V3 ------------------------------------------------------
 * The Home remains the visual reference. These rules give each functional
 * screen its own composition without changing any domain contract.
 */

.app-view.active:not([data-view="overview"]) {
  animation: core-view-enter 220ms ease-out both;
}

@keyframes core-view-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.core-page-header,
.app-view:not([data-view="overview"]) > .core-page-header,
.job-search-header.core-page-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--product-line);
  padding: 7px 0 17px;
}

.core-page-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.core-page-heading > div {
  min-width: 0;
}

.core-page-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: 14px;
}

.core-page-mark .icon {
  width: 23px;
  height: 23px;
}

.core-page-mark-blue {
  background: #e9f0ff;
  color: #2459df;
}

.core-page-mark-green {
  background: #e3f6f1;
  color: #0d9279;
}

.core-page-mark-orange {
  background: #fff0e5;
  color: #df6f2e;
}

.core-page-header .eyebrow {
  margin: 0 0 2px;
}

.core-page-header h1 {
  margin: 0 0 5px;
  color: #102b58;
  font-size: clamp(27px, 2.45vw, 34px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.core-page-header .core-page-heading p:last-child {
  max-width: 700px;
  margin: 0;
  color: #687690;
  font-size: 12px;
  line-height: 1.5;
}

.section-header-note {
  max-width: 230px;
  color: #7b879b;
  font-size: 9px;
  line-height: 1.4;
  text-align: right;
}

/* Mon parcours ---------------------------------------------------------- */

.journey-status-strip {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--product-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 4%);
}

.journey-status-strip article {
  display: grid;
  min-width: 0;
  min-height: 68px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-left: 1px solid #edf0f5;
  padding: 10px 14px;
}

.journey-status-strip article:first-child {
  border-left: 0;
}

.journey-status-icon,
.journey-tool-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
}

.journey-status-icon .icon,
.journey-tool-icon .icon {
  width: 17px;
  height: 17px;
}

.journey-status-icon-blue,
.journey-tool-icon {
  background: #e9f0ff;
  color: #2359df;
}

.journey-status-icon-teal {
  background: #e4f7f3;
  color: #0d927c;
}

.journey-status-icon-orange {
  background: #fff0e5;
  color: #df702e;
}

.journey-status-strip article div {
  min-width: 0;
}

.journey-status-strip article div > span {
  display: block;
  margin-bottom: 2px;
  color: #7a879d;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.journey-status-strip strong {
  display: block;
  overflow: hidden;
  color: #203a63;
  font-size: 11px;
  font-weight: 680;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journey-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  grid-template-areas: "main tools";
  align-items: start;
  gap: 14px;
}

.journey-tools {
  display: grid;
  min-width: 0;
  grid-area: tools;
  gap: 12px;
}

.journey-main-column {
  display: grid;
  min-width: 0;
  grid-area: main;
  gap: 12px;
}

.core-journey-view .section-block {
  margin: 0;
  border: 1px solid var(--product-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 4%);
  padding: 18px;
}

.core-journey-view .cv-import-block {
  display: block;
  border-color: #dce6f6;
  background: linear-gradient(145deg, #fff 0%, #f5f8ff 100%);
  padding: 18px;
}

.core-journey-view .cv-import-block .section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.core-journey-view .cv-import-block .section-header h2 {
  margin: 2px 0 0;
  color: #17345f;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.core-journey-view .cv-import-block > .question-help {
  margin: 0 0 13px;
  color: #69778f;
  font-size: 10px;
  line-height: 1.55;
}

.core-journey-view .cv-upload {
  display: block;
}

.core-journey-view .file-drop {
  position: relative;
  display: grid;
  min-height: 118px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 2px 10px;
  border: 1px dashed #b9c8e1;
  border-radius: 10px;
  background: rgb(255 255 255 / 76%);
  cursor: pointer;
  padding: 16px;
  text-align: left;
}

.core-journey-view .file-drop:hover,
.core-journey-view .file-drop:focus-within {
  border-color: var(--product-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 8%);
}

.file-drop-icon {
  display: grid;
  width: 36px;
  height: 36px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #2459df;
  font-size: 18px;
  font-weight: 800;
}

.core-journey-view .file-drop strong {
  color: #20447e;
  font-size: 12px;
}

.core-journey-view .file-drop > span:not(.file-drop-icon) {
  color: #7b879a;
  font-size: 9px;
}

.core-journey-view .file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.core-journey-view .cv-paste {
  margin-top: 10px;
  border-top: 1px solid #e7ecf5;
  padding-top: 9px;
}

.core-journey-view .cv-paste summary {
  color: #2858b8;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
}

.core-journey-view .cv-paste textarea {
  margin-top: 10px;
  font-size: 11px;
}

.core-journey-view #cv-import-status:not(:empty) {
  margin-top: 10px;
  border-radius: 8px;
  background: #eef4ff;
  color: #36547e;
  padding: 9px 10px;
}

.journey-coach-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px 10px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #174fc9, #0f367b);
  box-shadow: 0 8px 24px rgb(14 54 127 / 14%);
  color: #fff;
  padding: 17px;
}

.journey-tool-icon-coach {
  grid-row: 1;
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

.journey-coach-card > div {
  min-width: 0;
}

.journey-coach-card .section-label {
  color: #bcd5ff;
}

.journey-coach-card h2 {
  margin: 2px 0 5px;
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.journey-coach-card p:not(.section-label) {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 9px;
  line-height: 1.5;
}

.journey-coach-card .secondary-button {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
  background: #fff;
  color: #174487;
}

.journey-timeline-card .section-header {
  align-items: end;
  margin-bottom: 8px;
  border-bottom: 1px solid #edf0f5;
  padding-bottom: 13px;
}

.journey-timeline-card .section-header h2,
.experience-editor .section-header h2 {
  margin: 2px 0 0;
  color: #17345f;
  font-size: 19px;
}

.core-journey-view .experience-list {
  padding-left: 22px;
}

.core-journey-view .experience-list::before {
  top: 18px;
  bottom: 18px;
  left: 7px;
  background: #d8e2f2;
}

.core-journey-view .experience-card {
  position: relative;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid #edf0f5;
  padding: 17px 3px;
}

.core-journey-view .experience-card::before {
  position: absolute;
  top: 24px;
  left: -21px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #3a6be0;
  box-shadow: 0 0 0 1px #9ab4e6;
  content: "";
}

.core-journey-view .experience-card:last-child {
  border-bottom: 0;
}

.core-journey-view .experience-date {
  color: #687690;
  font-size: 9px;
}

.core-journey-view .experience-card h3 {
  margin: 4px 0 3px;
  color: #18345f;
  font-size: 14px;
}

.core-journey-view .experience-card p,
.core-journey-view .experience-card li {
  font-size: 10px;
  line-height: 1.5;
}

.core-journey-view .experience-card .tag-list {
  display: grid;
  gap: 4px;
  margin-top: 9px;
}

.core-journey-view .experience-card .tag-list li {
  border-left: 2px solid #e2e9f5;
  padding-left: 9px;
}

.core-journey-view .experience-list > .question-help:only-child {
  margin: 8px 0 0;
  border: 1px dashed #ccd7e8;
  border-radius: 10px;
  background: #f8faff;
  color: #60708a;
  padding: 24px;
  text-align: center;
}

.experience-editor form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.experience-editor form > label:nth-of-type(n + 3),
.experience-editor .form-row,
.experience-editor .question-help,
.experience-editor .hero-actions {
  grid-column: 1 / -1;
}

.experience-editor label {
  color: #51617c;
  font-size: 10px;
  font-weight: 700;
}

.cv-review-card {
  border-color: #d7e2f3 !important;
  background:
    linear-gradient(135deg, rgb(236 243 255 / 72%), rgb(255 255 255 / 96%) 42%), #fff !important;
}

.cv-review-header {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e6edf7;
  padding-bottom: 14px;
}

.cv-review-header h2,
.profile-credentials-card .section-header h2 {
  margin: 2px 0 4px;
  color: #17345f;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.cv-review-header .question-help,
.profile-credentials-card .section-header .question-help {
  max-width: 590px;
  margin: 0;
  color: #687790;
  font-size: 10px;
  line-height: 1.55;
}

.cv-review-counters {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
}

.cv-review-counters span {
  border-radius: 7px;
  background: #f0f4fb;
  color: #64738a;
  padding: 6px 8px;
  font-size: 8px;
  white-space: nowrap;
}

.cv-review-counters strong {
  color: #2458bd;
  font-size: 10px;
}

.cv-review-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.cv-review-column-label {
  margin: 0 0 7px;
  color: #7a879a;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.cv-proposal-list {
  display: grid;
  gap: 6px;
}

.cv-proposal-list-item {
  min-width: 0;
}

.cv-proposal-choice {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  border: 1px solid #e1e8f2;
  border-radius: 9px;
  background: rgb(255 255 255 / 78%);
  color: #203b63;
  cursor: pointer;
  padding: 10px 11px;
  text-align: left;
}

.cv-proposal-choice:hover {
  border-color: #bdcfea;
  background: #fff;
}

.cv-proposal-choice.selected {
  border-color: #a9c1ec;
  background: #edf3ff;
  box-shadow: inset 3px 0 0 #4d78d5;
}

.cv-proposal-choice-kind {
  grid-column: 1;
  color: #718099;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.cv-proposal-choice strong {
  grid-column: 1;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-proposal-choice-status {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  border-radius: 99px;
  background: #fff4df;
  color: #9a6412;
  padding: 4px 6px;
  font-size: 7px;
  font-weight: 750;
}

.cv-proposal-validated .cv-proposal-choice-status {
  background: #e9f7f1;
  color: #18715b;
}

.cv-proposal-rejected {
  opacity: 0.68;
}

.cv-proposal-rejected .cv-proposal-choice-status {
  background: #f0f2f6;
  color: #6e7889;
}

.cv-proposal-editor {
  min-width: 0;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #fff;
  padding: 15px;
}

.cv-proposal-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.cv-proposal-editor-heading h3 {
  margin: 5px 0 0;
  color: #193861;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.cv-proposal-source {
  flex: none;
  color: #7c889c;
  font-size: 8px;
}

.cv-proposal-editor fieldset {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.cv-proposal-editor fieldset[hidden] {
  display: none;
}

.cv-proposal-editor label,
.profile-item-form label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #51617a;
  font-size: 9px;
  font-weight: 690;
}

.cv-proposal-editor input,
.cv-proposal-editor select,
.cv-proposal-editor textarea,
.profile-item-form input,
.profile-item-form select {
  min-width: 0;
  border-color: #dce4ef;
  background: #fbfcff;
  font-size: 10px;
}

.cv-proposal-editor textarea {
  resize: vertical;
}

.cv-proposal-editor .form-row,
.profile-item-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cv-proposal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
}

.cv-proposal-actions .text-button,
.profile-item-actions .text-button {
  min-height: 30px;
  padding: 5px 7px;
  font-size: 9px;
}

.text-button.danger {
  color: #a64a55;
}

.cv-review-warnings:not(:empty) {
  margin: 13px 0 0;
  border-left: 2px solid #e2a74d;
  background: #fffaf1;
  color: #765b31;
  padding: 8px 10px;
}

.profile-credentials-card .section-header {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.profile-item-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #f8faff;
  padding: 14px;
}

.profile-item-form[hidden] {
  display: none;
}

.profile-item-form > .form-row,
.profile-item-form > .question-help,
.profile-item-form > .hero-actions {
  grid-column: 1 / -1;
}

.profile-item-list {
  display: grid;
  gap: 7px;
}

.profile-item-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  padding: 11px 2px 4px;
}

.profile-item-card:first-child {
  border-top: 0;
}

.profile-item-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #eaf1ff;
  color: #285dc7;
  font-size: 10px;
  font-weight: 820;
}

.profile-item-mark-certification {
  background: #e6f6f1;
  color: #14806a;
}

.profile-item-mark-habilitation {
  background: #fff1e7;
  color: #bf642f;
}

.profile-item-mark-qualification {
  background: #eef0fb;
  color: #5362a8;
}

.profile-item-content {
  min-width: 0;
}

.profile-item-kind {
  display: block;
  margin-bottom: 2px;
  color: #748198;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.profile-item-content h3 {
  margin: 0;
  color: #1b385f;
  font-size: 12px;
  line-height: 1.35;
}

.profile-item-content p {
  margin: 2px 0 0;
  color: #65748c;
  font-size: 9px;
  line-height: 1.45;
}

.profile-item-content small {
  display: block;
  margin-top: 4px;
  color: #8792a3;
  font-size: 7px;
}

.profile-item-actions {
  display: flex;
  flex: none;
  gap: 3px;
}

.profile-item-empty {
  margin: 0;
  border: 1px dashed #ccd8e9;
  border-radius: 9px;
  background: #fafcff;
  padding: 18px;
  text-align: center;
}

/* Mes resultats --------------------------------------------------------- */

#results-report {
  display: grid;
  gap: 13px;
}

#results-report[hidden] {
  display: none;
}

.core-results-view .result-notice,
.core-results-view .report-banner {
  border: 1px solid #dde6f4;
  border-radius: 10px;
  background: #f4f7fd;
  box-shadow: none;
  color: #48607f;
  padding: 12px 14px;
  font-size: 11px;
}

.core-results-view .report-banner.validated {
  border-color: #cce9e0;
  background: #eef9f5;
  color: #26725f;
}

.results-section-nav {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  scrollbar-width: thin;
}

.results-section-nav a {
  flex: none;
  border-radius: 7px;
  color: #5b6c87;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.results-section-nav a:hover,
.results-section-nav a:focus-visible {
  background: #edf2ff;
  color: #2457c8;
}

.results-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 13px;
}

.core-results-view .section-block,
.results-score-panel,
.results-next-card {
  margin: 0;
  border: 1px solid var(--product-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 4%);
  padding: 18px;
}

.core-results-view .results-summary-card {
  border: 0;
  background: linear-gradient(145deg, #eef4ff, #f8fbff);
  box-shadow: none;
  padding: 21px;
}

.core-results-view .section-header h2,
.results-score-heading h2,
.results-next-card h2 {
  margin: 2px 0 0;
  color: #17345f;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.results-summary-card #report-summary {
  margin: 12px 0 0;
  color: #405573;
  font-size: 12px;
  line-height: 1.7;
}

.results-score-panel {
  display: grid;
  align-content: start;
  gap: 11px;
}

.core-results-view .result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.core-results-view .dimension-card {
  min-height: 106px;
  border: 0;
  border-radius: 9px;
  background: #f8faff;
  box-shadow: none;
  padding: 12px;
}

.core-results-view .dimension-card h2 {
  margin: 10px 0 3px;
  color: #19365f;
  font-size: 16px;
}

.core-results-view .dimension-card p,
.core-results-view .confidence-level {
  font-size: 8px;
}

.results-evidence-grid,
.results-opportunity-grid,
.results-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.core-results-view .results-evidence-grid > .section-block {
  padding: 18px 18px 4px;
}

.core-results-view .evidence-list article {
  border-top: 1px solid #edf0f5;
  border-bottom: 0;
  padding: 14px 0;
}

.core-results-view .evidence-list article:first-child {
  border-top: 0;
}

.core-results-view .finding-statement {
  color: #475b78;
  font-size: 10px;
  line-height: 1.58;
}

.core-results-view .finding-topline {
  gap: 12px;
}

.core-results-view .citation-block summary {
  color: #2759bf;
  font-size: 9px;
}

.core-results-view .citation-list {
  color: #66758d;
  font-size: 9px;
}

.results-opportunity-grid > .section-block {
  position: relative;
  overflow: hidden;
  padding-bottom: 17px;
}

.results-career-card {
  background: linear-gradient(145deg, #fff, #f1faf7);
}

.results-training-card {
  background: linear-gradient(145deg, #fff, #fff7f0);
}

.results-opportunity-grid .section-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.results-card-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
}

.results-card-icon .icon {
  width: 17px;
  height: 17px;
}

.results-card-icon-green {
  background: #e3f6f0;
  color: #0c9278;
}

.results-card-icon-orange {
  background: #fff0e4;
  color: #dc6f2f;
}

.results-opportunity-grid .text-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
}

.core-results-view .vigilance-card,
.results-next-card {
  min-width: 0;
  padding: 18px;
}

.core-results-view .vigilance-card h2 {
  margin: 3px 0 12px;
  color: #17345f;
  font-size: 18px;
}

.core-results-view .vigilance-card li {
  font-size: 9px;
}

.results-next-card {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, #174fc9, #0e3476);
  color: #fff;
  box-shadow: 0 8px 24px rgb(14 54 127 / 14%);
}

.results-next-card .section-label {
  color: #bcd5ff;
}

.results-next-card h2 {
  max-width: 330px;
  color: #fff;
}

.results-next-card > p:not(.section-label) {
  max-width: 390px;
  color: rgb(255 255 255 / 73%);
  font-size: 10px;
  line-height: 1.55;
}

.results-next-card .primary-button {
  margin-top: 6px;
  background: #fff;
  color: #174487;
}

.results-next-mark {
  position: absolute;
  top: 15px;
  right: 17px;
  color: #9fc7ff;
  font-size: 20px;
}

#results-report > .section-block[aria-labelledby="report-decision-title"] {
  border-left: 3px solid var(--product-blue);
  padding: 15px 17px;
}

#summary-title,
#journey-findings-title,
#competency-findings-title,
#career-findings-title,
#training-findings-title {
  scroll-margin-top: 18px;
}

/* Offres d'emploi ------------------------------------------------------- */

.core-jobs-view .job-source-assurance,
.core-trainings-view .training-freshness {
  display: grid;
  width: min(330px, 34%);
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 15px rgb(30 61 112 / 5%);
  padding: 11px 13px;
}

.core-jobs-view .job-assurance-mark,
.core-trainings-view .training-freshness-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #e6f7f2;
  color: #0d9279;
}

.core-jobs-view .job-assurance-mark .icon,
.core-trainings-view .training-freshness-mark .icon {
  width: 17px;
  height: 17px;
}

.core-jobs-view .job-source-assurance strong,
.core-trainings-view .training-freshness strong {
  color: #27405f;
  font-size: 10px;
}

.core-jobs-view .job-source-assurance p,
.core-trainings-view .training-freshness p {
  margin-top: 2px;
  color: #7b8799;
  font-size: 8px;
  line-height: 1.4;
}

.core-jobs-view .job-search-panel,
.core-trainings-view .training-search-panel {
  margin: 0;
  border: 1px solid var(--product-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 20px rgb(33 61 108 / 5%);
  padding: 16px 18px;
}

.core-jobs-view .job-search-intro,
.core-trainings-view .training-search-intro {
  display: grid;
  grid-template-columns: 116px minmax(230px, 0.48fr) minmax(280px, 1fr);
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf0f5;
  padding-bottom: 11px;
}

.core-jobs-view .job-search-intro h2,
.core-trainings-view .training-search-intro h2 {
  margin: 0;
  color: #17345f;
  font-size: 17px;
  line-height: 1.25;
}

.core-jobs-view .job-search-intro > p:last-child,
.core-trainings-view .training-search-intro > p:last-child {
  color: #748197;
  font-size: 9px;
  line-height: 1.5;
}

.core-jobs-view .job-query-row {
  grid-template-columns: minmax(260px, 1fr) 150px auto;
}

.core-jobs-view .job-query-row label,
.core-jobs-view .job-quick-filters label {
  color: #54647e;
  font-size: 9px;
}

.core-jobs-view .job-query-row input,
.core-jobs-view .job-quick-filters input,
.core-jobs-view .job-quick-filters select,
.core-trainings-view .training-query-row input {
  min-height: 40px;
  border-color: #dce4f0;
  font-size: 11px;
}

.core-jobs-view .job-quick-filters {
  margin-top: 9px;
}

.core-jobs-view .job-skill-suggestions {
  margin-top: 10px;
}

.core-jobs-view .job-skill-suggestions legend {
  color: #778399;
  font-size: 8px;
}

.core-jobs-view #job-skill-suggestion-list button {
  min-height: 27px;
  border-color: #dfe6f1;
  background: #f8faff;
  color: #52647f;
  font-size: 8px;
}

.opportunity-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.opportunity-tab {
  display: grid;
  min-width: 0;
  min-height: 60px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  color: #53647f;
  cursor: pointer;
  padding: 9px 12px;
  text-align: left;
}

.opportunity-tab:hover {
  border-color: #cbd7e9;
  background: #fbfcff;
}

.opportunity-tab.active {
  border-color: #bbccf4;
  background: #eef3ff;
  color: #214fba;
  box-shadow: inset 3px 0 0 var(--product-blue);
}

.opportunity-tab-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #e9f0ff;
  color: #2459df;
}

.opportunity-tab-icon-follow {
  background: #e4f7f2;
  color: #0d927a;
}

.opportunity-tab-icon .icon {
  width: 16px;
  height: 16px;
}

.opportunity-tab strong,
.opportunity-tab small {
  display: block;
}

.opportunity-tab strong {
  font-size: 11px;
}

.opportunity-tab small {
  margin-top: 2px;
  color: #7a879b;
  font-size: 8px;
}

.opportunity-tab-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 99px;
  background: #fff;
  color: #2457c6;
  font-size: 9px;
  font-weight: 800;
}

.job-workspace-panel {
  margin-top: 12px;
}

.job-workspace-panel[hidden] {
  display: none;
}

.core-jobs-view .job-results-heading {
  align-items: end;
  margin-bottom: 8px;
}

.core-jobs-view .job-results-heading h2 {
  margin: 2px 0 0;
  color: #17345f;
  font-size: 18px;
}

.core-jobs-view .job-results-count {
  border: 0;
  background: #edf2ff;
  color: #2858c4;
  padding: 5px 9px;
  font-size: 8px;
}

.core-jobs-view .job-offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.core-jobs-view .job-offer-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 4%);
  padding: 14px;
}

.core-jobs-view .job-offer-card:hover {
  border-color: #ccd8e9;
  box-shadow: 0 9px 24px rgb(30 61 112 / 7%);
  transform: translateY(-1px);
}

.core-jobs-view .job-offer-topline {
  min-height: 23px;
  align-items: center;
  gap: 6px;
}

.core-jobs-view .job-source-pill,
.core-jobs-view .job-offer-status {
  border: 0;
  background: #e8f1ff;
  color: #2455b7;
  font-size: 7px;
  letter-spacing: 0.045em;
}

.core-jobs-view .job-offer-date {
  margin-left: auto;
  color: #8490a2;
  font-size: 7px;
}

.core-jobs-view .job-offer-title {
  margin: 9px 0 2px;
  color: #17345f;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.core-jobs-view .job-offer-company {
  color: #61718a;
  font-size: 9px;
}

.core-jobs-view .job-offer-facts {
  gap: 5px;
  margin-top: 9px;
}

.core-jobs-view .job-offer-fact {
  border: 0;
  border-radius: 6px;
  background: #f4f7fb;
  color: #56667f;
  padding: 4px 7px;
  font-size: 8px;
}

.core-jobs-view .job-offer-description,
.core-jobs-view .job-offer-requirements {
  color: #65748b;
  font-size: 9px;
  line-height: 1.5;
}

.core-jobs-view .job-offer-requirements {
  margin-top: 9px;
  border-top: 1px solid #edf0f5;
  padding-top: 8px;
}

.core-jobs-view .job-offer-relevance {
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: #f5f8fd;
  padding: 8px 9px;
}

.core-jobs-view .job-offer-footer {
  margin-top: auto;
  border-top: 1px solid #edf0f5;
  padding-top: 10px;
}

.core-jobs-view .job-offer-source-note {
  margin-bottom: 8px;
}

.core-jobs-view .job-offer-source-note strong,
.core-jobs-view .job-offer-source-note span {
  font-size: 7px;
}

.core-jobs-view .job-offer-actions {
  gap: 6px;
}

.core-jobs-view .job-offer-actions .primary-button,
.core-jobs-view .job-offer-actions .secondary-button {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 8px;
}

.core-jobs-view .job-search-state {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd7e8;
  border-radius: 10px;
  background: #f8faff;
  color: #60718b;
  padding: 16px;
  font-size: 10px;
  text-align: center;
}

.core-jobs-view .job-search-state.loading::before,
.core-trainings-view .training-state[data-tone="loading"]::before {
  width: 13px;
  height: 13px;
  flex: none;
  margin-right: 8px;
  border: 2px solid #c9d6ee;
  border-top-color: var(--product-blue);
  border-radius: 50%;
  animation: core-loading-spin 800ms linear infinite;
  content: "";
}

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

.core-jobs-view .job-search-state.error,
.core-trainings-view .training-state[data-tone="error"] {
  border-color: #efcfd0;
  background: #fff6f6;
  color: #934447;
}

.core-jobs-view .job-search-state.warning,
.core-trainings-view .training-state[data-tone="empty"] {
  border-color: #ead9bb;
  background: #fffaf1;
  color: #7b6034;
}

.core-jobs-view .job-method-note {
  margin-top: 14px;
}

/* Formations ------------------------------------------------------------ */

.core-trainings-view .training-freshness-mark {
  background: #fff0e4;
  color: #dc6f2e;
}

.core-trainings-view .training-query-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.core-trainings-view .training-search-primary > label {
  color: #54647e;
  font-size: 9px;
}

.core-trainings-view .core-catalog-results {
  margin-top: 14px;
}

.core-trainings-view .training-results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
}

.core-trainings-view .training-results-header h2 {
  margin: 2px 0 3px;
  color: #17345f;
  font-size: 18px;
}

.core-trainings-view .training-results-header div > p:last-child {
  margin: 0;
  color: #77849a;
  font-size: 9px;
}

.core-trainings-view .training-results-count {
  flex: none;
  border-radius: 99px;
  background: #fff0e5;
  color: #b75a22;
  padding: 5px 9px;
  font-size: 8px;
}

.core-trainings-view .training-state {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd7e8;
  border-radius: 10px;
  background: #f8faff;
  color: #60718b;
  padding: 16px;
  font-size: 10px;
  text-align: center;
}

.core-trainings-view .training-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.core-trainings-view .training-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 61 112 / 4%);
  padding: 14px;
}

.core-trainings-view .training-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #e88548, #f3b279);
  content: "";
}

.core-trainings-view .training-card:hover {
  border-color: #d3dce9;
  box-shadow: 0 9px 24px rgb(30 61 112 / 7%);
  transform: translateY(-1px);
}

.core-trainings-view .training-card-open {
  text-align: left;
}

.core-trainings-view .training-card-title {
  color: #17345f;
  font-size: 13px;
  line-height: 1.35;
}

.core-trainings-view .training-card-provider {
  margin-top: 4px;
  color: #748197;
  font-size: 8px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.core-trainings-view .training-card-facts {
  display: grid;
  gap: 0;
  margin-top: 11px;
  border-top: 1px solid #edf0f5;
}

.core-trainings-view .training-card-facts li {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 7px;
  border-bottom: 1px solid #f0f2f6;
  padding: 6px 0;
  font-size: 8px;
}

.core-trainings-view .training-card-facts li:last-child {
  border-bottom: 0;
}

.core-trainings-view .training-card-updated {
  margin-top: auto;
  border-top: 1px solid #edf0f5;
  color: #8b96a7;
  padding-top: 8px;
  font-size: 7px;
}

.core-trainings-view .training-pagination {
  margin-top: 15px;
}

.core-trainings-view .training-method-note {
  margin-top: 14px;
}

/* Questionnaire guide -------------------------------------------------- */

.core-questionnaire-panel {
  width: min(760px, 100%);
  background: var(--product-canvas);
}

.core-questionnaire-panel .questionnaire-panel-header {
  min-height: 76px;
  border-bottom: 1px solid var(--product-line);
  background: #fff;
  padding: 14px 20px;
}

.questionnaire-panel-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.questionnaire-panel-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #2459df;
}

.questionnaire-panel-mark .icon {
  width: 18px;
  height: 18px;
}

.core-questionnaire-panel .question-counter {
  margin: 1px 0 0;
  color: #17345f;
  font-size: 12px;
  font-weight: 700;
}

.questionnaire-progress-area {
  border-bottom: 1px solid var(--product-line);
  background: #fff;
  padding: 0 20px 10px;
}

.questionnaire-progress-area .panel-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8edf5;
}

.questionnaire-progress-area .panel-progress span {
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #4b8bf3);
}

.questionnaire-progress-area > p {
  margin: 7px 0 0;
  color: #8490a2;
  font-size: 8px;
}

.core-questionnaire-panel .question-content {
  width: calc(100% - 40px);
  max-width: 680px;
  align-self: start;
  margin: 22px auto;
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 24px rgb(30 61 112 / 5%);
  padding: clamp(24px, 4vw, 38px);
}

.question-step-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 99px;
  background: #edf2ff;
  color: #2859c7;
  padding: 4px 9px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.core-questionnaire-panel .question-content h2 {
  max-width: 570px;
  margin: 15px 0 8px;
  color: #15335f;
  font-size: clamp(23px, 3vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.core-questionnaire-panel .question-help {
  max-width: 580px;
  color: #66758d;
  font-size: 11px;
  line-height: 1.6;
}

.core-questionnaire-panel .scale-options {
  gap: 8px;
}

.core-questionnaire-panel .scale-option,
.core-questionnaire-panel .choice-option {
  min-height: 52px;
  border-color: #dce4f0;
  border-radius: 9px;
  background: #f8faff;
  color: #345178;
}

.core-questionnaire-panel .scale-option:hover,
.core-questionnaire-panel .choice-option:hover,
.core-questionnaire-panel [aria-pressed="true"] {
  border-color: #83a7ee;
  background: #eaf1ff;
  color: #1f55c4;
}

.core-questionnaire-panel .method-note {
  margin-top: 22px;
  border: 0;
  border-left: 2px solid #b9cbed;
  border-radius: 0;
  background: transparent;
  color: #748197;
  padding: 3px 0 3px 11px;
  font-size: 9px;
}

.core-questionnaire-panel .panel-footer {
  min-height: 78px;
  border-top: 1px solid var(--product-line);
  background: #fff;
  padding: 13px 20px;
}

.core-questionnaire-panel .answer-status {
  color: #6b7890;
  font-size: 9px;
}

/* Square screens and tablets ------------------------------------------- */

@media (max-width: 1320px) {
  .journey-workspace {
    grid-template-columns: minmax(0, 1fr) 318px;
  }

  .core-trainings-view .training-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-overview-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  }
}

@media (max-width: 1080px) {
  .core-page-header,
  .app-view:not([data-view="overview"]) > .core-page-header,
  .job-search-header.core-page-header {
    padding-top: 4px;
  }

  .core-jobs-view .job-source-assurance,
  .core-trainings-view .training-freshness {
    width: min(320px, 36%);
  }

  .journey-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tools"
      "main";
  }

  .journey-tools {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  }
}

@media (max-width: 900px) {
  .journey-status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tools"
      "main";
  }

  .journey-tools {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  }

  .results-overview-grid,
  .results-evidence-grid,
  .results-opportunity-grid,
  .results-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .core-jobs-view .job-offer-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .core-jobs-view .job-search-intro,
  .core-trainings-view .training-search-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

@media (max-width: 760px) {
  .core-page-header,
  .app-view:not([data-view="overview"]) > .core-page-header,
  .job-search-header.core-page-header {
    display: grid;
    min-height: 0;
    gap: 13px;
  }

  .core-page-header > .primary-button,
  .core-page-header > .secondary-button {
    width: 100%;
  }

  .core-jobs-view .job-source-assurance,
  .core-trainings-view .training-freshness {
    width: 100%;
  }

  .journey-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-review-header {
    display: grid;
  }

  .cv-review-counters {
    flex-wrap: wrap;
  }

  .cv-review-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-proposal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-trainings-view .training-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .core-jobs-view .job-query-row,
  .core-jobs-view .job-quick-filters,
  .core-trainings-view .training-query-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .core-jobs-view .job-query-row .primary-button,
  .core-trainings-view .training-query-row .primary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .core-page-heading {
    align-items: flex-start;
    gap: 11px;
  }

  .core-page-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .core-page-mark .icon {
    width: 19px;
    height: 19px;
  }

  .core-page-header h1 {
    font-size: 25px;
  }

  .core-page-header .core-page-heading p:last-child {
    font-size: 10px;
  }

  .journey-status-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .journey-status-strip article,
  .journey-status-strip article:first-child {
    min-height: 62px;
    border-top: 1px solid #edf0f5;
    border-left: 0;
  }

  .journey-status-strip article:first-child {
    border-top: 0;
  }

  .core-journey-view .section-block,
  .core-journey-view .cv-import-block,
  .core-results-view .section-block,
  .results-score-panel,
  .results-next-card {
    padding: 15px;
  }

  .experience-editor form {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-proposal-list,
  .profile-item-form,
  .cv-proposal-editor .form-row,
  .profile-item-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-proposal-actions .primary-button,
  .cv-proposal-actions .secondary-button {
    width: 100%;
  }

  .profile-credentials-card .section-header {
    display: grid;
  }

  .profile-credentials-card .section-header .secondary-button {
    width: 100%;
  }

  .profile-item-card {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .profile-item-actions {
    grid-column: 2;
    justify-self: start;
  }

  .experience-editor form > label,
  .experience-editor .form-row,
  .experience-editor .question-help,
  .experience-editor .hero-actions {
    grid-column: 1;
  }

  .core-journey-view .experience-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 15px 2px;
  }

  .core-journey-view .experience-date {
    display: flex;
    gap: 5px;
  }

  .core-results-view .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-section-nav {
    margin-right: -2px;
    margin-left: -2px;
  }

  .opportunity-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .core-jobs-view .job-search-panel,
  .core-trainings-view .training-search-panel {
    padding: 14px;
  }

  .core-jobs-view .job-offer-card,
  .core-trainings-view .training-card {
    padding: 13px;
  }

  .core-jobs-view .job-offer-actions,
  .core-jobs-view .job-offer-actions > * {
    width: 100%;
  }

  .core-trainings-view .training-results-header {
    display: grid;
    gap: 8px;
  }

  .core-trainings-view .training-results-count {
    justify-self: start;
  }

  .core-questionnaire-panel .question-content {
    width: calc(100% - 24px);
    margin: 12px auto;
    border-radius: 10px;
    padding: 20px 16px;
  }

  .core-questionnaire-panel .question-content h2 {
    font-size: 23px;
  }

  .core-questionnaire-panel .panel-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 11px 12px;
  }

  .core-questionnaire-panel .panel-footer > button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-view.active:not([data-view="overview"]),
  .core-jobs-view .job-offer-card,
  .core-trainings-view .training-card,
  .core-jobs-view .job-search-state.loading::before,
  .core-trainings-view .training-state[data-tone="loading"]::before {
    animation: none;
    transition: none;
  }
}

/* V2 product rollout: presentation only, existing controls and dialog contracts stay intact. */
body.horizon-v2 {
  --product-blue: #175bea;
  --product-blue-dark: #1049c2;
  --product-blue-soft: #edf4ff;
  --product-navy: #132a60;
  --product-text: #1d345a;
  --product-muted: #607394;
  --product-line: #e2eaf5;
  --product-canvas: #f7faff;
  --product-shadow: 0 5px 22px rgb(34 68 125 / 4%);
  --color-primary: #175bea;
  --color-primary-hover: #1049c2;
  --color-primary-soft: #edf4ff;
  --color-text: #1d345a;
  --color-text-muted: #607394;
  --color-border: #e2eaf5;
  --font: "Avenir Next", Manrope, Avenir, "Segoe UI", sans-serif;
  font-family: var(--font);
  background: radial-gradient(ellipse at top, #edf5ff, transparent 65%), #f7faff;
}
.horizon-v2 :is(h1, h2, h3) {
  color: #132a60;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.horizon-v2 :is(button, input, select, textarea) {
  font-family: inherit;
}
.horizon-v2 :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #76a1f5;
  outline-offset: 3px;
}
.horizon-v2 .primary-button {
  border-color: #175bea;
  border-radius: 10px;
  background: #175bea;
  box-shadow: 0 3px 8px #175bea12;
  font-weight: 600;
  min-height: 42px;
}
.horizon-v2 .primary-button:hover:not(:disabled) {
  background: #1049c2;
}
.horizon-v2 .secondary-button {
  border-color: #d7e3f6;
  background: #fff;
  color: #244879;
  border-radius: 10px;
  min-height: 40px;
  font-weight: 600;
}
.horizon-v2
  :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) {
  border-color: #dce5f1;
  border-radius: 9px;
  background-color: #fff;
  color: #1d345a;
}
.horizon-v2 :is(.main-content, .app-view, .overview-main-flow, .journey-main-column) {
  min-width: 0;
}
.horizon-v2 .main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 36px 48px;
}
.horizon-v2 .workspace-topbar {
  min-height: 68px;
  margin-bottom: 18px;
}
.horizon-v2 .workspace-command {
  width: 100%;
  min-height: 68px;
  gap: 13px;
  padding: 7px 14px 7px 8px;
  border-color: #dce8f8;
  border-radius: 16px;
  background: linear-gradient(100deg, #edf5ff, #fff 68%);
  box-shadow: none;
  color: #607394;
}
.horizon-v2 .workspace-command:hover {
  border-color: #b9d0ef;
  background: linear-gradient(100deg, #e5f0ff, #fff 68%);
}
.horizon-v2 .workspace-command-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: none;
  place-items: center;
  border: 1px solid #c9ddf6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgb(38 83 145 / 10%);
}
.horizon-v2 .workspace-coach-robot {
  width: 42px;
  height: 42px;
  overflow: visible;
  fill: #eef6ff;
  stroke: #2c6fbd;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.horizon-v2 .workspace-coach-robot rect:nth-of-type(2) {
  fill: #153965;
  stroke: #5dbbe8;
}
.horizon-v2 .workspace-coach-robot rect:nth-of-type(2) ~ path,
.horizon-v2 .workspace-coach-robot rect:nth-of-type(2) + path {
  stroke: #79e4f4;
}
.horizon-v2 .workspace-command-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.horizon-v2 .workspace-command-copy strong {
  color: #1d3b68;
  font-size: 13px;
  font-weight: 650;
}
.horizon-v2 .workspace-command-copy small {
  overflow: hidden;
  color: #6a7e9b;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.horizon-v2 .coach-orb {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.horizon-v2 .coach-orb::before {
  inset: 5%;
  border: 1px solid #d4e6f7;
  background: radial-gradient(circle, #f8fcff, #e4f1ff 72%, transparent 74%);
  opacity: 0.72;
}
.horizon-v2 .coach-orb::after,
.horizon-v2 .coach-orb-glass,
.horizon-v2 .coach-orb-glint {
  display: none;
}
.horizon-v2 .coach-orb .coach-robot-figure {
  width: 112%;
  height: 112%;
  overflow: visible;
  fill: none;
  filter: drop-shadow(0 2px 3px rgb(26 75 124 / 18%));
  stroke-width: 1.7;
}
.horizon-v2 .coach-robot-figure .coach-orb-tree {
  opacity: 1;
}
.horizon-v2 .coach-robot-antenna,
.horizon-v2 .coach-robot-feet {
  fill: none;
  stroke: #4f86bd;
}
.horizon-v2 .coach-robot-antenna-tip {
  fill: #5bd5ef;
  stroke: #2870b0;
}
.horizon-v2 .coach-robot-shell,
.horizon-v2 .coach-robot-body {
  fill: #f7fbff;
  stroke: #74a4cf;
}
.horizon-v2 .coach-robot-face {
  fill: #12385f;
  stroke: #59bfe2;
}
.horizon-v2 .coach-robot-expression {
  fill: none;
  stroke: #74e7f2;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: coach-robot-blink 6.4s ease-in-out infinite;
}
.horizon-v2 .coach-robot-core {
  fill: #63d7e8;
  stroke: #2873ad;
}
.horizon-v2 .coach-orb .coach-orb-flow {
  stroke: #72e9f4;
}
body.horizon-v2[data-coach-state="thinking"] .coach-robot-face,
body.horizon-v2[data-coach-state="action"] .coach-robot-face {
  fill: #0f4d79;
  stroke: #77dded;
}
body.horizon-v2[data-coach-state="thinking"] .coach-orb-flow,
body.horizon-v2[data-coach-state="action"] .coach-orb-flow {
  opacity: 0.9;
}
body.horizon-v2[data-coach-state="done"] .coach-orb {
  background: transparent;
}
body.horizon-v2[data-coach-state="done"] .coach-robot-core {
  fill: #51cfa8;
  stroke: #237d70;
}
body.horizon-v2[data-coach-state="error"] .coach-orb {
  border: 0;
  background: transparent;
  filter: saturate(0.78) brightness(0.88);
}
body.horizon-v2[data-coach-state="error"] .coach-robot-face {
  fill: #5f3440;
  stroke: #dc927d;
}
body.horizon-v2[data-coach-state="error"] .coach-robot-expression,
body.horizon-v2[data-coach-state="error"] .coach-robot-core {
  stroke: #ffd0b5;
}
.horizon-v2[data-current-view="overview"] .workspace-topbar {
  display: none;
}
.horizon-v2 .demo-banner {
  background: #f3f7fd;
  border-color: #e8eef8;
}

@media (min-width: 840px) {
  .horizon-v2 .app-shell {
    display: block;
    padding: 0;
  }
  .horizon-v2 .sidebar {
    position: sticky;
    top: 24px;
    z-index: 30;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 162px;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 76px;
    padding: 10px max(24px, calc((100vw - 1368px) / 2));
    border: 0;
    border-bottom: 1px solid #e5edf8;
    background: #fffffffa;
    box-shadow: 0 3px 15px #153e7504;
    transform: none;
  }
  .horizon-v2 .sidebar .brand {
    padding: 0;
  }
  .horizon-v2 .sidebar .brand-logo {
    width: 162px;
  }
  .horizon-v2 .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    overflow: visible;
  }
  .horizon-v2 .nav-group {
    display: contents;
  }
  .horizon-v2 .nav-group-label {
    display: none;
  }
  .horizon-v2 .nav-item {
    width: auto;
    min-height: 40px;
    padding: 8px;
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 9px;
  }
  .horizon-v2 .nav-item.active {
    background: #eaf2ff;
    color: #1454d8;
  }
  .horizon-v2 .nav-item.active::before {
    display: none;
  }
  .horizon-v2 .nav-icon {
    width: 19px;
    height: 20px;
  }
  .horizon-v2 .account-card {
    margin: 0;
    padding: 7px;
    border: 0;
    border-radius: 10px;
    background: #f6f9ff;
    box-shadow: none;
  }
  .horizon-v2 .profile-identity {
    min-width: 0;
  }
  .horizon-v2 .profile-identity strong {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .horizon-v2 .profile-identity small {
    font-size: 10px;
  }
  .horizon-v2 .avatar {
    width: 32px;
    height: 32px;
    background: #e8efff;
    color: #3158ae;
  }
  .horizon-v2 .sidebar-support {
    position: absolute;
    top: calc(100% + 12px);
    right: max(36px, calc((100vw - 1368px) / 2));
    margin: 0;
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  .horizon-v2 .sidebar-support summary {
    padding: 6px 9px;
    border-radius: 16px;
    background: #f5f9ff;
  }
  .horizon-v2 .sidebar-support details[open] {
    width: 280px;
    padding: 10px;
    border: 1px solid #dce7f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 35px #1b38641a;
  }
  .horizon-v2 .mobile-nav-toggle,
  .horizon-v2 .mobile-nav-close {
    display: none;
  }
}
@media (min-width: 840px) and (max-width: 1270px) {
  .horizon-v2 .sidebar {
    grid-template-columns: 106px minmax(0, 1fr) 104px;
    gap: 6px;
    padding-inline: 12px;
  }
  .horizon-v2 .sidebar .brand-logo {
    width: 104px;
  }
  .horizon-v2 .nav-icon {
    display: none;
  }
  .horizon-v2 .main-nav {
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .horizon-v2 .main-nav::-webkit-scrollbar {
    display: none;
  }
  .horizon-v2 .nav-item {
    min-height: 36px;
    padding-inline: 6px;
    font-size: 10px;
  }
  .horizon-v2 .account-card {
    padding: 5px;
  }
  .horizon-v2 .profile-identity strong {
    font-size: 10px;
  }
  .horizon-v2 .profile-identity small,
  .horizon-v2 .profile-role {
    display: none;
  }
}

/* The home uses real application entry points; no preview records or simulated assistant. */
.product-v2-welcome {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 20px;
  min-height: 280px;
  padding: 28px 28px 24px;
  margin: 0 0 18px;
  border: 1px solid #e3edfc;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 48% 20%, #fff, transparent 60%),
    linear-gradient(115deg, #e5f1ff, #f7fbff 58%, #edf4ff);
}
.product-v2-mascot {
  align-self: end;
  pointer-events: none;
}
.product-v2-mascot > svg {
  width: 100%;
  height: 240px;
  overflow: visible;
  animation: product-coach-float 6s ease-in-out infinite;
}
.product-v2-mascot .product-robot-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: product-coach-blink 6.8s ease-in-out infinite;
}
.product-v2-mascot .product-robot-wave {
  transform-origin: 169px 193px;
  animation: product-coach-wave 0.9s ease-in-out 0.4s 2;
}
.product-v2-welcome:focus-within .product-robot-head {
  transform-origin: 124px 155px;
  transform: rotate(3deg);
  transition: transform 0.25s;
}
.product-v2-welcome-copy {
  text-align: center;
  min-width: 0;
}
.product-v2-eyebrow {
  color: #58749b;
  font-size: 11px;
  letter-spacing: 0.07em;
}
.horizon-v2 .product-v2-welcome h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.13;
  font-weight: 600;
}
.product-v2-welcome-copy > p:not(.product-v2-eyebrow) {
  color: #526b90;
  font-size: 14px;
  line-height: 1.5;
}
.product-v2-command {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  margin-top: 20px;
  padding: 8px 10px 8px 20px;
  border: 1px solid #dce9fe;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 6px 24px #3769b710;
  color: #60789b;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
}
.product-v2-command > span:first-child {
  font-size: 24px;
  color: #175bea;
}
.product-v2-command > span:last-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  background: #175bea;
  color: #fff;
  font-size: 24px;
}
.product-v2-intentions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.product-v2-intentions button {
  border: 1px solid #dee8f7;
  border-radius: 20px;
  padding: 7px 10px;
  background: #ffffffb8;
  color: #466286;
  font-size: 11px;
  cursor: pointer;
}
.product-v2-modules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.product-v2-modules > button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 90px;
  padding: 14px 12px;
  border: 1px solid #e0eafa;
  border-radius: 13px;
  background: #fff;
  color: #17335e;
  cursor: pointer;
  text-align: left;
}
.product-v2-modules strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.product-v2-modules small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
  color: #617795;
}
.product-v2-module-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef4ff;
  color: #2161d6;
  font-size: 22px;
}
.product-v2-modules > button:nth-child(2) .product-v2-module-icon {
  background: #fff2e7;
  color: #c97833;
}
.product-v2-modules > button:nth-child(3) .product-v2-module-icon {
  background: #edf7f3;
  color: #418875;
}
.product-v2-modules > button > span:last-child {
  margin-left: auto;
  color: #175bea;
}
.product-v2-modules > button:hover {
  background: #f7faff;
  border-color: #b7cef2;
}
.horizon-v2 .overview-home-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}
.horizon-v2 :is(.overview-main-flow, .overview-rail) {
  gap: 18px;
}
.horizon-v2 :is(#onboarding-card, #assessment-overview).horizon-hero {
  min-height: 0;
  padding: 22px;
  border: 1px solid #e2eaf5;
  border-radius: 13px;
  background: #fff;
  color: #18355b;
}
.horizon-v2 .horizon-hero-image {
  display: none;
}
.horizon-v2 .hero-identity h1 {
  font-size: 24px;
}
.horizon-v2 .hero-description {
  font-size: 14px;
}
.horizon-v2 .hero-avatar {
  width: 46px;
  height: 46px;
  font-size: 18px;
}
.horizon-v2 .hero-progress {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  margin-top: 14px;
  border: 0;
  border-radius: 9px;
  padding: 8px 12px;
  background: #f3f7ff;
  font-size: 12px;
}
.horizon-v2 .hero-progress::before,
.horizon-v2 .hero-progress::after {
  display: none;
}
.horizon-v2 .hero-progress #progress-percent {
  font-size: 14px;
}
.horizon-v2 .hero-progress p {
  margin: 0;
}
.horizon-v2 .hero-objective {
  margin-block: 12px;
}
.horizon-v2 .hero-objective strong {
  font-size: 15px;
}
.horizon-v2 #assessment-overview.horizon-hero {
  padding: 14px 18px;
}
.horizon-v2 #assessment-overview .horizon-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
  align-items: center;
  gap: 12px 18px;
}
.horizon-v2 #assessment-overview .hero-identity {
  display: none;
}
.horizon-v2 #assessment-overview .hero-objective,
.horizon-v2 #assessment-overview .hero-actions {
  margin: 0;
}
.horizon-v2 #assessment-overview .hero-objective {
  max-width: none;
}
.horizon-v2 #assessment-overview .hero-actions {
  flex-wrap: nowrap;
}
.horizon-v2 #assessment-overview .hero-progress {
  grid-column: 1 / -1;
  margin: 0;
  padding: 7px 10px;
}
.horizon-v2 :is(.home-dashboard, .recommendation-list-panel, .rail-panel) {
  border: 1px solid #e2eaf5;
  border-radius: 13px;
  box-shadow: none;
  background: #fff;
}
.horizon-v2 .home-dashboard {
  padding: 20px;
}
.horizon-v2 .horizon-coach-panel {
  border-color: #e0eafa;
  box-shadow: none;
  background: linear-gradient(145deg, #f8fbff, #eaf2ff);
}

/* Each workspace keeps its own purpose, with one shared V2 visual vocabulary. */
.horizon-v2 .app-view > .core-page-header {
  min-height: 140px;
  padding: 24px;
  border: 1px solid #e3ecfa;
  border-radius: 16px;
  margin-bottom: 22px;
  background: linear-gradient(115deg, #edf5ff, #fbfdff 72%);
}
.horizon-v2 .core-trainings-view > .core-page-header {
  background: linear-gradient(115deg, #fff6ee, #fbfdff 72%);
}
.horizon-v2 .core-results-view > .core-page-header {
  background: linear-gradient(115deg, #edf6f7, #fbfdff 72%);
}
.horizon-v2 .core-page-header h1 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
}
.horizon-v2 .core-page-header .core-page-heading p:last-child {
  max-width: 670px;
  font-size: 14px;
  line-height: 1.6;
  color: #5c7291;
}
.horizon-v2 .core-page-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.horizon-v2 :is(.job-source-assurance, .training-freshness) {
  max-width: 310px;
  border: 0;
  background: #ffffffa8;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
}
.horizon-v2 .journey-status-strip {
  border: 1px solid #e3ecf8;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 22px;
}
.horizon-v2 .journey-workspace {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.horizon-v2 .journey-tools {
  gap: 18px;
}
.horizon-v2
  :is(
    .section-block,
    .experience-editor,
    .profile-credentials-card,
    .result-card,
    .summary-card,
    .score-card,
    .vigilance-card
  ) {
  border: 1px solid #e2eaf5;
  border-radius: 13px;
  box-shadow: none;
  background: #fff;
}
.horizon-v2 .file-drop {
  border: 1px dashed #adc7ed;
  border-radius: 12px;
  background: #f5f9ff;
}
.horizon-v2 .journey-coach-card {
  background: #edf4ff;
  border-color: #e0eafb;
  border-radius: 13px;
}
.horizon-v2 .journey-coach-card :is(h2, p) {
  color: #1d345a;
}
.horizon-v2 .journey-coach-card .component-kicker {
  color: #3169c6;
}
.horizon-v2 .journey-coach-card .secondary-button {
  border-color: #cfdef5;
  color: #244879;
}
.horizon-v2 .experience-card {
  border-color: #e5edf7;
  padding-block: 20px;
}
.horizon-v2 .experience-card h3 {
  font-weight: 600;
}
.horizon-v2 .results-section-nav {
  border-color: #e3ebf7;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
.horizon-v2 .results-section-nav a {
  border-radius: 8px;
}
.horizon-v2 :is(.result-notice, .results-next-card, .journey-insight-note) {
  background: #edf4ff;
  border-color: #dce8fc;
  border-radius: 12px;
}
.horizon-v2 :is(.job-search-panel, .training-search-panel) {
  padding: 24px;
  border: 1px solid #dfe9f8;
  border-radius: 15px;
  box-shadow: 0 6px 22px #20406c05;
  background: #fff;
}
.horizon-v2 :is(.job-query-row input, .training-query-row input) {
  min-height: 50px;
  background: #f9fbff;
  font-size: 15px;
}
.horizon-v2 :is(.job-search-intro, .training-search-intro) {
  margin-bottom: 18px;
}
.horizon-v2 :is(.job-search-intro h2, .training-search-intro h2) {
  font-size: 20px;
  font-weight: 600;
}
.horizon-v2 :is(.job-search-intro p, .training-search-intro p) {
  max-width: 840px;
  line-height: 1.55;
}
.horizon-v2 :is(.advanced-filters, .job-skill-suggestions) {
  border-color: #e7edf6;
  background: #f9fbff;
  border-radius: 10px;
}
.horizon-v2 :is(.job-offer-card, .training-card) {
  border: 1px solid #e0e9f6;
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
  padding: 21px;
}
.horizon-v2 :is(.job-offer-card, .training-card):hover {
  border-color: #aac6ee;
  box-shadow: 0 5px 20px #19478608;
}
.horizon-v2 :is(.job-offer-title, .training-card h3) {
  color: #164da9;
  font-weight: 600;
}
.horizon-v2 :is(.job-search-state, .training-state) {
  border-radius: 13px;
  padding: 24px;
  background: #f3f7fe;
}
.horizon-v2 :is(.job-method-note, .training-method-note) {
  border: 0;
  background: transparent;
  color: #607394;
}
.horizon-v2 .opportunity-tabs {
  border-color: #e0e9f6;
  background: #edf3fc;
  border-radius: 11px;
  padding: 4px;
}
.horizon-v2 .core-questionnaire-panel {
  background: #f5f9ff;
}
.horizon-v2 .core-questionnaire-panel .questionnaire-panel-header {
  background: #fff;
  border-color: #e2eaf5;
}
.horizon-v2 .core-questionnaire-panel .question-content {
  max-width: 760px;
  background: #fff;
  border: 1px solid #e0eafa;
  border-radius: 18px;
  box-shadow: 0 10px 30px #1c4a8705;
  padding: 36px;
}
.horizon-v2 .core-questionnaire-panel .question-content h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}
.horizon-v2 .core-questionnaire-panel :is(.scale-option, .choice-option) {
  border-color: #d8e4f5;
  border-radius: 12px;
}
.horizon-v2 .core-questionnaire-panel [aria-pressed="true"] {
  background: #e7f0ff;
  border-color: #175bea;
  color: #1247ae;
}
.horizon-v2 :is(.panel-header, .panel-footer) {
  border-color: #e2eaf5;
}
.horizon-v2 :is(#account-panel, #objective-panel, #experience-panel) {
  background: #fbfdff;
}
.horizon-v2 .landing {
  width: min(1440px, 100%);
  max-width: none;
  padding: 28px 24px 64px;
  background: #f7faff;
}
.horizon-v2 .landing-header {
  gap: 16px;
  min-height: 72px;
  padding: 10px 14px;
  border: 1px solid #e5edf8;
  border-radius: 14px;
  background: #ffffffed;
  box-shadow: 0 4px 20px rgb(27 65 120 / 5%);
}
.horizon-v2 .landing-brand .brand-logo {
  width: 140px;
}
.horizon-v2 .landing-nav {
  flex-wrap: nowrap;
  gap: 8px;
}
.horizon-v2 .landing-nav a {
  flex: none;
  padding: 8px 10px;
  border-radius: 9px;
  color: #3c567d;
  font-size: 12px;
}
.horizon-v2 .landing-nav a:first-child {
  background: #eaf2ff;
  color: #1454d8;
}
.horizon-v2 .landing-login,
.horizon-v2 .landing-cta {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12px;
}
.horizon-v2 .landing-hero {
  min-height: 530px;
  margin-top: 18px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid #e2ecfb;
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 18%, #fff 0, transparent 38%),
    linear-gradient(125deg, #eaf3ff, #fbfdff 68%);
}
.horizon-v2 .landing-hero h1 {
  font-weight: 600;
  color: #132a60;
  font-size: clamp(40px, 5vw, 64px);
}
.horizon-v2 .landing-title span {
  color: #175bea;
}
.horizon-v2 .landing-preview-card,
.horizon-v2 .landing-feature-grid article,
.horizon-v2 .landing-trust-list li {
  border-color: #e0e9f6;
  box-shadow: 0 10px 35px rgb(31 66 119 / 6%);
}
.horizon-v2 .landing-preview-card {
  border-radius: 18px;
}
.horizon-v2 .landing-highlights {
  gap: 12px;
}
.horizon-v2 .landing-highlights li {
  padding: 14px;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  background: #ffffffb8;
}

@keyframes product-coach-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes product-coach-blink {
  0%,
  44%,
  48%,
  100% {
    transform: scaleY(1);
  }
  46% {
    transform: scaleY(0.12);
  }
}
@keyframes product-coach-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-9deg);
  }
}
@keyframes coach-robot-blink {
  0%,
  44%,
  48%,
  100% {
    transform: scaleY(1);
  }
  46% {
    transform: scaleY(0.14);
  }
}
@media (max-width: 1080px) {
  .horizon-v2 .main-content {
    padding: 16px 24px 40px;
  }
  .horizon-v2 .workspace-topbar {
    padding-left: 118px;
  }
  .horizon-v2[data-current-view="overview"] .workspace-topbar {
    display: flex;
  }
  .horizon-v2 .workspace-command {
    width: 100%;
  }
  .horizon-v2 .overview-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizon-v2 .overview-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-v2-welcome {
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 22px;
    gap: 16px;
  }
  .product-v2-mascot > svg {
    height: 200px;
  }
  .product-v2-modules > button {
    flex-wrap: wrap;
    align-content: start;
  }
  .product-v2-modules > button > span:last-child {
    display: none;
  }
  .horizon-v2 .journey-workspace {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .horizon-v2 .app-view > .core-page-header {
    padding: 20px;
    flex-wrap: wrap;
  }
}
@media (min-width: 840px) and (max-width: 1080px) {
  .horizon-v2 .workspace-topbar {
    padding-left: 0;
  }
  .horizon-v2[data-current-view="overview"] .workspace-topbar {
    display: none;
  }
  .horizon-v2 .landing-header {
    flex-wrap: nowrap;
  }
  .horizon-v2 .landing-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .horizon-v2 .landing-nav::-webkit-scrollbar {
    display: none;
  }
  .horizon-v2 .journey-workspace {
    grid-template-columns: minmax(0, 1fr) 260px;
    grid-template-areas: "main tools";
  }
  .horizon-v2 .journey-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .horizon-v2 .main-content {
    padding: 14px 16px 38px;
  }
  .horizon-v2 .workspace-command {
    min-height: 44px;
    padding: 5px 9px 5px 6px;
    font-size: 12px;
  }
  .horizon-v2 .workspace-command-icon {
    width: 34px;
    height: 34px;
  }
  .horizon-v2 .workspace-coach-robot {
    width: 28px;
    height: 28px;
  }
  .horizon-v2 .workspace-command-copy small {
    display: none;
  }
  .horizon-v2 .workspace-command-copy strong {
    font-size: 0;
  }
  .horizon-v2 .workspace-command-copy strong::after {
    content: "Question au Coach";
    font-size: 10px;
  }
  .horizon-v2 .workspace-command kbd {
    display: none;
  }
  .horizon-v2 .app-view > .core-page-header {
    padding: 18px;
    margin-bottom: 16px;
    gap: 15px;
  }
  .horizon-v2 .core-page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .horizon-v2 .core-page-mark {
    width: 40px;
    height: 40px;
  }
  .horizon-v2 .core-page-header h1 {
    font-size: 26px;
  }
  .horizon-v2 .core-page-header .core-page-heading p:last-child {
    font-size: 13px;
  }
  .horizon-v2 :is(.job-source-assurance, .training-freshness) {
    max-width: none;
    width: 100%;
  }
  .horizon-v2 .journey-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizon-v2 .journey-tools {
    position: static;
  }
  .horizon-v2 .overview-rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizon-v2 :is(.job-search-panel, .training-search-panel) {
    padding: 16px;
  }
  .horizon-v2 :is(.job-offer-card, .training-card) {
    padding: 16px;
  }
  .horizon-v2 :is(.job-query-row input, .training-query-row input, select, textarea) {
    font-size: 16px;
  }
  .product-v2-welcome {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 16px;
    border-radius: 14px;
  }
  .product-v2-mascot {
    align-self: center;
    height: 112px;
    order: 2;
    margin-top: 12px;
  }
  .product-v2-mascot > svg {
    height: 118px;
    width: 122px;
  }
  .product-v2-welcome-copy {
    display: contents;
  }
  .product-v2-eyebrow {
    order: 0;
    margin: 0;
  }
  .horizon-v2 .product-v2-welcome h1 {
    order: 1;
    text-align: center;
    font-size: 29px;
    margin-bottom: 8px;
  }
  .product-v2-welcome-copy > p:not(.product-v2-eyebrow) {
    order: 1;
    text-align: center;
    margin: 0;
    font-size: 13px;
  }
  .product-v2-command {
    order: 3;
    margin-top: 12px;
    min-height: 60px;
    font-size: 13px;
    gap: 9px;
    padding-left: 12px;
  }
  .product-v2-intentions {
    order: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .product-v2-intentions button {
    min-height: 40px;
    font-size: 11px;
    padding: 7px;
  }
  .product-v2-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .product-v2-modules > button {
    flex-wrap: nowrap;
    min-height: 90px;
    padding: 11px;
    gap: 8px;
  }
  .product-v2-modules > button:last-child {
    grid-column: 1 / -1;
    min-height: 68px;
  }
  .product-v2-module-icon {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }
  .product-v2-modules strong {
    font-size: 12px;
  }
  .horizon-v2 :is(#onboarding-card, #assessment-overview).horizon-hero {
    padding: 18px;
  }
  .horizon-v2 #assessment-overview .horizon-hero-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .horizon-v2 #assessment-overview .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .horizon-v2 .landing {
    padding-inline: 14px;
  }
  .horizon-v2 .landing-header {
    border-radius: 12px;
  }
  .horizon-v2 .landing-hero {
    min-height: 0;
    padding: 28px 18px;
    border-radius: 16px;
  }
  .horizon-v2 .landing-hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }
  .horizon-v2 .core-questionnaire-panel .question-content {
    width: calc(100% - 24px);
    padding: 22px 16px;
    border-radius: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-v2-mascot > svg,
  .product-v2-mascot * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
