/* ---------- modalità demo ---------- */
.lc-demobar { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding: 6px 12px; font-size: .82rem;
  background: linear-gradient(90deg, #FBEAEC, #FBF3E2); color: #8A1A2C; border-bottom: 1px solid #F0D7DB; }
.lc-demobtn { border: 1px solid #B8233B; background: #fff; color: #B8233B; border-radius: 999px; padding: 3px 12px; font: 500 .78rem 'Inter', sans-serif; cursor: pointer; }
.lc-demobtn:hover:not(:disabled) { background: #B8233B; color: #fff; }
.lc-demo-enter { width: 100%; padding: 14px 16px; border: none; border-radius: 14px; font: 600 1rem 'Inter', sans-serif; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #B8233B, #8F1B2E); box-shadow: 0 8px 20px rgba(184,35,59,.3); transition: transform .15s, box-shadow .15s; }
.lc-demo-enter:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184,35,59,.38); }
.lc-demo-note { font-size: .8rem; color: #8A8FA5; margin: 12px 0 18px; }

/* ---------- freschezza (ultimo contatto / feedback) ---------- */
.lc-fresh { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.lc-fresh-item { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; padding: 4px 12px; border-radius: 999px; border: 1px solid transparent; }
.lc-fresh-ok { background: #E6F4EC; color: #1F6B47; border-color: #CBE7D8; }
.lc-fresh-warn { background: #FCF1DC; color: #8A5A10; border-color: #F2DDB0; }
.lc-fresh-old { background: #FBEAEC; color: #8A1A2C; border-color: #F0D0D5; }
.lc-fresh-none { background: #EEF0F7; color: #5F6783; border-color: #DDE1EE; }

/* ---------- timeline del percorso ---------- */
.lc-stat { font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #E8E2D9; color: #5F6783; }
.lc-stat b { color: #1F2A44; }
.lc-tl { position: relative; padding: 0 4px; }
.lc-tl-axis { position: relative; height: 22px; font-size: .72rem; color: #8A8FA5; }
.lc-tl-axis span { position: absolute; transform: translateX(-50%); }
.lc-tl-grid { position: relative; padding: 4px 0; }
.lc-tl-line { position: absolute; top: 0; bottom: 0; width: 1px; background: #EFE9E0; }
.lc-tl-today { position: absolute; top: 0; bottom: 0; width: 2px; background: #B8233B; opacity: .55; z-index: 2; }
.lc-tl-today-key { position: static; display: inline-block; height: 12px; vertical-align: middle; }
.lc-tl-row { position: relative; height: 38px; }
.lc-tl-bar { position: absolute; top: 3px; height: 32px; border: none; border-radius: 10px; padding: 0 12px; color: #fff; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; font: 500 .78rem 'Inter', sans-serif;
  box-shadow: 0 2px 6px rgba(31,42,68,.18); transition: transform .15s, box-shadow .15s; z-index: 1; }
.lc-tl-bar:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,42,68,.25); z-index: 3; }
.lc-tl-bar b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.lc-tl-bar span { opacity: .85; overflow: hidden; text-overflow: ellipsis; }
.lc-b0 { background: linear-gradient(135deg, #B8233B, #D2475D); }
.lc-b1 { background: linear-gradient(135deg, #1F2A44, #3A4A74); }
.lc-b2 { background: linear-gradient(135deg, #1F7A6D, #3FA391); }
.lc-b3 { background: linear-gradient(135deg, #B8801F, #D9A441); }
.lc-b4 { background: linear-gradient(135deg, #6B4A8F, #8E6BB5); }
.lc-b5 { background: linear-gradient(135deg, #2E7D5B, #54A07D); }
.lc-tl-events { position: relative; height: 30px; margin-top: 6px; border-top: 1px dashed #E8E2D9; }
.lc-tl-evlabel { display: none; }
.lc-ev { position: absolute; top: 9px; width: 11px; height: 11px; transform: translateX(-50%); display: inline-block; }
.lc-ev-col { background: #B8233B; border-radius: 50%; }
.lc-ev-prop { background: #1F2A44; transform: translateX(-50%) rotate(45deg); }
.lc-tl-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: .75rem; color: #5F6783; }
.lc-tl-legend .lc-ev { position: static; margin-right: 6px; transform: none; vertical-align: middle; }
.lc-tl-legend .lc-ev-prop { transform: rotate(45deg); }

.lc-vtl { position: relative; padding-left: 26px; }
.lc-vtl::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: #E8E2D9; }
.lc-vtl-item { position: relative; margin-bottom: 14px; }
.lc-vtl-dot { position: absolute; left: -26px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #FAF8F5; box-shadow: 0 0 0 2px #E8E2D9; }
.lc-vtl-card { background: #fff; border: 1px solid #E8E2D9; border-radius: 14px; padding: 12px 16px; }
.lc-vtl-desc { margin: 8px 0 0; color: #5F6783; font-size: .88rem; }

/* ---------- proposte, feedback, trascrizioni ---------- */
.lc-link { color: #B8233B; text-decoration: none; }
.lc-link:hover { text-decoration: underline; }
.lc-fb { margin-top: 10px; border-left: 3px solid #F0D7DB; padding-left: 14px; }
.lc-fb-item { margin-bottom: 8px; font-size: .9rem; }
.lc-transcript { white-space: pre-wrap; font-size: .88rem; color: #3D4560; background: #FAF8F5; border-radius: 10px; padding: 12px; }
.lc-statochip { font-weight: 500; }

/* ---------- pagina iniziale ---------- */
.lc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.lc-kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E8E2D9; color: #5F6783; text-decoration: none; font-size: .85rem;
  transition: transform .2s, box-shadow .2s; }
a.lc-kpi:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31,42,68,.1); }
.lc-kpi-n { font: 600 2.1rem/1 'Fraunces', serif; color: #1F2A44; }
.lc-kpi-good .lc-kpi-n { color: #2E7D5B; }
.lc-todo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0EBE3; color: inherit; text-decoration: none; }
.lc-todo:last-child { border-bottom: none; }
.lc-todo:hover b { color: #B8233B; }
.lc-fb-line { display: block; padding: 10px 0; border-bottom: 1px solid #F0EBE3; color: inherit; text-decoration: none; font-size: .9rem; }
.lc-fb-line:last-child { border-bottom: none; }
.lc-bar { display: grid; grid-template-columns: 130px 1fr 30px; align-items: center; gap: 10px; padding: 5px 0; color: inherit; text-decoration: none; font-size: .85rem; }
.lc-bar-track { height: 10px; background: #F1EDE7; border-radius: 999px; overflow: hidden; }
.lc-bar-fill { display: block; height: 100%; border-radius: 999px; background: #8A8FA5; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.lc-bar-Proposto { background: #3B6FB6; } .lc-bar-InValutazione { background: #C79A3B; } .lc-bar-ColloquioFissato { background: #6B4A8F; }
.lc-bar-Assunto { background: #2E7D5B; } .lc-bar-Scartato { background: #B8233B; } .lc-bar-NessunaRisposta { background: #B5B9C9; }
.lc-bar-n { text-align: right; font-weight: 600; color: #1F2A44; }

.lc-todo .lc-sub { margin-left: 8px; }
