#aep-storybook {
  --aep-ink: #315f91;
  --aep-sky: #7dc8e8;
  --aep-sun: #f5b942;
  --aep-leaf: #78a85b;
  --aep-paper: #fffdf7;
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 2147482000;
  font-family: "Nunito", Arial, sans-serif;
  color: #263549;
  line-height: 1.5;
  text-align: left;
}
#aep-storybook.aep-side-left {
  right: auto;
  left: 24px;
}
#aep-storybook * {
  box-sizing: border-box;
}
#aep-storybook button,
#aep-storybook input,
#aep-storybook select,
#aep-storybook textarea {
  font: inherit;
}
.aep-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 17px 7px 7px;
  border: 2px solid #fff;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--aep-ink), #477dae);
  color: #fff;
  box-shadow: 0 18px 45px rgba(42, 77, 112, 0.3);
  cursor: pointer;
  transition: 0.3s;
}
.aep-launcher:hover {
  transform: translateY(-4px) rotate(-1deg);
}
.aep-launcher.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
.aep-mascot {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 17px 17px 20px 15px;
  background: var(--aep-sun);
  color: #274762;
  font-family: "Baloo 2";
  font-size: 23px;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}
.aep-launcher b,
.aep-launcher small {
  display: block;
}
.aep-launcher b {
  font-family: "Baloo 2";
  font-size: 15px;
}
.aep-launcher small {
  font-size: 10px;
  opacity: 0.82;
}
.aep-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, calc(100vw - 20px));
  height: min(735px, calc(100vh - 26px));
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: var(--aep-paper);
  box-shadow: 0 32px 100px rgba(35, 67, 98, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.96);
  transform-origin: bottom right;
  transition: 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.aep-side-left .aep-panel {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}
.aep-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.aep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px 17px;
  background: linear-gradient(
    120deg,
    var(--aep-ink),
    #467db1 65%,
    var(--aep-sky)
  );
  color: #fff;
}
.aep-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.aep-logo {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 18px;
  background: #fff;
  color: var(--aep-ink);
  font-family: "Baloo 2";
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(31, 63, 93, 0.18);
  overflow: hidden;
}
.aep-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.aep-brand b {
  display: block;
  font-family: "Baloo 2";
  font-size: 16px;
  line-height: 1.15;
}
.aep-brand small {
  font-size: 10px;
  opacity: 0.86;
}
.aep-brand small i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #8ff0b7;
}
.aep-head-actions {
  display: flex;
  gap: 7px;
}
.aep-head-actions button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 21px;
  cursor: pointer;
}
.aep-body {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(48, 93, 135, 0.28) transparent;
}
.aep-home {
  animation: aepIn 0.45s ease;
}
.aep-scene {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(#bce8f6, #eef9fa);
}
.aep-sun {
  position: absolute;
  right: 35px;
  top: 23px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--aep-sun);
  box-shadow: 0 0 0 9px rgba(245, 185, 66, 0.2);
  animation: aepFloat 3s ease-in-out infinite;
}
.aep-cloud {
  position: absolute;
  width: 62px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 20px -11px 0 -2px #fff;
}
.aep-cloud.c1 {
  left: 38px;
  top: 35px;
  animation: aepCloud 8s linear infinite;
}
.aep-cloud.c2 {
  right: 90px;
  top: 85px;
  transform: scale(0.72);
  animation: aepCloud 11s linear infinite reverse;
}
.aep-rainbow {
  position: absolute;
  left: 50%;
  top: 48px;
  color: #ef7d96;
  font-family: "Baloo 2";
  font-size: 90px;
  line-height: 1;
  transform: translateX(-50%) rotate(-2deg);
  text-shadow:
    0 -9px #f5b942,
    0 -18px #7dc8e8;
}
.aep-hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -65px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(var(--aep-leaf), #5b9345);
}
.aep-pencil {
  position: absolute;
  right: 22px;
  bottom: 12px;
  font-size: 30px;
  color: #fff;
  transform: rotate(-15deg);
}
.aep-home-copy {
  padding: 20px 22px 14px;
  text-align: center;
}
.aep-home-copy > span,
.aep-gate > small {
  color: #db795d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.aep-home-copy h2,
.aep-gate h2 {
  margin: 5px 0 7px;
  color: #294e70;
  font-family: "Baloo 2";
  font-size: 25px;
  line-height: 1.08;
}
.aep-home-copy p,
.aep-gate > p {
  margin: 0;
  color: #697789;
  font-size: 12px;
}
.aep-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 0 18px;
}
.aep-paths button {
  position: relative;
  min-height: 112px;
  padding: 13px;
  border: 1px solid #d9e6eb;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  color: #29465f;
  box-shadow: 0 8px 20px rgba(43, 88, 123, 0.06);
  cursor: pointer;
  transition: 0.24s;
}
.aep-paths button:nth-child(2) {
  background: #fff9e9;
}
.aep-paths button:nth-child(3) {
  background: #f4fbef;
}
.aep-paths button:nth-child(4) {
  background: #fff2f4;
}
.aep-paths button:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  border-color: var(--aep-sky);
  box-shadow: 0 14px 30px rgba(43, 88, 123, 0.13);
}
.aep-paths em {
  display: block;
  color: #df725a;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.aep-paths b {
  display: block;
  margin: 7px 0 2px;
  font-family: "Baloo 2";
  font-size: 15px;
}
.aep-paths small {
  display: block;
  color: #718091;
  font-size: 10px;
  line-height: 1.35;
}
.aep-paths i {
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-style: normal;
  color: #df725a;
}
.aep-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  padding: 13px 18px 20px;
}
.aep-quick button {
  padding: 7px 10px;
  border: 1px dashed #aac8d8;
  border-radius: 999px;
  background: #fff;
  color: #426782;
  font-size: 10px;
  cursor: pointer;
}
.aep-gate {
  padding: 34px 28px;
  text-align: center;
  background: radial-gradient(circle at 50% 0, #e9f7fb, transparent 48%);
}
.aep-gate-art {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  border-radius: 25px 18px 24px 19px;
  background: var(--aep-sun);
  color: #fff;
  font-size: 28px;
  transform: rotate(-4deg);
  box-shadow: 0 12px 30px rgba(219, 151, 42, 0.2);
}
.aep-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 15px;
}
.aep-dots i {
  width: 20px;
  height: 5px;
  border-radius: 9px;
  background: #dce7ea;
}
.aep-dots i.on {
  background: var(--aep-sun);
}
.aep-lead-form {
  text-align: left;
}
.aep-lead-form label {
  font-size: 11px;
  font-weight: 700;
}
.aep-lead-form input,
.aep-tour-step input,
.aep-tour-step select {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #cedfe6 !important;
  border-radius: 15px;
  background: #fff !important;
  color: #263549 !important;
  -webkit-text-fill-color: #263549 !important;
  outline: 0;
}
.aep-lead-form input::placeholder,
.aep-tour-step input::placeholder,
.aep-composer textarea::placeholder {
  color: #758495 !important;
  -webkit-text-fill-color: #758495 !important;
  opacity: 1;
}
.aep-lead-form > button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 15px;
  background: var(--aep-ink);
  color: #fff;
  font-weight: 700;
}
.aep-lead-form > p {
  min-height: 18px;
  color: #b74e55;
  font-size: 10px;
  text-align: center;
}
.aep-thread {
  padding: 18px 15px 26px;
}
.aep-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
  animation: aepMessage 0.3s ease;
}
.aep-user {
  justify-content: flex-end;
}
.aep-mini {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--aep-ink);
  color: #fff;
  font-family: "Baloo 2";
  font-size: 11px;
}
.aep-bubble {
  max-width: 84%;
  padding: 12px 14px;
  border: 1px solid #dbe6ea;
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  color: #2f4051;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.aep-user .aep-bubble {
  border: 0;
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, var(--aep-ink), #487dac);
  color: #fff;
}
.aep-typing i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--aep-sky);
  animation: aepDot 1s infinite;
}
.aep-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.aep-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.aep-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
  padding-left: 36px;
}
.aep-suggestions button,
.aep-complete button {
  padding: 8px 11px;
  border: 1px solid #d4e1e7;
  border-radius: 999px;
  background: #fff;
  color: #426782;
  font-size: 10px;
  cursor: pointer;
}
.aep-suggestions .is-tour {
  border-color: #e9bc54;
  background: #fff8df;
  color: #755619;
}
.aep-suggestions .is-team {
  border-color: #a8cf9b;
  background: #f4fbef;
  color: #4d7140;
}
.aep-tour-step {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  margin: 0 0 16px 36px;
}
.aep-tour-step input,
.aep-tour-step select {
  margin: 0;
}
.aep-tour-step button {
  width: 44px;
  height: 44px;
  align-self: center;
  border: 0;
  border-radius: 14px;
  background: var(--aep-ink);
  color: #fff;
}
.aep-tour-step small {
  grid-column: 1/-1;
  color: #b74e55;
  font-size: 10px;
}
.aep-team-card {
  margin: 0 0 18px 36px;
  padding: 17px;
  border: 1px solid #d9e7eb;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f3fbfd);
  box-shadow: 0 12px 28px rgba(43, 88, 123, 0.08);
}
.aep-team-card > small {
  color: #db795d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.aep-team-card h3 {
  margin: 5px 0 12px;
  font-family: "Baloo 2";
  font-size: 18px;
}
.aep-team-card a {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #dbe8ec;
  border-radius: 14px;
  background: #fff;
  color: #345b78;
  text-decoration: none !important;
}
.aep-team-card a span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
}
.aep-team-card a b {
  font-size: 11px;
}
.aep-team-card a em {
  font-size: 9px;
  font-style: normal;
  color: #748392;
}
.aep-team-card > button {
  width: 100%;
  min-height: 43px;
  margin-top: 10px;
  border: 0;
  border-radius: 13px;
  background: var(--aep-ink);
  color: #fff;
}
.aep-complete {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px 36px;
}
.aep-composer {
  padding: 10px 13px;
  border-top: 1px solid #dce8eb;
  background: rgba(255, 253, 247, 0.96);
}
.aep-composer form {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 6px 6px 6px 13px;
  border: 1px solid #bfd4dd;
  border-radius: 18px;
  background: #fff;
}
.aep-composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 39px;
  max-height: 88px;
  padding: 10px 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #263549 !important;
  -webkit-text-fill-color: #263549 !important;
  resize: none;
}
.aep-composer button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--aep-ink);
  color: #fff;
  font-size: 18px;
}
.aep-composer > small {
  display: block;
  margin-top: 6px;
  color: #83909c;
  font-size: 8px;
  text-align: center;
}
.aep-panel [hidden] {
  display: none !important;
}
@keyframes aepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aepMessage {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aepFloat {
  50% {
    transform: translateY(-6px);
  }
}
@keyframes aepCloud {
  50% {
    transform: translateX(15px);
  }
}
@keyframes aepDot {
  50% {
    transform: translateY(-4px);
    opacity: 0.45;
  }
}
@media (max-width: 600px) {
  #aep-storybook,
  #aep-storybook.aep-side-left {
    left: 7px;
    right: 7px;
    bottom: 7px;
  }
  .aep-panel {
    position: fixed;
    inset: 7px;
    width: auto;
    height: auto;
    border-radius: 23px;
  }
  .aep-header {
    min-height: 74px;
    padding: 11px 13px;
  }
  .aep-scene {
    height: 125px;
  }
  .aep-paths {
    gap: 7px;
    padding: 0 12px;
  }
  .aep-paths button {
    min-height: 105px;
  }
  .aep-home-copy {
    padding: 16px 17px 12px;
  }
  .aep-home-copy h2 {
    font-size: 23px;
  }
  .aep-launcher {
    margin-left: auto;
  }
  .aep-side-left .aep-launcher {
    margin-left: 0;
  }
  .aep-composer textarea {
    font-size: 16px;
  }
}
@media (max-width: 365px) {
  .aep-paths {
    grid-template-columns: 1fr;
  }
  .aep-paths button {
    min-height: 85px;
  }
  .aep-scene {
    height: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #aep-storybook *,
  #aep-storybook *:before,
  #aep-storybook *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Theme-proof premium controls: intentionally scoped to the widget. */
#aep-storybook .aep-head-actions button,
#aep-storybook .aep-paths button,
#aep-storybook .aep-quick button,
#aep-storybook .aep-suggestions button,
#aep-storybook .aep-complete button,
#aep-storybook .aep-team-card > button,
#aep-storybook .aep-tour-step button,
#aep-storybook .aep-lead-form > button,
#aep-storybook .aep-composer button {
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: "Nunito", Arial, sans-serif !important;
  cursor: pointer !important;
  appearance: none !important;
}
#aep-storybook .aep-head-actions {
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 8px !important;
}
#aep-storybook .aep-head-actions button {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.20),rgba(255,255,255,.08)) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22),0 6px 18px rgba(24,60,93,.12) !important;
  line-height: 1 !important;
}
#aep-storybook .aep-head-actions button:hover {
  background: rgba(255,255,255,.25) !important;
  transform: translateY(-1px) !important;
}
#aep-storybook .aep-head-actions svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none !important;
}
#aep-storybook .aep-home-copy {
  padding-bottom: 12px !important;
}
#aep-storybook .aep-home-copy h2 {
  max-width: 330px;
  margin: 5px auto 7px !important;
  font-size: 23px !important;
}
#aep-storybook .aep-paths {
  gap: 9px !important;
}
#aep-storybook .aep-paths button {
  min-height: 94px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(129,173,198,.38) !important;
  border-radius: 17px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(242,249,252,.76)) !important;
  color: #244a68 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95),0 9px 24px rgba(37,83,117,.08) !important;
  line-height: 1.25 !important;
  backdrop-filter: blur(10px) !important;
}
#aep-storybook .aep-paths button:hover {
  border-color: rgba(63,132,181,.65) !important;
  background: linear-gradient(145deg,#fff,rgba(230,244,250,.92)) !important;
  box-shadow: inset 0 1px 0 #fff,0 13px 30px rgba(37,83,117,.14) !important;
  transform: translateY(-2px) !important;
}
#aep-storybook .aep-paths em,
#aep-storybook .aep-paths i {
  color: #4a82af !important;
}
#aep-storybook .aep-paths b {
  margin-top: 6px !important;
  color: #173f5d !important;
  font-size: 14px !important;
}
#aep-storybook .aep-paths small {
  color: #65788b !important;
  font-size: 9.5px !important;
}
#aep-storybook .aep-quick {
  gap: 7px !important;
  padding: 12px 18px 18px !important;
}
#aep-storybook .aep-quick button,
#aep-storybook .aep-suggestions button,
#aep-storybook .aep-complete button {
  width: auto !important;
  min-height: 32px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(112,155,181,.36) !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,247,250,.78)) !important;
  color: #335f7d !important;
  box-shadow: 0 4px 12px rgba(40,79,107,.06) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
#aep-storybook .aep-quick button:hover,
#aep-storybook .aep-suggestions button:hover,
#aep-storybook .aep-complete button:hover {
  border-color: #6ca7ca !important;
  background: #f4fbff !important;
  color: #173f5d !important;
  transform: translateY(-1px) !important;
}
#aep-storybook .aep-suggestions .is-tour {
  border-color: rgba(218,173,72,.42) !important;
  background: linear-gradient(145deg,#fffdf7,#fff8e8) !important;
  color: #775b22 !important;
}
#aep-storybook .aep-suggestions .is-team {
  border-color: rgba(102,151,92,.42) !important;
  background: linear-gradient(145deg,#fbfff9,#eff8eb) !important;
  color: #41653a !important;
}
#aep-storybook .aep-team-card > button,
#aep-storybook .aep-lead-form > button,
#aep-storybook .aep-tour-step button,
#aep-storybook .aep-composer button {
  border: 0 !important;
  background: linear-gradient(145deg,#315f89,#244d75) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37,78,115,.18) !important;
}
#aep-storybook .aep-team-card > button:hover,
#aep-storybook .aep-lead-form > button:hover,
#aep-storybook .aep-tour-step button:hover,
#aep-storybook .aep-composer button:hover {
  background: linear-gradient(145deg,#3f75a4,#2b587f) !important;
  transform: translateY(-1px) !important;
}
#aep-storybook .aep-composer button {
  flex-basis: 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 13px !important;
  line-height: 42px !important;
}
#aep-storybook .aep-team-card a {
  color: #315f80 !important;
  background: rgba(255,255,255,.88) !important;
}
@media (max-width: 600px) {
  #aep-storybook .aep-paths button { min-height: 90px !important; }
  #aep-storybook .aep-home-copy h2 { font-size: 22px !important; }
}

/* v1.0.4 visual polish: restrained coral glass, branded launcher and dimensional garden. */
#aep-storybook .aep-launcher {
  min-height: 60px;
  padding: 6px 17px 6px 6px;
  gap: 10px;
  border-radius: 22px;
  background: linear-gradient(135deg,#376f9f 0%,#4e8abb 68%,#63b9d2 100%);
  box-shadow: 0 18px 45px rgba(39,87,125,.28),inset 0 1px 0 rgba(255,255,255,.28);
}
#aep-storybook .aep-launch-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(37,104,73,.08),0 7px 18px rgba(18,59,91,.18);
}
#aep-storybook .aep-launch-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#aep-storybook .aep-launch-copy b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em !important;
}
#aep-storybook .aep-logo {
  padding: 3px;
  background: #fff;
}
#aep-storybook .aep-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#aep-storybook .aep-scene {
  isolation: isolate;
  height: 150px;
  perspective: 760px;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 78% 18%,rgba(255,255,255,.72),transparent 26%),
    linear-gradient(180deg,#b8e9f7 0%,#dff5f8 68%,#f8fcf5 100%);
  box-shadow: inset 0 -16px 28px rgba(45,111,82,.08);
}
#aep-storybook .aep-scene::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:-30% -45%;
  background:linear-gradient(112deg,transparent 38%,rgba(255,255,255,.42) 49%,transparent 60%);
  transform:translateX(-36%) rotateY(-12deg);
  animation:aepSceneShimmer 7s ease-in-out infinite;
  pointer-events:none;
}
#aep-storybook .aep-scene::after {
  content:"";
  position:absolute;
  z-index:8;
  left:-8%;right:-8%;bottom:-9px;height:35px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.34));
  filter:blur(5px);
  animation:aepMist 5.5s ease-in-out infinite;
}
#aep-storybook .aep-sky-glow {
  position:absolute;
  z-index:0;
  inset:0;
  background:radial-gradient(ellipse at 75% 25%,rgba(255,217,117,.22),transparent 35%);
  animation:aepGlow 4.8s ease-in-out infinite;
}
#aep-storybook .aep-sun {
  z-index:3;
  width:46px;
  height:46px;
  background:radial-gradient(circle at 35% 30%,#ffd96b 0 16%,#ffc348 42%,#f7a930 100%);
  box-shadow:0 0 0 10px rgba(255,204,86,.20),0 0 36px rgba(255,176,50,.38),inset -5px -7px 11px rgba(218,125,19,.13);
  transform:translateZ(45px);
  animation:aepSun3D 4.4s ease-in-out infinite;
}
#aep-storybook .aep-sun::before {
  content:"";
  position:absolute;
  inset:-17px;
  border-radius:50%;
  background:repeating-conic-gradient(from 4deg,rgba(255,192,49,.23) 0 5deg,transparent 5deg 22deg);
  -webkit-mask:radial-gradient(circle,transparent 0 55%,#000 57%);
  mask:radial-gradient(circle,transparent 0 55%,#000 57%);
  animation:aepRaySpin 18s linear infinite;
}
#aep-storybook .aep-cloud {
  z-index:4;
  background:linear-gradient(180deg,#fff,#eef8fb);
  box-shadow:20px -11px 0 -2px #fff,0 10px 18px rgba(56,124,157,.12);
  transform:translateZ(25px);
  filter:drop-shadow(0 3px 3px rgba(48,107,139,.08));
}
#aep-storybook .aep-rainbow {
  z-index:2;
  transform:translateX(-50%) translateZ(10px) rotateX(9deg) rotate(-2deg);
  filter:drop-shadow(0 9px 9px rgba(54,112,130,.13));
  animation:aepRainbowBreathe 4.7s ease-in-out infinite;
}
#aep-storybook .aep-hill {
  z-index:5;
  left:-12%;right:-12%;
  border-radius:50% 50% 0 0/72% 72% 0 0;
  transform-origin:center bottom;
}
#aep-storybook .aep-hill-back {
  bottom:-69px;
  height:125px;
  background:linear-gradient(180deg,#8fbe70,#6fa157);
  box-shadow:inset 0 9px 18px rgba(255,255,255,.14);
  transform:translateZ(0) rotateX(4deg);
}
#aep-storybook .aep-hill-front {
  left:-20%;right:-18%;bottom:-92px;height:132px;
  background:linear-gradient(180deg,#6fa756,#4e8744);
  box-shadow:inset 0 10px 20px rgba(255,255,255,.12),0 -10px 22px rgba(55,114,69,.10);
  transform:translateZ(34px) rotateX(6deg);
  animation:aepHillBreathe 6s ease-in-out infinite;
}
#aep-storybook .aep-garden {
  position:absolute;
  z-index:7;
  left:10%;right:9%;bottom:9px;height:18px;
  background:
    radial-gradient(circle at 8% 70%,#ff8454 0 3px,transparent 3.5px),
    radial-gradient(circle at 25% 40%,#ffd457 0 3px,transparent 3.5px),
    radial-gradient(circle at 46% 72%,#ff9d77 0 3px,transparent 3.5px),
    radial-gradient(circle at 68% 36%,#fff2a9 0 3px,transparent 3.5px),
    radial-gradient(circle at 88% 66%,#ff8454 0 3px,transparent 3.5px);
  filter:drop-shadow(0 3px 2px rgba(35,92,53,.18));
  transform:translateZ(70px);
  animation:aepGardenSway 3.8s ease-in-out infinite;
}
#aep-storybook .aep-spark {
  position:absolute;
  z-index:9;
  width:5px;height:5px;border-radius:50%;
  background:rgba(255,255,255,.95);
  box-shadow:0 0 9px rgba(255,238,173,.9);
  animation:aepSpark 3.2s ease-in-out infinite;
}
#aep-storybook .aep-s1{left:24%;top:62%;}
#aep-storybook .aep-s2{left:62%;top:42%;animation-delay:1.1s;}
#aep-storybook .aep-s3{right:13%;top:61%;animation-delay:2.1s;}
#aep-storybook .aep-pencil {z-index:10;transform:translateZ(75px) rotate(-15deg);filter:drop-shadow(0 5px 5px rgba(27,65,61,.2));animation:aepPencilFloat 3.5s ease-in-out infinite;}

#aep-storybook .aep-paths button {
  position:relative;
  overflow:hidden;
  min-height:91px !important;
  border-color:rgba(255,132,84,.35) !important;
  background:linear-gradient(142deg,rgba(255,132,84,.18) 0%,rgba(255,255,255,.93) 43%,rgba(255,239,231,.78) 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 25px rgba(173,91,60,.09) !important;
}
#aep-storybook .aep-paths button::after {
  content:"";
  position:absolute;
  right:-28px;bottom:-35px;
  width:85px;height:85px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,132,84,.19),transparent 67%);
  transition:transform .3s ease;
}
#aep-storybook .aep-paths button:nth-child(even) {
  background:linear-gradient(218deg,rgba(255,132,84,.18) 0%,rgba(255,255,255,.94) 46%,rgba(255,244,237,.78) 100%) !important;
}
#aep-storybook .aep-paths button:hover {
  border-color:rgba(255,132,84,.72) !important;
  background:linear-gradient(142deg,rgba(255,132,84,.26),#fff 52%,rgba(255,235,224,.92)) !important;
  box-shadow:inset 0 1px 0 #fff,0 15px 31px rgba(191,88,51,.15) !important;
}
#aep-storybook .aep-paths button:hover::after {transform:scale(1.22);}
#aep-storybook .aep-paths em,
#aep-storybook .aep-paths i {color:#df6842 !important;}
#aep-storybook .aep-paths b {color:#214a68 !important;}
#aep-storybook .aep-paths small {font-size:10px !important;}

#aep-storybook .aep-suggestions button,
#aep-storybook .aep-complete button {
  min-height:34px !important;
  padding:8px 12px !important;
  border:1px solid rgba(220,91,52,.18) !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ff956d 0%,#ff8454 58%,#f4774c 100%) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(218,92,51,.15),inset 0 1px 0 rgba(255,255,255,.28) !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.25 !important;
}
#aep-storybook .aep-suggestions button:hover,
#aep-storybook .aep-complete button:hover {
  border-color:rgba(213,81,41,.28) !important;
  background:linear-gradient(135deg,#ff9d78,#ff7749) !important;
  color:#fff !important;
  transform:translateY(-2px) !important;
  box-shadow:0 10px 21px rgba(205,77,38,.21) !important;
}
#aep-storybook .aep-suggestions .is-tour,
#aep-storybook .aep-suggestions .is-team {
  border-color:rgba(220,91,52,.2) !important;
  background:linear-gradient(135deg,#ff956d,#ff8454) !important;
  color:#fff !important;
}
#aep-storybook .aep-quick button {
  min-height:32px !important;
  padding:7px 12px !important;
  border-color:rgba(255,132,84,.34) !important;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,238,229,.76)) !important;
  color:#b95435 !important;
  font-size:12px !important;
}
#aep-storybook .aep-bubble {font-size:14px !important;line-height:1.55 !important;}
#aep-storybook .aep-team-card p,
#aep-storybook .aep-tour-step p,
#aep-storybook .aep-gate-copy {font-size:14px !important;line-height:1.55 !important;}

@keyframes aepSceneShimmer{0%,15%{transform:translateX(-38%) rotateY(-12deg)}55%,100%{transform:translateX(42%) rotateY(-12deg)}}
@keyframes aepSun3D{0%,100%{transform:translateZ(45px) translateY(0) rotate(-2deg)}50%{transform:translateZ(62px) translateY(-5px) rotate(2deg)}}
@keyframes aepRaySpin{to{transform:rotate(360deg)}}
@keyframes aepGlow{0%,100%{opacity:.62;transform:scale(.98)}50%{opacity:1;transform:scale(1.05)}}
@keyframes aepRainbowBreathe{0%,100%{transform:translateX(-50%) translateZ(10px) rotateX(9deg) rotate(-2deg);opacity:.88}50%{transform:translateX(-50%) translateZ(18px) rotateX(4deg) rotate(1deg);opacity:1}}
@keyframes aepHillBreathe{0%,100%{transform:translateZ(34px) rotateX(6deg) scaleX(1)}50%{transform:translateZ(40px) rotateX(4deg) scaleX(1.018)}}
@keyframes aepGardenSway{0%,100%{transform:translateZ(70px) rotate(-.4deg)}50%{transform:translateZ(76px) rotate(.8deg)}}
@keyframes aepSpark{0%,100%{opacity:0;transform:translateY(8px) scale(.4)}45%{opacity:1;transform:translateY(-7px) scale(1)}}
@keyframes aepMist{0%,100%{opacity:.3;transform:translateX(-2%)}50%{opacity:.56;transform:translateX(3%)}}
@keyframes aepPencilFloat{0%,100%{transform:translateZ(75px) translateY(0) rotate(-15deg)}50%{transform:translateZ(83px) translateY(-5px) rotate(-10deg)}}

@media (max-width:600px){
  #aep-storybook .aep-scene{height:135px;}
  #aep-storybook .aep-paths button{min-height:88px !important;}
  #aep-storybook .aep-bubble{font-size:14px !important;}
  #aep-storybook .aep-suggestions button,#aep-storybook .aep-complete button{font-size:12px !important;}
}
