:root {
  --ink: #17241f;
  --muted: #65736d;
  --paper: #f3f0e7;
  --line: #d9dfda;
  --green: #0c7459;
  --lime: #ddeb82;
  --amber: #d58a16;
  --red: #c54a44;
}

html,
body {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

footer a{
  text-decoration: none;
  text-transform: none;
  color: #92a29a;
}

/*
|--------------------------------------------------------------------------
| Home utente autenticato
|--------------------------------------------------------------------------
*/

body.app-initializing main {
    visibility: hidden;
}

/*body.app-initializing .upload-panel {
    pointer-events: none;
}*/

body.is-authenticated .hero-copy,
body.is-authenticated .jobscale-intro,
body.is-authenticated .jobscale-blog-home,
body.is-authenticated .how-it-works {
    display: none;
}

body.is-authenticated .hero:not([hidden]) {
    align-items: center;
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}

body.is-authenticated .hero:not([hidden]) .upload-panel {
    grid-column: 1;
    margin: 0 auto;
    max-width: 620px;
    width: 100%;
}

/* Percorsi formativi correlati */
.development-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.65fr);
}
.development-grid .gap-list {
  min-width: 0;
}
.training-courses-panel {
  background: #f6f6f6;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: visible;
  padding: 24px;
  position: sticky;
  top: 96px;
}
.training-courses-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.training-courses-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 500;
  line-height: 1.05;
  margin: 5px 0 0;
  color: #c08e40;

}
.training-info-tooltip .tooltip-text {
  left: auto;
  right: 0;
  transform: translateY(5px);
  width: min(310px, calc(100vw - 80px));
}
.training-info-tooltip:hover .tooltip-text,
.training-info-tooltip:focus .tooltip-text,
.training-info-tooltip:focus-within .tooltip-text {
  transform: translateY(0);
}
.training-info-tooltip .tooltip-text::after {
  left: auto;
  right: 3px;
  transform: none;
}
.training-courses-list {
  border-top: 1px solid var(--line);
}
.training-course-card {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.training-course-provider {
  color: var(--green);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.training-course-card h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}
.training-course-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.training-course-card h3 a:hover,
.training-course-card h3 a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.training-course-card h3 a span {
  color: var(--green);
}
.training-course-meta,
.training-course-match {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 7px 0 0;
}
.training-course-match b {
  color: var(--ink);
}
.training-course-card > small {
  color: #84908b;
  display: block;
  font-size: 10px;
  margin-top: 8px;
}
.training-provider-cta {
  background: none;
  margin-top: 20px;
  padding: 0px;
}
.training-provider-cta b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}
.training-provider-cta p {
  color: #cbd4d0;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 12px;
}
.training-provider-cta a {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.training-provider-cta a:hover,
.training-provider-cta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.training-empty,
.training-loading {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  padding: 18px 0;
}
.training-show-all {
    margin-top:10px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: var(--green);
    color: var(--lime);
    padding: 12px 16px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.training-show-all:hover {
    background: #07543f;
    transform: translateY(-1px);
}

.training-show-all:focus-visible {
    outline: 3px solid rgba(221, 235, 130, 0.45);
    outline-offset: 2px;
}
.training-skeleton {
  animation: training-pulse 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, #eef1ee 25%, #f8f9f7 50%, #eef1ee 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  height: 70px;
  margin: 16px 0;
}
@keyframes training-pulse {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.credit-recharge-link {
    margin-left: 6px;
    font-weight: 700;
    text-decoration: underline;
    color:grey;
    font-weight: 600;
}

/* Pagina informativa per gli enti di formazione */
.provider-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(221, 235, 130, 0.3), transparent 30%),
    var(--paper);
  min-height: calc(100vh - 76px);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 8vw, 120px);
}
.provider-page-inner {
  max-width: 920px;
}
.provider-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 18px 0 30px;
}
.provider-page .provider-lead {
  color: #3f4d47;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  max-width: 760px;
}
.provider-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 48px 0;
}
.provider-step {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.provider-step span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.provider-step h2 {
  font-size: 17px;
  margin: 12px 0 8px;
}
.provider-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.provider-back {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .development-grid {
    grid-template-columns: 1fr;
  }
  .training-courses-panel {
    position: static;
  }
  .provider-steps {
    grid-template-columns: 1fr;
  }
 
  .cv-profile-intro {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cv-profile-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px 18px;
    grid-template-columns: auto 1fr;
    padding: 22px 0 0;
  }

  .cv-profile-summary .mini-label {
    grid-column: 1 / -1;
  }

  .cv-profile-summary strong {
    margin: 0;
  }

  .cv-profile-summary p {
    align-self: center;
    max-width: 360px;
  }

}
@media (max-width: 480px) {
  .training-courses-panel {
    border-radius: 14px;
    padding: 18px;
  }
  .training-courses-heading h3 {
    font-size: 24px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f8f8f5;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 6vw, 92px);
  position: sticky;
  top: 0;
  z-index: 999999;
  backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
}
.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--lime);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.brand b,
.brand small {
  display: block;
}
.brand b {
  font-size: 15px;
}
.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.header-note {
  color: var(--muted);
  font-size: 12px;
}
.hero {
  background: radial-gradient( circle at 4% 10%, rgba(221, 235, 130, 0.57), transparent 26% ), linear-gradient(125deg, #fff, #fff 70%);
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  min-height: calc(100vh - 176px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 7vw, 110px) 60px;
}
.hero-copy {
  align-self: center;
  max-width: 760px;
}
.kicker,
.section-index {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}
.kicker-down{
  font-family: georgia;
  letter-spacing: 1px;
  font-size: 18px;
  font-style: italic;
}

@media screen and (min-width: 200px) {
  .kicker-down{
    padding-top: 60px !important;
  }
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}
.hero h1 em {
  color: var(--green);
  font-weight: 400;
}
.hero-copy > p {
  color: #53615b;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  margin: 34px 0;
}
/* CTA finale homepage */

.jobscale-closing {
    margin: 80px auto 0;
    text-align: center;
}

.jobscale-closing h1 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.5vw, 48px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0;
}

.jobscale-closing h1 em {
    color: var(--green);
    font-weight: 400;
}

.jobscale-closing .jobscale-closing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0;
    margin: 28px auto 0;
    padding: 12px 20px;
    font-size: 14px;
    text-decoration: none;
}

.jobscale-payperuse {
    background: #f8faf7;
    border: 1px solid rgba(12, 116, 89, 0.10);
    padding: 10px 30px;
    margin: 60px auto 0px;
    max-width: 700px;
    border-radius: 20px;
}

.jobscale-payperuse p {
    color:var(--muted);
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 640px) {

    .jobscale-closing {
        margin-top: 55px;
    }

    .jobscale-closing h1 {
        font-size: 40px;
    }

}
.trust-row {
  color: #52615a;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 12px 22px;
}
.upload-panel {
  align-self: center;
  background: #fff;
  border: 1px solid #e0e3df;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(20, 39, 31, 0.12);
  padding: clamp(24px, 3vw, 38px);
}
.panel-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.panel-heading > span {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--lime);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.panel-heading h2,
.panel-heading p {
  margin: 0;
}
.panel-heading h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}
.panel-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.drop-zone {
  align-items: center;
  background: #f8faf7;
  border: 1.5px dashed #aebbb4;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 164px;
  padding: 20px;
  transition: 0.2s;
}
.drop-zone:hover,
.drop-zone.dragging {
  background: #f3f7e4;
  border-color: var(--green);
  transform: translateY(-1px);
}
.drop-zone.has-file {
  background: #f1f7f3;
  border-color: var(--green);
  border-style: solid;
}
.drop-zone.is-locked {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
    transform: none;
}

.drop-zone.is-locked:hover {
    background: #f1f7f3;
    border-color: var(--green);
    transform: none;
}
.upload-icon {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  margin-bottom: 12px;
  width: 46px;
}
.drop-zone strong {
  font-size: 15px;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drop-zone small {
  color: var(--muted);
  margin-top: 6px;
}
.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}
.field-grid label {
  color: #42504a;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}
.field-grid input {
  background: #fff;
  border: 1px solid #cad2cd;
  border-radius: 10px;
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
}
.field-grid input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 116, 89, 0.1);
}
.field-grid label small {
  color: #89928e;
  font-size: 10px;
  font-weight: 400;
}
.form-error {
  background: #fff1ef;
  border: 1px solid #f0c3bf;
  border-radius: 10px;
  color: #993a35;
  font-size: 13px;
  margin-top: 16px;
  padding: 11px 13px;
}
.consent-group {
  border: 0;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}
.consent-group legend {
  color: #42504a;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 9px;
}
.consent-group label {
  align-items: flex-start;
  color: #58665f;
  display: flex;
  font-size: 11px;
  gap: 9px;
  line-height: 1.45;
}
.consent-group input {
  accent-color: var(--green);
  flex: 0 0 auto;
  margin: 2px 0 0;
}
.consent-group a {
  color: var(--green);
  font-weight: 700;
}
.header-auth-button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 10px 0;
  font-size: 12px;
  text-decoration: underline;
}
.primary-button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 750;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 18px;
  transition: 0.2s;
  width: 100%;
}
.primary-button:hover:not(:disabled) {
  background: #07543f;
  transform: translateY(-1px);
}
.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.primary-button b {
  font-size: 22px;
}
.progress-box {
  background: #f7f8f5;
  border-radius: 12px;
  margin-top: 14px;
  padding: 14px;
}
.progress-track {
  background: #dfe5e0;
  border-radius: 99px;
  height: 4px;
  overflow: hidden;
}
.progress-track span {
  background: var(--green);
  display: block;
  height: 100%;
  transition: width 0.5s;
  width: 20%;
}
.progress-box p {
  align-items: center;
  display: flex;
  font-size: 12px;
  gap: 8px;
  margin: 10px 0 3px;
}
.progress-box small {
  color: var(--muted);
  font-size: 13px;
}

.pulse-dot {
  animation: pulse 1.2s infinite;
  background: var(--green);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(12, 116, 89, 0.1);
  }
}

/*
|--------------------------------------------------------------------------
| Home - Cos'è JobScale
|--------------------------------------------------------------------------
*/

.jobscale-intro {
    background:#fff;
    padding: clamp(70px, 7vw, 105px) clamp(20px, 7vw, 110px);
    padding-top: 0px !important;
}

.jobscale-intro-inner {
    margin: 0 auto;
    max-width: 1500px;
}

.jobscale-intro-heading {
    margin: 0 auto 56px;
    max-width: 930px;
    text-align: center;
}

.jobscale-intro-heading > span {
    color: var(--green);
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 26px;
    text-transform: uppercase;
    padding-top: 60px;
}

.jobscale-intro-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 55px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0;
}

.jobscale-intro-heading p {
    color: #53615b;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.65;
    margin: 20px auto 0;
    max-width: 950px;
    padding-bottom: 40px;
}

.jobscale-value-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jobscale-value-card {
    text-align: center;
}

.jobscale-value-icon {
    align-items: center;
    background: rgba(12, 116, 89, 0.06);
    border: 1px solid rgba(12, 116, 89, 0.08);
    border-radius: 15px;
    color: var(--green);
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    height: 58px;
    justify-content: center;
    margin: 0 auto 20px;
    width: 58px;
}

.jobscale-value-card h3 {
    color: #096a51;
    font-size: 16px;
    margin: 0 0 11px;
}

.jobscale-value-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 275px;
}

.jobscale-purpose {
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(221, 235, 130, 0.13),
            rgba(12, 116, 89, 0.05)
        );
    border: 1px solid rgba(12, 116, 89, 0.06);
    border-radius: 14px;
    display: flex;
    gap: 22px;
    margin: 78px auto 0;
    padding: 20px 28px;
    max-width: 800px;
}

.jobscale-purpose-icon {
    color: #819b22;
    flex: 0 0 auto;
    font-size: 34px;
    line-height: 1;
}

.jobscale-purpose p {
    color: #35443e;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.jobscale-purpose strong {
    color: var(--ink);
    display: block;
    margin-top: 2px;
    font-size: 21px;
    line-height: 28px;
}


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

@media (max-width: 1050px) {

    .jobscale-value-grid {
        gap: 38px 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobscale-value-card p {
        max-width: 330px;
    }
}


@media (max-width: 640px) {

    .jobscale-intro {
        padding-bottom: 64px;
        padding-top: 64px;
    }

    .jobscale-intro-heading {
        margin-bottom: 42px;
        text-align: left;
    }

    .jobscale-intro-heading h2 {
        font-size: 38px;
    }

    .jobscale-intro-heading p {
        font-size: 16px;
    }

    .jobscale-value-grid {
        grid-template-columns: 1fr;
    }

    .jobscale-value-card {
        text-align: left;
    }

    .jobscale-value-icon {
        margin-left: 0;
    }

    .jobscale-value-card p {
        margin-left: 0;
        max-width: none;
    }

    .jobscale-purpose {
        align-items: flex-start;
        gap: 15px;
        margin-top: 45px;
        padding: 20px;
    }

    .jobscale-purpose-icon {
        font-size: 29px;
    }
}

.how-it-works {
  background: var(--ink);
  color: #fff;
  padding: 70px clamp(20px, 7vw, 110px);
}
.how-it-works .section-index {
  color: var(--lime);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.process-grid article {
  border-left: 1px solid #405049;
  padding: 8px 48px 8px 28px;
}
.process-grid article:first-child {
  border: 0;
  padding-left: 0;
}
.process-grid b {
  color: var(--lime);
  font-size: 12px;
}
.process-grid h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 14px 0 8px;
}
.process-grid p {
  color: #aebcb5;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.report {
  background: #f8f8f5;
  margin: 60px auto;
}
.report-hero {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr auto;
  padding: 78px clamp(20px, 8vw, 130px);
}
.report-hero > div:first-child {
  max-width: 900px;
}
.report-hero .kicker {
  color: var(--lime);
  margin-bottom: 16px;
}
.report-hero h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4.25vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0;
}
.report-hero p {
  color: #c6d0ca;
  font-size: 16px;
  line-height: 1.65;
  margin: 22px 0;
  max-width: 850px;
}
.hero-score,
.score-ring {
  background: conic-gradient(var(--score) var(--value), #dfe6e1 var(--value));
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-score {
  height: 190px;
  width: 190px;
}
.hero-score > div {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 168px;
  justify-content: center;
  width: 168px;
}
.hero-score strong {
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.3;
}
.hero-score span {
  color: #a9b7b0;
  font-size: 13px;
}
.hero-score small {
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-top: 8px;
  text-transform: uppercase;
}
.report-section {
  border-bottom: 1px solid var(--line);
  margin: 0 50px;
  max-width: 1640px;
  padding: 78px clamp(20px, 6vw, 92px);
}

.report-section-salary {
    border-bottom: 0;
    padding-bottom: 5px;
}

.market-context-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 0 0 34px;
    padding: 24px;
}

.market-context-main {
    align-items: start;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.market-context-interpretation {
    color: #42504a;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 820px;
}

.market-context-metrics {
    display: grid;
    gap: 10px;
    min-width: 210px;
}

.market-context-metric {
    background: #f8f8f5;
    border-left: 4px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 11px 14px;
}

.market-context-metrics span,
.market-context-adjacent > span {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.market-context-metrics strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
}

.market-context-metric.is-low {
    border-left-color: var(--red);
}

.market-context-metric.is-low strong {
    color: var(--red);
}

.market-context-metric.is-medium {
    border-left-color: var(--amber);
}

.market-context-metric.is-medium strong {
    color: var(--amber);
}

.market-context-metric.is-high {
    border-left-color: var(--green);
}

.market-context-metric.is-high strong {
    color: var(--green);
}

.market-context-adjacent {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 16px;
}

.market-context-adjacent p {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}


/*
|--------------------------------------------------------------------------
| Market context - responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 800px) {

    .market-context-card {
        border-radius: 12px;
        padding: 18px;
    }

    .market-context-main {
        display: block;
    }

    .market-context-metrics {
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 22px;
    }

    .market-context-metrics strong {
        white-space: normal;
    }

    .market-context-adjacent {
        display: block;
        margin-top: 22px;
    }

    .market-context-adjacent p {
        margin-top: 8px;
    }
}

.report-preview-cut {
    min-height: 860px!important;
    max-height: 860px;
    overflow: hidden;
    position: relative;
    display: block;
}

.report-gate {
    align-items: flex-end;
    background: transparent;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    min-height: 800px;
    padding: 250px 20px 40px;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 10;
}

.report-gate-fade {
    background: linear-gradient(
        to bottom,
        rgba(248, 248, 245, 0) 0%,
        rgba(248, 248, 245, 0.3) 16%,
        rgba(255, 255, 255, 0.82) 42%,
        #ffffff 68%,
        #ffffff 100%
    );
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.report-gate-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.report-gate-jobs {
    background: var(--lime);
    border-radius: 12px;
    color: var(--ink);
    display: inline-block;
    font-size: 15px;
    line-height: 1.4;
    margin: 4px auto 20px;
    padding: 11px 18px;
}

.report-gate-jobs strong {
    color: var(--green);
    font-weight: 800;
}

.report-gate-content h2 {
    font-family: Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.035em;
    margin: 12px 0 14px;
}

.report-gate-content p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 540px;
}

.report-gate-button {
    margin: 28px auto 0;
    max-width: 330px;
}

@media (max-width: 760px) {

    .report-gate-content h2 {
        font-size: 36px;
    }
}

.auth-open {
  overflow: hidden;
}
.auth-modal {
  inset: 0;
  position: fixed;
  z-index: 999999;
}
.auth-modal[hidden] {
  display: none;
}
.auth-modal-backdrop {
  background: rgba(13, 31, 23, 0.68);
  inset: 0;
  position: absolute;
}
.auth-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(10, 24, 18, 0.3);
  left: 50%;
  max-height: calc(100vh - 32px);
  max-width: 520px;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 42px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}
.auth-dialog h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 9px 0 8px;
}
.auth-intro {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px;
}
.auth-close {
  background: #f2f4f1;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  height: 38px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}
.auth-tabs {
  background: #f2f4f1;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  padding: 4px;
}
.auth-tabs button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  padding: 11px;
}
.auth-tabs button.is-active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 39, 31, 0.08);
  color: var(--green);
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form[hidden] {
  display: none;
}
.auth-form label {
  color: #42504a;
  display: grid;
  font-size: 12px;
  font-weight: 750;
  gap: 7px;
}
.auth-form input {
  border: 1px solid #cad2cd;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 13px 14px;
}
.auth-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 116, 89, 0.1);
}
.auth-form .primary-button {
  margin-top: 6px;
}
.auth-text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  justify-self: center;
  margin-top: 2px;
  padding: 8px;
}
.auth-text-button:hover {
  text-decoration: underline;
}
.auth-back-button {
  justify-self: start;
  padding-left: 0;
}
.auth-name-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.auth-feedback {
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 16px;
  padding: 12px 14px;
}
.auth-feedback.info,
.auth-feedback.success {
  background: #eef7f1;
  border: 1px solid #b9dac5;
  color: #23633e;
}
.auth-feedback.error {
  background: #fff1ef;
  border: 1px solid #f0c3bf;
  color: #993a35;
}
.reports-new-link {
  text-decoration: none;
}
.reports-account-page {
  min-height: calc(100vh - 150px);
  padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 110px);
}
.reports-account-heading {
  margin: 0 auto 48px;
  max-width: 1640px;
}
.reports-account-heading h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  margin: 0;
}
.reports-account-heading p {
  color: var(--muted);
  font-size: 17px;
}
.reports-account-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto;
  max-width: 1640px;
}
.saved-report-card,
.reports-empty-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.saved-report-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.saved-report-card.is-pending {
  opacity: 0.68;
}
.saved-report-topline,
.saved-report-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.saved-report-topline span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.saved-report-topline small,
.saved-report-card p {
  color: var(--muted);
}
.saved-report-card h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  margin: 22px 0 12px;
}
.saved-report-card p {
  line-height: 1.55;
  margin: 0 0 24px;
}
.saved-report-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 18px;
}
.saved-report-footer a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.saved-report-status {
  background: #eef7f1;
  border-radius: 999px;
  color: #23633e;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 9px;
  text-transform: uppercase;
}
.reports-empty-state {
  margin: auto;
  max-width: 680px;
  text-align: center;
}
.reports-empty-state h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}
.reports-empty-state p {
  color: var(--muted);
}
.reports-inline-button {
  margin: 24px auto 0;
  max-width: 300px;
  text-decoration: none;
}
@media (max-width: 980px) {
  .reports-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .reports-account-grid,
  .auth-name-grid {
    grid-template-columns: 1fr;
  }

  .cv-profile-grid {
    grid-template-columns: 1fr;
  }

  .cv-profile-card {
    border-radius: 16px;
    padding: 22px 20px;
  }

  .cv-profile-intro {
    margin-bottom: 28px;
  }

  .cv-profile-summary {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .cv-profile-summary strong {
    font-size: 48px;
  }

   .cv-profile-item-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .cv-level-tooltip {
    left: 0;
    transform: translate(0, 5px);
    width: min(230px, calc(100vw - 90px));
  }

  .cv-level:hover .cv-level-tooltip,
  .cv-level:focus .cv-level-tooltip,
  .cv-level:focus-within .cv-level-tooltip {
    transform: translate(0, 0);
  }

  .cv-level-tooltip::after {
    left: 18px;
    transform: none;
  }

}

.section-heading {
  margin-bottom: 36px;
}
.section-heading > span,
.mini-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.section-heading > span {
  display: block;
  margin-bottom: 10px;
}
.section-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
}
.score-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.score-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 18px;
  grid-template-columns: 96px 1fr;
  min-height: 170px;
  padding: 22px;
}
.score-ring {
  height: 92px;
  width: 92px;
}
.score-ring > div {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 76px;
  justify-content: center;
  width: 76px;
}
.score-ring strong {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
}
.score-ring span {
  color: var(--muted);
  font-size: 9px;
}
.score-card h3 {
  font-size: 15px;
  margin: 5px 0 7px;
}
.score-card p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}
.split {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.3fr 0.7fr;
}
.lead {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.42;
  margin: -8px 0 36px;
}
.analysis-block {
  border-top: 1px solid var(--line);
  padding: 24px 0 4px;
}
.analysis-block h3 {
  font-size: 14px;
  margin: 0 0 9px;
}
.analysis-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.analysis-block.warning h3 {
  color: #a8640b;
}
.evidence-panel {
  align-self: start;
  background: var(--paper);
  border-radius: 18px;
  padding: 32px;
}
.evidence-panel h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  margin: 10px 0 24px;
}
.evidence-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.evidence-panel li {
  border-top: 1px solid #d5d5c8;
  font-size: 13px;
  line-height: 1.55;
  padding: 14px 0 14px 25px;
  position: relative;
}
.evidence-panel li:before {
  color: var(--green);
  content: "✓";
  font-weight: 800;
  left: 1px;
  position: absolute;
}
.evidence-quote {
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
  margin-top: 22px;
  padding: 22px;
}
.evidence-quote span {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.evidence-quote p {
  font-family: Georgia, serif;
  line-height: 1.5;
  margin: 10px 0 0;
}
.columns {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}
.column-title {
  font-size: 17px;
  margin: 0 0 17px;
  padding-left: 20px;
  position: relative;
}
.column-title:before {
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 10px;
}
.green-dot:before {
  background: var(--green);
}
.amber-dot:before {
  background: var(--amber);
}
.red-dot:before {
  background: var(--red);
}
.stack {
  display: grid;
  gap: 12px;
}
.role-card,
.job-card,
.empty-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.card-top {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.role-card h3,
.job-card h3 {
  font-size: 17px;
  margin: 5px 0 0;
}
.role-card > p,
.job-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.fit {
  border-radius: 99px;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
}
.fit.high {
  background: #e6f4ee;
  color: #087457;
}
.fit.mid {
  background: #fff3de;
  color: #a7670a;
}
.fit.low {
  background: #fbe9e7;
  color: #a8403a;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  border-radius: 99px;
  display: inline-block;
  font-size: 9px;
  padding: 5px 8px;
}
.tag.positive {
  background: #edf4e2;
  color: #426b35;
}
.tag.missing {
  background: #fff0ee;
  color: #a1403a;
}
.tag.neutral {
  background: #33463e;
  color: #dce7e1;
  font-size: 10px;
}
.missing-line {
  border-top: 1px solid #edf0ed;
  color: #8c5c19;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 15px;
  padding-top: 12px;
}
.job-title-link {
  color: var(--ink);
  text-decoration: none;
}
.job-title-link:hover {
  color: var(--green);
  text-decoration: underline;
}
.job-title-link span {
  color: var(--green);
  font-size: 12px;
}
.job-requirements {
  border-radius: 10px;
  margin-top: 14px;
  padding: 12px 14px;
}
.job-requirements.caution {
  background: #fff7e8;
  border: 1px solid #f0d49c;
  color: #765014;
}
.job-requirements.blocking {
  background: #fff0ee;
  border: 1px solid #efc5c0;
  color: #8f3f39;
}
.job-requirements b {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.job-requirements ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.job-requirements li {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 3px;
}
.job-requirements p {
  border-top: 1px solid rgba(118, 80, 20, 0.18);
  font-size: 10px !important;
  line-height: 1.5 !important;
  margin: 9px 0 0 !important;
  padding-top: 8px;
}
.job-footer > span:last-child {
  color: var(--muted);
  font-size: 9px;
}
.gap-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.gap-row {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 70px 1fr 150px;
  padding: 20px 24px;
}
.gap-row:first-child {
  border: 0;
}
.gap-row h3,
.gap-row p {
  margin: 0;
}
.gap-row h3 {
  font-size: 15px;
}
.gap-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 6px;
}
.gap-row small {
  color: var(--muted);
  font-size: 9px;
  text-transform: capitalize;
}
.priority {
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  padding: 6px 8px;
  text-align: center;
  text-transform: uppercase;
}
.priority.alta {
  background: #fbe8e5;
  color: #a83c35;
}
.priority.media {
  background: #fff1d8;
  color: #9a600c;
}
.priority.bassa {
  background: #edf1ee;
  color: #53635c;
}
.gap-number {
  text-align: right;
}
.gap-number b {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}
.gap-number small {
  color: var(--green);
  font-weight: 800;
}
.job-card.missed {
  border-left: 3px solid #d7736d;
}
.job-company {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.job-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  gap: 8px 16px;
  margin-top: 10px;
}
.job-footer {
  align-items: center;
  border-top: 1px solid #edf0ed;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 13px;
}
.job-footer a {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.not-verified {
  color: #9a716c;
}
.empty-card {
  color: var(--muted);
  font-size: 13px;
}
/*
|--------------------------------------------------------------------------
| Struttura del profilo CV
|--------------------------------------------------------------------------
*/

.cv-profile-section {
  position: relative;
}

.cv-profile-intro {
  align-items: end;
  display: grid;
  gap: clamp(30px, 6vw, 90px);
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  margin-bottom: 38px;
}

.cv-profile-intro .section-heading {
  margin-bottom: 0;
}

.cv-profile-summary {
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 28px;
}

.cv-profile-summary strong {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 12px 0 10px;
}

.cv-profile-summary p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  max-width: 240px;
}

.cv-profile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-width: 0;
  overflow: visible;
  padding: clamp(22px, 3vw, 32px);
  position: relative;
}

.cv-profile-card:hover,
.cv-profile-card:focus-within {
  z-index: 20;
}

.cv-profile-card::before {
  background: var(--green);
  content: "";
  height: 3px;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 0;
}

.cv-profile-card.soft-skills::before {
  background: var(--amber);
}

.cv-profile-card.software-tools::before {
  background: var(--ink);
}

.cv-profile-card.languages-hobbies::before {
  background: #8a6e9c;
}

.cv-profile-card-heading {
  align-items: flex-start;
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
}

.cv-profile-card-code {
  align-items: center;
  background: #eef5f1;
  border-radius: 11px;
  color: var(--green);
  display: flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 38px;
}

.soft-skills .cv-profile-card-code {
  background: #fff4df;
  color: #a86809;
}

.software-tools .cv-profile-card-code {
  background: #e9eeeb;
  color: var(--ink);
}

.languages-hobbies .cv-profile-card-code {
  background: #f3edf6;
  color: #765786;
}

.cv-profile-card-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

.cv-profile-card-heading p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  margin: 5px 0 0;
}

.cv-profile-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-profile-list li {
  align-items: flex-start;
  border-top: 1px solid #edf0ed;
  display: grid;
  gap: 11px;
  grid-template-columns: 7px minmax(0, 1fr);
  padding: 12px 0;
  position: relative;
}

.cv-profile-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.cv-profile-list li:last-child {
  padding-bottom: 0;
}

.cv-profile-item-marker {
  background: var(--green);
  border-radius: 50%;
  height: 6px;
  margin-top: 6px;
  width: 6px;
}

.soft-skills .cv-profile-item-marker {
  background: var(--amber);
}

.software-tools .cv-profile-item-marker {
  background: var(--ink);
}

.languages-hobbies .cv-profile-item-marker {
  background: #8a6e9c;
}

.cv-profile-list p {
  color: #34433d;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.cv-profile-item-content {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.cv-profile-item-content > p {
  flex: 1 1 auto;
  min-width: 0;
}

.cv-profile-list li.without-level .cv-profile-item-content {
  display: block;
}

.cv-profile-empty {
  color: #87918c;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.cv-profile-subsection + .cv-profile-subsection {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}

.cv-profile-subtitle {
  color: #765786;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cv-profile-note {
  align-items: flex-start;
  background: #f1f5f2;
  border: 1px solid #dce5df;
  border-radius: 13px;
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
}

.cv-profile-note > span {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.cv-profile-note p {
  color: #56645e;
  font-size: 11px;
  line-height: 1.55;
  margin: 1px 0 0;
}

/*
|--------------------------------------------------------------------------
| Livello emerso dal CV
|--------------------------------------------------------------------------
*/

.cv-level {
  cursor: help;
  display: inline-flex;
  flex: 0 0 auto;
  outline: none;
  position: relative;
}

.cv-level-dots {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  min-height: 20px;
}

.cv-level-dots i {
  background: #dce2de;
  border-radius: 50%;
  display: block;
  height: 7px;
  transition:
    background-color 0.16s ease,
    transform 0.16s ease;
  width: 7px;
}

.cv-level-1 .cv-level-dots i.is-active {
  background: #bd5951;
}

.cv-level-2 .cv-level-dots i.is-active {
  background: #d27a32;
}

.cv-level-3 .cv-level-dots i.is-active {
  background: var(--amber);
}

.cv-level-4 .cv-level-dots i.is-active {
  background: #6b9664;
}

.cv-level-5 .cv-level-dots i.is-active {
  background: var(--green);
}

.cv-level:hover .cv-level-dots i.is-active,
.cv-level:focus-visible .cv-level-dots i.is-active,
.cv-level:focus-within .cv-level-dots i.is-active {
  transform: scale(1.18);
}

.cv-level-tooltip {
  background: var(--ink);
  border-radius: 9px;
  bottom: calc(100% + 9px);
  color: #f7faf8;
  font-size: 10px;
  font-weight: 400;
  left: 50%;
  line-height: 1.45;
  opacity: 0;
  padding: 9px 11px;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 5px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
  visibility: hidden;
  white-space: normal;
  width: 230px;
  z-index: 15;
}

.cv-level-tooltip::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.cv-level-tooltip b {
  color: var(--lime);
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cv-level:hover .cv-level-tooltip,
.cv-level:focus .cv-level-tooltip,
.cv-level:focus-within .cv-level-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.action {
  background: var(--paper);
  border-radius: 24px;
  margin: 90px;
}
.action ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.action li {
  align-items: flex-start;
  border-top: 1px solid #d4d6cb;
  display: grid;
  gap: 22px;
  grid-template-columns: 44px 1fr;
  padding: 20px 0;
}
.action li span {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 22px;
}
.action li p {
  line-height: 1.6;
  margin: 0;
}
.methodology {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 60px;
  padding: 18px 22px;
}
.methodology summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.methodology > div {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  padding-top: 16px;
}
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.source-list a {
  background: #eff3f0;
  border-radius: 8px;
  color: var(--green);
  padding: 7px 9px;
  text-decoration: none;
}
.source-list span {
  background: #eff3f0;
  border-radius: 8px;
  color: var(--green);
  padding: 7px 9px;
  text-decoration: none;
}
footer {
  background: #101b17;
  color: #92a29a;
  font-size: 11px;
  padding: 26px;
  text-align: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .score-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }
  .hero {
    min-height: auto;
    padding-bottom: 58px;
    padding-top: 58px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .field-grid,
  .process-grid,
  .score-grid,
  .split,
  .columns,
  .report-hero {
    grid-template-columns: 1fr;
  }
  .process-grid article,
  .process-grid article:first-child {
    border: 0;
    border-top: 1px solid #405049;
    padding: 24px 0;
  }
  .process-grid article:first-child {
    border-top: 0;
  }
  .report-hero,
  .report-section {
    padding-bottom: 58px;
    padding-top: 58px;
  }
  .hero-score {
    height: 150px;
    width: 150px;
    margin-left: 50%;
    left: -75px;
    position: relative;
  }
  .hero-score small {
    font-size: 7px;
  }
  .hero-score > div {
    height: 130px;
    width: 130px;
  }
  .hero-score strong {
    font-size: 46px;
  }
  .gap-row {
    align-items: flex-start;
    grid-template-columns: 64px 1fr;
  }
  .gap-number {
    grid-column: 2;
    text-align: left;
  }
  .action {
    border-radius: 0;
    margin: 0 0 50px;
  }
  .methodology {
    border-radius: 10px;
    margin: 50px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 39px;
  }
  .upload-panel {
    border-radius: 18px;
    padding: 20px;
  }
  .score-card {
    grid-template-columns: 80px 1fr;
    padding: 17px;
  }
  .score-ring {
    height: 76px;
    width: 76px;
  }
  .score-ring > div {
    height: 62px;
    width: 62px;
  }
  .score-ring strong {
    font-size: 26px;
  }
  .evidence-panel {
    padding: 24px;
  }
  .gap-row {
    gap: 15px;
    padding: 17px 14px;
  }
}

/* Desktop con viewport inferiore a 1380px */
@media screen and (min-width: 761px) and (max-width: 1380px) {
  .hero {
    align-items: start;
    padding-top: 120px !important;
    padding-bottom: 30px;
  }

  .hero-copy,
  .upload-panel {
    align-self: start;
  }

  .hero h1 {
    font-size: 64px !important;
    line-height: 1.1;
  }

  .kicker {
    padding-top: 60px !important;
  }
}
.field-control {
  min-width: 0;
}

.field-label-row {
  align-items: center;
  color: #42504a;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  margin-bottom: 7px;
}

.field-label-row label {
  cursor: pointer;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
}

.field-control input,
.field-control select {
    background: #fff;
    border: 1px solid #cbd4ce;
    border-radius: 10px;
    color: var(--ink);
    font: inherit;
    min-width: 0;
    padding: 13px 14px;
    width: 100%;
}

.field-control input:focus,
.field-control select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(14, 129, 91, .12);
    outline: 0;
}

.field-control select {
    cursor: pointer;
}

.info-tooltip {
  align-items: center;
  background: #eef3f0;
  border: 1px solid #c9d5cf;
  border-radius: 50%;
  color: var(--green);
  cursor: help;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  height: 17px;
  justify-content: center;
  outline: none;
  position: relative;
  width: 17px;
}

.info-tooltip:focus {
  box-shadow: 0 0 0 3px rgba(12, 116, 89, 0.12);
}

.tooltip-text {
  background: var(--ink);
  border-radius: 9px;
  bottom: calc(100% + 10px);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  left: 50%;
  line-height: 1.45;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  transform: translate(-50%, 5px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  visibility: hidden;
  white-space: normal;
  width: 245px;
  z-index: 50;
}

.tooltip-text::after {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--ink);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.info-tooltip:hover .tooltip-text,
.info-tooltip:focus .tooltip-text,
.info-tooltip:focus-within .tooltip-text {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

/* Evita che il secondo tooltip esca dal pannello a destra */
.field-control:last-child .tooltip-text {
  left: auto;
  right: 0;
  transform: translateY(5px);
}

.field-control:last-child .info-tooltip:hover .tooltip-text,
.field-control:last-child .info-tooltip:focus .tooltip-text,
.field-control:last-child .info-tooltip:focus-within .tooltip-text {
  transform: translateY(0);
}

.field-control:last-child .tooltip-text::after {
  left: auto;
  right: 3px;
  transform: none;
}

@media (max-width: 760px) {
  .tooltip-text,
  .field-control:last-child .tooltip-text {
    left: 50%;
    right: auto;
    transform: translate(-50%, 5px);
    width: min(245px, calc(100vw - 32px));
  }

  .info-tooltip:hover .tooltip-text,
  .info-tooltip:focus .tooltip-text,
  .info-tooltip:focus-within .tooltip-text,
  .field-control:last-child .info-tooltip:hover .tooltip-text,
  .field-control:last-child .info-tooltip:focus .tooltip-text,
  .field-control:last-child .info-tooltip:focus-within .tooltip-text {
    transform: translate(-50%, 0);
  }

  .tooltip-text::after,
  .field-control:last-child .tooltip-text::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Valore economico del posizionamento */
.salary-outlook {
  background: #184130c2;
  border-radius: 22px;
  color: #fff;
  margin: 52px auto 0;
  padding: 34px;
}

.salary-heading {
  align-items: flex-start;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.salary-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 7px 0 0;
}

.salary-heading .mini-label {
  color: var(--lime);
}

.salary-context {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.salary-context span {
  background: #2d3d36;
  border-radius: 99px;
  color: #dce6e1;
  font-size: 10px;
  padding: 7px 10px;
}

.salary-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(210px, 0.72fr);
  margin-top: 30px;
  overflow: hidden;
}

.salary-metrics.has-transition {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, 0.68fr);
}

.salary-metric,
.salary-delta {
  background: #22322b;
  min-height: 128px;
  padding: 21px;
}

.salary-metric,
.salary-delta {
  border-radius: 14px;
  margin: 6px;
}

.salary-metric > span{
  color: #aebdb6;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.salary-delta small {
  color: #174b3c;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.salary-metric strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.15;
  margin-top: 12px;
}

.salary-metric small {
  color: #aebdb6;
  display: block;
  font-size: 10px;
  line-height: 1.45;
  margin-top: 9px;
}

.salary-metric.transition {
  background: #293b33;
}

.salary-metric.potential {
  background: #174b3c;
}

.salary-delta {
  align-items: start;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  gap: 13px;
}

.salary-delta > span {
  border: 1px solid rgba(23, 36, 31, 0.22);
  border-radius: 50%;
  display: grid;
  flex: 0 0 auto;
  font-size: 24px;
  height: 43px;
  place-items: center;
  width: 43px;
  margin-top: 20px;
}

.salary-delta small {
  color: #51602a;
}

.salary-delta strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  margin-top: 7px;
  color: #174b3c;
}

.salary-delta b {
  display: block;
  font-size: 16px;
  margin-top: 8px;
  color: #174b3c;
  text-align: right;
}

.salary-delta.negative {
  background: #f2c6bd;
}

.salary-delta.negative small {
  color: #803f38;
}

.salary-delta.neutral {
  background: #dbe2de;
}

.salary-explanation {
  align-items: flex-start;
  border-top: 1px solid #35463f;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr 0.65fr;
  margin-top: 24px;
  padding-top: 20px;
}

.salary-explanation p,
.salary-explanation small {
  color: #b8c6c0;
  line-height: 1.6;
  margin: 0;
}

.salary-explanation p {
  font-size: 12px;
}

.salary-explanation small {
  font-size: 9px;
}

/* Scenario e tendenze del mercato */
.market-outlook-heading {
  align-items: flex-start;
  display: flex;
  gap: 22px;
}

.market-outlook-heading .section-heading {
  margin-bottom: 30px;
}

.market-trend-icon {
  background: var(--lime);
  border-radius: 50%;
  display: grid;
  flex: 0 0 auto;
  height: 62px;
  margin-top: 22px;
  place-items: center;
  width: 62px;
}

.market-trend-icon svg {
  fill: none;
  height: 34px;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  width: 34px;
}

.market-outlook-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 42px);
}

.market-outlook-top {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.market-outlook-top h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  margin: 7px 0 0;
}

.market-direction {
  border-radius: 99px;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  padding: 8px 11px;
  text-transform: uppercase;
}

.market-direction.crescita {
  background: #e2f3eb;
  color: #087457;
}

.market-direction.stabile {
  background: #edf1ee;
  color: #53635c;
}

.market-direction.evoluzione {
  background: #e7f0f7;
  color: #35647d;
}

.market-direction.trasformazione {
  background: #fff0d4;
  color: #94600e;
}

.market-direction.contrazione {
  background: #fbe8e5;
  color: #a83c35;
}

.market-outlook-summary {
  color: #34423c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  margin: 28px 0;
  max-width: 1120px;
}

.market-signals {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.market-signals > div {
  border-left: 1px solid var(--line);
  padding: 17px 20px;
}

.market-signals > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.market-signals small,
.market-outlook-details small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-signals b {
  display: block;
  font-size: 14px;
  margin-top: 6px;
}

.market-signals span {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}

.market-outlook-details {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  padding-top: 25px;
}

.market-outlook-details .tag-row {
  margin-top: 11px;
}

@media (max-width: 980px) {
  .salary-outlook {
    margin-left: 20px;
    margin-right: 20px;
  }

  .salary-metrics,
  .salary-metrics.has-transition {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salary-metric:first-child {
    border-radius: 14px 0 0 0;
  }

  .salary-delta {
    border-radius: 0 0 14px 0;
  }
}

@media (max-width: 980px) {
  .salary-outlook {
    border-radius: 16px;
    margin-top: 30px;
    padding: 22px;
  }

  .salary-heading,
  .market-outlook-top {
    display: block;
  }

  .salary-context {
    justify-content: flex-start;
    margin-top: 16px;
  }

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

  .salary-context {
      flex: 1 1 auto;
      max-width: 100%;
      min-width: 0;
      width: 100%;
  }

  .salary-context span {
      max-width: 100%;
      overflow-wrap: anywhere;
      white-space: normal;
  }

  .salary-delta small {
      margin-left: 0;
  }

  .salary-metrics,
  .salary-metrics.has-transition {
    grid-template-columns: 1fr;
  }

  .salary-metric,
  .salary-metric:first-child,
  .salary-delta {
    border-radius: 0;
    min-height: auto;
  }

  .salary-metric:first-child {
    border-radius: 13px 13px 0 0;
  }

  .salary-delta {
    border-radius: 0 0 13px 13px;
  }

  .salary-explanation,
  .market-outlook-details,
  .market-signals {
    grid-template-columns: 1fr;
  }

  .market-outlook-heading {
    gap: 15px;
  }

  .market-trend-icon {
    height: 48px;
    width: 48px;
  }

  .market-trend-icon svg {
    height: 27px;
    width: 27px;
  }

  .market-direction {
    display: inline-block;
    margin-top: 17px;
  }

  .market-signals > div,
  .market-signals > div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 13px 0;
  }

  .market-signals > div:first-child {
    border-top: 0;
  }
}

/* Override desktop definitivo: deve restare in fondo al file. */
@media (min-width: 761px) {
  html body .field-control:last-child .info-tooltip > .tooltip-text {
    left: 50%;
    right: auto;
    transform: translate(-50%, 5px);
  }

  html body .field-control:last-child .info-tooltip:hover > .tooltip-text,
  html body .field-control:last-child .info-tooltip:focus > .tooltip-text,
  html body .field-control:last-child .info-tooltip:focus-within > .tooltip-text {
    transform: translate(-50%, 0);
  }

  html body .field-control:last-child .info-tooltip > .tooltip-text::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  html body .training-info-tooltip > .tooltip-text {
    bottom: auto;
    left: 50%;
    right: auto;
    top: calc(100% + 10px);
    transform: translate(-50%, -5px);
    width: 220px;
  }

  html body .training-info-tooltip:hover > .tooltip-text,
  html body .training-info-tooltip:focus > .tooltip-text,
  html body .training-info-tooltip:focus-within > .tooltip-text {
    transform: translate(-50%, 0);
  }

  html body .training-info-tooltip > .tooltip-text::after {
    border-bottom: 6px solid var(--ink);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 0;
    bottom: 100%;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }
}


/* Menu account nella homepage */
.root-header-auth {
  margin-left: auto;
}

.root-user-header-actions,
.user-header-actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.user-header-divider {
  background: var(--line);
  height: 24px;
  width: 1px;
}

.user-account-menu {
  position: relative;
}

.user-account-trigger {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  padding: 16px 0;
}

.user-account-trigger span {
  color: var(--green);
  margin-left: 5px;
  top: -3px !important;
  position: relative;
}

.user-credit-link {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 2px;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}

.user-credit-link b {
  color: var(--green);
}

.user-credit-link small {
  color: var(--muted);
  font-size: 10px;
}

.user-account-dropdown {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(20, 39, 31, 0.16);
  display: grid;
  min-width: 250px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 2px);
  z-index: 50;
}

.user-account-dropdown[hidden] {
  display: none;
}

.user-account-identity {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 3px;
  margin: 2px 5px 7px;
  padding: 10px 8px 14px;
}

.user-account-identity small {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-account-dropdown a,
.user-account-dropdown button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  padding: 11px 12px;
  text-align: left;
  text-decoration: none;
}

.user-account-dropdown a:hover,
.user-account-dropdown button:hover {
  background: #f1f7f3;
  color: var(--green);
}

@media (max-width: 700px) {
  .root-user-header-actions {
    gap: 10px;
  }

  .root-user-header-actions .user-header-divider {
    display: none;
  }

  .root-user-header-actions .user-credit-link {
    font-size: 11px;
  }

  .root-user-header-actions .user-credit-link small {
    display: none;
  }

  .root-user-header-actions .user-account-dropdown {
    position: fixed;
    right: 16px;
    top: 60px;
  }
}

@media (max-width: 480px) {
  .root-user-header-actions .user-credit-link {
    display: none;
  }
}

/*
|--------------------------------------------------------------------------
| Pulsante torna in alto
|--------------------------------------------------------------------------
*/

.scroll-top-button {
    align-items: center;
    background: #0d7f63;
    border: 0;
    border-radius: 50%;
    bottom: 28px;
    box-shadow: 0 10px 28px rgba(11, 39, 31, 0.22);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    height: 52px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 28px;
    transform: translateY(14px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease;
    visibility: hidden;
    width: 52px;
    z-index: 1000;
}

.scroll-top-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.scroll-top-button:hover {
    background: #0a684f;
    transform: translateY(-2px);
}

.scroll-top-button:focus-visible {
    outline: 3px solid rgba(13, 127, 99, 0.3);
    outline-offset: 4px;
}

.scroll-top-button svg {
    fill: none;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 23px;
}

@media (max-width: 760px) {
    .scroll-top-button {
        bottom: 50px;
        height: 46px;
        right: 18px;
        width: 46px;
    }

    .scroll-top-button svg {
        height: 21px;
        width: 21px;
    }
}


.auth-form input[type="checkbox"] {
    appearance: auto;
    flex: 0 0 auto;
    height: 16px;
    margin: 1px 0 0;
    padding: 0;
    width: 16px;
}

.auth-consent-label,
.consent-group label {
    align-items: flex-start;
    display: flex;
    gap: 9px;
    line-height: 1.45;
    font-weight: 300;
}

.auth-consent-label input[type="checkbox"],
.consent-group label input[type="checkbox"] {
    margin-top: 2px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
.site-header,
.hero,
.report,
.report-section,
.how-it-works,
.upload-panel {
    max-width: 100%;
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}
@media (max-width: 760px) {
    .site-header {
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
        position: fixed;
        width: 100%;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        overflow: hidden;
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        padding-top:120px!important;
    }

    .hero-copy,
    .upload-panel,
    .field-grid,
    .field-control {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    body.is-authenticated .hero:not([hidden]) {
        grid-template-columns: minmax(0, 1fr);
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    body.is-authenticated .hero:not([hidden]) .upload-panel {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .report-section {
      margin: auto;
    }
}

/*
|--------------------------------------------------------------------------
| Piano di aggiornamento professionale — CTA dopo il report
|--------------------------------------------------------------------------
*/

.growth-plan-entry {
    border-bottom: 1px solid var(--line);
    margin: 0 50px;
    padding:
        0
        clamp(20px, 6vw, 92px)
        70px;
}

.growth-plan-entry-loading {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 130px;
}

.growth-plan-entry-spinner {
  animation: growth-plan-spin .8s linear infinite;
  border: 3px solid #dce5df;
  border-radius: 50%;
  border-top-color: var(--green);
  display: inline-block;
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

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

.growth-plan-card {
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 8%, rgba(221, 235, 130, .30), transparent 28%),
    linear-gradient(135deg, #f4f0e5, #ffffff 72%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(20, 39, 31, .10);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.growth-plan-card.is-active {
  background:
    radial-gradient(circle at 8% 8%, rgba(221, 235, 130, .34), transparent 30%),
    #fff;
}

.growth-plan-card.is-generating {
  align-items: center;
}

.growth-plan-card.is-error {
  display: block;
}

.growth-plan-card h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 10px 0 18px;
}

.growth-plan-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.growth-plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.growth-plan-features span {
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #43534c;
  font-size: 12px;
  font-weight: 750;
  padding: 8px 11px;
}

.growth-plan-config,
.growth-plan-progress-panel {
  align-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.growth-plan-config label {
  color: #42504a;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.growth-plan-config select {
  background: #fff;
  border: 1px solid #cad2cd;
  border-radius: 11px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 13px 14px;
  width: 100%;
}

.growth-plan-config select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 116, 89, .1);
}

.growth-plan-config > small {
  color: var(--muted);
  display: block;
  line-height: 1.45;
  margin-top: 11px;
}

.growth-plan-primary-button,
.growth-plan-primary-link,
.growth-plan-secondary-button {
  align-items: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  justify-content: space-between;
  text-decoration: none;
}

.growth-plan-primary-button,
.growth-plan-primary-link {
  background: var(--green);
  color: #fff;
  margin-top: 20px;
  padding: 15px 17px;
  width: 100%;
}

.growth-plan-primary-button:hover:not(:disabled),
.growth-plan-primary-link:hover {
  background: #07543f;
  transform: translateY(-1px);
}

.growth-plan-primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.growth-plan-primary-button b,
.growth-plan-primary-link b {
  font-size: 21px;
}

.growth-plan-secondary-button {
  background: var(--ink);
  color: #fff;
  margin-top: 20px;
  padding: 13px 17px;
}

.growth-plan-feedback {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 13px !important;
}

.growth-plan-feedback.is-error {
  color: var(--red);
}

.growth-plan-generation-status {
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  min-width: 290px;
  padding: 20px;
}

.growth-plan-generation-status b,
.growth-plan-generation-status small {
  display: block;
}

.growth-plan-generation-status small {
  color: var(--muted);
  margin-top: 4px;
}

.growth-plan-progress-head {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
}

.growth-plan-progress-head b {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}

.growth-plan-progress-head span {
  color: var(--muted);
  font-size: 12px;
}

.growth-plan-progress-track {
  appearance: none;
  -webkit-appearance: none;
  background: #e2e8e4;
  border: 0;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  width: 100%;
}

.growth-plan-progress-track::-webkit-progress-bar {
  background: #e2e8e4;
  border-radius: 999px;
}

.growth-plan-progress-track::-webkit-progress-value {
  background: var(--green);
  border-radius: 999px;
}

.growth-plan-progress-track::-moz-progress-bar {
  background: var(--green);
  border-radius: 999px;
}

@media (max-width: 850px) {
  .growth-plan-entry {
    margin-left: 0;
    margin-right: 0;
  }

  .growth-plan-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .growth-plan-entry {
    padding-left: 14px;
    padding-right: 14px;
  }

  .growth-plan-card {
    border-radius: 18px;
    gap: 26px;
    padding: 24px 20px;
  }
}


.growth-plan-card.is-other-report {
  align-items: center;
  background:
    radial-gradient(circle at 8% 8%, rgba(213, 138, 22, .14), transparent 28%),
    linear-gradient(135deg, #faf7ef, #ffffff 72%);
}

.growth-plan-card.is-other-report .mini-label {
  color: #9b6816;
}

.growth-plan-other-actions {
  align-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}


/* Piano già concluso nel Job Report */
.growth-plan-card.is-completed {
    border-color: #a8cfb7;
    background:
        radial-gradient(circle at top right, rgba(221, 235, 130, .58), transparent 38%),
        linear-gradient(135deg, #f3f8ee, #ffffff);
}

.growth-plan-card.is-completed .mini-label {
    color: #0c7459;
}

.growth-plan-completed-panel {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 230px;
}

.growth-plan-completed-panel > strong {
    color: #0c7459;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
}

.growth-plan-completed-panel > span {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

/*
|--------------------------------------------------------------------------
| Home - Dicono di noi
|--------------------------------------------------------------------------
*/

.jobscale-testimonials {
    margin: 100px 0 0;
}

.jobscale-testimonials-heading {
    margin: 0 auto 44px;
    text-align: center;
    color: #797979;
}

.jobscale-paypal-heading {
    margin: 0 auto 44px;
    text-align: center;
    color: #797979;
}

.jobscale-testimonials-heading > span {
    color: var(--green);
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.jobscale-testimonials-slider {
    overflow: hidden;
    width: 100%;
}

.jobscale-testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.jobscale-testimonial-card {
    background: #f8faf7;
    border: 1px solid rgba(12, 116, 89, 0.10);
    border-radius: 18px;
    display: flex;
    flex: 0 0 calc((100% - 60px) / 4);
    flex-direction: column;
    min-height: 285px;
    padding: 28px;
}

.jobscale-testimonial-quote {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    height: 42px;
    line-height: 1;
    margin-bottom: 12px;
}

.jobscale-testimonial-card p {
    color: #53615b;
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.jobscale-testimonial-card strong {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 14px;
    gap: 10px;
}

.jobscale-testimonial-card strong::before {
    background: var(--lime);
    border-radius: 50%;
    content: "";
    display: block;
    height: 9px;
    width: 9px;
}


/*
|--------------------------------------------------------------------------
| Dicono di noi - Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

    .jobscale-testimonial-card {
        flex-basis: calc((100% - 20px) / 2);
    }

}


@media (max-width: 640px) {

    .jobscale-testimonials {
        margin-top: 70px;
    }

    .jobscale-testimonials-heading {
        margin-bottom: 32px;
        text-align: left;
    }

    .jobscale-testimonials-heading h2 {
        font-size: 38px;
    }

    .jobscale-testimonials-track {
        gap: 16px;
    }

    .jobscale-testimonial-card {
        flex-basis: 100%;
        min-height: 250px;
        padding: 24px;
    }

}

/*
|--------------------------------------------------------------------------
| CV Profile - responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .cv-profile-intro {
        display: block;
        margin-bottom: 28px;
    }

    .cv-profile-summary {
        border-left: 0;
        border-top: 1px solid var(--line);
        display: block;
        margin-top: 28px;
        padding: 22px 0 0;
    }

    .cv-profile-summary .mini-label {
        display: block;
    }

    .cv-profile-summary strong {
        margin: 10px 0 8px;
    }

    .cv-profile-summary p {
        max-width: none;
    }
}

/*
|--------------------------------------------------------------------------
| Week Mail promo · Job Report + Home
|--------------------------------------------------------------------------
*/

.weekly-jobs-nudge {
    background: var(--green);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    bottom: 24px;
    box-shadow: 0 18px 48px rgba(12, 49, 39, 0.24);
    color: #fff;
    left: 24px;
    max-width: min(330px, calc(100vw - 32px));
    opacity: 0;
    padding: 20px 44px 19px 20px;
    position: fixed;
    transform: translateY(18px);
    transition: opacity .22s ease, transform .22s ease;
    width: 330px;
    z-index: 999998;
}

.weekly-jobs-nudge.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.weekly-jobs-nudge > span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 8px;
}

.weekly-jobs-nudge strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.18;
}

.weekly-jobs-nudge a {
    color: var(--lime);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    margin-top: 14px;
    text-decoration: none;
}

.weekly-jobs-nudge a:hover,
.weekly-jobs-nudge a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.weekly-jobs-nudge-close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 7px;
    position: absolute;
    right: 8px;
    top: 7px;
}

.weekly-jobs-nudge-close:hover,
.weekly-jobs-nudge-close:focus-visible {
    color: #fff;
}

.jobscale-weekmail-promo {
    align-items: center;
    background: var(--green);
    border-radius: 18px;
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 72px auto 0;
    max-width: 950px;
    padding: 6px 30px;
}

.jobscale-weekmail-promo-icon {
    align-items: center;
    background: var(--lime);
    border-radius: 50%;
    color: var(--green);
    display: flex;
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.jobscale-weekmail-promo span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 7px;
}

.jobscale-weekmail-promo h3 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

.jobscale-weekmail-promo p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.55;
    margin: 8px 0 0;
    max-width: 700px;
}

.jobscale-weekmail-promo > a {
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.jobscale-weekmail-promo > a:hover,
.jobscale-weekmail-promo > a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jobscale-weekmail-promo-visual {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 145px;
}

.jobscale-weekmail-promo-image {
    display: block;
    height: auto;
    max-width: 100%;
    width: 145px;
}

@media (max-width: 760px) {
    .weekly-jobs-nudge {
        bottom: 16px;
        left: 16px;
        width: calc(100vw - 32px);
    }

    .jobscale-weekmail-promo {
        align-items: center;
        gap: 16px;
        grid-template-columns: auto minmax(0, 1fr) 100px;
        margin-top: 52px;
        padding: 22px;
    }

    .jobscale-weekmail-promo-visual {
        width: 100px;
    }

    .jobscale-weekmail-promo-image {
        width: 100px;
    }
}

@media (max-width: 520px) {
    .jobscale-weekmail-promo {
        align-items: start;
        grid-template-columns: auto 1fr;
    }

    .jobscale-weekmail-promo-icon {
        height: 42px;
        width: 42px;
    }

    .jobscale-weekmail-promo-visual {
        grid-column: 2;
        justify-content: flex-end;
        width: 100%;
    }

    .jobscale-weekmail-promo-image {
        width: 95px;
    }
}

/*
|--------------------------------------------------------------------------
| Footer social
|--------------------------------------------------------------------------
*/

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 12px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    opacity: .8;
    transition:
        opacity .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    opacity: 1;
    border-color: #fff;
    transform: translateY(-1px);
}

.footer-legal {
    text-align: center;
}

    .primary-button.jobscale-closing-button-mobile {
        display: inline-flex;
    }

    .primary-button.jobscale-closing-button-desktop {
        display: none;
    }

    @media (min-width: 780px) {
        .primary-button.jobscale-closing-button-mobile {
            display: none;
        }

        .primary-button.jobscale-closing-button-desktop {
            display: inline-flex;
        }
    }

/*
|--------------------------------------------------------------------------
| Home - Blog / Lavoro decoded
|--------------------------------------------------------------------------
*/
.root-header-nav{align-items:center;display:flex;gap:20px;margin-left:auto}.root-header-nav .root-header-auth{margin-left:0}.root-blog-link{font-weight:800;letter-spacing:.12em;text-decoration:none}.root-blog-link:hover{color:var(--green)}
.jobscale-blog-home{background:#f3f0e7;padding:clamp(72px,8vw,112px) clamp(20px,7vw,110px)}
.jobscale-blog-home-head{align-items:end;display:grid;gap:50px;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);margin:0 auto 46px;max-width:1500px}.jobscale-blog-home-head .section-index{color:var(--green);margin-bottom:20px}.jobscale-blog-home-head h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.5vw,78px);font-weight:400;letter-spacing:-.05em;line-height:.98;margin:0}.jobscale-blog-home-head h2 em{color:var(--green);font-weight:400}.jobscale-blog-home-manifesto{border-left:1px solid rgba(23,36,31,.18);padding-left:34px}.jobscale-blog-home-manifesto>span,.jobscale-blog-home-empty>span{color:var(--green);display:block;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:11px}.jobscale-blog-home-manifesto p{color:#53615b;font-size:14px;line-height:1.65;margin:0 0 14px}.jobscale-blog-home-manifesto a,.jobscale-blog-home-empty a{color:var(--green);font-size:12px;font-weight:900;text-decoration:none}.jobscale-blog-home-grid{display:grid;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 auto;max-width:1500px;padding-top: 50px;}.jobscale-blog-home-card{background:#fff;border:1px solid rgba(23,36,31,.11);border-radius:20px;display:flex;flex-direction:column;overflow:hidden}.jobscale-blog-home-image{aspect-ratio:3/2;background:linear-gradient(135deg,var(--ink),var(--green));display:block;overflow:hidden;text-decoration:none}.jobscale-blog-home-image img{display:block;height:100%;object-fit:cover;transition:transform .35s ease;width:100%}.jobscale-blog-home-card:hover .jobscale-blog-home-image img{transform:scale(1.025)}.jobscale-blog-home-image>span{color:var(--lime);display:grid;font-family:Georgia,serif;font-size:64px;height:100%;place-items:center}.jobscale-blog-home-card>div{display:flex;flex:1;flex-direction:column;padding:22px 23px 24px}.jobscale-blog-home-meta{color:var(--green)!important;display:flex;font-size:10px!important;font-weight:900;justify-content:space-between;letter-spacing:.07em;margin:0!important;text-transform:uppercase}.jobscale-blog-home-card h3{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:400;line-height:1.12;margin:14px 0 11px}.jobscale-blog-home-card h3 a{color:var(--ink);text-decoration:none}.jobscale-blog-home-card>div>p:not(.jobscale-blog-home-meta){color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 20px}.jobscale-blog-home-read{color:var(--green);font-size:12px;font-weight:900;margin-top:auto;text-decoration:none}.jobscale-blog-home-empty{background:var(--ink);border-radius:22px;color:#fff;margin:0 auto;max-width:1500px;padding:32px clamp(24px,4vw,52px)}.jobscale-blog-home-empty>span{color:var(--lime)}.jobscale-blog-home-empty strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,2.5vw,36px);font-weight:400;line-height:1.2;margin-bottom:18px;max-width:1100px}.jobscale-blog-home-empty a{color:var(--lime)}
@media(max-width:980px){.jobscale-blog-home-head{grid-template-columns:1fr}.jobscale-blog-home-manifesto{border-left:0;border-top:1px solid rgba(23,36,31,.18);padding-left:0;padding-top:24px}.jobscale-blog-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.root-header-nav{gap:12px}.root-blog-link{font-size:10px}.jobscale-blog-home{padding:64px 20px}.jobscale-blog-home-head h2{font-size:46px}.jobscale-blog-home-grid{grid-template-columns:1fr}}

.jobscale-blog-home-all {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.jobscale-blog-home-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.jobscale-blog-home-all-button:hover {
    background: var(--green);
}