/* Guided product walkthrough and transitions specific to the artefact being viewed. */
.wb-head:has(.gdp-tour) { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gdp-tour { display: flex; align-items: center; gap: 8px; flex: none; font-variant-numeric: tabular-nums; }
.gdp-tour button {
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:36px;
  padding:7px 11px; border:1px solid #d6daea; border-radius:7px; background:white; color:#3b4271;
  font-size:12px; line-height:1.2; font-weight:630;
}
.gdp-tour button:hover { background:#f5f5fc; border-color:#acb0d2; }
.gdp-tour button:focus-visible { outline:2px solid #4b4dae; outline-offset:3px; }
.gdp-play-icon {display:inline-block;width:0;height:0;border:solid transparent;border-width:4px 0 4px 7px;border-left-color:currentColor;}
.gdp-tour [aria-pressed=true] .gdp-play-icon {width:7px;height:8px;border:solid currentColor;border-width:0 2px;}
.gdp-time {display:flex;gap:3px;align-items:center;}
.gdp-time span {display:block;width:12px;height:3px;border-radius:3px;background:#e1e4ed;overflow:hidden;}
.gdp-time i {display:block;width:100%;height:100%;background:#5653b4;transform-origin:left;transform:scaleX(0);}
.gdp-time span[data-state=done] i {transform:none;}
.gdp-time span[data-state=current] {background:#bbb9e4;}
.gdp-count {color:#5c637a;font-size:11px;white-space:nowrap;}
.wb-models a:has(.gdp-source) {position:relative;}
.gdp-source {
  z-index:3;position:absolute;left:auto;right:0;bottom:calc(100% - 2px);width:max-content;max-width:100%;
  padding:7px 10px; border-radius:5px; background:#252a40; color:#fff!important;
  font-size:12px!important; line-height:1.45; font-weight:500; white-space:normal;
  box-shadow:0 4px 12px #22263f24; opacity:0;visibility:hidden; transition:opacity .14s;
}
.wb-models a:focus-visible:not(.gdp-dismiss) .gdp-source {opacity:1;visibility:visible;}
@media (hover:hover) {
  .wb-models a:hover:not(.gdp-dismiss) .gdp-source {opacity:1;visibility:visible;}
}
.gdp-editor .gde-tabs {position:relative;}
.gdp-editor .gde-tabs a[aria-selected=true] {border-bottom-color:transparent;}
.gdp-editor .gde-tabs::after {
  content:"";position:absolute;bottom:0;left:var(--gdp-start);width:var(--gdp-width);height:3px;background:#262b76;
  pointer-events:none;transition:left .32s cubic-bezier(.2,.72,.25,1),width .32s;
}
@media (prefers-reduced-motion:no-preference) {
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) .wb-queries li,
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) .wb-models li {animation:gdp-row .34s both;}
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) li:nth-child(2){animation-delay:.055s;}
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) li:nth-child(3){animation-delay:.11s;}
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) li:nth-child(4){animation-delay:.165s;}
  .gdp-inview .wb-panel:not([hidden]) .wb-view:not([hidden]) .wb-track i {animation:wb-bar .55s cubic-bezier(.16,.76,.22,1) both;}
  .gdp-inview .wb-view:not([hidden]) .wb-models li:nth-child(2) .wb-track i {animation-delay:.07s;}
  .gdp-inview .wb-view:not([hidden]) .wb-models li:nth-child(3) .wb-track i {animation-delay:.13s;}
  .gdp-process .gdm-route li:has(~li [aria-selected=true])::before {background:#8a86c4;}
  .gdp-process .gdm-route li:has(~li [aria-selected=true]) .gdm-node {background:#eeedf9;color:#48448a;border-color:#c5c2e5;}
  .gdp-process .gdm-pane:not([hidden]) .gdm-prompt .gdm-branch {transform-origin:center top;animation:gdp-branch .38s .04s both;}
  .gdp-process .gdm-pane:not([hidden]) .gdm-engines li,
  .gdp-process .gdm-pane:not([hidden]) .gdm-artifact dl > div,
  .gdp-process .gdm-pane:not([hidden]) .gdm-pages li {animation:gdp-row .34s .07s both;}
  .gdp-process .gdm-pane:not([hidden]) :is(.gdm-engines li,.gdm-artifact dl>div,.gdm-pages li):nth-child(2){animation-delay:.14s;}
  .gdp-process .gdm-pane:not([hidden]) :is(.gdm-engines li,.gdm-artifact dl>div,.gdm-pages li):nth-child(3){animation-delay:.21s;}
  .gdp-process .gdm-pane:not([hidden]) .gdm-pages li:nth-child(4){animation-delay:.28s;}
  .gdp-editor .gde-paper:not([hidden]) .gde-snippet,
  .gdp-editor .gde-paper:not([hidden]) .gde-bubble {animation:gdp-page .4s cubic-bezier(.16,.75,.22,1) both;}
  .gdp-editor .gde-paper:not([hidden]) blockquote {background-image:linear-gradient(90deg,#d6d8f4,#ecedf8);background-repeat:no-repeat;animation:gdp-stroke .55s ease-out both;}
  .gdp-editor .gde-paper:not([hidden]) .gde-notes span {animation:gdp-row .3s .1s both;}
  .gdp-editor .gde-live:not([hidden]) img {animation:gdp-page .45s both;}
  @keyframes gdp-row {from{opacity:.28;transform:translateY(5px)}to{opacity:1;transform:none}}
  @keyframes gdp-branch {from{opacity:.2;transform:scaleY(.15)}to{opacity:1;transform:none}}
  @keyframes gdp-page {from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:none}}
  @keyframes gdp-stroke {from{background-size:0 100%}to{background-size:100% 100%}}
}
@media(max-width:640px) {
  .wb-head:has(.gdp-tour) {display:grid;gap:8px;}
  .gdp-tour {justify-self:start;}
  .gdp-time span {width:10px;}
  .gdp-tour button {min-height:34px;}
}
@media(prefers-reduced-motion:reduce) {.gdp-editor .gde-tabs::after,.gdp-source{transition:none;}}

/* v32: progress line under the selected tab while the walkthrough plays */
.gdp-tabline {position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#4a4fc4;transform:scaleX(0);transform-origin:left;pointer-events:none;}
.wb-tab:not([aria-selected=true]) .gdp-tabline {display:none;}
