:root {
  --ce-teal: #0d7d74;
  --ce-teal-dark: #095e57;
  --ce-teal-soft: #e6f4f2;
  --ce-ink: #1a2b2a;
}

body {
  color: var(--ce-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

.text-teal { color: var(--ce-teal) !important; }
.bg-teal-subtle { background: var(--ce-teal-soft); }
.bg-light-teal { background: #f5faf9; }

.btn-teal {
  background: var(--ce-teal);
  border-color: var(--ce-teal);
  color: #fff;
}
.btn-teal:hover { background: var(--ce-teal-dark); border-color: var(--ce-teal-dark); color: #fff; }
.btn-outline-teal {
  color: var(--ce-teal);
  border-color: var(--ce-teal);
}
.btn-outline-teal:hover, .btn-check:checked + .btn-outline-teal {
  background: var(--ce-teal); color: #fff; border-color: var(--ce-teal);
}

/* Navbar */
.ce-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e7eeed;
}
.ce-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ce-teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.ce-nav .nav-link { font-weight: 500; color: #40514f; }
.ce-nav .nav-link:hover { color: var(--ce-teal); }
.ce-nav .dropdown-menu {
  border-color: #dce8e6;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(26, 43, 42, .12);
}
.ce-nav .dropdown-item { color: #40514f; padding: .55rem 1rem; }
.ce-nav .dropdown-item:hover, .ce-nav .dropdown-item:focus {
  color: var(--ce-teal-dark);
  background: var(--ce-teal-soft);
}
.ce-nav .dropdown-item.active { color: #fff; background: var(--ce-teal); }

/* Hero */
.ce-hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(1200px 400px at 80% -10%, var(--ce-teal-soft), transparent 60%),
              linear-gradient(180deg, #ffffff, #f7fbfa);
}
.ce-badge-soft {
  background: var(--ce-teal-soft); color: var(--ce-teal-dark);
  font-weight: 600; padding: .5rem .85rem; border-radius: 999px;
}
.ce-hero-card {
  background: #fff; border: 1px solid #e7eeed; border-radius: 18px; padding: 1.5rem;
}
.ce-stat { font-size: 2.4rem; font-weight: 800; color: var(--ce-teal); line-height: 1; }
.ce-trust > div { color: #40514f; }
.ce-trust i { font-size: 1.5rem; color: var(--ce-teal); display: block; margin-bottom: .35rem; }
.ce-trust div div { font-size: .8rem; line-height: 1.15; }

/* Panel + pills */
.ce-panel { background: #fff; border: 1px solid #e7eeed; border-radius: 18px; padding: 1.75rem; }
.ce-pills .nav-link { color: #40514f; font-weight: 600; border-radius: 10px; }
.ce-pills .nav-link.active { background: var(--ce-teal); color: #fff; }

/* Results */
.ce-result {
  border: 1px solid #e7eeed; border-radius: 14px; padding: 1.1rem 1.25rem;
  background: #fff; transition: box-shadow .15s, transform .15s;
}
.ce-result:hover { box-shadow: 0 8px 24px rgba(13,125,116,.10); transform: translateY(-2px); }
.ce-result.best { border-color: var(--ce-teal); box-shadow: 0 8px 24px rgba(13,125,116,.14); }
.ce-rank {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--ce-teal-soft); color: var(--ce-teal-dark);
}
.ce-result.best .ce-rank { background: var(--ce-teal); color: #fff; }
.ce-price { font-size: 1.5rem; font-weight: 800; color: var(--ce-ink); }
.ce-price small { font-size: .8rem; font-weight: 500; color: #6c7a78; }
.ce-scenario-card {
  border: 1px solid #dce8e6;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
}
.ce-advanced {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .75rem 1rem;
  background: #fbfdfd;
}
.ce-advanced summary { cursor: pointer; color: var(--ce-teal-dark); }
.ce-evidence {
  border-left: 3px solid #b9dcd7;
  padding: .45rem .65rem;
  background: #f6fbfa;
  color: #526461;
}

/* Steps + features */
.ce-step { background: #fff; border: 1px solid #e7eeed; border-radius: 16px; padding: 1.5rem; height: 100%; }
.ce-step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ce-teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem;
}
.ce-feature { text-align: center; padding: 1.25rem; }
.ce-feature i { font-size: 2rem; color: var(--ce-teal); }
.ce-feature h6 { margin-top: .75rem; font-weight: 700; }

/* Upload */
.ce-upload {
  border: 2px dashed #bcd8d4; border-radius: 14px; background: #fbfdfc;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.ce-upload:hover { border-color: var(--ce-teal); background: var(--ce-teal-soft); }
.ce-upload-ico { font-size: 2.2rem; color: var(--ce-teal); }

/* Footer */
.ce-footer { background: #0c211f; color: #cfe0dd; padding: 2rem 0; }
.ce-footer strong { color: #fff; }

.ce-pwa-prompt {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1045;
  width: min(94vw, 420px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #b9dcd7;
  border-radius: 14px;
  background: #fff;
}
.ce-pwa-prompt small { display: block; margin-top: .2rem; color: #526461; line-height: 1.35; }

/* Bootstrap tinge .text-muted e .link-secondary di grigio scuro, pensati per fondo
   chiaro: sul footer scuro il testo diventa quasi invisibile. */
.ce-footer .text-muted { color: #9fb8b4 !important; }
.ce-footer .link-secondary { color: #cfe0dd !important; }
.ce-footer .link-secondary:hover,
.ce-footer .link-secondary:focus { color: #fff !important; }
.ce-footer .border-top { border-color: rgba(207, 224, 221, .25) !important; }

@media (max-width: 576px) {
  .ce-hero { padding-top: 3rem; }
  .ce-stat { font-size: 2rem; }
  .ce-pwa-prompt { left: .75rem; right: .75rem; bottom: .75rem; width: auto; display: block; }
  .ce-pwa-prompt .d-flex { margin-top: .75rem; }
}

/* ===================== Report consumi ===================== */
.ce-report { background: #fff; }
.ce-report-card {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1rem 1.1rem;
  background: #fff;
}
.ce-report-card-tot {
  background: var(--ce-teal-soft);
  border-color: #bfe3de;
}
.ce-report-big { font-size: 1.55rem; font-weight: 700; line-height: 1.15; }
.ce-report-big small { font-size: .8rem; font-weight: 600; color: #64748b; margin-left: .15rem; }
.ce-report-block {
  border-top: 2px solid var(--ce-teal-soft);
  padding-top: 1.25rem;
}
.ce-chart-wrap {
  border: 1px solid #eef2f6;
  border-radius: .75rem;
  padding: .75rem;
  background: #fff;
  min-height: 240px;
}
.ce-report-table thead th { color: #64748b; font-weight: 600; border-bottom: 2px solid #e2e8f0; }
.ce-report-table tfoot td { border-top: 2px solid #e2e8f0; background: #f8fafc; }
.ce-indicatore {
  border: 1px solid #e2e8f0;
  border-radius: .6rem;
  padding: .65rem .8rem;
  background: #fff;
  height: 100%;
}
.ce-indicatore-val { font-weight: 700; font-size: 1.05rem; }
.ce-report-sintesi { background: var(--ce-teal-soft) !important; border-color: #bfe3de !important; }

/* ===================== Stampa / PDF ===================== */
@media print {
  .ce-nav, .ce-hero, #come-funziona, #differenza, #fonte, .ce-footer,
  .ce-pills, .ce-noprint, #reportUploadBox, #reportDivider, #reportTesto,
  #btnReport, #risultati, #modoManualeBox, #modoFileBox,
  #btnReportManuale, .ce-manual-block { display: none !important; }
  body { background: #fff !important; }
  .ce-panel, .ce-report { box-shadow: none !important; border: none !important; padding: 0 !important; }
  .ce-report-block { break-inside: avoid; }
  .ce-chart-wrap { break-inside: avoid; }
  .ce-tool-disclosure > .ce-tool-content,
  .ce-home-more > .ce-home-more-content { display: block !important; }
  a[href]:after { content: ""; }
  @page { margin: 1.2cm; }
}

/* ===================== Inserimento manuale ===================== */
.ce-manual-block {
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: 1rem 1.1rem;
  background: #fcfefe;
}
.ce-manual-table thead th {
  font-size: .8rem;
  font-weight: 600;
  color: #64748b;
  border-bottom: 2px solid #e2e8f0;
}
.ce-manual-table td { padding: .3rem .35rem; }
.ce-manual-table input::placeholder { color: #cbd5e1; }

/* ---------- Consenso cookie ---------- */
.ce-cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  /* Sotto la modale Bootstrap (backdrop 1050, modale 1055) e sopra tutto il resto:
     con uno z-index più alto il banner restava davanti alle impostazioni privacy e
     ne intercettava i click, rendendo impossibile salvare la scelta granulare. */
  z-index: 1046;
  background: #fff;
  border-top: 3px solid var(--ce-teal);
  box-shadow: 0 -8px 30px rgba(26, 43, 42, 0.16);
  padding: 1.1rem 0;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.ce-cookie-banner.visibile { transform: translateY(0); }
body.ce-cookie-banner-aperto { padding-bottom: 11rem; }
/* Rifiuto e accettazione devono avere lo stesso peso visivo:
   pulsanti di pari dimensione, come richiesto dalle linee guida del Garante. */
.ce-cookie-azioni .btn { min-width: 132px; font-weight: 500; }

@media (max-width: 575.98px) {
  body.ce-cookie-banner-aperto { padding-bottom: 19rem; }
  .ce-cookie-azioni { width: 100%; }
  .ce-cookie-azioni .btn { flex: 1 1 100%; }
}

.ce-consenso-voce {
  border: 1px solid #e7eeed;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: .85rem;
  background: #fbfdfd;
}
.ce-consenso-voce .form-check-input:checked {
  background-color: var(--ce-teal);
  border-color: var(--ce-teal);
}

/* ---------- Pagine di contenuto (chi siamo, privacy, cookie) ---------- */
.ce-doc { max-width: 820px; }
.ce-doc h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2.4rem;
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ce-teal-soft);
}
.ce-doc h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.6rem; margin-bottom: .6rem; }
.ce-doc p, .ce-doc li { color: #40514f; line-height: 1.7; }
.ce-doc table { font-size: .93rem; }
.ce-doc table th { background: var(--ce-teal-soft); font-weight: 600; }
.ce-doc .ce-callout {
  border-left: 4px solid var(--ce-teal);
  background: var(--ce-teal-soft);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.15rem;
  margin: 1.4rem 0;
}
.ce-doc .ce-callout p:last-child { margin-bottom: 0; }
.ce-doc-meta { font-size: .875rem; color: #6b7b79; }

.ce-content-index { max-width: 1040px; }
.ce-content-intro {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #cbe6e2;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ce-teal-soft), #fff 75%);
}
.ce-content-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  color: var(--ce-teal-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ce-content-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.ce-content-shortcuts a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem;
  color: var(--ce-ink);
  text-decoration: none;
  border: 1px solid #dce8e6;
  border-radius: 14px;
  background: #fff;
}
.ce-content-shortcuts a:hover { border-color: var(--ce-teal); background: #f8fcfb; }
.ce-content-shortcuts i { color: var(--ce-teal); font-size: 1.35rem; }
.ce-content-shortcuts span, .ce-content-shortcuts small { display: block; }
.ce-content-shortcuts small { color: #647572; font-size: .75rem; margin-top: .1rem; }
.ce-content-group { scroll-margin-top: 6rem; margin-bottom: 2.75rem; }
.ce-content-group-heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.ce-content-group-heading h2, .ce-glossary-group h2 {
  border: 0;
  padding: 0;
  margin: 0;
}
.ce-content-group-heading p { margin: .2rem 0 0; color: #647572; }
.ce-content-group-icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--ce-teal-soft); color: var(--ce-teal-dark);
  font-size: 1.2rem;
}
.ce-content-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  color: var(--ce-ink);
  text-decoration: none;
  border: 1px solid #dce8e6;
  border-radius: 16px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ce-content-card:hover {
  color: var(--ce-ink);
  border-color: #87c8c0;
  box-shadow: 0 10px 26px rgba(13, 125, 116, .1);
  transform: translateY(-2px);
}
.ce-content-card strong { font-size: 1.05rem; line-height: 1.35; }
.ce-content-card > span:not(.ce-content-card-label) { color: #526461; line-height: 1.55; margin-top: .45rem; }
.ce-content-card em { margin-top: auto; padding-top: 1rem; color: var(--ce-teal-dark); font-style: normal; font-weight: 700; font-size: .88rem; }
.ce-content-card-label {
  align-self: flex-start; margin-bottom: .65rem; padding: .22rem .5rem;
  border-radius: 999px; background: var(--ce-teal-soft); color: var(--ce-teal-dark);
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em;
}
.ce-glossary-tools {
  position: sticky;
  top: 70px;
  z-index: 5;
  margin-bottom: 2rem;
  padding: 1.1rem;
  border: 1px solid #dce8e6;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(26, 43, 42, .06);
}
.ce-glossary-tools .input-group-text { background: var(--ce-teal-soft); color: var(--ce-teal-dark); }
.ce-alphabet { display: flex; flex-wrap: wrap; gap: .3rem; }
.ce-alphabet a {
  min-width: 1.8rem; padding: .2rem .4rem; text-align: center; text-decoration: none;
  border-radius: 7px; color: var(--ce-teal-dark); background: var(--ce-teal-soft); font-weight: 700;
}
.ce-glossary-group { scroll-margin-top: 12rem; margin-bottom: 2.5rem; }
.ce-glossary-group h2 { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.ce-glossary-group h2::after { content: ""; height: 1px; flex: 1; background: #dce8e6; }
.ce-glossary-group h2 span {
  width: 2.3rem; height: 2.3rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--ce-teal); color: #fff; font-size: 1rem;
}
.ce-glossary-card strong { color: var(--ce-teal-dark); font-size: 1.1rem; }

@media (max-width: 991.98px) {
  .ce-content-shortcuts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .ce-content-shortcuts { grid-template-columns: 1fr; }
  .ce-glossary-tools { position: static; }
  .ce-content-intro, .ce-content-card { padding: 1rem; }
}

/* Riquadro "In breve" in testa alle notizie: i punti chiave dell'articolo. Va allineato a
   sinistra — prima riusava la .ce-feature, che centra il testo: un elenco puntato centrato
   spezza la lettura, i marcatori ballano e le righe restano frastagliate su entrambi i lati.
   Riprende l'accento teal del callout, con marcatori colorati per staccare i punti a colpo
   d'occhio. */
.ce-sintesi {
  border: 1px solid #cbe6e2;
  border-left: 4px solid var(--ce-teal);
  background: var(--ce-teal-soft);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.75rem;
}
.ce-sintesi-titolo {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ce-teal-dark);
  margin: 0 0 .7rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.ce-sintesi ul { margin: 0; padding-left: 1.3rem; }
.ce-sintesi li { color: #40514f; line-height: 1.7; margin-bottom: .45rem; padding-left: .2rem; }
.ce-sintesi li:last-child { margin-bottom: 0; }
.ce-sintesi li::marker { color: var(--ce-teal); }

/* Blocchi di codice della documentazione API/MCP: la riga non va mandata a capo,
   perché spezzare un comando curl o un JSON lo rende non copiabile. */
.ce-code {
  background: #0f2b28;
  color: #d7ece8;
  border-radius: 10px;
  padding: .95rem 1.1rem;
  font-size: .85rem;
  line-height: 1.55;
  overflow-x: auto;
  margin: 1rem 0 1.4rem;
}
.ce-code code { color: inherit; background: none; padding: 0; white-space: pre; }
.ce-doc :not(pre) > code {
  background: var(--ce-teal-soft);
  color: #0f6b60;
  padding: .12rem .38rem;
  border-radius: 5px;
  font-size: .875em;
}

/* Avviso privacy in prossimità dell'upload delle bollette */
.ce-avviso-privacy {
  border: 1px solid #ffe0a3;
  background: #fff9ec;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .875rem;
}
.ce-copilota-log { min-height: 220px; max-height: 52vh; overflow-y: auto; background: var(--bs-tertiary-bg, #f8f9fa); }
.ce-col-mese { width: 32%; }
.ce-col-azione { width: 44px; }
.ce-azure-logo { height: 14px; width: auto; vertical-align: middle; }
.ce-price-lg { font-size: 1.4rem; }
.ce-summary-pointer { cursor: pointer; }
.ce-chat-bubble { max-width: 85%; }
.ce-pre-wrap { white-space: pre-wrap; }
.ce-report-progress { width: min(100%, 24rem); height: .6rem; accent-color: var(--ce-teal); }
.ce-anno { max-width: 6.5rem; }

.ce-path-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #cbe7e2;
  border-radius: 12px;
  background: #fff;
  color: #173b36;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ce-path-card:hover,
.ce-path-card:focus-visible {
  border-color: var(--ce-teal);
  color: #173b36;
  transform: translateY(-2px);
  box-shadow: 0 .4rem 1rem rgba(13, 148, 136, .12);
}
.ce-path-card > i {
  color: var(--ce-teal);
  font-size: 1.45rem;
  line-height: 1.2;
}
.ce-path-card strong,
.ce-path-card small { display: block; }
.ce-path-card small { margin-top: .25rem; color: #5c6f6c; line-height: 1.4; }
.ce-tools-hub {
  background: #fff;
  border-bottom: 1px solid #e7eeed;
}
.ce-path-card-primary {
  border-color: var(--ce-teal);
  background: linear-gradient(135deg, var(--ce-teal), var(--ce-teal-dark));
  color: #fff;
}
.ce-path-card-primary > i,
.ce-path-card-primary small { color: #d9f3ef; }
.ce-path-card-primary:hover,
.ce-path-card-primary:focus-visible {
  color: #fff;
  border-color: var(--ce-teal-dark);
  box-shadow: 0 .55rem 1.2rem rgba(9, 94, 87, .22);
}

.ce-tool-disclosure {
  overflow: hidden;
  border: 1px solid #d9e7e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem rgba(26, 43, 42, .06);
}
.ce-tool-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: background .15s ease;
}
.ce-tool-disclosure > summary::-webkit-details-marker { display: none; }
.ce-tool-disclosure > summary:hover,
.ce-tool-disclosure > summary:focus-visible { background: #f4fbf9; }
.ce-tool-disclosure[open] > summary {
  background: var(--ce-teal-soft);
  border-bottom: 1px solid #cbe7e2;
}
.ce-tool-summary-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--ce-teal-soft);
  color: var(--ce-teal);
  font-size: 1.5rem;
}
.ce-tool-disclosure[open] .ce-tool-summary-icon {
  background: var(--ce-teal);
  color: #fff;
}
.ce-tool-summary-copy { flex: 1 1 auto; min-width: 0; }
.ce-tool-summary-copy strong {
  display: block;
  color: var(--ce-ink);
  font-size: 1.15rem;
}
.ce-tool-summary-copy small {
  display: block;
  margin-top: .2rem;
  color: #5c6f6c;
  line-height: 1.45;
}
.ce-tool-kicker {
  display: block;
  margin-bottom: .2rem;
  color: var(--ce-teal-dark);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ce-tool-summary-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ce-teal-dark);
  font-size: .85rem;
  font-weight: 700;
}
.ce-tool-summary-action i { transition: transform .2s ease; }
.ce-tool-disclosure[open] .ce-tool-summary-action i { transform: rotate(180deg); }
.ce-tool-content { padding: 2rem; }
.ce-field { position: relative; }
.ce-field > .form-label {
  min-height: 2.5rem;
  padding-right: 1.65rem;
}
.ce-field-help > summary,
.ce-field-help > .ce-help-trigger {
  position: absolute;
  top: 0;
  right: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border-radius: 50%;
  color: var(--ce-teal);
  cursor: pointer;
  list-style: none;
  border: 0;
  background: transparent;
}
.ce-field-help > summary::-webkit-details-marker { display: none; }
.ce-field-help > summary:hover,
.ce-field-help > summary:focus-visible,
.ce-field-help > .ce-help-trigger:hover,
.ce-field-help > .ce-help-trigger:focus-visible {
  color: #fff;
  background: var(--ce-teal);
  outline: none;
}
.ce-field-help[open] > summary {
  color: #fff;
  background: var(--ce-teal);
}
.ce-field-help > div {
  margin: 0 0 .65rem;
  padding: .7rem .8rem;
  border: 1px solid #cbe7e2;
  border-radius: 10px;
  background: var(--ce-teal-soft);
  color: #40514f;
  font-size: .84rem;
  line-height: 1.45;
}
.ce-check-help {
  display: inline;
  margin-left: .2rem;
}
.ce-check-help > summary,
.ce-check-help > .ce-help-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border-radius: 50%;
  color: var(--ce-teal);
  cursor: pointer;
  list-style: none;
  vertical-align: text-bottom;
  border: 0;
  background: transparent;
}
.ce-check-help > summary::-webkit-details-marker { display: none; }
.ce-check-help > summary:hover,
.ce-check-help > summary:focus-visible,
.ce-check-help > .ce-help-trigger:hover,
.ce-check-help > .ce-help-trigger:focus-visible,
.ce-check-help[open] > summary {
  color: #fff;
  background: var(--ce-teal);
  outline: none;
}
.ce-check-help > div {
  display: block;
  margin: .35rem 0 .55rem;
  padding: .65rem .75rem;
  border: 1px solid #cbe7e2;
  border-radius: 10px;
  background: var(--ce-teal-soft);
  color: #40514f;
  font-size: .84rem;
  line-height: 1.45;
}
.ce-help-popover {
  --bs-popover-max-width: min(320px, calc(100vw - 2rem));
  --bs-popover-border-color: #9fd5ce;
  --bs-popover-header-bg: var(--ce-teal-soft);
  --bs-popover-header-color: var(--ce-teal-dark);
  --bs-popover-body-color: #40514f;
  box-shadow: 0 12px 30px rgba(26, 43, 42, .16);
}
.ce-help-popover .popover-header {
  border-bottom-color: #cbe7e2;
  font-size: .86rem;
  font-weight: 750;
}
.ce-help-popover .popover-body {
  font-size: .84rem;
  line-height: 1.5;
}

.ce-home-more-section {
  background: linear-gradient(180deg, #f5faf9, #fff);
}
.ce-home-more {
  overflow: hidden;
  border: 1px solid #d9e7e5;
  border-radius: 18px;
  background: #fff;
}
.ce-home-more > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  color: var(--ce-teal-dark);
  cursor: pointer;
  list-style: none;
}
.ce-home-more > summary::-webkit-details-marker { display: none; }
.ce-home-more > summary:hover,
.ce-home-more > summary:focus-visible { background: #f4fbf9; }
.ce-home-more > summary small { color: #5c6f6c; text-align: right; }
.ce-home-more[open] > summary { border-bottom: 1px solid #d9e7e5; }
.ce-home-more-content > section:last-child { padding-bottom: 2rem !important; }

@media (max-width: 767.98px) {
  .ce-tool-disclosure > summary { align-items: flex-start; padding: 1.1rem; }
  .ce-tool-summary-icon { width: 42px; height: 42px; font-size: 1.25rem; }
  .ce-tool-summary-action { font-size: 0; margin-left: auto; padding-top: .65rem; }
  .ce-tool-summary-action i { font-size: 1rem; }
  .ce-tool-content { padding: 1.15rem; }
  .ce-home-more > summary { display: block; }
  .ce-home-more > summary small { display: block; margin-top: .35rem; text-align: left; }
}

.ce-contract-evidence {
  display: block;
  margin-top: .35rem;
  padding: .45rem .55rem;
  border-left: 3px solid #9dd8ce;
  background: #f4fbf9;
  color: #46615d;
  font-size: .78rem;
  line-height: 1.4;
}
.ce-contract-missing {
  border-color: #d4a72c;
  background: #fff9e8;
}
