/* pq-footer.css: the shared bottom of every hardware page (Melvin, Nov 26 2026): wireframe drawing, notes box, Notes pop-up. */
#pq-wire{position:absolute;left:0;top:0;display:block;margin:0;padding:0;pointer-events:auto;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;z-index:1;max-width:calc(100vw - 16px);box-sizing:border-box}#pq-wire.pqw-drag{cursor:grabbing;z-index:50;opacity:.85}#pq-wire.pqw-ease{transition:left .45s ease-out,top .45s ease-out,width .3s ease-out}#pq-wire .pqw-f{animation:pqwdrift 19s ease-in-out infinite alternate;will-change:transform}#pq-wire.pqw-drag .pqw-f{animation-play-state:paused}@keyframes pqwdrift{0%{transform:translate(0,0)}25%{transform:translate(5px,-4px)}50%{transform:translate(-3px,-6px)}75%{transform:translate(-5px,3px)}100%{transform:translate(3px,5px)}}@media (prefers-reduced-motion:reduce){#pq-wire .pqw-f{animation:none}#pq-wire.pqw-ease{transition:none}}#pq-wire svg{display:block;width:100%;height:auto;max-width:none!important;pointer-events:none}#pq-wire .pqw-reset{position:absolute;right:2px;top:2px;margin:0;padding:1px 6px;font:11px/1.4 system-ui,sans-serif;color:#3cf;background:rgba(0,0,0,.55);border:1px solid rgba(51,204,255,.4);border-radius:8px;cursor:pointer;opacity:0;transition:opacity .2s}#pq-wire:hover .pqw-reset,#pq-wire[data-mode=saved]:hover .pqw-reset{opacity:.8}#pq-wire[data-mode=home] .pqw-reset,#pq-wire[data-mode=pin] .pqw-reset{display:none}#pq-wire.pqw-pin{position:relative;left:auto!important;top:auto!important;display:block;width:80vw;max-width:85vw;margin:12px auto 18px;cursor:default;touch-action:pan-y;z-index:0}#pq-wire.pqw-pin.pqw-drag{cursor:default;z-index:0;opacity:1}#pq-wire.pqw-pin.pqw-ease{transition:none}#pq-wire.pqw-pin .pqw-f{animation:none}#pq-wire .pqw-grab{position:absolute;left:50%;top:2px;width:36px;height:12px;margin:0 0 0 -18px;border-radius:8px;background:repeating-linear-gradient(to bottom,#2de2e6 0 2px,transparent 2px 4px);opacity:.75;pointer-events:none;z-index:2}#pq-wire .pqw-x{position:absolute;right:2px;top:2px;margin:0;padding:0;width:22px;height:22px;font:16px/22px system-ui,sans-serif;color:#3cf;background:rgba(0,0,0,.55);border:1px solid rgba(51,204,255,.4);border-radius:8px;cursor:pointer;z-index:3}#pq-wire:not([data-slug=studio]) .pqw-grab,#pq-wire:not([data-slug=studio]) .pqw-x{display:none}@media (max-width:700px){#pq-wire:not([data-slug=studio]){position:relative;left:auto!important;top:auto!important;display:block;width:80vw;max-width:85vw;margin:12px auto 18px;cursor:default;touch-action:pan-y;z-index:0}#pq-wire:not([data-slug=studio]).pqw-drag{cursor:default;z-index:0;opacity:1}#pq-wire:not([data-slug=studio]).pqw-ease{transition:none}#pq-wire:not([data-slug=studio]) .pqw-f{animation:none}#pq-wire:not([data-slug=studio]) .pqw-reset{display:none}}#pq-wire[data-mode=closed]{display:none!important}
/* KS6 (Melvin, Nov 20 2026): wireframe at the very bottom, in flow, packed (R41) */#pq-wire.pqw-pin.pqw-bottom{position:relative;left:auto!important;top:auto!important;display:block;width:100%;margin:4px auto 6px;cursor:default;touch-action:pan-y;z-index:0}#pq-wire.pqw-pin.pqw-bottom .pqw-f{animation:none}

#pq-notes { margin: 0; padding: 6px 8px 6px; box-sizing: border-box; min-width: 0; max-width: 100%; }
#pq-notes textarea { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 4.5em; height: 7.5em; max-height: 75vh; margin: 0; padding: 6px 8px; resize: vertical; font: inherit; font-size: .9rem; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
#pq-notes .pq-notes-status { display: block; min-height: 1.1em; margin-top: 2px; font-size: .7rem; opacity: .7; }

/* Notes pop-up (Nathan, 11:01 PM Nov 26): long helper text lives in one compact dark modal; a small Notes button opens it. */
.pq-hw-notes-btn{position:relative;z-index:40;flex:0 0 auto;margin:0;padding:2px 10px;min-height:24px;font:inherit;font-size:.8rem;font-weight:600;line-height:1.2;color:#e8eef4;background:#1a222b;border:1px solid #3a4654;border-radius:6px;cursor:pointer}
.pq-hw-notes-btn:hover,.pq-hw-notes-btn:focus{border-color:#6ad4d8;outline:none}
.pq-layout-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 8px;margin:0 0 4px}
#pq-hw-notes[hidden]{display:none!important}
#pq-hw-notes{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.pq-hw-notes-back{position:absolute;inset:0;background:rgba(0,0,0,.6)}
.pq-hw-notes-dlg{position:relative;z-index:1;display:flex;flex-direction:column;width:min(720px,100%);max-height:min(80vh,840px);background:#12161c;color:#e8eef4;border:1px solid #2a3340;border-radius:10px;box-shadow:0 12px 40px rgba(0,0,0,.55);box-sizing:border-box}
.pq-hw-notes-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 14px;border-bottom:1px solid #2a3340;flex:0 0 auto}
.pq-hw-notes-head h2{margin:0;font-size:1rem;font-weight:700}
.pq-hw-notes-x{margin:0;padding:0 8px;min-width:32px;min-height:32px;font-size:1.4rem;line-height:1;color:#e8eef4;background:transparent;border:0;border-radius:6px;cursor:pointer}
.pq-hw-notes-x:hover,.pq-hw-notes-x:focus{background:#1e2630;outline:none}
.pq-hw-notes-body{overflow:auto;padding:10px 16px 16px;font-size:13px;line-height:1.45;flex:1 1 auto}
.pq-hw-notes-body .pq-hw-notes-sec{margin:0 0 14px}
.pq-hw-notes-body .pq-hw-notes-sec:last-child{margin:0}
.pq-hw-notes-body .pq-hw-notes-sec>h3{margin:0 0 6px;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:#6ad4d8}
.pq-hw-notes-body .hint,.pq-hw-notes-body .note,.pq-hw-notes-body .sub,.pq-hw-notes-body .pqlm-hint{display:block;margin:0 0 6px}
.pq-hw-notes-body #pq-notes{margin:8px 0 0}
.pq-hw-notes-empty,[data-pq-hw-notes-empty]{display:none!important}

.pq-hw-notes-body #pq-notes{background:transparent;border:0;padding:0}
.pq-hw-notes-body #pq-notes-text{background:#0b0e12;color:#e8eef4;border:1px solid #2a3340;border-radius:6px;min-height:5em}

