/* VoxTi AI — stessi colori e font di voxtiai.com */
:root {
  --bg: #ffffff;
  --fg: #17181a;
  --dark: #141618;
  --muted: #5e5f63;
  --line: #e4e4e1;
  --soft-bg: #f6f6f3;
  --accent: #a8e6cf;
  --radius: 14px;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 3vw, 44px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--fg); }
a:hover { color: var(--muted); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tenue { color: var(--muted); }
.piccolo { font-size: 13px; display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 24px var(--pad) 48px; }

/* intestazione */
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.top-sx, .top-dx { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.top-dx { gap: 10px; }
.marchio { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; text-decoration: none; display: inline-flex; align-items: baseline; gap: 4px; }
.marchio.grande { font-size: 28px; }
.punto { width: 6px; height: 6px; border-radius: 999px; background: var(--fg); display: inline-block; }
.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.pill.attiva { background: var(--fg); color: #fff; border-color: var(--fg); }
.pill:hover { border-color: var(--fg); color: var(--fg); }
.pill.attiva:hover { color: #fff; }
.stato { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--accent); font-size: 14px; font-weight: 500; }
.pallino { width: 8px; height: 8px; border-radius: 999px; background: var(--fg); }
.esci { font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.scelta-cliente select { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; }

/* titolo grande */
.eroe { padding: 64px 0 40px; }
.eroe.corto { padding: 48px 0 28px; }
.eroe .piccolo { margin-bottom: 14px; }
.titolone { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.5px; }
.sottotitolo { margin: 18px 0 0; font-size: 18px; color: var(--muted); max-width: 640px; }

/* carte e numeri */
.carta { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.carta.scura { background: var(--dark); border-color: var(--dark); color: #c9cacc; }
.numeri { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cifra { font-family: var(--display); font-size: 44px; margin: 10px 0 4px; color: var(--fg); }
.cifra.menta { color: var(--accent); }
.barra { height: 6px; background: #f0f0ed; border-radius: 999px; margin-top: 12px; overflow: hidden; }
.barra div { height: 100%; background: var(--fg); border-radius: 999px; }

/* colonne */
.colonne { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; align-items: flex-start; }
.principale { flex: 999 1 560px; min-width: 0; }
.laterale { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.testa-sezione { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.link { font-size: 14px; }

/* tabella chiamate */
.filtri { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filtro { padding: 7px 13px; border-radius: 999px; font-size: 13px; background: #fff; border: 1px solid var(--line); }
.filtro.attivo { background: var(--fg); color: #fff; border-color: var(--fg); }
.tabella-box { overflow-x: auto; }
.tabella { min-width: 600px; }
.riga { display: grid; grid-template-columns: 82px minmax(0, 1.3fr) minmax(0, 1.6fr) 64px 132px; gap: 12px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.riga.intestazione { font-size: 12px; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.chiamata { width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.chiamata:hover, .chiamata.selezionata { background: var(--soft-bg); }
.chiamata[hidden] { display: none; }
.nome { display: block; font-weight: 500; }
.vuoto { padding: 24px 12px; color: var(--muted); }

.esito { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: #ececE8; }
.esito-appuntamento { background: var(--accent); }
.esito-da-richiamare { background: var(--fg); color: #fff; }
.esito-trasferita { background: transparent; border: 1px solid var(--fg); }

/* dettaglio */
.dettaglio { border-radius: var(--radius); padding: 22px; background: var(--soft-bg); }
.dettaglio-testa { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dettaglio-nome { font-size: 20px; font-weight: 500; margin-top: 4px; }
.lettore { margin-top: 16px; }
.lettore audio { width: 100%; height: 40px; }
.etichetta { font-size: 12px; color: var(--muted); margin-top: 18px; }
.riassunto { margin: 6px 0 0; line-height: 1.5; }
.bolle { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; max-height: 360px; overflow-y: auto; }
.bolla { max-width: 85%; padding: 9px 13px; font-size: 14px; line-height: 1.4; }
.bolla-a { align-self: flex-start; background: #fff; border-radius: 14px 14px 14px 4px; }
.bolla-c { align-self: flex-end; background: var(--fg); color: #fff; border-radius: 14px 14px 4px 14px; }

/* da richiamare */
#richiamare h2 { margin-bottom: 12px; }
.da-fare { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.da-fare input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fg); flex: none; }
.da-fare.fatto > span { text-decoration: line-through; opacity: 0.5; }

/* grafico */
.grafico { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 18px; }
.colonna { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.colonna span { font-size: 11px; color: var(--muted); }
.barretta { width: 100%; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--accent); }
.barretta.picco { background: var(--fg); }

/* ricerca, bottoni, login */
.cerca { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 560px; }
.cerca input { flex: 1 1 260px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); }
.bottone { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--fg); background: #fff; font-weight: 600; }
.bottone.pieno { background: var(--fg); color: #fff; }
.login { max-width: 440px; margin: 10vh auto 0; display: flex; flex-direction: column; gap: 28px; }
.login-form { display: flex; flex-direction: column; gap: 8px; }
.login-form label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.login-form input { padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); }
.login-form input:focus, .cerca input:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
.login-form .bottone { margin-top: 16px; }
.errore { margin: 8px 0 0; color: #a3261b; font-size: 14px; }

.piede { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; font-size: 13px; color: var(--muted); }
