/* The action strip under Comms (t-p15-wxrcwp, plan plan-hud-and-lane-rebuild-lane-whee-2xea), drawn by views/_hud.js barHtml and
   menuHtml. It replaces the full-width tool row under the top HUD (t-p19-e4937u), so the HUD is a row shorter: it sits in the middle
   column, in the "strip" area hudLayoutModel.js places under Comms. Left: the page's built, working actions and All actions
   (actionStripModel.js), each its icon and key; the name is its title (shown on hover) and accessible name. Right: the menu buttons,
   on the pages that show them (My HQ and What's Happening; _pageFrame.js sets data-tools). Kept out of css/hud.css (over 30 KB).
   No rule here removes the focus outline: the frame's ring in hud.css stays on every button. */
.hud-strip{grid-area:strip;display:flex;align-items:center;gap:8px;min-width:0;padding:4px 8px;border:1px solid var(--hud-line,#1C3348);background:rgba(8,15,23,.96)}
body[data-hud-fit="false"] .hud-strip{flex-wrap:wrap}
.hud-slots{display:flex;align-items:center;gap:5px;flex:none;min-width:0;flex-wrap:wrap}
.hud-slot{position:relative;width:38px;height:34px;border:1px solid #2A4560;background:#0C1724;color:var(--hud-cyan);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 0 0 8px;cursor:pointer;font:inherit}
.hud-slot kbd{position:absolute;top:1px;left:1px;font-size:9px;line-height:12px;padding:0 3px}
.hud-slot:hover,.hud-slot:focus-visible{border-color:var(--accent);background:#0F2233}
.hud-slot.pair{border-color:#5B6FD6;background:#10142A;color:#9DB8FF}
.hud-slot[data-hud-cast="capture-idea"]{color:var(--hud-gold);border-color:#7A5600}
.hud-slot.page{border-color:#2F5F58;color:#5EE0C8}
/* All actions: its key is Ctrl K, so the badge sits beside the icon instead of over it */
.hud-slot.all{width:auto;padding:0 8px}
.hud-slot.all kbd{position:static}
.hud-menu{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;min-width:0}
.page-frame-top[data-tools="false"] .hud-menu{display:none}
.hud-mm{position:relative;width:34px;height:34px;border:1px solid #22384F;background:#0C1724;color:#BFD0E2;display:flex;align-items:center;justify-content:center;padding:0;font:inherit;cursor:pointer;text-decoration:none}
.hud-mm kbd{position:absolute;top:-5px;right:-5px;font-size:9px;line-height:12px;padding:0 3px}
.hud-mm:hover,.hud-mm:focus-visible{border-color:var(--accent);color:var(--hud-cyan)}
.hud-mm.on,.hud-mm[aria-pressed="true"]{border-color:var(--accent);background:rgba(0,188,212,.14);color:var(--hud-cyan)}
.hud-mm[data-hud-frame="agents"]{border-color:#3A4A8A;color:#9DB8FF}
/* Phone width (t-p6-rycta7, 2026-11-26 UI walk findings 52 and 54): the strip wraps and never runs past the edge; the mode chips (Flow ... Kitchen) scroll sideways with a fade
   hint on the right instead of being cut off; each chip is 40 px tall. */
@media (max-width:640px){
  .hud-strip{max-width:100%;box-sizing:border-box;flex-wrap:wrap;overflow-x:auto}
  .hud-menu{margin-left:0;justify-content:flex-start;max-width:100%}
  body[data-hud-fit] .hud-modes[data-hud-modes],body .hud-modes[data-hud-modes]{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-right:20px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
  .hud-modes[data-hud-modes]::-webkit-scrollbar{display:none}
  .hud-modes .btn{flex:none;white-space:nowrap;min-height:40px}
}
