/* The tour of knowledge (tour.js, 830_tour.sql): the offer card bottom-left and the six-step tour.
   Light, soft colored tiles, soft blurred shadows only (no thick outlines, no hard offset shadows). */
.wt-ico svg, .wt-tile svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wt-tile { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; padding: 13px; border-radius: 16px; transform: rotate(-5deg); }
.wt-tile.t0 { background: #FFF0E8; color: #D9430F; } .wt-tile.t1 { background: #EEEBFF; color: #5B4CF5; }
.wt-tile.t2 { background: #E3F4EE; color: #0F766E; } .wt-tile.t3 { background: linear-gradient(140deg, #FF5A1F, #F59E0B); color: #fff; box-shadow: 0 12px 24px -14px rgba(255,90,31,.8); }
.wt-tile.big { width: 64px; height: 64px; padding: 16px; border-radius: 20px; }

/* the card */
.wt-card { position: fixed; left: 20px; bottom: 20px; z-index: 59; width: min(390px, calc(100% - 24px)); padding: 20px 20px 18px; border-radius: 18px;
  background: #fff; color: #15171C; border: 1px solid #E4E5E0; box-shadow: 0 24px 60px -24px rgba(21, 23, 28, .45);
  transform: translateY(24px); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.wt-card.on { transform: none; opacity: 1; }
.wt-card-top { display: flex; gap: 14px; align-items: flex-start; padding-right: 28px; }
.wt-card-top b { display: block; font: 700 18px/1.25 var(--display, Poppins, sans-serif); letter-spacing: -0.01em; margin-bottom: 4px; }
.wt-card-top p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #4B505B; }
.wt-card-acts { display: flex; gap: 10px; margin-top: 16px; }
.wt-card-acts .btn { flex: 1; min-height: 44px; padding: 10px 14px; font-size: 15px; }
.wt-card .btn-line, .wt .btn-line { background: #fff; color: #15171C; border: 1.5px solid #CDD0C8; }
.wt-card-x, .wt-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 8px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #F3F4F1; color: #15171C; cursor: pointer; }

/* the tour */
.wt { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: #15171C;
  box-shadow: 0 40px 90px -30px rgba(14, 20, 48, .55); overflow: auto; }
.wt::backdrop { background: rgba(14, 20, 48, .45); backdrop-filter: blur(3px); }
.wt-in { position: relative; padding: 26px 26px 22px; }
.wt-bar { display: flex; gap: 6px; margin: 4px 44px 22px 0; }
.wt-bar i { flex: 1; height: 6px; border-radius: 6px; background: #ECEDE8; transition: background .3s; }
.wt-bar i.done { background: #FFB088; } .wt-bar i.now { background: linear-gradient(90deg, #FF5A1F, #F59E0B); }
.wt-step { min-height: 250px; }
.wt-count { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: #737885; }
.wt-step h2 { margin: 16px 0 10px; font: 700 clamp(23px, 4.6vw, 28px)/1.15 var(--display, Poppins, sans-serif); letter-spacing: -0.02em; }
.wt-step p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.55; color: #3F444E; }
.wt-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.wt-foot .btn { min-height: 46px; padding: 10px 22px; }
.wt-in-anim { animation: wt-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes wt-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wt-end { text-align: left; }
.wt-end .btn-big { margin-top: 8px; }
.wt-code { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; padding: 12px 12px 12px 18px; border-radius: 14px; background: #FFF6EE; border: 1px dashed #FFB088; }
.wt-code code { flex: 1; font: 700 24px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: #B8360A; }
.wt-copy { width: 42px; height: 42px; padding: 10px; border-radius: 12px; border: 0; background: #fff; color: #15171C; cursor: pointer; box-shadow: 0 6px 14px -10px rgba(21,23,28,.5); }
.wt-copy.ok { background: #E3F4EE; color: #0F766E; }
.wt-fine { font-size: 14px !important; color: #5B606B !important; }
.wt-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.wt-msg { min-height: 1.4em; margin: 8px 0 0 !important; font-size: 14.5px !important; color: #B42318 !important; }
.wt-msg:empty { min-height: 0; }
@media (max-width: 700px) {
  .wt-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wt-in { padding: 22px 18px 18px; }
  .wt-step { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .wt-card, .wt-bar i { transition: none; } .wt-in-anim { animation: none; } }
.wt .btn:hover, .wt-card .btn:hover { transform: none; }
