/* The judge guide bar (4 Dec 2026): under the demo line, demo companies only. In the page's flow (it covers nothing); at most 56 px tall on
   a desktop. The outline marks the one control the current step talks about, on that step's own case only. The step is never cut with an
   ellipsis: on a desktop it wraps (2 lines; the bar grows rather than cut a longer step, 5 Dec 2026); on a phone up to 3 lines, then
   "More" opens the rest in place. */
.guide-bar{background:#FFF4D6;color:var(--navy);border-bottom:1px solid #E8D9A8}
.guide-bar[hidden]{display:none}
.guide-inner{display:flex;align-items:center;gap:12px;max-width:80rem;margin:0 auto;padding:5px 20px;box-sizing:border-box}
.guide-text{flex:1 1 auto;min-width:0;margin:0;font-size:.9rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.guide-count{font-weight:800;margin-inline-end:4px}
.guide-count[hidden]{display:none}
.guide-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}
.guide-bar .guide-btn{min-height:44px;min-width:44px;padding:6px 14px;font-size:.9rem;line-height:1.15}
.guide-bar .guide-btn[hidden]{display:none}
.guide-more{display:none}
.guide-bar .guide-go{background:var(--navy);border-color:var(--navy);color:#fff}
.guide-bar .guide-btn.secondary{background:#fff;color:var(--navy);border-color:var(--navy)}
.guide-bar .guide-btn.link{color:var(--navy);padding:6px 8px}
.guide-bar .guide-btn.link:hover:not(:disabled),.demo-line .guide-show:hover{background:none;border-color:transparent;color:var(--navy-strong)}
.guide-bar .guide-btn.secondary:hover:not(:disabled){background:var(--infobg);color:var(--navy-strong)}
.guide-bar .guide-btn:focus-visible,.guide-show:focus-visible{outline:3px solid var(--navy);outline-offset:2px;border-radius:6px}
.demo-line .guide-show{color:var(--demo-ink);font-weight:600;font-size:inherit;padding:0 2px;min-height:0}

/* the control the step talks about: outlined, nothing laid over the page. An element may serve two steps ("4 5"). */
#main[data-guide="1"] [data-guide-step~="1"],#main[data-guide="2"] [data-guide-step~="2"],#main[data-guide="3"] [data-guide-step~="3"],
#main[data-guide="4"] [data-guide-step~="4"],#main[data-guide="5"] [data-guide-step~="5"],#main[data-guide="6"] [data-guide-step~="6"]{
  outline:3px solid #FFE58A;outline-offset:3px;border-radius:6px}

@media (max-width:760px){
  .guide-inner{flex-direction:column;align-items:stretch;gap:6px;padding:8px 12px;max-height:none}
  .guide-text{white-space:normal;overflow:hidden;text-overflow:clip;font-size:.88rem;line-height:1.4;max-height:calc(3 * 1.4em)}
  .guide-text.open{max-height:none}
  .guide-bar .guide-more{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;margin:-8px 0 -6px;padding:0 4px;
    color:var(--navy);font-weight:700;font-size:.86rem}
  .guide-bar .guide-more[hidden]{display:none}
  .guide-bar .guide-more:hover{background:none;color:var(--navy-strong)}
  .guide-bar .guide-more:focus-visible{outline:3px solid var(--navy);outline-offset:2px;border-radius:6px}
  .guide-actions{gap:6px}
  .guide-bar .guide-btn{flex:1 1 0;padding:4px 6px;font-size:.84rem;min-width:0}
  .guide-bar .guide-btn.link{flex:0 1 auto}
}
