/* CHAT_DOMANDE_ELENCO (08/11/2026). Andrea, con la schermata del saluto («Di che cosa ti occupi?» e sei pillole in fila):
   «il design è osceno». Le domande nel filo (quelle senza «Procedi»: il riquadro di static/domande-claude.js copre le
   altre) prendono la veste del riquadro: una scheda bianca col bordo sottile, la domanda in testa, le risposte in elenco
   con il numero in un quadratino e righe leggere, «Te lo dico io» con la matita. Il clic fa quello che faceva.
   Solo stile: agisce con html.domande-elenco (templates/chat.html), e vince sulle vesti (vetro, macOS, smeraldo). */
html.domande-elenco body #thread .msg-ai .ask {
  max-width: 620px; margin-top: 16px !important; padding: 10px 8px 6px !important;
  border: 1px solid rgba(0, 0, 0, .09) !important; border-radius: 16px !important;
  background: #fff !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .03) !important;
}
html.domande-elenco body #thread .msg-ai .ask.ask-seguito { margin-top: 10px !important; }
html.domande-elenco body #thread .msg-ai .ask .q {
  margin: 4px 10px 6px !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.45;
  color: var(--ink, #1d1d1f) !important;
}
html.domande-elenco body #thread .msg-ai .ask .opts {
  display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important;
  counter-reset: dopz;
}
html.domande-elenco body #thread .msg-ai .ask .opt {
  display: flex !important; align-items: center; gap: 14px; width: 100% !important; box-sizing: border-box;
  min-height: 44px; margin: 0 !important; padding: 7px 10px !important;
  border: 0 !important; border-top: 1px solid rgba(0, 0, 0, .06) !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; transform: none !important;
  font: inherit; font-size: 15px !important; font-weight: 400 !important; line-height: 1.4 !important;
  text-align: left; color: var(--ink, #1d1d1f) !important; cursor: pointer; white-space: normal !important;
}
html.domande-elenco body #thread .msg-ai .ask .opt:first-child { border-top: 0 !important; }
html.domande-elenco body #thread .msg-ai .ask .opt::before {
  counter-increment: dopz; content: counter(dopz);
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(118, 118, 128, .12); color: var(--muted, #6e6e73);
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
}
html.domande-elenco body #thread .msg-ai .ask .opt:hover {
  background: rgba(0, 0, 0, .035) !important; border-radius: 10px !important;
}
html.domande-elenco body #thread .msg-ai .ask .opt:hover + .opt { border-top-color: transparent !important; }
html.domande-elenco body #thread .msg-ai .ask .opt:active { transform: none !important; background: rgba(0, 0, 0, .06) !important; }
html.domande-elenco body #thread .msg-ai .ask .opt.scelta { font-weight: 500 !important; }
html.domande-elenco body #thread .msg-ai .ask .opt.scelta::before { background: var(--accent, #0f6b4c); color: #fff; }
/* «Te lo dico io»: la matita al posto del numero, il testo in grigio */
html.domande-elenco body #thread .msg-ai .ask .opt.opt-libera { color: var(--muted, #6e6e73) !important; }
html.domande-elenco body #thread .msg-ai .ask .opt.opt-libera::before {
  counter-increment: none; content: '';
  background: rgba(118, 118, 128, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E") center / 15px no-repeat;
}
html.domande-elenco body #thread .msg-ai .ask .opt:focus-visible {
  outline: 2px solid var(--accent, #0f6b4c); outline-offset: -2px; border-radius: 10px !important;
}
html.domande-elenco body #thread .msg-ai .ask .ask-libera { margin: 6px 10px 6px 50px; width: calc(100% - 60px); }
