#djiva-tour-pilot{position:fixed;inset:0;z-index:2147483000;font-family:inherit;color:#fff;pointer-events:none}
#djiva-tour-pilot .djiva-tour-shade{position:absolute;inset:0;background:rgba(0,0,0,.57);pointer-events:auto}
#djiva-tour-pilot .djiva-tour-card{position:absolute;bottom:calc(84px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-width:420px;margin:auto;padding:19px;background:#1b1b21;border:1px solid #48404a;border-radius:20px;box-shadow:0 18px 55px #0009;pointer-events:auto}
#djiva-tour-pilot .djiva-tour-top{display:flex;align-items:center;justify-content:space-between;color:#ffad53;font-size:11px;letter-spacing:1px;font-weight:700}
#djiva-tour-pilot .djiva-tour-top button{border:0;background:transparent;color:#ddd;font-size:27px;padding:0 5px}
#djiva-tour-pilot .djiva-tour-progress{font-size:12px;color:#aaa;margin-top:10px}
#djiva-tour-pilot h2{font-size:21px;line-height:1.25;margin:12px 0 8px;color:#fff}
#djiva-tour-pilot p{font-size:14px;line-height:1.55;color:#dedee3;margin:0 0 17px}
#djiva-tour-pilot .djiva-tour-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
#djiva-tour-pilot .djiva-tour-actions button{border:0;border-radius:12px;padding:11px;font-size:13px;cursor:pointer}
#djiva-tour-pilot [data-tour=skip]{background:transparent;color:#bdbdc5}
#djiva-tour-pilot [data-tour=next]{background:#ff941f;color:#1c1308;font-weight:750;min-width:110px}
@media(min-width:700px){#djiva-tour-pilot .djiva-tour-card{bottom:40px}}

#djiva-tour-pilot .djiva-tour-link:empty{display:none}
#djiva-tour-pilot .djiva-tour-link{margin:0 0 14px}
#djiva-tour-pilot .djiva-tour-cta{display:block;box-sizing:border-box;width:100%;padding:13px 12px;border-radius:12px;background:#ff941f;color:#21170b;text-decoration:none;text-align:center;font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
#djiva-tour-pilot .djiva-tour-cta:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Close control aligned with the current lesson title. */
#djiva-tour-pilot .djiva-tour-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0 8px}
#djiva-tour-pilot .djiva-tour-heading h2{flex:1;min-width:0;margin:0}
#djiva-tour-pilot .djiva-tour-heading [data-tour=close]{flex:0 0 34px;align-self:center;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.06);color:#c9c9d1;font-size:25px;line-height:1;cursor:pointer}
#djiva-tour-pilot .djiva-tour-heading [data-tour=close]:focus-visible{outline:2px solid #ff941f;outline-offset:2px}
#djiva-tour-pilot .dt-tour-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:3px 0 10px;text-align:center}
#djiva-tour-pilot .dt-tour-calendar>div{font-size:10px;color:#999da9;padding:3px 0}
#djiva-tour-pilot .dt-tour-calendar>span{display:grid;place-items:center;min-height:27px;font-size:12px;border-radius:7px;color:#d9dbe2}
#djiva-tour-pilot .dt-tour-calendar>span.selected{background:#ff941f;color:#21170b;font-weight:800}
#djiva-tour-pilot .dt-tour-calendar>span.has-event{box-shadow:inset 0 -3px #ff941f}

/* Match the secondary "Мои диалоги" action in the AI section. */
#djiva-tour-pilot .djiva-tour-actions [data-tour=back]{background:linear-gradient(135deg,#354b64,#293c53)!important;color:#f6f9ff!important;border:1px solid #5a7799!important;box-shadow:0 6px 16px rgba(14,28,47,.26)!important;font-weight:750;min-width:110px}
#djiva-tour-pilot .djiva-tour-actions [data-tour=back]:active{background:linear-gradient(135deg,#3e5979,#314966)!important}
#djiva-tour-pilot .djiva-tour-actions [data-tour=back]:disabled{opacity:.38;cursor:default;box-shadow:none!important}
#djiva-tour-pilot .djiva-tour-actions [data-tour=next]{min-width:110px}
/* DJIVA action hierarchy: PRO gold for primary navigation, blue outlined for external links. */
#djiva-tour-pilot .djiva-tour-actions [data-tour=next]{
  background:linear-gradient(180deg,#ffc85b 0%,#ffad22 100%)!important;
  color:#241700!important;border:1px solid rgba(255,215,135,.55)!important;
  box-shadow:0 8px 20px rgba(255,169,23,.20)!important;
  font-weight:800;
}
#djiva-tour-pilot .djiva-tour-actions [data-tour=next]:active{
  background:linear-gradient(180deg,#ffbd45 0%,#f59a16 100%)!important;
}
#djiva-tour-pilot .djiva-tour-cta{
  background:linear-gradient(135deg,#1f344b 0%,#233a53 100%)!important;
  border:1px solid #6386ad!important;color:#e8f3ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 6px 16px rgba(11,26,44,.20)!important;
  font-weight:750;
}
#djiva-tour-pilot .djiva-tour-cta:active{
  background:linear-gradient(135deg,#2c4664,#345474)!important;
}
/* External resource actions: distinct teal palette, separate from blue Back and gold Next. */
#djiva-tour-pilot .djiva-tour-cta{
  background:linear-gradient(135deg,#155b57 0%,#187b70 100%)!important;
  border:1px solid #43b9a7!important;
  color:#f2fffc!important;
  box-shadow:0 7px 18px rgba(16,115,103,.22),inset 0 1px 0 rgba(255,255,255,.09)!important;
}
#djiva-tour-pilot .djiva-tour-cta:active{
  background:linear-gradient(135deg,#18776e,#209889)!important;
}
/* External links: neutral outlined dark button, no new accent color. */
#djiva-tour-pilot .djiva-tour-cta{
  background:#25262d!important;
  border:1px solid #74747f!important;
  color:#f4f3f7!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
}
#djiva-tour-pilot .djiva-tour-cta:active{background:#34353e!important}
/* Secondary destination CTA: DJIVA orange outline, distinct from filled PRO gold Next. */
#djiva-tour-pilot .djiva-tour-cta{
  background:linear-gradient(135deg,rgba(255,148,31,.16),rgba(255,148,31,.07))!important;
  border:1.5px solid #ff941f!important;
  color:#ffbd6a!important;
  box-shadow:inset 0 1px 0 rgba(255,190,105,.08),0 0 0 1px rgba(255,148,31,.05)!important;
}
#djiva-tour-pilot .djiva-tour-cta:active{
  background:rgba(255,148,31,.25)!important;
}
