
.tes-tutorial-lock { overflow: hidden; }

#tes-tutorial-root { position: relative; z-index: 2147483000; }

.tes-mini-banner,
.tes-tour-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  z-index: 2147483002;
}

.tes-banner-top { top: 12px; bottom: auto; }
.tes-banner-bottom { bottom: 12px; top: auto; }

.tes-mini-banner-inner,
.tes-tour-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,247,255,.98) 100%);
  border: 3px solid rgba(255,255,255,.95);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  padding: 10px 12px;
}

.tes-mini-brand,
.tes-tour-brand,
.tes-help-sheet-brand {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg,#4b1d95 0%,#e8348a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 8px 20px rgba(150,48,140,.20);
  white-space: nowrap;
}

.tes-mini-copy,
.tes-tour-copy {
  flex: 1;
  min-width: 0;
}

.tes-mini-title,
.tes-tour-title {
  margin: 0 0 2px 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  color: #111;
}

.tes-mini-text,
.tes-tour-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #333;
}

.tes-tour-step-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 800;
  margin-bottom: 3px;
}

.tes-mini-close,
.tes-tour-actions button,
.tes-menu-tutorial-link,
.tes-help-sheet-actions button,
.tes-help-sheet-close {
  appearance: none;
  border: 3px solid #111;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.tes-tour-actions .tes-tour-next,
.tes-help-sheet-actions button:first-child {
  background: linear-gradient(90deg,#4b1d95 0%,#e8348a 100%);
  color: #fff;
  border-color: #4b1d95;
}

.tes-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
}

.tes-tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,6,20,.68);
  backdrop-filter: none;
}

.tes-tour-highlight {
  position: absolute;
  border: 3px solid #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 9999px rgba(10,8,22,.38), 0 0 0 8px rgba(255,255,255,.14), 0 14px 40px rgba(0,0,0,.28);
  pointer-events: none;
  transition: all .28s ease;
}

.tes-tour-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tes-help-sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 2147483005;
}
.tes-help-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,6,20,.68);
}
.tes-help-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,247,255,.98) 100%);
  border: 3px solid rgba(255,255,255,.95);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  padding: 16px;
}
.tes-help-sheet-title {
  margin: 10px 0 14px 0;
  font-size: 22px;
  line-height: 1.1;
}
.tes-help-sheet-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.tes-menu-tutorial-link {
  width: 100%;
  margin-top: 12px;
  text-align: left;
}
.tes-menu-tutorial-item,
.tes-menu-tutorial-wrap {
  list-style: none;
  width: 100%;
}

@media (max-width: 760px) {
  .tes-mini-banner-inner,
  .tes-tour-banner-inner {
    flex-wrap: wrap;
  }
  .tes-tour-actions {
    width: 100%;
  }
  .tes-mini-title,
  .tes-tour-title {
    font-size: 17px;
  }
  .tes-mini-text,
  .tes-tour-text {
    font-size: 13px;
  }
}


.tes-logo-badge{
  width:54px;
  height:54px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffcc4d 0%, #2ecc71 25%, #3498db 50%, #7b3fe4 75%, #ff4fa3 100%);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  border:3px solid #fff;
  flex:0 0 auto;
}
.tes-logo-badge span{
  font-weight:900;
  font-size:16px;
  line-height:1;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}


/* v3.5 clarity polish: keep highlighted target crisp and readable */
.tes-tour-backdrop{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.tes-tour-highlight{
  box-shadow:
    0 0 0 9999px rgba(10,8,22,.38),
    0 0 0 8px rgba(255,255,255,.14),
    0 14px 40px rgba(0,0,0,.28) !important;
}


/* v3.7 clarity update: keep highlighted targets bright and crisp */
.tes-tour-backdrop{
  display:none !important;
}

.tes-tour-highlight{
  background: transparent !important;
  border: 4px solid #ffffff !important;
  box-shadow:
    0 0 0 9999px rgba(10,8,22,.48),
    0 0 0 10px rgba(255,255,255,.18),
    0 0 30px rgba(255,255,255,.22),
    0 18px 48px rgba(0,0,0,.28) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.tes-tour-highlight::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
  pointer-events:none;
}

.tes-tour-overlay{
  isolation:isolate;
}


/* v3.8: allow longer field hints to wrap cleanly */
.tes-mini-banner-inner,
.tes-tour-banner-inner{
  align-items: flex-start;
}
.tes-mini-copy,
.tes-tour-copy{
  word-break: normal;
  overflow-wrap: anywhere;
}


/* v3.10 register-field hint overlay */
.tes-mini-banner.tes-banner-over-field {
  position: fixed !important;
  transform: none !important;
  z-index: 2147483006 !important;
}

.tes-mini-banner.tes-banner-over-field .tes-mini-banner-inner {
  align-items: flex-start;
}

.tes-mini-banner.tes-banner-over-field .tes-mini-copy {
  word-break: normal;
  overflow-wrap: anywhere;
}

.tes-mini-banner.tes-banner-over-field .tes-mini-close {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  flex: 0 0 auto;
}
