/* TEMVIO v1.6.0 RC2.7.1-HF1 — Guide spacing + proposal interaction polish */

/* Guide: give every roadmap step breathing room and keep action/status readable. */
.guide-progress-v160{
  gap:16px !important;
}
.guide-roadmap-v160{
  display:grid !important;
  gap:12px !important;
}
.guide-roadmap-v160 button{
  grid-template-columns:34px minmax(0,1fr) max-content !important;
  column-gap:12px !important;
  row-gap:8px !important;
  min-height:86px;
  padding:14px 15px !important;
  border-radius:16px !important;
  align-items:center !important;
}
.guide-step-index-v160{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  min-width:32px;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary,#0f766e) 10%,transparent);
  line-height:1;
}
.guide-step-copy-v160{
  display:grid;
  gap:5px;
  min-width:0;
}
.guide-step-copy-v160 b{
  line-height:1.65;
}
.guide-step-copy-v160 small{
  display:block;
  line-height:1.8;
  color:var(--muted,#6b7672);
  overflow-wrap:anywhere;
}
.guide-step-action-v160{
  white-space:nowrap;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  color:var(--muted,#6b7672);
}
.guide-roadmap-v160 button:not(.done) .guide-step-action-v160{
  color:var(--primary,#0f766e);
}

/* Extra spacing between the compact guide cards below the progress roadmap. */
.temvio-guide-grid{
  gap:14px !important;
}
.temvio-guide-grid .guide-step{
  min-height:138px;
  padding:18px !important;
}

/* Proposal CTA: ensure it remains a proper touch target on Android. */
#startBid,
#submitProposal{
  min-height:46px;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

@media(max-width:640px){
  .guide-progress-v160{
    margin:12px 0 16px !important;
    padding:16px !important;
  }
  .guide-progress-head-v160{
    align-items:flex-start !important;
    gap:10px !important;
  }
  .guide-progress-head-v160 strong{
    flex:0 0 auto;
    font-size:26px !important;
    line-height:1;
  }
  .guide-roadmap-v160{
    gap:13px !important;
  }
  .guide-roadmap-v160 button{
    grid-template-columns:32px minmax(0,1fr) !important;
    padding:15px 14px !important;
    min-height:104px;
  }
  .guide-step-index-v160{
    grid-row:1 / span 2;
    align-self:start;
    margin-top:2px;
  }
  .guide-step-copy-v160{
    grid-column:2;
  }
  .guide-step-action-v160{
    grid-column:2;
    justify-self:start;
    margin-top:2px;
    white-space:nowrap;
  }
  .temvio-guide-grid{
    gap:14px !important;
  }
  .temvio-guide-grid .guide-step{
    min-height:132px;
    margin:0 !important;
  }
}

@media(max-width:380px){
  .guide-progress-v160{padding:14px !important}
  .guide-roadmap-v160 button{padding:14px 12px !important}
}
