/* Deliberately one high-contrast feature against the site's existing pixel-paper shell. */
.xy-announcement-dialog.xy-welcome-two-step[data-slot='dialog-content'] {
  --xy-feature-paper: #eef5ff;
  --xy-feature-ink: #203d63;
  --xy-feature-edge: #416ba6;
  --xy-feature-rule: #bdcfe7;
  --xy-feature-dim: #496383;
}
.dark .xy-announcement-dialog.xy-welcome-two-step[data-slot='dialog-content'] {
  --xy-feature-paper: #1c2d48;
  --xy-feature-ink: #e1edff;
  --xy-feature-edge: #8cb8f5;
  --xy-feature-rule: #475f80;
  --xy-feature-dim: #bdcce2;
}
.xy-welcome-two-step .xy-announcement-head { padding: 17px 24px 15px; }
.xy-welcome-two-step .xy-announcement-head-icon {
  width: 38px;
  height: 38px;
}
.xy-welcome-two-step .xy-announcement-head-icon svg { width: 22px; height: 22px; }
.xy-welcome-two-step .xy-announcement-description { margin: 3px 0 0 53px; }
.xy-welcome-two-step .xy-announcement-heading:focus { outline: none; }
.xy-welcome-two-step .xy-announcement-panel { padding-top: 18px; }
.xy-welcome-feature {
  margin: 0 0 18px;
  padding: 17px 20px 14px;
  border: 1px solid var(--xy-feature-rule);
  border-inline-start: 5px solid var(--xy-feature-edge);
  background: var(--xy-feature-paper);
  box-shadow: 3px 3px 0 var(--xy-feature-rule);
  color: var(--xy-feature-ink);
}
.xy-welcome-feature-title {
  margin: 0;
  font-size: clamp(16px, 3.9vw, 20px);
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0;
}
.xy-welcome-models {
  display: block;
  margin-top: 5px;
  font-size: clamp(16px, 4.15vw, 26px);
  font-weight: 650;
  color: var(--xy-feature-ink);
}
.xy-welcome-models strong { font-family: Consolas, 'Liberation Mono', monospace; white-space: nowrap; }
.xy-welcome-trial { margin: 8px 0 0; font-size: 13px; font-weight: 650; }
.xy-welcome-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-block-start: 1px solid var(--xy-feature-rule);
  gap: 9px 15px;
}
.xy-welcome-reasons li { min-width: 0; font-size: 12px; line-height: 1.5; }
.xy-welcome-reasons strong { display: block; font-size: 13px; }
.xy-welcome-reasons span, .xy-welcome-pricing { color: var(--xy-feature-dim); }
.xy-welcome-pricing { margin: 10px 0 0; font-size: 12px; line-height: 1.5; }
.xy-welcome-accordion { display: grid; gap: 6px; }
.xy-welcome-accordion details { min-width: 0; border: 1px solid var(--xy-line); }
.xy-welcome-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 8px 14px;
  list-style: none;
  text-align: start;
  font-weight: 600;
  cursor: pointer;
}
.xy-welcome-accordion summary::-webkit-details-marker { display: none; }
.xy-welcome-accordion summary::after {
  content: '';
  justify-self: center;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
  translate: 0 -2px;
}
.xy-welcome-accordion details[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.xy-welcome-accordion summary:hover, .xy-welcome-accordion details[open] > summary {
  background: var(--xy-feature-paper);
  color: var(--xy-feature-ink);
}
.xy-welcome-accordion summary:focus-visible, .xy-welcome-two-step .xy-announcement-confirm:focus-visible {
  outline: 2px solid var(--xy-feature-edge);
  outline-offset: -3px;
}
.xy-welcome-detail {
  border-block-start: 1px solid var(--xy-line);
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.xy-welcome-detail-extra { margin-top: 8px; }
.xy-welcome-detail-extra, .xy-welcome-detail time { color: var(--xy-muted); }
.xy-welcome-detail time { display: block; margin-top: 8px; font-size: 12px; }
.xy-welcome-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.xy-welcome-two-step .xy-welcome-actions > p { margin: 0; }
.xy-welcome-stage {
  display: inline-block;
  margin-inline-end: 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--xy-feature-ink);
}
.xy-welcome-two-step .xy-welcome-actions .xy-announcement-confirm { flex: none; min-height: 44px; }
@media (max-width: 460px) {
  .xy-welcome-two-step .xy-announcement-head { padding: 12px 15px; }
  .xy-welcome-two-step .xy-announcement-panel { padding-top: 12px; }
  .xy-welcome-feature { padding: 13px 11px 11px; }
  .xy-welcome-reasons { gap: 7px 9px; }
  .xy-welcome-accordion summary { padding-inline: 10px; }
  .xy-welcome-actions { gap: 5px; }
  .xy-welcome-stage { margin-inline-end: 5px; }
}
@media (max-width: 350px) {
  .xy-welcome-models { font-size: 14px; }
  .xy-welcome-two-step .xy-welcome-actions .xy-announcement-confirm { min-width: 81px; }
}
