/* Turn-state UX: static phase steps + short pop-in feedback. Manual measuring stays unobstructed. */
.ordersPanel .phaseSteps{display:flex;gap:7px;flex-wrap:nowrap;margin-bottom:7px}
.phaseStep{
  display:flex;align-items:center;justify-content:center;gap:6px;flex:1;
  padding:7px 5px;min-height:39px;border:2px solid #c6e4e9;border-radius:12px;
  background:#edf7fa;color:#658090;font-size:.82rem;font-weight:850;line-height:1.12;
  text-align:center;transition:background-color .18s ease,box-shadow .18s ease,color .18s ease
}
.phaseStep.active{
  background:#ffeba8;color:#5d472b;border-color:#eac36c;
  box-shadow:inset 0 -2px 0 #edce7a
}
.ordersPanel[data-phase="move"] .phaseStep.active{
  background:#d8f6e8;color:#1c715f;border-color:#8dcfb2;box-shadow:inset 0 -2px 0 #a2dcc6
}
.phaseStep:not(.active){opacity:.8}
#modeInfo{font-weight:750;min-height:16px}
#bearing[aria-invalid="true"],#distance[aria-invalid="true"]{
  border-color:#e45855!important;background:#fff0ee!important;box-shadow:0 0 0 2px #f4c3b9
}
.noticePop{
  position:absolute;left:50%;bottom:15px;z-index:6;
  width:max-content;max-width:min(82%,350px);padding:11px 17px;
  border:3px solid #fff;border-radius:18px;box-shadow:0 8px 0 #15597552,0 13px 28px #0a46676b;
  text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,14px) scale(.92);
  color:#124866;line-height:1.3;white-space:normal
}
.noticePop strong{display:block;font-weight:950;font-size:1.17rem;line-height:1.2}
.noticePop span{display:block;font-size:.88rem;margin-top:4px;font-weight:750}
.noticePop--phase{background:linear-gradient(165deg,#fff6cb,#ffe2a2)}
.noticePop--phase[data-phase="move"]{background:linear-gradient(155deg,#e4fff5,#aee8d0)}
.noticePop--error{background:linear-gradient(155deg,#fff0e5,#ffc4b7);
  border-color:#fff8f1;color:#853d3d;z-index:7}
.noticePop--error strong{font-size:1.16rem}
#log[data-feedback="error"]{background:#fff0ed;border-left-color:#df5a52;color:#863a37}
.noticePop.show{animation:bloop-notice-appear 3s ease-in-out both}
@keyframes bloop-notice-appear{
  0%{opacity:0;transform:translate(-50%,13px) scale(.92)}
  10%,72%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-8px) scale(1)}
}
.phaseRibbon[data-phase="ready-fire"]{background:#ffecaf;color:#72501c}
.phaseRibbon[data-phase="ready-move"]{background:#ddf9ec;color:#1e715d}
@media (max-width:620px) {
 .phaseStep{font-size:.76rem;min-height:36px;padding:6px 4px}
 .noticePop{bottom:8px;padding:7px 11px;max-width:84%;border-width:2px;border-radius:13px}
 .noticePop strong,.noticePop--error strong{font-size:.9rem}
 .noticePop span{font-size:.7rem}
}
@media (prefers-reduced-motion:reduce) {
 .phaseStep{transition:none}
 .noticePop.show{transform:translate(-50%,0);animation:bloop-notice-still 3.2s steps(1,end) both}
 @keyframes bloop-notice-still{0%,80%{opacity:1}100%{opacity:0}}
}