/* Guida + help FAB */
.guida-section {
  background: linear-gradient(180deg, rgba(107, 159, 212, 0.05), transparent);
  border-top: 1px solid var(--border);
}
.guida-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.guida-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.guida-acc-btn {
  width: 100%;
  padding: 1rem 1.15rem;
  border: none;
  background: transparent;
  color: var(--heading);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.guida-acc-btn:hover { color: var(--emerald); }
.guida-acc-panel {
  padding: 0 1.15rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
.guida-acc-panel code {
  display: block;
  margin: 0.45rem 0;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  background: rgba(107, 159, 212, 0.1);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--blue);
}
.guida-cta { margin-top: 1.25rem; text-align: center; }

.help-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(93, 191, 160, 0.45);
  background: linear-gradient(145deg, #3d4d60, #2a3544);
  color: var(--emerald);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(10, 18, 30, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.help-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(10, 18, 30, 0.5);
}

.help-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.help-modal[hidden] { display: none; }
.help-backdrop { position: absolute; inset: 0; background: rgba(10, 18, 30, 0.72); backdrop-filter: blur(4px); }
.help-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
}
.help-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.help-close:hover { color: var(--heading); }
.help-dialog h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 1rem;
}
.help-body section { margin-bottom: 1rem; }
.help-body h3 {
  font-size: 0.88rem;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}
.help-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.help-body code {
  display: block;
  margin: 0.35rem 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--blue);
  padding: 0.35rem 0.5rem;
  background: var(--surface3);
  border-radius: 6px;
}
.help-disclaimer {
  font-size: 0.72rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.55rem;
  margin-top: 0.5rem;
}
.help-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue);
}

@media (max-width: 900px) {
  .guida-grid { grid-template-columns: 1fr; }
}