/* In2Com v214: compact Advanced-mode control only for phone-sized viewports.
   Wider screen positioning/styling is intentionally left unchanged. */
#app .v214-step-toolbar { display: contents; }

/* Preserve the v82 tablet float clearing after wrapping the step counter and switch. */
@media (min-width: 601px) and (max-width: 1279px) {
  #app .v214-step-toolbar + .step-title { clear: both; }
}

@media (max-width: 600px) {
  #app .v214-step-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    margin: 0 0 1.05rem;
  }
  #app .v214-step-toolbar .step-count {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
  }
  #app .v214-step-toolbar .mode-row {
    position: static;
    float: none;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0 .48rem;
    background: #eaf5fb;
    border: 1px solid #c7dfea;
    border-radius: 999px;
    box-shadow: none;
    color: var(--ink, #12304a);
  }
  #app .v214-step-toolbar .switch {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 44px;
    padding: 0;
    color: var(--ink, #12304a);
    white-space: nowrap;
  }
  #app .v214-step-toolbar .switch-label {
    color: var(--ink, #12304a);
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
  }
  #app .v214-step-toolbar .switch-track {
    width: 2.2rem;
    height: 1.22rem;
    background: #879eb0;
  }
  #app .v214-step-toolbar .switch-thumb {
    top: .17rem;
    left: .17rem;
    width: .88rem;
    height: .88rem;
  }
  #app .v214-step-toolbar .switch[aria-checked="true"] .switch-thumb {
    transform: translateX(.99rem);
  }
  #app .v214-step-toolbar .switch:focus-visible {
    outline: 2px solid var(--fibre, #087bbd);
    outline-offset: 3px;
    border-radius: 999px;
  }
  #app .v214-step-toolbar + .step-title { clear: both; }
}

@media print { #app .v214-step-toolbar .mode-row { display: none; } }
