.cra-guide {
  --guide-ink: #0e0b14;
  --guide-violet: #632bc2;
  --guide-line: #ddd8e6;
  --guide-paper: #fbfaff;
  font-family: "Inter", "Arial", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--guide-ink);
}
.cra-guide *, .cra-guide *::before, .cra-guide *::after { box-sizing: border-box; }
.cra-guide :is(button, a) {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  touch-action: manipulation;
}
.cra-guide :is(button, a):focus-visible {
  outline: 3px solid #7952d0;
  outline-offset: 3px;
}
.cra-guide__launch {
  position: fixed;
  z-index: 25;
  inset: auto max(1.1rem, env(safe-area-inset-right)) max(1.1rem, env(safe-area-inset-bottom)) auto;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  margin: 0;
  padding: .6rem 1.1rem;
  border: 1px solid #514660;
  border-radius: 99px;
  background: var(--guide-ink);
  box-shadow: 0 4px 20px #0e0b1438;
  color: #fff;
}
.cra-guide__launch span:last-child { font-size: .9rem; font-weight: 650; }
.cra-guide__launch:hover { background: #2d213a; border-color: #9d74ef; }
.cra-guide__launch-icon {
  width: 1.05rem;
  height: .8rem;
  border: 1.5px solid #c6aaff;
  border-radius: .27rem;
  position: relative;
}
.cra-guide__launch-icon::after {
  content: "";
  position: absolute;
  bottom: -.22rem;
  left: .18rem;
  width: .27rem;
  height: .27rem;
  border-bottom: 1.5px solid #c6aaff;
  border-left: 1.5px solid #c6aaff;
  background: var(--guide-ink);
  transform: skewY(-32deg);
}
.cra-guide__panel {
  position: fixed;
  inset: auto max(1.15rem, env(safe-area-inset-right)) max(1.15rem, env(safe-area-inset-bottom)) auto;
  width: min(26rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(45rem, calc(100vh - 2.3rem));
  max-height: min(45rem, calc(100dvh - 2.3rem));
  padding: 0;
  margin: 0;
  border: 1px solid #cfc8d9;
  border-radius: 1.2rem;
  color: var(--guide-ink);
  background: var(--guide-paper);
  box-shadow: 0 16px 70px #17102140;
  overflow: hidden;
  text-align: left;
}
.cra-guide__panel:not([open]) { display: none; }
.cra-guide__panel[open] { display: flex; flex-direction: column; }
.cra-guide__panel::backdrop { background: #110b1b64; }
.cra-guide__header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 72px;
  padding: .75rem .95rem .75rem 1.1rem;
  background: var(--guide-ink);
  color: white;
  border-bottom: 3px solid #7c3aed;
}
.cra-guide__brand, .cra-guide__identity { display: flex; }
.cra-guide__brand { align-items: center; gap: .7rem; }
.cra-guide__logo {
  display: block; width: 2.35rem; height: 2.35rem; background: white;
  border-radius: .6rem; padding: .32rem; object-fit: contain;
}
.cra-guide__identity { flex-direction: column; }
.cra-guide__name { color: white; font-size: 1.02rem; font-weight: 700; letter-spacing: -.025em; }
.cra-guide__owner { font-size: .81rem; color: #d4cbdc; }
.cra-guide__close {
  position: relative; flex: none; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: .55rem; background: transparent;
}
.cra-guide__close:hover { background: #342c3e; }
.cra-guide__close::before, .cra-guide__close::after {
  position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; content: "";
  border-radius: 5px; background: white; transform: rotate(45deg);
}
.cra-guide__close::after { transform: rotate(-45deg); }
.cra-guide__content { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1.25rem; }
.cra-guide h2.cra-guide__heading {
  margin: 0 0 .65rem; padding: 0; color: var(--guide-ink); font: 700 1.5rem/1.15 "Inter", "Arial", sans-serif;
  text-transform: none; letter-spacing: -.045em;
}
.cra-guide__heading:focus { outline: none; }
.cra-guide p.cra-guide__copy, .cra-guide p.cra-guide__more {
  color: #433a50; font: 400 1rem/1.5 "Inter", "Arial", sans-serif;
  letter-spacing: normal; margin: 0 0 .8rem; max-width: none;
}
.cra-guide p.cra-guide__more { border-left: 2px solid #ad83f1; padding-left: .7rem; }
.cra-guide__choices, .cra-guide__links { display: grid; gap: .45rem; }
.cra-guide__choices { margin-top: 1rem; }
.cra-guide__links { margin-top: .95rem; }
.cra-guide__option, .cra-guide__primary, .cra-guide__secondary {
  width: 100%; min-height: 44px; margin: 0; padding: .67rem .85rem; text-align: left;
  border-radius: .6rem; line-height: 1.3; text-decoration: none;
}
.cra-guide .cra-guide__option {
  display: flex; align-items: center; justify-content: flex-start; gap: .68rem;
  background: white; color: #392553; border: 1px solid var(--guide-line);
  font-size: .96rem; font-weight: 600;
}
.cra-guide__option::before {
  content: ""; width: .42rem; height: .42rem; flex: none;
  border: 1px solid #8a59c9; border-radius: 50%;
}
.cra-guide__option:hover, .cra-guide__option:focus-visible { background: #f0eafb; border-color: #a632e1; }
.cra-guide .cra-guide__primary, .cra-guide .cra-guide__secondary {
  display: grid; place-items: center; text-decoration: none; font-weight: 650; text-align: center;
}
.cra-guide .cra-guide__primary { color: white; background: var(--guide-violet); border: 1px solid var(--guide-violet); }
.cra-guide .cra-guide__primary:hover { background: #51229e; }
.cra-guide .cra-guide__secondary { color: var(--guide-violet); background: white; border: 1px solid #b6a3ce; }
.cra-guide__secondary:hover { background: #efebf6; }
.cra-guide__actions {
  flex: none; display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; padding: .25rem .8rem; border-top: 1px solid var(--guide-line); background: #f4f1f8;
}
.cra-guide__actions[hidden] { display: none; }
.cra-guide .cra-guide__text-button {
  display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .45rem;
  border: 0; background: transparent; color: var(--guide-violet); font-size: .91rem; font-weight: 650;
}
.cra-guide__text-button:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .cra-guide__panel {
    inset: auto .6rem max(.6rem, env(safe-area-inset-bottom)) .6rem; width: auto;
    max-height: calc(100vh - 1.2rem); max-height: calc(100dvh - 1.2rem);
  }
  .cra-guide__launch { right: .8rem; bottom: max(.8rem, env(safe-area-inset-bottom)); }
  .cra-guide__content { padding: 1rem; }
}
@media print { .cra-guide { display: none !important; } }
