/* Shared draggable line-instruction float (no backdrop). Used by Form 5558, 5500, 8955-SSA, PBGC. */
.pr-instr-float {
  position: fixed; z-index: 1900; display: none; flex-direction: column;
  width: min(440px, calc(100vw - 24px)); max-height: min(70vh, 640px);
  background: #fff; border: 1px solid #c9ced6; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .28); overflow: hidden;
}
.pr-instr-float.open { display: flex; }
.pr-instr-float-h {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px;
  background: #1d4f91; color: #fff; cursor: move; user-select: none; touch-action: none;
}
.pr-instr-float-title {
  margin: 0; flex: 1 1 auto; min-width: 0; font-size: .92rem; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pr-instr-float-h .btn-close {
  filter: invert(1) grayscale(1); opacity: .85; flex: 0 0 auto;
  width: 1em; height: 1em; padding: 0; border: 0;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  cursor: pointer;
}
.pr-instr-float-h .btn-close:hover { opacity: 1; }
.pr-instr-float-b {
  padding: 12px 14px; overflow: auto; font-size: .9rem; flex: 1 1 auto;
  overscroll-behavior: contain;
}
.pr-instr-float-b .pr-instr-text,
.pr-instr-float-b .f58-popup-text { white-space: pre-wrap; }
.pr-instr-float-src { font-size: .78rem; color: #5a6472; margin-bottom: 8px; }
.pr-instr-float-links { margin: 10px 0 0; padding-left: 18px; font-size: .84rem; }
.pr-instr-float-links li { margin-bottom: 4px; }
.pr-instr-float-foot {
  padding: 8px 12px; border-top: 1px solid #e5e7eb; display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: flex-end; background: #f8fafc; flex: 0 0 auto;
}
.pr-instr-float-hint { font-size: .72rem; color: rgba(255,255,255,.75); flex: 0 0 auto; margin-right: 4px; }
@media (max-width: 576px) {
  .pr-instr-float { width: calc(100vw - 16px); max-height: 55vh; }
  .pr-instr-float-hint { display: none; }
}
