/* ============================================================
   SYLOGICO EDITORIAL - Design System v1
   Derivato dal design system di sylogico.com (Lumen):
   teal #14b8a6, charcoal #0a0a0a/#171717, font Nunito,
   card glass con blur, glow morbido.
   Le regole usano il prefisso "body" per vincere sia sugli
   stili inline delle pagine sia sulle utility Tailwind CDN.
   ============================================================ */

:root {
  --ed-primary: #14b8a6;
  --ed-primary-light: #2dd4bf;
  --ed-primary-dark: #0d9488;
  --ed-cyan: #06b6d4;
  --ed-bg: #0a0a0a;
  --ed-card: rgba(23, 23, 23, 0.55);
  --ed-border: rgba(163, 163, 163, 0.13);
  --ed-border-soft: rgba(163, 163, 163, 0.09);
  --ed-glow: 0 0 24px rgba(20, 184, 166, 0.28);
  --ed-font: 'Nunito', system-ui, sans-serif;
}

/* ---------- Base: sfondo Lumen + tipografia ---------- */
html { scroll-behavior: smooth; }

body {
  background: var(--ed-bg) !important;
  font-family: var(--ed-font) !important;
  color: #fafafa;
  min-height: 100vh;
  position: relative;
}

/* Il bagliore Lumen: teal centrato in alto + cyan laterale, fisso */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(20, 184, 166, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(6, 182, 212, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 45% at 8% 100%, rgba(20, 184, 166, 0.05), transparent 55%);
}

/* Grana leggera sopra il glow, come la .noise del sito */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

body h1 { font-weight: 900 !important; letter-spacing: -0.02em; }
body h2, body h3 { font-weight: 800 !important; letter-spacing: -0.01em; }

::selection { background: rgba(20, 184, 166, 0.35); color: white; }

*:focus-visible { outline: 2px solid var(--ed-primary); outline-offset: 2px; border-radius: 6px; }

/* Scrollbar sottile */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 8px; border: 2px solid var(--ed-bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* Contenitori un filo piu ariosi */
body .max-w-3xl { max-width: 54rem; }

/* ---------- Superfici: da zinc a glass charcoal ---------- */
body .bg-zinc-900 {
  background: linear-gradient(135deg, rgba(38, 38, 38, 0.42), rgba(18, 18, 18, 0.55)) !important;
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
body .bg-zinc-900\/80 { background: rgba(18, 18, 18, 0.6) !important; }
body .bg-zinc-800 { background: rgba(48, 48, 48, 0.6) !important; }
body .border-zinc-800 { border-color: var(--ed-border) !important; }
body .border-zinc-700 { border-color: rgba(163, 163, 163, 0.22) !important; }
body .border-zinc-800\/60, body .border-zinc-800\/70 { border-color: var(--ed-border-soft) !important; }
body .rounded-2xl { border-radius: 20px !important; }

/* Hover di superficie */
body .hover\:bg-zinc-800:hover { background: rgba(20, 184, 166, 0.09) !important; }
body .hover\:bg-zinc-800\/60:hover { background: rgba(20, 184, 166, 0.06) !important; }

/* ---------- Accenti: da blu/viola a teal/cyan ---------- */
body .text-blue-400 { color: var(--ed-primary-light) !important; }
body .text-blue-600 { color: var(--ed-primary) !important; }
body .border-blue-800, body .border-blue-900 { border-color: rgba(20, 184, 166, 0.35) !important; }
body .bg-blue-950\/50, body .bg-blue-950\/40 { background: rgba(13, 148, 136, 0.13) !important; }
body .text-blue-200 { color: #99f6e4 !important; }
body .border-blue-500 { border-color: var(--ed-primary) !important; }
body .focus\:border-blue-500:focus { border-color: var(--ed-primary) !important; }

body .border-violet-800, body .border-violet-900 { border-color: rgba(6, 182, 212, 0.4) !important; }
body .text-violet-300 { color: #67e8f9 !important; }
body .hover\:bg-violet-950:hover { background: rgba(6, 182, 212, 0.12) !important; }

body .text-sky-300 { color: #67e8f9 !important; }
body .bg-sky-950\/40, body .bg-sky-950\/30 { background: rgba(6, 182, 212, 0.1) !important; }
body .border-sky-900 { border-color: rgba(6, 182, 212, 0.3) !important; }

/* Barre di avanzamento */
body .bg-gradient-to-r { background: linear-gradient(90deg, var(--ed-primary), var(--ed-primary-light)) !important; }

/* ---------- Bottoni ---------- */
body button { font-family: var(--ed-font); transition: all 0.18s ease; }
body button:not(:disabled):active { transform: translateY(1px); }

/* Primario: teal con glow */
body .bg-blue-600 {
  background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-dark)) !important;
  border: none;
  box-shadow: 0 2px 14px rgba(20, 184, 166, 0.3);
  font-weight: 800;
}
body .hover\:bg-blue-500:hover {
  background: linear-gradient(135deg, var(--ed-primary-light), var(--ed-primary)) !important;
  box-shadow: var(--ed-glow);
  transform: translateY(-1px);
}

/* Conferma: emerald armonizzato */
body .bg-emerald-600, body .bg-emerald-700 {
  background: linear-gradient(135deg, #10b981, #0d9488) !important;
  border: none;
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.25);
  font-weight: 800;
}
body .hover\:bg-emerald-500:hover, body .hover\:bg-emerald-600:hover {
  background: linear-gradient(135deg, #34d399, #10b981) !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

/* Strategia: cyan */
body .bg-violet-700 {
  background: linear-gradient(135deg, var(--ed-cyan), #0891b2) !important;
  border: none;
  box-shadow: 0 2px 14px rgba(6, 182, 212, 0.28);
  font-weight: 800;
}
body .hover\:bg-violet-600:hover {
  background: linear-gradient(135deg, #22d3ee, var(--ed-cyan)) !important;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.38);
  transform: translateY(-1px);
}

/* Bottoni secondari (ghost): bordo che si accende di teal */
body button[class*="border-zinc-7"]:hover {
  border-color: rgba(20, 184, 166, 0.5) !important;
  color: var(--ed-primary-light) !important;
}

body .rounded-lg { border-radius: 12px !important; }

/* ---------- Nav alta gamma ---------- */
body nav#nav {
  background: rgba(10, 10, 10, 0.72) !important;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid var(--ed-border) !important;
}
.ed-nav-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem;
}
.ed-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.ed-logo-mark {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ed-primary), var(--ed-cyan));
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.05rem; color: #03201b;
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.4);
}
.ed-brand-name { font-weight: 900; font-size: 1.05rem; color: white; letter-spacing: -0.01em; }
.ed-brand-name em { font-style: normal; color: var(--ed-primary-light); }
.ed-vers {
  font-size: 0.62rem; color: #737373; border: 1px solid rgba(163, 163, 163, 0.2);
  border-radius: 999px; padding: 0.1rem 0.5rem; margin-left: 0.5rem; font-weight: 600;
}
.ed-nav-links { display: flex; align-items: center; gap: 0.35rem; }
.ed-nav-link {
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  color: #a3a3a3; text-decoration: none; transition: all 0.18s ease; border: 1px solid transparent;
  background: transparent; cursor: pointer;
}
.ed-nav-link:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.ed-nav-attivo {
  color: #03201b; background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-light));
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.35);
}
.ed-nav-attivo:hover { color: #03201b; background: linear-gradient(135deg, var(--ed-primary-light), var(--ed-primary)); }

/* ---------- Tab del cliente ---------- */
body .tab-btn {
  padding: 0.65rem 1.15rem; font-size: 0.875rem; font-weight: 700; color: #8a8a8a;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.18s ease;
  letter-spacing: 0.01em;
}
body .tab-btn:hover { color: white; }
body .tab-btn.tab-attivo {
  color: var(--ed-primary-light); border-bottom-color: var(--ed-primary); font-weight: 800;
  text-shadow: 0 0 22px rgba(45, 212, 191, 0.5);
}

/* ---------- Campi ---------- */
body .inp, body .inp2, body select.inp, body select.inp2, body textarea.inp, body textarea.inp2 {
  width: auto; border-radius: 12px; background: rgba(14, 14, 14, 0.75); border: 1px solid rgba(163, 163, 163, 0.16);
  padding: 0.55rem 0.85rem; color: #fafafa; font-size: 0.875rem; font-family: var(--ed-font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body .inp { width: 100%; }
body .inp:focus, body .inp2:focus {
  outline: none; border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
body .inp::placeholder, body .inp2::placeholder { color: #5c5c5c; }
body .lbl { display: block; font-size: 0.875rem; color: #a3a3a3; margin-bottom: 0.3rem; font-weight: 600; }

/* Stati dei campi (step.html) */
body .inp.proposta { border-color: rgba(217, 119, 6, 0.55); background: rgba(69, 39, 8, 0.28); }
body .inp.mancante { border-color: rgba(220, 38, 38, 0.55); background: rgba(69, 13, 13, 0.28); }
body .inp.ignorata { border-color: rgba(163, 163, 163, 0.12); background: rgba(14, 14, 14, 0.4); opacity: 0.55; }
body .multi-mancante { outline: 1px solid rgba(220, 38, 38, 0.55); outline-offset: 4px; border-radius: 12px; }

body .chk {
  display: flex; align-items: center; gap: 0.5rem; background: rgba(14, 14, 14, 0.6);
  border: 1px solid rgba(163, 163, 163, 0.14); border-radius: 12px;
  padding: 0.5rem 0.75rem; font-size: 0.82rem; cursor: pointer; transition: all 0.15s ease;
}
body .chk:hover { border-color: rgba(20, 184, 166, 0.45); }
body input[type="checkbox"] { accent-color: var(--ed-primary); }
body input[type="date"] { color-scheme: dark; }

/* ---------- Chip, pill e card ---------- */
body .chip {
  display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.12rem 0.6rem;
  border-radius: 999px; background: rgba(20, 184, 166, 0.1); color: var(--ed-primary-light);
  border: 1px solid rgba(20, 184, 166, 0.25); margin: 0 0.25rem 0.25rem 0;
}
body .chip-verde { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.3); }

body .pill {
  font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(163, 163, 163, 0.18); color: #a3a3a3;
  background: rgba(18, 18, 18, 0.6); transition: all 0.18s ease;
}
body .pill:hover { color: white; border-color: rgba(20, 184, 166, 0.5); }
body .pill-attiva {
  color: #03201b; background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-light));
  border-color: transparent; font-weight: 800; box-shadow: 0 0 16px rgba(20, 184, 166, 0.35);
}
body .pill-attiva:hover { color: #03201b; }

body .chk-mini {
  font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 10px;
  border: 1px solid rgba(163, 163, 163, 0.18); color: #a3a3a3;
  background: rgba(18, 18, 18, 0.6); cursor: pointer; user-select: none; transition: all 0.15s ease;
}
body .chk-mini:hover { border-color: rgba(20, 184, 166, 0.5); color: white; }
body .chk-on {
  color: #03201b; background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-light));
  border-color: transparent;
}

body .card-radar {
  border: 1px solid var(--ed-border-soft); border-radius: 14px; padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.5), rgba(14, 14, 14, 0.6));
  transition: border-color 0.18s ease, transform 0.18s ease;
}
body .card-radar:hover { border-color: rgba(20, 184, 166, 0.3); }

/* ---------- Calendario ---------- */
body .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
body .cal-head {
  font-size: 0.68rem; font-weight: 800; color: #5c5c5c; text-align: center;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0;
}
body .cal-cella {
  min-height: 5.5rem; border: 1px solid var(--ed-border-soft); border-radius: 12px;
  background: rgba(16, 16, 16, 0.55); padding: 0.3rem; display: flex; flex-direction: column;
  gap: 2px; overflow: hidden; transition: border-color 0.15s ease;
}
body .cal-cella:hover { border-color: rgba(163, 163, 163, 0.25); }
body .cal-vuota { background: transparent; border-color: transparent; }
body .cal-vuota:hover { border-color: transparent; }
body .cal-oggi { border-color: var(--ed-primary); box-shadow: 0 0 14px rgba(20, 184, 166, 0.18) inset; }
body .cal-num { font-size: 0.7rem; color: #5c5c5c; font-weight: 700; }
body .cal-voce {
  font-size: 0.65rem; font-weight: 600; text-align: left; color: #ccfbf1;
  background: rgba(20, 184, 166, 0.12); border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 7px; padding: 1px 5px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; transition: all 0.15s ease;
}
body .cal-voce:hover { background: rgba(20, 184, 166, 0.3); color: white; transform: translateX(1px); }
body .cal-voce-vuota { background: rgba(40, 40, 40, 0.4); border-color: rgba(163, 163, 163, 0.18); color: #6b6b6b; border-style: dashed; }
body .cal-voce-txt { font-size: 0.62rem; }

/* ---------- Portale cliente (tema chiaro, compila.html) ---------- */
body.portale { background: #f7fafa !important; color: #18181b; }
body.portale::before {
  background:
    radial-gradient(ellipse 90% 50% at 50% -12%, rgba(20, 184, 166, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 5%, rgba(6, 182, 212, 0.06), transparent 55%);
}
body.portale::after { opacity: 0.028; }
body.portale .bg-white {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(13, 148, 136, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
}
body.portale .inp {
  width: 100%; border-radius: 12px; background: white; border: 1px solid #d4d4d8;
  padding: 0.55rem 0.85rem; color: #18181b; font-size: 0.9rem; font-family: var(--ed-font);
}
body.portale .inp:focus { outline: none; border-color: var(--ed-primary); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.13); }
body.portale .chk {
  background: #fafafa; border: 1px solid #e4e4e7; border-radius: 12px; color: #3f3f46;
}
body.portale ::selection { background: rgba(20, 184, 166, 0.25); color: #0f172a; }

/* ---------- Dettagli ---------- */
body details summary { transition: color 0.15s ease; }
body pre { font-family: var(--ed-font); }
body .animate-pulse { animation-duration: 1.6s; }

/* ---------- Sistema bottoni unificato ----------
   Regola: UN solo primario (teal) per l'azione successiva consigliata,
   tutto il resto e ghost neutro. Niente arcobaleni. */
body .ed-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1rem; border-radius: 12px; font-size: 0.875rem; font-weight: 700;
  color: #d4d4d8; background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(163, 163, 163, 0.18); cursor: pointer; transition: all 0.18s ease;
}
body .ed-btn:hover:not(:disabled) { border-color: rgba(20, 184, 166, 0.5); color: var(--ed-primary-light); }
body .ed-btn:disabled { opacity: 0.4; cursor: not-allowed; }
body .ed-btn-primary {
  background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-dark));
  border-color: transparent; color: #03201b; font-weight: 800;
  box-shadow: 0 2px 14px rgba(20, 184, 166, 0.3);
}
body .ed-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--ed-primary-light), var(--ed-primary));
  color: #03201b; box-shadow: var(--ed-glow); transform: translateY(-1px);
}
body .ed-btn-danger { color: #f5a3a3; border-color: rgba(220, 38, 38, 0.35); }
body .ed-btn-danger:hover:not(:disabled) { border-color: rgba(220, 38, 38, 0.6); color: #fca5a5; background: rgba(69, 13, 13, 0.3); }
body .ed-seq-num {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.68rem; font-weight: 800; background: rgba(163, 163, 163, 0.14);
  border: 1px solid rgba(163, 163, 163, 0.25); color: inherit; flex-shrink: 0;
}
body .ed-btn-primary .ed-seq-num { background: rgba(3, 32, 27, 0.18); border-color: rgba(3, 32, 27, 0.3); }
body .ed-seq-ok { background: rgba(20, 184, 166, 0.18); border-color: rgba(20, 184, 166, 0.5); color: var(--ed-primary-light); }

/* Contrasto giusto sui gradienti primari rimappati (inchiostro scuro come la nav) */
body .bg-blue-600, body .bg-emerald-600, body .bg-emerald-700, body .bg-violet-700 { color: #03201b !important; }

/* ---------- Stepper del piano editoriale ---------- */
body .ed-stepper { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
body .ed-step {
  display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 700;
  color: #737373; padding: 0.3rem 0.5rem;
}
body .ed-step-num {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800; background: #262626; color: #a3a3a3; border: 1px solid #404040;
}
body .ed-step-attivo { color: #e5e5e5; }
body .ed-step-attivo .ed-step-num { border-color: var(--ed-primary); color: var(--ed-primary-light); box-shadow: 0 0 12px rgba(20, 184, 166, 0.35); }
body .ed-step-ok { color: var(--ed-primary-light); }
body .ed-step-ok .ed-step-num {
  background: linear-gradient(135deg, var(--ed-primary), var(--ed-primary-light)); color: #03201b; border-color: transparent;
}
body .ed-step-line { width: 28px; height: 2px; background: #404040; margin: 0 2px; border-radius: 2px; }
body .ed-step-line-on { background: linear-gradient(90deg, var(--ed-primary), var(--ed-primary-light)); }
body .ed-progress { height: 6px; border-radius: 999px; background: rgba(64, 64, 64, 0.5); overflow: hidden; max-width: 32rem; }
body .ed-progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ed-primary), var(--ed-primary-light)); transition: width 0.5s ease; }

/* ---------- Pallino di stato degli step (sostituisce le emoji) ---------- */
body .step-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block;
  background: #3f3f46; border: 1px solid #52525b;
}
body .step-dot-on {
  background: var(--ed-primary); border-color: var(--ed-primary-light);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
}

/* ---------- Strategia annuale: editor a schermo pieno ---------- */
body #strategia-box:not(.hidden) {
  position: fixed; inset: 1rem; z-index: 55;
  display: flex; flex-direction: column;
  margin: 0; max-width: none;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.99), rgba(12, 12, 12, 0.99)) !important;
  border: 1px solid rgba(20, 184, 166, 0.3) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(20, 184, 166, 0.08);
}
body #strategia-box #strategia-testo {
  flex: 1; min-height: 0; resize: none; width: 100%;
  font-size: 0.85rem !important; line-height: 1.6 !important;
  padding: 1rem;
}

/* ---------- Bottone admin "Prompt AI" ---------- */
body .ed-btn-admin {
  font-size: 0.72rem; font-weight: 800; padding: 0.4rem 0.7rem; border-radius: 10px;
  color: #c4b5fd; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.4);
  cursor: pointer; transition: all 0.15s ease;
}
body .ed-btn-admin:hover { background: rgba(139, 92, 246, 0.22); color: #ddd6fe; border-color: rgba(139, 92, 246, 0.6); }

/* ---------- Modale editor prompt ---------- */
.ed-modal {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; background: rgba(3, 6, 8, 0.72); backdrop-filter: blur(4px);
}
.ed-modal.hidden { display: none; }
.ed-modal-card {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.96), rgba(15, 15, 15, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 20px; padding: 1.5rem;
  max-width: 62rem; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.12);
}
.ed-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.35rem; }
.ed-modal-head h3 { font-weight: 800; font-size: 1.15rem; }
.ed-modal-sub { font-size: 0.8rem; color: #8a8a8a; margin-bottom: 1rem; }
.ed-modal-card .ed-prompt-ta { width: 100%; margin-bottom: 1rem; line-height: 1.5; font-size: 0.82rem; }
.ed-modal-foot { display: flex; gap: 0.6rem; }

@media (prefers-reduced-motion: reduce) {
  body button, body .pill, body .chip, body .cal-voce { transition: none !important; transform: none !important; }
}
