.shepherd-element.dagdig-tour {
  z-index:11000; width:min(440px,calc(100vw - 24px)); max-width:440px;
  background:#303249; color:#e4e6f0; border:1px solid #676b88; border-radius:12px;
  box-shadow:0 12px 40px rgba(0,0,0,.4);
}
.dagdig-tour .shepherd-header { background:#26283c!important; border-radius:12px 12px 0 0; padding:.75rem 1rem; }
.dagdig-tour .shepherd-title { color:#fff; font-size:1rem; font-weight:600; line-height:1.35; }
.dagdig-tour .shepherd-cancel-icon { color:#ddd; font-size:1.6rem; padding:0 .2rem; }
.dagdig-tour .shepherd-text { color:#e4e6f0; font-size:.9rem; line-height:1.5; padding:.85rem 1rem; max-height:55vh; overflow-y:auto; }
.dagdig-tour .shepherd-text p { margin:0 0 .65rem; }
.dagdig-tour .shepherd-text p:last-child { margin-bottom:0; }
.dagdig-tour .shepherd-footer { padding:.65rem 1rem .85rem; display:flex; flex-wrap:wrap; gap:.4rem; }
.dagdig-tour .shepherd-button { margin:0; padding:.4rem .7rem; font-size:.85rem; border-radius:5px; }
.dagdig-tour .dagdig-tour-next { background:#1769d2; color:#fff; }
.dagdig-tour .dagdig-tour-back { background:#565b79; color:#fff; }
.dagdig-tour .dagdig-tour-stop { margin-right:auto; background:transparent; color:#d3d5e0; }
.dagdig-tour .shepherd-arrow:before { background:#303249; }
.dagdig-tour-target { outline:3px solid #ffc267; outline-offset:3px; scroll-margin-top:110px; scroll-margin-bottom:90px; }
.dagdig-tour-key { display:inline-block; width:1.1em; height:.5em; border-radius:2px; margin-right:.25em; vertical-align:middle; }
.dagdig-tour-key.blue { background:#03a9f4; }
.dagdig-tour-key.green { background:#81c784; }
.dagdig-tour-notice { position:fixed; right:1rem; bottom:1rem; z-index:11000; max-width:calc(100vw - 2rem); background:#fff; color:#222; padding:1rem; border-radius:8px; box-shadow:0 2px 20px #0005; display:flex; gap:1rem; }
/* Expose the real search controls during the tutorial on narrow screens. */
@media(max-width:1029px) {
  .dagdig-tour-active #layout-navbar .hide-below-1030 { display:block!important; }
  .dagdig-tour-active #layout-navbar .navbar-nav-right { flex-wrap:nowrap; }
  .dagdig-tour-active #lokation { display:block!important; width:100%; }
  .dagdig-tour-active #front-search-wrap { flex:1 1 0; min-width:0; }
  .dagdig-tour-active #topbar-controls { flex:0 0 auto; }
  .dagdig-tour-active #enhed-gruppe-filter { width:140px!important; min-width:0!important; }
}
@media(max-width:767.98px) {
  .dagdig-tour-active #layout-navbar { height:112px; min-height:112px; }
  .dagdig-tour-active #layout-navbar .navbar-nav-right { flex-wrap:wrap; }
  .dagdig-tour-active #front-search-wrap { flex:1 1 100%; }
  .dagdig-tour-active #topbar-controls { display:flex!important; width:100%; justify-content:flex-end; }
  .dagdig-tour-active #slide { top:120px; }
  .dagdig-tour-active .mobile-view-tabs { top:224px; }
  .dagdig-tour-active .maincard,
  .dagdig-tour-active #front-map-main-row > .col-12.col-lg { top:268px; }
}
@media(prefers-reduced-motion:reduce) {
  .shepherd-element.dagdig-tour { transition:none; }
}
