.presentation-sun-launcher {
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  bottom: max(20px, env(safe-area-inset-bottom));
}
.presentation-faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.presentation-faq summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}
.presentation-faq details p {
  white-space: pre-line;
  max-width: 780px;
}
.presentation-faq-dialog {
  position: fixed;
  inset: auto 18px max(18px, env(safe-area-inset-bottom)) auto;
  margin: 0;
  width: min(430px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  padding: 22px;
  overflow: auto;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 60px #123e4533;
}
.presentation-faq-dialog::backdrop {
  background: #123e4538;
}
.presentation-faq-dialog > header {
  position: sticky;
  top: -22px;
  z-index: 2;
  background: var(--panel);
  padding-block: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.presentation-faq-dialog > header > div {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.presentation-faq-dialog header .solar-orb {
  width: 46px;
  height: 46px;
}
.presentation-faq-dialog h2 {
  font-size: 19px;
  margin: 0;
}
.presentation-faq-dialog header p {
  margin: 3px 0 0;
  font-size: 12px;
}
.presentation-faq-dialog .icon-button {
  font-size: 28px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.presentation-faq-intro {
  font-size: 14px;
  line-height: 1.6;
}
.presentation-faq-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
  padding: 2px 4px 2px 0;
}
.presentation-faq-questions button {
  flex-shrink: 0;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  background: var(--soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  cursor: pointer;
}
.presentation-faq-questions button[aria-expanded="true"] {
  border-color: var(--primary);
  background: var(--panel);
}
.presentation-faq-questions button:focus-visible,
.presentation-faq summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.presentation-faq-answer {
  padding: 17px;
  border-radius: 12px;
  background: var(--soft);
  margin-top: 18px;
}
.presentation-faq-answer h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.presentation-faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
  margin: 0 0 12px;
}
.presentation-faq-note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 620px) {
  .presentation-faq-dialog {
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) auto;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }
  .presentation-faq-questions {
    max-height: 170px;
  }
}
@media print {
  .presentation-faq-dialog {
    display: none !important;
  }
}
@media (max-height: 600px) {
  .presentation-faq-questions {
    max-height: 100px;
  }
}

/* Keep the decorative sun free of the global action-button background. */
:root .assistant-sun-launcher.presentation-sun-launcher,
:root .assistant-sun-launcher.presentation-sun-launcher:hover:not(:disabled):not([aria-disabled="true"]) {
  background: transparent !important;
  border-color: transparent !important;
}

/* A vivid gold sun; the surrounding button stays transparent. */
.assistant-sun-launcher .solar-orb-layer {
  background: radial-gradient(circle at 65% 28%, #fff49a 0%, #ffdf4b 22%, #ffc107 58%, #eda800 86%, #db8b00 100%);
  box-shadow: 0 0 12px 3px #ffc10766, inset -3px -4px 10px #bf800033;
}
.assistant-sun-launcher .solar-orb-layer-one {
  opacity: 1;
  animation: none;
}
