/* ==========================================================================
   N Capital — tema del gestionale (stesso stile del sito ncapital.it)
   ========================================================================== */

:root {
  --nc-ink: #0a1a4a;
  --nc-ink-2: #4a5878;
  --nc-ink-3: #8a95ae;
  --nc-bg: #f4f7fc;
  --nc-bg-3: #ebf0fa;
  --nc-line: rgba(10, 26, 74, .08);
  --nc-brand: #1f3fbf;
  --nc-brand-2: #142c8e;
  --nc-navy: #0b2170;
  --nc-accent: #0c9a72;
  --nc-accent-light: #3fe0a8;
  --nc-grad: linear-gradient(120deg, #1f3fbf, #2f6bf0 45%, #0fb487);
  --nc-grad-dark: radial-gradient(120% 140% at 100% 0%, #1f3fbf 0%, #0b2170 45%, #071652 100%);
  --nc-radius: 20px;
  --nc-shadow: 0 1px 2px rgba(10, 26, 74, .04), 0 8px 28px -12px rgba(10, 26, 74, .14);
  --nc-serif: "Instrument Serif", "Times New Roman", serif;
}

.fi-body { -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
html:not(.dark) .fi-body { background: var(--nc-bg); color: var(--nc-ink); }
::selection { background: var(--nc-brand); color: #fff; }

/* Titoli in stile sito: compatti, con corsivo serif a gradiente */
.fi-header-heading { letter-spacing: -.035em; font-weight: 600; }
html:not(.dark) .fi-header-heading { color: var(--nc-ink); }
.fi-header-subheading { max-width: 60ch; }
.fi-body em { font-family: var(--nc-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.nc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--nc-accent); margin: 0 0 14px;
}
.nc-eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.nc-eyebrow--light { color: var(--nc-accent-light); }

/* ---------- Barra laterale e barra superiore ---------- */
html:not(.dark) .fi-sidebar { background: #fff; border-right: 1px solid var(--nc-line); }
html:not(.dark) .fi-sidebar-header { background: #fff; box-shadow: none; border-bottom: 1px solid var(--nc-line); }
html:not(.dark) .fi-topbar > nav { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: none; border-bottom: 1px solid var(--nc-line); }
.fi-sidebar-group-label { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.fi-sidebar-item-button { border-radius: 12px; transition: background-color .2s ease; }
.fi-sidebar-item-active .fi-sidebar-item-button { background: var(--nc-grad) !important; box-shadow: 0 8px 20px -10px rgba(31, 63, 191, .7); }
.fi-sidebar-item-active .fi-sidebar-item-label,
.fi-sidebar-item-active .fi-sidebar-item-icon { color: #fff !important; }

/* ---------- Superfici ---------- */
html:not(.dark) .fi-section,
html:not(.dark) .fi-ta-ctn,
html:not(.dark) .fi-wi-stats-overview-stat,
html:not(.dark) .fi-fo-repeater-item,
html:not(.dark) .fi-modal-window {
  box-shadow: var(--nc-shadow);
  --tw-ring-color: var(--nc-line);
}
.fi-section, .fi-ta-ctn, .fi-wi-stats-overview-stat { border-radius: var(--nc-radius) !important; }
.fi-section-header-heading { letter-spacing: -.02em; font-size: 1.05rem; }
.fi-fo-repeater-item { border-radius: 14px !important; }
html:not(.dark) .fi-fo-repeater-item { box-shadow: none; background: var(--nc-bg); }

.fi-btn { border-radius: 999px !important; font-weight: 600; letter-spacing: -.005em; }
.fi-input-wrp { border-radius: 12px !important; }
.fi-badge { border-radius: 999px !important; }

/* Statistiche */
.fi-wi-stats-overview-stat-value { letter-spacing: -.04em; font-weight: 600; }
html:not(.dark) .fi-wi-stats-overview-stat-value { color: var(--nc-ink); }

/* ---------- Dashboard: benvenuto ---------- */
.nc-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px; color: #fff;
  background: var(--nc-grad-dark);
  box-shadow: 0 30px 60px -30px rgba(11, 33, 112, .7);
}
.nc-hero__glow {
  position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 224, 168, .35), transparent 65%);
  filter: blur(10px); animation: nc-float 12s ease-in-out infinite alternate;
}
.nc-hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(100deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000);
}
.nc-hero__title { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.nc-hero__title em { background: linear-gradient(120deg, #a9c1ff, #3fe0a8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.nc-hero__text { margin: 14px 0 0; max-width: 52ch; color: #c6d0f2; font-size: 15px; line-height: 1.55; }
.nc-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nc-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease, color .2s ease;
}
.nc-btn:hover { transform: translateY(-2px); }
.nc-btn--light { background: #fff; color: var(--nc-navy); }
.nc-btn--light:hover { background: var(--nc-accent-light); }
.nc-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.nc-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
@keyframes nc-float { to { transform: translate(-60px, -40px) scale(1.1); } }

/* ---------- Compila contratti ---------- */
.nc-compile { display: grid; gap: 24px; align-items: start; }
.nc-compile__form { display: grid; gap: 24px; min-width: 0; }
.nc-compile__form > div { display: contents; }
@media (min-width: 1100px) {
  .nc-compile { grid-template-columns: minmax(0, 1fr) 360px; }
  .nc-compile__aside { position: sticky; top: 88px; }
}

/* sezioni numerate */
.nc-step .fi-section-header { position: relative; padding-left: 4.25rem; }
.nc-step .fi-section-header-icon { display: none; }
.nc-step .fi-section-header::before {
  position: absolute; left: 1.5rem; top: 1.15rem;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--nc-grad); color: #fff; font-weight: 600; font-size: 14px;
}
.nc-step[data-step="1"] .fi-section-header::before { content: "1"; }
.nc-step[data-step="2"] .fi-section-header::before { content: "2"; }
.nc-step[data-step="3"] .fi-section-header::before { content: "3"; }
.nc-step[data-step="4"] .fi-section-header::before { content: "4"; }
.nc-step[data-step="5"] .fi-section-header::before { content: "5"; }

/* scheda cedente */
.nc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--nc-bg); }
.dark .nc-facts { background: rgba(255, 255, 255, .04); }
.nc-facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--nc-ink-3); }
.nc-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; word-break: break-word; }

/* riepilogo */
.nc-summary { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--nc-shadow); border: 1px solid var(--nc-line); }
.dark .nc-summary { background: rgb(17 24 39); border-color: rgba(255, 255, 255, .08); }
.nc-summary__head { position: relative; padding: 26px 24px 24px; color: #fff; background: var(--nc-grad-dark); }
.nc-summary__head .nc-eyebrow { margin-bottom: 18px; }
.nc-summary__label { margin: 0; font-size: 13px; color: #c6d0f2; }
.nc-summary__net {
  margin: 4px 0 0; font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05;
  font-variant-numeric: tabular-nums; transition: opacity .2s ease;
}
.nc-summary__net.is-updating { opacity: .55; }
.nc-summary__hint { margin: 6px 0 0; font-size: 12px; color: #9fb0e6; }
.nc-summary__rows, .nc-summary__years { margin: 0; padding: 14px 24px; display: grid; gap: 10px; }
.nc-summary__rows > div, .nc-summary__years > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.nc-summary__rows dt span { display: block; font-size: 12px; color: var(--nc-ink-3); }
.nc-summary__rows dd, .nc-summary__years dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nc-summary__rows .is-minus dd { color: #c2410c; font-weight: 500; }
.dark .nc-summary__rows .is-minus dd { color: #fdba74; }
.nc-summary__years { border-top: 1px solid var(--nc-line); background: var(--nc-bg); }
.dark .nc-summary__years { background: rgba(255, 255, 255, .03); }
.nc-summary__warning { margin: 0 24px 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4; color: #92400e; background: #fef3c7; }
.nc-summary__who { display: grid; gap: 12px; margin: 0 24px; padding: 16px 0; border-top: 1px solid var(--nc-line); }
.nc-summary__who span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--nc-ink-3); }
.nc-summary__who strong { font-size: 14px; font-weight: 600; }
.nc-summary__who ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; list-style: disc; color: var(--nc-ink-2); }
.dark .nc-summary__who ul { color: #cbd5e1; }
.nc-summary__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 24px 0; }
.nc-summary__cta { background: var(--nc-grad) !important; }
.nc-summary__actions--single { grid-template-columns: 1fr; }
.nc-summary__loading { margin: 10px 24px 0; font-size: 13px; font-weight: 500; color: var(--nc-brand); text-align: center; }
.nc-summary__note { margin: 10px 24px 22px; font-size: 12px; line-height: 1.45; color: var(--nc-ink-3); text-align: center; }

/* ---------- Accesso ---------- */
.fi-simple-layout { position: relative; }
html:not(.dark) .fi-simple-layout { background: transparent; }
.fi-simple-main { border-radius: 28px !important; box-shadow: var(--nc-shadow) !important; }
.fi-simple-header-heading { letter-spacing: -.035em; }
.nc-login-aside { display: none; }
@media (min-width: 1024px) {
  .nc-login-aside {
    position: fixed; inset: 16px auto 16px 16px; z-index: 1; width: calc(50% - 24px);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px; border-radius: 32px; color: #fff; overflow: hidden; isolation: isolate;
    background: var(--nc-grad-dark);
  }
  .nc-login-aside::before {
    content: ""; position: absolute; z-index: -1; right: -20%; bottom: -30%; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 224, 168, .35), transparent 65%);
    animation: nc-float 12s ease-in-out infinite alternate;
  }
  .nc-login-aside::after {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(160deg, transparent 35%, #000);
    -webkit-mask-image: linear-gradient(160deg, transparent 35%, #000);
  }
  .nc-login-aside__logo { width: 180px; height: auto; }
  .nc-login-aside__title { margin: 0; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
  .nc-login-aside__title em { font-family: var(--nc-serif); font-style: italic; font-weight: 400; background: linear-gradient(120deg, #a9c1ff, #3fe0a8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
  .nc-login-aside__text { margin: 18px 0 0; max-width: 40ch; color: #c6d0f2; line-height: 1.55; }
  .nc-login-aside__foot { margin: 0; font-size: 13px; color: #9fb0e6; }
  .fi-simple-layout:has(~ .nc-login-aside), .nc-login-aside ~ .fi-simple-layout { padding-left: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .nc-hero__glow, .nc-login-aside::before { animation: none; }
  .nc-btn { transition: none; }
}

/* ---------- Assistente IA ---------- */
.nc-chat { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; width: 100%; }
.nc-chat__notice { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #fef3c7; color: #92400e; font-size: 14px; }
.nc-chat__thread { display: flex; flex-direction: column; gap: 18px; min-height: 40vh; }
.nc-chat__welcome { text-align: center; padding: 40px 16px 8px; }
.nc-chat__orb { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; color: #fff; background: var(--nc-grad); box-shadow: 0 18px 40px -16px rgba(31, 63, 191, .7); }
.nc-chat__welcome h2 { margin: 18px 0 8px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.035em; }
.nc-chat__welcome p { margin: 0 auto; max-width: 52ch; color: var(--nc-ink-2); line-height: 1.55; }
.dark .nc-chat__welcome p { color: #cbd5e1; }
.nc-chat__suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.nc-chat__suggestions button { padding: 9px 14px; border-radius: 999px; font-size: 13px; background: #fff; border: 1px solid var(--nc-line); color: var(--nc-ink); transition: border-color .2s, transform .2s; text-align: left; }
.nc-chat__suggestions button:hover { border-color: var(--nc-brand); transform: translateY(-1px); }
.dark .nc-chat__suggestions button { background: rgba(255,255,255,.04); color: #e2e8f0; border-color: rgba(255,255,255,.1); }

.nc-msg { display: flex; gap: 10px; align-items: flex-start; }
.nc-msg--user { justify-content: flex-end; }
.nc-msg__avatar { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: var(--nc-grad); margin-top: 2px; }
.nc-msg__bubble { max-width: min(680px, 88%); padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.55; }
.nc-msg--user .nc-msg__bubble { color: #fff; background: var(--nc-grad); border-bottom-right-radius: 6px; }
.nc-msg--bot .nc-msg__bubble { background: #fff; border: 1px solid var(--nc-line); border-top-left-radius: 6px; box-shadow: var(--nc-shadow); }
.dark .nc-msg--bot .nc-msg__bubble { background: rgb(17 24 39); border-color: rgba(255,255,255,.08); }
.nc-msg--error .nc-msg__bubble { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.nc-msg__text p { margin: 0 0 8px; } .nc-msg__text p:last-child { margin-bottom: 0; }
.nc-msg__text ul, .nc-msg__text ol { margin: 4px 0 8px; padding-left: 20px; list-style: disc; } .nc-msg__text ol { list-style: decimal; }
.nc-msg__text strong { font-weight: 600; }
.nc-msg__text table { width: 100%; margin: 8px 0; font-size: 14px; border-collapse: collapse; } .nc-msg__text td, .nc-msg__text th { padding: 4px 8px; border-bottom: 1px solid var(--nc-line); text-align: left; }
.nc-msg__files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.nc-msg__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nc-action { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--nc-line); color: var(--nc-ink); background: var(--nc-bg); transition: transform .2s; }
.nc-action:hover { transform: translateY(-1px); border-color: var(--nc-brand); }
.nc-action--primary { color: #fff; border-color: transparent; background: var(--nc-grad); }
.dark .nc-action:not(.nc-action--primary) { color: #e2e8f0; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.nc-file { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,.18); }
.nc-msg--bot .nc-file, .nc-composer .nc-file { background: var(--nc-bg-3); color: var(--nc-ink); }
.nc-file button { margin-left: 2px; font-size: 15px; line-height: 1; opacity: .6; } .nc-file button:hover { opacity: 1; }

.nc-typing { display: flex; align-items: center; gap: 5px; }
.nc-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--nc-brand); animation: nc-dot 1.2s infinite ease-in-out; }
.nc-typing span:nth-child(2) { animation-delay: .15s; } .nc-typing span:nth-child(3) { animation-delay: .3s; }
.nc-typing em { margin-left: 8px; font-style: normal; font-family: inherit; font-size: 13px; color: var(--nc-ink-3); }
@keyframes nc-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.nc-composer { position: sticky; bottom: 12px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--nc-line); box-shadow: 0 20px 50px -24px rgba(10, 26, 74, .35); }
.dark .nc-composer { background: rgba(17, 24, 39, .92); border-color: rgba(255,255,255,.08); }
.nc-composer__files { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 4px 8px; }
.nc-composer__error { margin: 0 6px 6px; font-size: 13px; color: #be123c; }
.nc-composer__row { display: flex; align-items: flex-end; gap: 8px; }
.nc-composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 200px; padding: 11px 6px; border: 0; background: transparent; font: inherit; font-size: 15px; color: inherit; box-shadow: none !important; outline: none; }
.nc-composer__attach, .nc-composer__send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; transition: background-color .2s, transform .2s; }
.nc-composer__attach { color: var(--nc-ink-2); } .nc-composer__attach:hover { background: var(--nc-bg-3); }
.nc-composer__send { color: #fff; background: var(--nc-grad); } .nc-composer__send:hover { transform: translateY(-1px); }
.nc-composer__send:disabled { opacity: .5; cursor: default; transform: none; }
.nc-composer__foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 6px 8px 0; font-size: 12px; color: var(--nc-ink-3); }
.nc-composer__foot button { font-weight: 600; color: var(--nc-brand); }

/* trascinamento file sull'assistente */
.nc-drop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(11, 33, 112, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.nc-drop__box { display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(520px, 100%); padding: 44px 28px; border-radius: 28px; text-align: center; color: var(--nc-brand); background: #fff; border: 2px dashed var(--nc-brand); box-shadow: 0 30px 60px -30px rgba(11, 33, 112, .6); }
.nc-drop__box strong { font-size: 20px; letter-spacing: -.02em; color: var(--nc-ink); }
.nc-drop__box span { font-size: 14px; color: var(--nc-ink-2); }
.dark .nc-drop__box { background: rgb(17 24 39); }
.dark .nc-drop__box strong { color: #fff; }
[x-cloak] { display: none !important; }

/* ---------- Pratiche: percorso, avvisi, tabelle ---------- */
.nc-steps { display: flex; gap: 4px; overflow-x: auto; padding: 4px 0 6px; margin: 0; list-style: none; }
.nc-step { flex: 1 1 0; min-width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; }
.nc-step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--nc-line); }
.nc-step.is-done:not(:last-child)::after { background: var(--nc-accent); }
.nc-step-dot { width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--nc-bg-3); color: var(--nc-ink-3); }
.nc-step.is-done .nc-step-dot { background: var(--nc-accent); color: #fff; }
.nc-step.is-current .nc-step-dot { background: var(--nc-brand); color: #fff; box-shadow: 0 0 0 5px rgba(31, 63, 191, .16); }
.nc-step-label { font-size: 12px; line-height: 1.25; color: var(--nc-ink-3); }
.nc-step.is-done .nc-step-label { color: var(--nc-ink-2); }
.nc-step.is-current .nc-step-label { color: var(--nc-ink); font-weight: 600; }
.nc-steps.is-cancelled { opacity: .45; }
.nc-alert { border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.nc-alert:last-child { margin-bottom: 0; }
.nc-alert-warning { background: #fff7e6; color: #8a5300; border: 1px solid #f6d79a; }
.nc-alert-info { background: #eef3ff; color: #142c8e; border: 1px solid #c9d6ff; }
.nc-alert-danger { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.nc-table-wrap { overflow-x: auto; }
.nc-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.nc-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--nc-ink-3); font-weight: 600; padding: 0 16px 8px 0; text-align: left; white-space: nowrap; }
.nc-table td { border-top: 1px solid var(--nc-line); padding: 8px 16px 8px 0; vertical-align: top; }
.nc-table .is-end { text-align: right; }
.nc-table .nc-sub { font-size: 12px; color: var(--nc-ink-3); }
.nc-muted { color: var(--nc-ink-3); }
.nc-txt-warning { color: #b26a00; }
.nc-txt-danger { color: #c02626; }
.dark .nc-step-dot { background: rgba(255,255,255,.08); color: #9aa3b8; }
.dark .nc-step.is-current .nc-step-label { color: #fff; }
.dark .nc-step.is-done .nc-step-label, .dark .nc-step-label { color: #b7bfd2; }
.dark .nc-step:not(:last-child)::after, .dark .nc-table td { border-color: rgba(255,255,255,.1); }
.dark .nc-step:not(:last-child)::after { background: rgba(255,255,255,.1); }
.dark .nc-alert-warning { background: rgba(246, 173, 85, .12); color: #f6c26b; border-color: rgba(246, 173, 85, .3); }
.dark .nc-alert-info { background: rgba(99, 140, 255, .12); color: #a9bfff; border-color: rgba(99, 140, 255, .3); }
.dark .nc-alert-danger { background: rgba(240, 82, 82, .12); color: #f8a5a5; border-color: rgba(240, 82, 82, .3); }
/* le tabelle HTML dentro le voci dell'infolist occupano tutta la larghezza */
.flex.max-w-max:has(> .fi-in-text-item .nc-table-wrap) { max-width: none; width: 100%; }
.fi-in-text-item:has(.nc-table-wrap), .fi-in-text-item:has(.nc-table-wrap) > div { display: block; width: 100%; }
/* su telefono le righe delle tabelle diventano schede */
@media (max-width: 640px) {
  .nc-table thead { display: none; }
  .nc-table tr { display: block; border-top: 1px solid var(--nc-line); padding: 10px 0; }
  .nc-table td { display: block; border: 0; padding: 2px 0; text-align: left; }
  .nc-table .is-end { text-align: left; }
  .dark .nc-table tr { border-color: rgba(255,255,255,.1); }
}

/* ---------- Richiesta account ---------- */
.nc-auth-switch { text-align: center; font-size: 14px; color: var(--nc-ink-2); margin-top: 4px; }
.nc-request-sent { font-size: 14px; line-height: 1.6; color: var(--nc-ink-2); margin-bottom: 20px; }
.nc-request-sent p + p { margin-top: 10px; }
.dark .nc-auth-switch, .dark .nc-request-sent { color: #b7bfd2; }

/* ---------- Dettatura nell'assistente ---------- */
.nc-voice { flex: none; display: flex; align-items: center; gap: 6px; }
.nc-voice__timer { font-size: 12px; font-variant-numeric: tabular-nums; color: #c02626; font-weight: 600; }
.nc-composer__mic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; color: var(--nc-ink-2); background: var(--nc-bg-3); transition: background-color .2s, color .2s; }
.nc-composer__mic:hover { color: var(--nc-brand); }
.nc-composer__mic:disabled { opacity: .6; cursor: default; }
.nc-composer__mic.is-recording { color: #fff; background: #e11d48; animation: nc-rec 1.4s ease-in-out infinite; }
.dark .nc-composer__mic { background: rgba(255,255,255,.08); color: #b7bfd2; }
@keyframes nc-rec { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .45); } 50% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); } }
