/* Documenti non fiscali (7/10/2026): bottoni e riquadri. Gettoni del sito, niente bordi di accento. */
html body .tbp-nf {
  margin: 24px 0 8px;
  padding: 16px;
  border-radius: 12px;
  background: #F7F4ED;
  color: #123326;
  font-family: var(--tbp-font, inherit);
}
html body .tbp-nf__titolo {
  display: block !important; /* WCFM mette i titoli in linea e a sinistra (float) */
  float: none !important;
  width: auto !important;
  margin: 0 0 6px !important;
  font-family: var(--tbp-font-titoli, var(--tbp-font, inherit));
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #084828;
}
html body .tbp-nf__riga {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #084828;
}
html body .tbp-nf__stato {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #E4F1E8;
  color: #145E3F;
}
html body .tbp-nf__stato--rimborsato { background: #EEF1EF; color: #35503F; }
html body .tbp-nf__stato--rimborsato_parte { background: #FBF0D6; color: #7A5A00; }
html body .tbp-nf__testo {
  display: block;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #123326;
}
html body a.tbp-nf__bottone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}
html body .tbp-flow-orders a.tbp-nf-link,
html body a.tbp-nf-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 2px 12px 6px 4px;
  color: #084828;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body a.tbp-nf-link:focus-visible,
html body a.tbp-nf__bottone:focus-visible {
  outline: 3px solid #084828;
  outline-offset: 2px;
}
html body .tbp-pa-voce .tbp-nf-voce {
  margin: 4px 0 0;
}
html body .tbp-pa-voce .tbp-nf-voce a.tbp-nf-link {
  margin-left: 0;
  font-size: 14px;
}
/* Profilo professionista (WCFM): il riquadro sta sopra il dettaglio dell'ordine. */
html body #wcfm-main-contentainer .tbp-nf--mastro {
  margin: 0 0 20px;
}
html body #wcfm-main-contentainer .tbp-nf--mastro .tbp-nf__titolo {
  font-size: 20px !important;
  line-height: 1.25 !important;
}
@layer tbp-appearance {
  html[data-tbp-theme="dark"] body .tbp-nf {
    background: #1E1E1E;
    color: #EDEDED;
  }
  html[data-tbp-theme="dark"] body .tbp-nf__titolo { color: #9BDBB5; }
  html[data-tbp-theme="dark"] body .tbp-nf__testo { color: #EDEDED; }
  html[data-tbp-theme="dark"] body .tbp-nf__riga { color: #9BDBB5; }
  html[data-tbp-theme="dark"] body a.tbp-nf-link,
  html[data-tbp-theme="dark"] body .tbp-flow-orders a.tbp-nf-link { color: #9BDBB5; }
  html[data-tbp-theme="tobepolo"] body .tbp-nf { background: #F3EEE2; }
}
