.kp-tour-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: #0b1a3a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  text-align: left;
  box-sizing: border-box;
}
.kp-tour-dialog:not([open]) { display: none; }
.kp-tour-dialog::backdrop { background: transparent; }
.kp-tour-dialog * { box-sizing: border-box; }
.kp-tour-shade {
  position: fixed;
  background: rgba(5, 13, 31, .67);
  pointer-events: none;
}
.kp-tour-shade-top { inset: 0 0 auto; height: var(--kp-tour-y, 0px); }
.kp-tour-shade-bottom { inset: calc(var(--kp-tour-y, 0px) + var(--kp-tour-h, 0px)) 0 0; }
.kp-tour-shade-left { left: 0; top: var(--kp-tour-y, 0px); width: var(--kp-tour-x, 0px); height: var(--kp-tour-h, 0px); }
.kp-tour-shade-right { left: calc(var(--kp-tour-x, 0px) + var(--kp-tour-w, 0px)); right: 0; top: var(--kp-tour-y, 0px); height: var(--kp-tour-h, 0px); }
.kp-tour-highlight {
  position: fixed;
  left: var(--kp-tour-x, 0px);
  top: var(--kp-tour-y, 0px);
  width: var(--kp-tour-w, 0px);
  height: var(--kp-tour-h, 0px);
  border: 2px solid #f0cf8a;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(11, 26, 58, .55), 0 0 24px rgba(240, 207, 138, .24);
  pointer-events: none;
}
.kp-tour-no-target .kp-tour-highlight { display: none; }
.kp-tour-no-target .kp-tour-shade-top { inset: 0; height: 100%; }
.kp-tour-no-target .kp-tour-shade-bottom,
.kp-tour-no-target .kp-tour-shade-left,
.kp-tour-no-target .kp-tour-shade-right { display: none; }
.kp-tour-card {
  position: fixed;
  z-index: 1;
  left: 16px;
  top: 16px;
  width: min(380px, calc(var(--kp-tour-vw, 100vw) - 32px));
  max-height: calc(var(--kp-tour-vh, 100dvh) - 32px);
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d6bb7e;
  border-radius: 24px;
  background: #fcfbf7;
  color: #0b1a3a;
  box-shadow: 0 18px 65px rgba(0, 0, 0, .27), inset 0 1px 0 #fff;
  animation: kp-tour-enter .16s ease-out;
}
.kp-tour-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kp-tour-eyebrow { color: #785b20; font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.kp-tour-card button { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; touch-action: manipulation; }
.kp-tour-card .kp-tour-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -8px -8px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0b1a3a;
  font-size: 27px;
  line-height: 1;
}
.kp-tour-close:hover { background: #eee8da; }
.kp-tour-counter { margin: 16px 0 8px; color: #785b20; font-size: 12px; line-height: 1.5; }
.kp-tour-title { margin: 0; color: #0b1a3a; font: 650 clamp(22px, 4.5vw, 27px)/1.3 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; letter-spacing: -.025em; }
.kp-tour-title:focus { outline: none; }
.kp-tour-description { margin: 14px 0 0; color: #233651; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.kp-tour-fallback { margin: 10px 0 0; color: #566274; font-size: 12px; line-height: 1.65; }
.kp-tour-fallback[hidden] { display: none; }
.kp-tour-dots { display: flex; gap: 6px; margin: 23px 0 22px; }
.kp-tour-dot { width: 6px; height: 6px; border-radius: 999px; background: #d7cdb7; transition: width .16s ease; }
.kp-tour-current { width: 26px; background: #a47b2f; }
.kp-tour-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.kp-tour-actions button { min-height: 44px; padding: 10px 14px; border-radius: 999px; font-size: 13px; line-height: 1.25; font-weight: 650; }
.kp-tour-skip { margin-right: auto; padding-left: 0!important; padding-right: 8px!important; border: 0; background: transparent; color: #566274; }
.kp-tour-back { border: 1px solid #c5bea9; background: transparent; color: #0b1a3a; }
.kp-tour-next { border: 1px solid #0b1a3a; background: #0b1a3a; color: #fff; }
.kp-tour-back:hover:not(:disabled) { background: #eee8da; }
.kp-tour-next:hover { background: #1c365e; }
.kp-tour-actions button:disabled { opacity: .38; cursor: default; }
.kp-tour-card button:focus-visible { outline: 3px solid #9c7428; outline-offset: 3px; }
@keyframes kp-tour-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 380px) {
  .kp-tour-card { padding: 17px; border-radius: 20px; }
  .kp-tour-actions { gap: 6px; }
  .kp-tour-actions button { padding-left: 11px; padding-right: 11px; }
  .kp-tour-eyebrow { letter-spacing: .06em; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-tour-card { animation: none; }
  .kp-tour-dot { transition: none; }
}
@media (forced-colors: active) {
  .kp-tour-card { background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
  .kp-tour-highlight { border-color: Highlight; box-shadow: none; }
  .kp-tour-title, .kp-tour-description, .kp-tour-counter, .kp-tour-eyebrow, .kp-tour-fallback { color: CanvasText; }
  .kp-tour-next { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}
@media print { .kp-tour-dialog { display: none!important; } }
