/* Port Verification's walkthrough (walk.js): the yellow box, its leaders, the dimmer and the
   fast-forward mark, over the real screen (view.css). The box is the storyboard's field tag
   (Tyler's pick, 2026-11-24): safety yellow, square, a hard black edge and an offset shadow. It is
   the same in both themes, so every colour here is its own and none follows the page. */
:root {
  --w-safety: #ffd400; --w-ink: #14171a; --w-head: #5a4a00; --w-nudge: #8a1c00;
  --w-display: "Bahnschrift SemiCondensed", "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
}

/* the leaders, highlight boxes and dimmer: one sheet over the whole window */
svg.wov { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 40; }
.wov .shade { fill: #000; fill-opacity: .58; }
.wov .hl { fill: none; stroke: var(--w-safety); stroke-width: 3; }
.wov .halo { fill: none; stroke: #000; stroke-opacity: .55; stroke-width: 7; }
.wov .lhalo { stroke: #000; stroke-opacity: .5; stroke-width: 6; }
.wov .lead { stroke: var(--w-safety); stroke-width: 2.5; }
.wov .dot { fill: var(--w-safety); stroke: var(--w-ink); stroke-width: 2; }

/* the box, and the pill it minimizes to */
.wlayer { position: fixed; inset: 0; pointer-events: none; z-index: 45; }
.wbox, .wpill { pointer-events: auto; color: var(--w-ink); background: var(--w-safety);
  border: 2px solid var(--w-ink); }
.wbox { position: fixed; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 12px;
  max-width: calc(100vw - 20px); box-shadow: 5px 5px 0 var(--w-ink);
  transition: left .25s ease, top .25s ease; }
.whead { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--w-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px;
  color: var(--w-head); }
.wtitle { font-family: var(--w-display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.wtext { font-size: 16px; line-height: 1.45; white-space: pre-wrap; }
.wfoot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; min-height: 34px; }
.wdo, .wwait { font-size: 13px; font-weight: 600; margin-right: auto; }
.wwait { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.wbox button, .wpill button { font-family: var(--w-display); cursor: pointer; border-radius: 0; height: auto; }
.wok { background: var(--w-ink); color: var(--w-safety); border: 0; font-size: 18px; font-weight: 700;
  letter-spacing: .05em; padding: 4px 18px; }
.wok:hover:not(:disabled) { background: #000; }
.wplain, .wback { background: transparent; color: var(--w-ink); border: 2px solid var(--w-ink);
  font-size: 16px; font-weight: 600; padding: 2px 12px; }
.wplain:hover:not(:disabled), .wback:hover:not(:disabled) { background: rgba(0, 0, 0, .08);
  border-color: var(--w-ink); }
.wmin { background: transparent; border: 0; color: inherit; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: underline; padding: 0 2px; }
.wmin:hover:not(:disabled) { border: 0; }
.wbox :focus-visible, .wpill :focus-visible { outline: 3px solid var(--w-ink); outline-offset: 2px; }
.nudge { font-size: 13px; font-weight: 700; color: var(--w-nudge); }
/* bottom right, clear of the sub BC's rows (Tyler, 2026-11-25) */
.wpill { position: fixed; right: 14px; bottom: 14px;
  width: min(620px, calc(100vw - 28px)); min-height: 46px; display: flex; align-items: center; gap: 12px;
  padding: 4px 6px 4px 16px; font-size: 14px; box-shadow: 4px 4px 0 var(--w-ink); }
.wptext { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes wspin { to { transform: rotate(360deg); } }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: wspin 1s linear infinite; }
@keyframes wshake { 0%, 100% { translate: 0; } 25% { translate: -6px; } 75% { translate: 6px; } }
.wbox.shake, .wpill.shake { animation: wshake .25s 2; }

/* the fast-forward: the two-triangle mark over the screen while the clock runs fast (Tyler) */
/* left of centre, and clear of the box: walk.js placeFF() sets the left padding */
.wff { position: fixed; inset: 0; display: flex; align-items: center; justify-content: flex-start;
  padding-left: calc(32vw - 100px); box-sizing: border-box;
  pointer-events: none; z-index: 35; opacity: 0; transition: opacity .3s; }
.wff.on { opacity: .5; }
.wff .tri { width: 0; height: 0; border-top: 70px solid transparent; border-bottom: 70px solid transparent;
  border-left: 100px solid #fff; filter: drop-shadow(0 0 6px rgba(0, 0, 0, .6)); }
.wff.on .tri { animation: wpulse 1.2s ease-in-out infinite; }
.wff.on .tri + .tri { animation-delay: .15s; }
@keyframes wpulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* On a phone (walk.js "on a phone", vrftools.com only): the screen is one scaled picture the
   steps move and zoom, and the box is a panel down the right side (sideways, .wside) or along the
   bottom (upright), with smaller type and its text scrolling inside it. */
.wcompact body { overflow: hidden; }
.wcompact #app { position: fixed; left: 0; top: 0; flex: none; transform-origin: 0 0;
  transition: transform .35s ease; }
.wcompact .wbox { gap: 6px; padding: 10px 12px; box-shadow: 3px 3px 0 var(--w-ink);
  max-height: 55vh; transition: none; }
.wside .wbox { bottom: 8px; max-height: none; }
.wcompact .whead { font-size: 11px; }
.wcompact .wtitle { font-size: 17px; }
.wcompact .wtext { flex: 1 1 auto; min-height: 0; overflow-y: auto; font-size: 14px; line-height: 1.4; }
.wcompact .wfoot { flex-wrap: wrap; min-height: 0; }
.wcompact .wok { font-size: 16px; padding: 7px 16px; }
.wcompact .wplain, .wcompact .wback { font-size: 15px; padding: 5px 12px; }
.wcompact .wpill { left: 8px; right: 8px; bottom: 8px; width: auto; box-shadow: 3px 3px 0 var(--w-ink); }
.wcompact .wff .tri { border-top-width: 40px; border-bottom-width: 40px; border-left-width: 56px; }

/* the report, drawn in this window at the end */
.wsite .card { max-width: 760px; padding: 14px 18px; }
.wsite h2 { margin: 0 0 10px; }
table.wreport { border-collapse: collapse; margin-bottom: 8px; }
table.wreport th, table.wreport td { border: 1px solid var(--line); padding: 4px 12px; text-align: left; }
table.wreport td.sys { font-weight: 600; background: var(--panel-2); }
table.wreport td.pass { color: var(--ok); font-weight: 600; }
table.wreport td.fail { color: var(--hot); font-weight: 600; }
.wcards { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; width: fit-content; max-width: 100%; }
.wcard { background: var(--caution-bg); color: var(--caution-fg); border: 2px solid var(--warn);
  padding: 10px 14px; max-width: 420px; }
.wcard ol { margin: 6px 0 0; padding-left: 1.3em; }
.wcard li { margin-bottom: 4px; }
table.wfix { border-collapse: collapse; margin: 6px 0; }
table.wfix th, table.wfix td { border: 1px solid currentColor; padding: 2px 10px; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .wbox { transition: none; }
  .wcompact #app { transition: none; }
  .spin, .wff.on .tri, .wbox.shake, .wpill.shake { animation: none; }
}
